汇编模糊查杀。杀不了。帮我看下那里错了
.386.model flat,stdcall
option casemap:none
include windows.inc
include gdi32.inc
includelib gdi32.lib
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
include Shlwapi.inc
includelib Shlwapi.lib ;strstr
;;
.data
.const
close db '百度',0
.code
;定义回调函数
_CloseWnd proc uses ebx edi esi,hWnd,uMsg,wParam,lParam
local @buffer[256]:BYTE ;接收窗口标题
invoke IsWindowVisible,hWnd
.if eax ;是否是可见的窗口 eax的值是否不为0
invoke GetWindowText,hWnd,addr @buffer,256
invoke StrStr,addr @buffer,offset close
.if eax
;invoke PostMessage,hWnd,WM_CLOSE,0,0
invoke MessageBox,hWnd,addr @buffer,addr @buffer,0
.endif
.endif
_CloseWnd endp
start:
.while TRUE
invoke Sleep,300
invoke EnumWindows,_CloseWnd,NULL
.endw
end start