Function at 0x406418
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4225fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x20], ecx
push 0x66
call fcn.0041d2e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x4e3200
mov dword [eax + 0xe74], 0
mov dword [eax + 0xe70], 0x4e1548
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xe7c], 0
mov dword [eax + 0xe78], 0x4e1548
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xe88], 0
mov dword [eax + 0xe84], 0x4e1548
mov dword [ebp - 4], 3
mov ebx, dword [ebp - 0x20]
add ebx, 0xe8c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 4
mov ebx, dword [ebp - 0x20]
add ebx, 0xecc
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 5
mov ebx, dword [ebp - 0x20]
add ebx, 0xf0c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 6
mov ebx, dword [ebp - 0x20]
add ebx, 0xf4c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 7
mov ebx, dword [ebp - 0x20]
add ebx, 0xf8c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 8
mov ebx, dword [ebp - 0x20]
add ebx, 0xfcc
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 9
mov ebx, dword [ebp - 0x20]
add ebx, 0x100c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 0xa
mov ebx, dword [ebp - 0x20]
add ebx, 0x104c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 0xb
mov ebx, dword [ebp - 0x20]
add ebx, 0x108c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 0xc
mov ebx, dword [ebp - 0x20]
add ebx, 0x10cc
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 0xd
mov ebx, dword [ebp - 0x20]
add ebx, 0x110c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 0xe
mov ebx, dword [ebp - 0x20]
add ebx, 0x114c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2c00
mov dword [ebp - 4], 0xf
mov ebx, dword [ebp - 0x20]
add ebx, 0x118c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 0x10
mov ebx, dword [ebp - 0x20]
add ebx, 0x11cc
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 0x11
mov ebx, dword [ebp - 0x20]
add ebx, 0x120c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2ea0
mov dword [ebp - 4], 0x12
mov ebx, dword [ebp - 0x20]
add ebx, 0x124c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2b40
mov dword [ebp - 4], 0x13
mov ebx, dword [ebp - 0x20]
add ebx, 0x128c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e3040
mov dword [ebp - 4], 0x14
mov ebx, dword [ebp - 0x20]
add ebx, 0x12cc
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2dc0
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebp - 4], 0x15
mov ebx, dword [ebp - 0x20]
add ebx, 0x1314
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2f80
mov dword [ebp - 4], 0x16
mov ebx, dword [ebp - 0x20]
add ebx, 0x1354
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2f80
mov dword [ebp - 4], 0x17
mov ebx, dword [ebp - 0x20]
add ebx, 0x1394
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2f80
mov dword [ebp - 4], 0x18
mov ebx, dword [ebp - 0x20]
add ebx, 0x13d4
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4e2f80
mov dword [ebp - 4], 0x19
call sub.MFC42.DLL_AfxGetModuleState
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x20]
push 2
push 0x91
mov dword [edx + 0x1414], eax
call sub.MFC42.DLL_AfxFindResourceHandle
push 0x91
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, 0x4e0670
call sub.MFC42.DLL_CGdiObject::Attach
push 2
push 0x90
call sub.MFC42.DLL_AfxFindResourceHandle
push 0x90
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, 0x4e0678
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [ebp - 0x20]
push 2
push 0x88
add ebx, 0xe70
call sub.MFC42.DLL_AfxFindResourceHandle
push 0x88
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [ebp - 0x20]
push 2
push 0x93
add ebx, 0xe78
call sub.MFC42.DLL_AfxFindResourceHandle
push 0x93
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
push 0x4e382c
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xe80], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x406853
push 0
push 0x4e3834
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
test ebx, ebx
je 0x406847
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xb7
call dword [sym.imp.MSVCRT.dll_exit]
pop ecx
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4