|
try to set a bp o GetEnvironmentVariableA and see what variables the program loads to see if is is registered.
The rest is un to you wheather you want to patch or to find a code cave where to put your variables in (PUSH VarValue, PUSH VarName, CALL SetEnvironmentVariableA, JMP ModuleEntryPoint and setting entry point to first instruction in code cave).
Usually limitations are placed by requiring a variable, see if it is in registered state(let's say USERNAME is not DEFAULT, KEYCREATED is not empty etc) and if not take countermeasures such as enabling limitation.
By the way, can you tell, or pm the program you are talking about?
|