Function at 0x402df0
Capabilities:
Get file attributes
Hide graphical window
Terminate thread

Disassembly:
sub esp, 0x130
push str.__CHECK__
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_OpenEventA]
test eax, eax
jne 0x403032
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_BeginPaint]
push eax
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push 0
call ebp
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push 0
call esi
push 0xc
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x402e57
mov ecx, eax
call fcn.00403641
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call esi
push str.__CHECK__
call fcn.00403491
mov esi, dword [esp + 0x148]
add esp, 4
mov dword [esp + 0x1c], eax
call fcn.00401d00
push 0x104
lea eax, [esp + 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0
lea ecx, [esp + 0x40]
push 0
mov dword [0x407040], ecx
call edi
push 0
push 0
call ebx
push 0
call ebp
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push 0
call esi
push 0xc
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x402ee1
push 1
push 0x407030
mov ecx, eax
call fcn.00403d52
push 0
push 0x401ec0
call fcn.004034d7
push 0
push 0x402c80
mov dword [esp + 0x24], eax
call fcn.004034d7
add esp, 0x10
mov dword [esp + 0x18], eax
call fcn.00401dd0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call esi
push str.__PM_UPD__
call fcn.00403491
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
add esp, 4
mov dword [esp + 0x10], eax
push 1
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call edi
test eax, eax
je 0x402f81
lea esp, [esp]
lea eax, [esp + 0x20]
push eax
call esi
lea ecx, [esp + 0x20]
push ecx
call ebx
push 1
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call edi
test eax, eax
jne 0x402f60
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
push eax
push 1
call ebp
cmp eax, 1
je 0x402f46
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call ebx
mov esi, dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov edi, 0x407070
mov edx, dword [edi]
push 0
push edx
call esi
add edi, 0x24
cmp edi, 0x4070dc
jl 0x402fb0
mov eax, dword [0x409634]
push 3
push eax
call fcn.00401530
mov ecx, dword [0x409644]
add esp, 8
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esp + 0x1c]
push edx
call ebx
push str.__PM_MONITOR_STOP__
call fcn.004034a1
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call fcn.004034f2
push str.__TH_STOP__
call fcn.004034a1
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ecx
call fcn.004034f2
mov al, byte [0x409648]
add esp, 0x18
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x403039
call fcn.004038f7
xor eax, eax
add esp, 0x130
ret 4
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
add esp, 0x130
ret 4