Hey and _WELCOME_ to my First Tutorial
======================================================================
Name of target:      K4N Crackme #1
URL:                 http://www.keygenning4newbies.cjb.net/
Size:                Dunno
Objectives:          Write an keygen and tutorial.
======================================================================
TUT BY WAST [ORiON/EMBRACE]
2001/01/25-10:10pm

===============
1)Introduction
===============
nice target to start keygenning with.. sorry for my bad english.. and that shit :P
this isn't gonna be a long tut.because it is somehow self explained :P

===============
2)Lets Crack!
===============
start the crackme.. fill in the info.. and fire up sice and set bpx on.. "GetWindowTextA"
and press "Check The Serial". and sice pop ups.. press F11 3times. and F10 until
you are at 0040110C. it is where the algo begins.. it's realy simple.. just follow my
discription.. and _EVERYONE_ should be able to keygen this crackme..

===============
2)Code Snippet
===============
@0040110C:
:0040110C 0FBE840D48FFFFFF        movsx eax, byte ptr [ebp+ecx-000000B8] // move char in [ebp+ecx-000000B8] (username+ecx) to eax
:00401114 41                      inc ecx // increase ecx
:00401115 33C1                    xor eax, ecx // xor eax with ecx
:00401117 03D8                    add ebx, eax // adds eax to ebx
:00401119 3B4DD8                  cmp ecx, dword ptr [ebp-28] // compare ecx with NAMELENGTH
:0040111C 75EE                    jne 0040110C // not last char? then jump back
:0040111E 6BC006                  imul eax, 00000006 // eax * 6
:00401121 C1E307                  shl ebx, 07 // Dunno
:00401124 03C3                    add eax, ebx // adds ebx to eax

NOW real serial is in EAX.. that was simple, wasn't it ?

===============
3)Final Words
===============
OK.. now you shud be able to make your own keygen in your fav. programming lang. i have chosen win32asm (MASM)
my keygen+source are included in this package. if this text is not enough for you to learn.. look in source for tips..
This was all for this time.. cya l8r

===============
4)Greats
===============
Everyone in DF,ORiON,EMBRACE,C4N