home *** CD-ROM | disk | FTP | other *** search
/ For Beginners & Professional Hackers / cd.iso / hackers / tools / dr_crack.arj / GETHE.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-09-11  |  706 b   |  69 lines

  1.     jmp short start
  2. i21:
  3.     push ds
  4.     push ax
  5.     xor ax,ax
  6.     mov ds,ax
  7.     test ds:[417h],10h
  8.     pop ax
  9.     pop ds
  10.     jz o21
  11.     
  12.     cmp ax,4403h
  13.     jnz o21
  14.     push ax
  15.     push bx
  16.     push cx
  17.     push dx
  18.     push ds
  19.  
  20.     push cs
  21.     pop ds
  22.  
  23.     mov ah,3Ch
  24.     mov cx,20h
  25.     mov dx,offset name
  26.     pushf
  27.     call dword ptr o21o
  28.  
  29.     mov bx,ax
  30.  
  31.     mov ah,40h
  32.     pop ds
  33.     pop dx
  34.     pop cx
  35.     pushf
  36.     call dword ptr o21o
  37.  
  38.     mov ah,3Eh
  39.     pushf
  40.     call dword ptr o21o
  41.  
  42.     pop bx
  43.     pop ax
  44.  
  45. o21:
  46.     db 0EAh
  47. o21o:    dw 0
  48. o21s:    dw 0
  49. name:    db 'd.d',0
  50. dummy:    db 0
  51.  
  52. start:
  53.     mov es,[2Ch]
  54.     mov ah,49h
  55.     int 21h
  56.  
  57.     mov ax,3521h
  58.     int 21h
  59.     mov o21o,bx
  60.     mov o21s,es
  61.  
  62.     mov ax,2521h
  63.     mov dx,offset i21
  64.     int 21h
  65.  
  66.     mov dx,offset start
  67.     int 27h
  68.  
  69.  
  70.