Jump to content
Tuts 4 You

[KeyGenMe] Windows7


Recommended Posts

Posted (edited)

hello! Here is my second KeyGenMe

Goal: Keygen

Coded: Delphi

hope to see a tutorial to ^_^

Have fun!

KeygenMe.rar

Edited by 6748222
  • 2 months later...
Posted (edited)

I think I got your key generation routine but it is a complicated code for me yet.

00406F3C   /$  39D0                    CMP EAX,EDX                                                                         ;  Algorithm starts here
00406F3E |. 74 3C JE SHORT KeygenMe.00406F7C
00406F40 |. 85D0 TEST EAX,EDX
00406F42 |. 74 2E JE SHORT KeygenMe.00406F72
00406F44 |> 8078 F6 02 CMP BYTE PTR DS:[EAX-A],2
00406F48 |. 75 33 JNZ SHORT KeygenMe.00406F7D
00406F4A |. 807A F6 02 CMP BYTE PTR DS:[EDX-A],2
00406F4E |. 75 2E JNZ SHORT KeygenMe.00406F7E
00406F50 |. 8B48 FC MOV ECX,DWORD PTR DS:[EAX-4]
00406F53 |. 3B4A FC CMP ECX,DWORD PTR DS:[EDX-4]
00406F56 |. 75 24 JNZ SHORT KeygenMe.00406F7C
00406F58 |. 01C9 ADD ECX,ECX
00406F5A |. 01C8 ADD EAX,ECX
00406F5C |. 01CA ADD EDX,ECX
00406F5E |. F7D9 NEG ECX
00406F60 |. 53 PUSH EBX
00406F61 |> 8B1C01 /MOV EBX,DWORD PTR DS:[ECX+EAX]
00406F64 |. 3B1C11 |CMP EBX,DWORD PTR DS:[ECX+EDX]
00406F67 |. 75 07 |JNZ SHORT KeygenMe.00406F70
00406F69 |. 83C1 04 |ADD ECX,4
00406F6C |.^ 78 F3 \JS SHORT KeygenMe.00406F61
00406F6E |. 31C0 XOR EAX,EAX
00406F70 |> 5B POP EBX ; KeygenMe.004B6E10
00406F71 |. C3 RETN
00406F72 |> 85C0 TEST EAX,EAX
00406F74 |. 74 04 JE SHORT KeygenMe.00406F7A
00406F76 |. 85D2 TEST EDX,EDX
00406F78 |.^ 75 CA JNZ SHORT KeygenMe.00406F44
00406F7A |> 39D0 CMP EAX,EDX
00406F7C |> C3 RETN
00406F7D |> 92 XCHG EAX,EDX
00406F7E |> 6A 00 PUSH 0
00406F80 |. 50 PUSH EAX
00406F81 |. 8D4424 04 LEA EAX,DWORD PTR SS:[ESP+4]
00406F85 |. E8 F6FAFFFF CALL KeygenMe.00406A80
00406F8A |. 58 POP EAX ; KeygenMe.004B6E10
00406F8B |. 8B1424 MOV EDX,DWORD PTR SS:[ESP] ; KeygenMe.004B6E10
00406F8E |. E8 A9FFFFFF CALL KeygenMe.00406F3C
00406F93 |. 58 POP EAX ; KeygenMe.004B6E10
00406F94 |. 66:9C PUSHFW
00406F96 |. 83E8 0C SUB EAX,0C
00406F99 |. E8 52D2FFFF CALL KeygenMe.004041F0
00406F9E |. 66:9D POPFW
00406FA0 \. C3 RETN
Edited by SimpleData
Posted

it would be good if people didnt post solutions or code for crackmes in the topic because it makes it unattractive to try it out.

KG's are fine because it doesnt really give hints, but shows you have solved it.

No diss's meant of course!!

Posted

The posted routine only looks like part of it anyway

Posted

Thats ok, I wasnt really worried too much about this particular one, or the poster, I was just meaning in general. I remember a while ago there was a site with the list of crackmes in a table with the ppl that have solved it. was interesting to see and I guess it put a slightly different take on solving them because it was kinda like a competition. I realise this site is aimed at teach, so either way! Cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...