Zkhan13
June 7th, 2003, 05:13
Key- GeneRaToR HELP??
I am trying to make a Key-Generator, though I am not an expert in Reverse Engineering..
Here, I am playing around with some dummy programs, which I found from web…
I found a Routine, which POSSIBLY makes the right Serial from our given Text…Here it Is..
lstrcmp is called Here………
…………………………………………………………………….
--------- EAX, 0000001
:401309 MOV EDX,[403038] -> Here our Given Text is Stored.
:40130F MOV DL,[EAX,403037] -> Takes the first Character…?
:401315 AND EDX, 00000FF -> WHAT IS THIS…???
:40131B MOV EBX,EDX
:….31D IMUL EBX,EDX ->Multiplying each other & store in EBX
…...320 ADD ESI,EBX ->
… ..322 MOV EBX, EDX
……324 SAR EBX,1 -> What is this SAR ????
……326 ADD ESI,EBX ->
……328 SUB ESI,EDX
……32A INC EAX ->Increment EAX by 1
……32B DEC ECX -> Decrement ECX by 1
……32C JNZ 401309-> Loop until (EAX or EDX) is Non Zero.??
Whether the comments I made it were Right ones? And also, those SAR, & when AND with a number, how it is coded in a C++ programme. I know little bit C++(Not experienced.).But I never coded in C++, by studying an ASM instructions…So please help me …B’cze in ASM Those ESI stands for STACK relative work.. Is there any use of this in C++ code for a Key-Generator?. Any kind of information, that would harness my ‘Understanding’ about ‘Keygenerator ‘ will be appreciated..
Or please give me some URLs, which speaks the same.
“How to code in C++, by studying Assembly instructions”-
I will also try myself and will return, if any thing found useful for us.
Thanx In Advance
I am trying to make a Key-Generator, though I am not an expert in Reverse Engineering..
Here, I am playing around with some dummy programs, which I found from web…
I found a Routine, which POSSIBLY makes the right Serial from our given Text…Here it Is..
lstrcmp is called Here………
…………………………………………………………………….
--------- EAX, 0000001
:401309 MOV EDX,[403038] -> Here our Given Text is Stored.
:40130F MOV DL,[EAX,403037] -> Takes the first Character…?
:401315 AND EDX, 00000FF -> WHAT IS THIS…???
:40131B MOV EBX,EDX
:….31D IMUL EBX,EDX ->Multiplying each other & store in EBX
…...320 ADD ESI,EBX ->
… ..322 MOV EBX, EDX
……324 SAR EBX,1 -> What is this SAR ????
……326 ADD ESI,EBX ->
……328 SUB ESI,EDX
……32A INC EAX ->Increment EAX by 1
……32B DEC ECX -> Decrement ECX by 1
……32C JNZ 401309-> Loop until (EAX or EDX) is Non Zero.??
Whether the comments I made it were Right ones? And also, those SAR, & when AND with a number, how it is coded in a C++ programme. I know little bit C++(Not experienced.).But I never coded in C++, by studying an ASM instructions…So please help me …B’cze in ASM Those ESI stands for STACK relative work.. Is there any use of this in C++ code for a Key-Generator?. Any kind of information, that would harness my ‘Understanding’ about ‘Keygenerator ‘ will be appreciated..
Or please give me some URLs, which speaks the same.
“How to code in C++, by studying Assembly instructions”-
I will also try myself and will return, if any thing found useful for us.
Thanx In Advance