home *** CD-ROM | disk | FTP | other *** search
- ;Written by Lucifer48 for Duelist's Crackme #6
- ;compile with :tasm32 -ml -m5 -q due6-lu48
- ; tlink32 -Tpe -aa -x -c due6-lu48 ,,, import32
- ;-----------------------------------------------------------------------------
- .386p ;386 instruction set enable
- .model flat, stdCALL
-
- extrn ExitProcess : PROC
-
- .data
- hi db "Lucifer48",0 ;the .data mustn't be empty
-
- .code
-
- Main: ;The code begins here
-
- xor ecx,ecx
- mov eax,04071885h ;replace by 4B00D127h for the 2nd part of the loop
- boucle:
- inc ecx
- sub al,cl
- xor ah,al
- ror eax,6
- cmp eax,36455544h ;replace by 43534952h for the 2nd part of the loop
- jnz boucle
- int 3 ;i3here on (for stopping into soft-ice)
- jmp boucle
-
- call ExitProcess, 0 ;End (exit) program
-
- End Main ;End of code, Main is the entrypoint
- ;-----------------------------------------------------------------------------
-