I want to move menu's icons with an APP or EXE.

But I don't find API which do this.
I found which file configures the menu, but its structure remains complex : "\system\data\Applications.dat"

I understand almost all the structure of this file except the last two bytes :
12 zeros between two application.
0/0 to indicate that it's a app or 1/0 to indicate a directory.
identifiant of APP is UID of APP.

Is there an API to do that ?
Or which is the structure of the file ?