home *** CD-ROM | disk | FTP | other *** search
/ Cracking 2 / Cracking II..iso / Texty / crackme / due6-lu48.asm < prev    next >
Encoding:
Assembly Source File  |  1999-06-25  |  1.1 KB  |  33 lines

  1. ;Written by Lucifer48 for Duelist's Crackme #6
  2. ;compile with :tasm32 -ml -m5 -q due6-lu48
  3. ;              tlink32 -Tpe -aa -x -c due6-lu48 ,,, import32
  4. ;-----------------------------------------------------------------------------
  5. .386p                                        ;386 instruction set enable
  6. .model flat, stdCALL
  7.  
  8. extrn    ExitProcess   : PROC
  9.  
  10. .data
  11. hi db "Lucifer48",0                          ;the .data mustn't be empty
  12.  
  13. .code
  14.  
  15. Main:                                        ;The code begins here
  16.  
  17.     xor  ecx,ecx
  18.     mov  eax,04071885h                   ;replace by 4B00D127h for the 2nd part of the loop
  19. boucle:
  20.     inc  ecx
  21.     sub  al,cl
  22.     xor  ah,al
  23.     ror  eax,6
  24.     cmp  eax,36455544h                   ;replace by 43534952h for the 2nd part of the loop
  25.     jnz  boucle
  26.     int  3                               ;i3here on (for stopping into soft-ice)
  27.     jmp  boucle
  28.  
  29.         call ExitProcess, 0                  ;End (exit) program
  30.  
  31. End Main                                     ;End of code, Main is the entrypoint
  32. ;-----------------------------------------------------------------------------
  33.