Code:
0041E0F9 LEA ECX,[LOCAL.70]
0041E0FD PUSH ECX
0041E0FE PUSH 20019
0041E103 PUSH 0
0041E105 PUSH OFFSET 004253A4 ; ASCII "SOFTWARE\Microsoft\Microsoft Games\Halo HEK"
0041E10A PUSH 80000002
0041E10F CALL DWORD PTR DS:[<&ADVAPI32.RegOpenKeyExA>]
My registry path was default: "SOFTWARE\\
Wow6432Node\\Microsoft\\Microsoft Games\\Halo HEK". I am running Windows 7. Regardless of where your Halo Custom Edition directory is installed or whether it's x86 or x64, the registry entry it opens may be incorrect. Since UserTool must be placed in the Halo CE directory anyway, may I suggest using GetCurrentDirectory or GetModuleFileName to obtain the path? Otherwise you may need to check multiple registry paths.
Bookmarks