Function at 0x417790
Capabilities:
Create process on windows
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x433e38
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x38
cmp eax, 5
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x4177d1
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xa0], 0
jmp 0x417b6a
cmp eax, 4
jne 0x4177f1
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00414910
jmp 0x417b6a
cmp eax, 0x14
jne 0x4179a0
mov edx, dword [esi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push str.ok_is_time_to_close_client
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esi + 0x768]
xor ebx, ebx
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esi + 0xa0], ebx
call fcn.0041e9a0
mov ecx, eax
call fcn.0041e9f0
push ebx
push 3
call dword [sym.imp.Communicate.dll_public:_static_int___cdecl_CCommunicate::PostMessageA_unsigned_int__long_int_]
mov eax, dword [esi + 0x1d0c]
add esp, 8
cmp eax, ebx
je 0x417857
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call sub.ModBase.dll_class_IModContainer____cdecl_GetGlobalContainer_void_
cmp eax, ebx
je 0x417878
mov edx, dword [eax]
push str.WlanRoamModule
mov ecx, eax
call dword [edx + 8]
cmp eax, ebx
je 0x417878
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x34]
mov ecx, esi
call fcn.00415940
mov ecx, esi
call fcn.004133b0
mov ecx, esi
call fcn.00416520
mov eax, dword [esi + 0x73c]
push eax
call dword [sym.imp.Communicate.dll_public:_static_int___cdecl_CCommunicate::CleanFileMap_void__]
add esp, 4
mov ecx, esi
mov dword [esi + 0x73c], ebx
call fcn.004127a0
cmp edi, ebx
je 0x4178cf
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4178cf
cmp edi, ebx
je 0x4178cf
cmp eax, ebx
je 0x4178cf
cmp edi, ebx
jne 0x4178c5
xor edi, edi
jmp 0x4178c8
mov edi, dword [edi + 0x20]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
push ecx
call fcn.00422a00
add esp, 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push str.CWCleanTools.exe
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::CString
xor ecx, ecx
mov byte [esp + 0x18], bl
mov dword [esp + 0x19], ecx
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
mov dword [esp + 0x25], ecx
mov word [esp + 0x29], cx
mov byte [esp + 0x2b], cl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [esp + 0x18]
push 0xa
push edx
push eax
call dword [sym.imp.MSVCRT.dll__ltoa]
mov ecx, dword [esp + 0x64]
add esp, 0xc
lea eax, [esp + 0x18]
push ebx
push ebx
push eax
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, esi
call sub.MFC42.DLL_CDialog::OnOK
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x417b6a
cmp eax, 0xa
jne 0x417a03
mov edx, dword [esi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
push 4
xor ebx, ebx
push ecx
push 0xe
mov dword [esi + 0xa0], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x68], ebx
call dword [sym.imp.Communicate.dll_public:_static_int___cdecl_CCommunicate::GetData_int__void___int__int__]
mov eax, dword [esp + 0x68]
add esp, 0x10
cmp eax, 4
jne 0x417b6a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x417b6a
push ebx
push ebx
push 0x1b73
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x417b6a
cmp eax, 2
jne 0x417ab9
mov edx, dword [esi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x43f7c8]
mov eax, 0x65
xor edx, edx
xor ebx, ebx
div ecx
mov eax, dword [0x43f7c4]
cmp eax, ebx
mov ebp, edx
je 0x417a51
mov eax, dword [eax + ebp*4]
cmp eax, ebx
je 0x417a85
cmp dword [eax + 8], 0x659
je 0x417a4b
mov eax, dword [eax]
cmp eax, ebx
jne 0x417a3a
jmp 0x417a85
cmp eax, ebx
jne 0x417aad
jmp 0x417a85
mov ebx, ecx
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [0x43f7c4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x43f7c8], ebx
mov ecx, 0x43f7c0
call fcn.0040fc60
mov dword [eax + 4], ebp
mov dword [eax + 8], 0x659
mov ecx, dword [0x43f7c4]
mov edx, dword [ecx + ebp*4]
mov dword [eax], edx
mov ecx, dword [0x43f7c4]
mov dword [ecx + ebp*4], eax
mov dword [eax + 0xc], 1
jmp 0x417b6a
cmp eax, 0xb
jne 0x417b27
mov edx, dword [esi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov al, byte [esi + 0x1d10]
xor ebx, ebx
cmp al, bl
jne 0x417b6a
mov ecx, esi
call fcn.00413860
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push ebx
push ebx
lea eax, [esp + 0x38]
push ebx
push eax
call edi
test eax, eax
je 0x417b1e
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x2c]
push ecx
call ebp
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
lea eax, [esp + 0x38]
push ebx
push eax
call edi
test eax, eax
jne 0x417afc
mov ecx, esi
call fcn.004138a0
jmp 0x417b6a
cmp eax, 6
jne 0x417b6a
mov ebx, dword [esi + 0x1d1d]
lea ecx, [esi + 0x1d11]
and ebx, 0xffffffef
push ecx
mov dword [esi + 0x1d1d], ebx
xor ebx, ebx
push 1
mov dword [esi + 0x1eb1], ebx
mov dword [esi + 0x1ef5], ebx
mov byte [esi + 0x1db1], bl
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [esi + 0x20]
push 6
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4