I have a game on my PC that reads and writes registry keys and values to the HKLM hive. I am trying to see if it is possible to modify the game so that it uses the HKCU hive instead.
The source code for this game isn't available so I am trying to disassemble the game binary and see if the assembly can be modified to accomplish this.
I am seeing sections like this in PE Explorer but I can't figure out what parts of it are used to target the HKLM hive:
mov dword ptr [esp+2Ch],00000104h
cmp dword ptr [esp+18h],00000001h