home *** CD-ROM | disk | FTP | other *** search
/ KeyGen Studio 2002 / KeyGen_Studio_2002.iso / Tutorials / Dos CrackMes / com / ANTSMEX.ZIP / ANTSMEX.ASM next >
Encoding:
Assembly Source File  |  1998-02-03  |  1.4 KB  |  82 lines

  1. seg_a        segment    byte public
  2.         assume    cs:seg_a, ds:seg_a
  3.  
  4.  
  5.         org    100h
  6.  
  7. lalala        proc    far
  8.  
  9. start:
  10.         jmp    short real_start
  11.  
  12.  
  13. real_start:
  14.         mov    ah,9
  15.         mov    dx,offset data_1    ; ('')
  16.         int    21h            ; DOS Services  ah=function 09h
  17.                         ;  display char string at ds:dx
  18.         mov    ah,0Ah
  19.         mov    dx,offset data_5
  20.         int    21h            ; DOS Services  ah=function 0Ah
  21.                         ;  get keybd line, put at ds:dx
  22.  
  23.         mov    di,offset hehe
  24. label_1:
  25.  
  26. ;;;
  27.         xor    dx,dx            ; Zero register
  28.         mov    cl,data_6
  29.         mov    si,offset data_7
  30.  
  31. locloop_2:
  32.         mov    dl,[si]
  33.         mov    al,[di]
  34.         xor    al,dl
  35.         mov    [di],al
  36.         inc    si
  37.         inc    di
  38.         loop    locloop_2        ; Loop if cx > 0
  39.         inc    count
  40.         cmp    count,5
  41.         jnz    label_1
  42.  
  43.         mov    cl,[di-2]
  44.         cmp    cl,24h
  45.         je    loc_3            ; Jump if equal
  46.  
  47.         mov    ah,9
  48.         mov    dx,offset data_3    ; ('')
  49.         int    21h            ; DOS Services  ah=function 09h
  50.                         ;  display char string at ds:dx
  51.         int    20h            ; DOS program terminate
  52.  
  53. ;---
  54. data_1        db    '■ (x)''98 by Shaman [UCL]', 0Dh, 0Ah
  55.         db    '■ ìáΦ «ΓóÑΓ ùѼíÑα½Ñ¡π (SpamCoder''π [PRiZM])'
  56.         db    0Dh, 0Ah, '■ Enter Password: $'
  57. data_3        db    0Dh, 0Ah, '■ Invalid Password!', 0Dh,0Ah, '$'
  58.  
  59. count        db    0
  60.  
  61.  
  62. ;---
  63. loc_3:
  64. hehe    db    0d7h,0d5h,67h,0deh,0abh,74h,0afh,40h,0beh,1,4ah,6bh,90h
  65.     db    44h,0e7h,96h,42h,32h,3,40h,2ah,22h,1,0,0fh,7,4eh,41h,91h
  66.     db    0cah,67h,0ch,0bh,3,0bh,1eh,7,16h,1fh,1,3dh,18h,14h,0bh
  67.     db    1ah,54h,6fh,6bh,57h
  68.  
  69.  
  70. data_5        db    64
  71. data_6        db    0
  72. data_7        db    10 dup (0)
  73.  
  74.  
  75. lalala        endp
  76.  
  77. seg_a        ends
  78.  
  79.  
  80.  
  81.         end    start
  82.