AttonRand
November 17th, 2010, 15:43
hi all,
it has been a while since i don't play with rce. Anyway here's my problem. I am trying to reverse a vb program. I am doing it in smartcheck because it's far easier to follow the code.
Now at some point the program picks my fake key and do the following:
At the second line the program compares string "5" with "unsigned short .vt = 32776 0x8008". what does it mean? 8008 does not match anything in ascii. I tried also in olly but i cannot find anything useful. I already tricked the program but i would like to know how this compare works. (maybe i am missing something with vb string functions)
Now if i put a trial key i got from the developer this is what i get
The const string is always the same (0x8008). I can provide more info if requested but i cannot upload the program since it uses a physical device id to generate the key.
Thank you.
it has been a while since i don't play with rce. Anyway here's my problem. I am trying to reverse a vb program. I am doing it in smartcheck because it's far easier to follow the code.
Now at some point the program picks my fake key and do the following:
Code:
Mid (VARIANT string: "1234567890", long:5,VARIANT Integer:1)
__vbaVarCmpNe (VARIANT: string: "5",VARIANT: Const string:""
__vbaBoolVar (Boolean:True) return dword:FFFF // skip to error box
At the second line the program compares string "5" with "unsigned short .vt = 32776 0x8008". what does it mean? 8008 does not match anything in ascii. I tried also in olly but i cannot find anything useful. I already tricked the program but i would like to know how this compare works. (maybe i am missing something with vb string functions)
Now if i put a trial key i got from the developer this is what i get
Code:
__vbaVarCmpNe (VARIANT: string: "S",VARIANT: Const string:""
__vbaBoolVar (Boolean:False) return dword:0 //continue with registration
The const string is always the same (0x8008). I can provide more info if requested but i cannot upload the program since it uses a physical device id to generate the key.
Thank you.