Function at 0x403630
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4067ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x90
mov dword [esp + 0x14], esi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xbc], esi
cmp eax, esi
mov ebp, dword [esp + 0xd0]
mov ebx, dword [esp + 0xc4]
je 0x40368a
push ebp
push ebx
mov ecx, eax
call fcn.004010d0
jmp 0x40368c
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov ecx, eax
mov dword [0x41b220], eax
call fcn.00401f10
mov ecx, dword [0x41b220]
mov esi, ecx
call fcn.004015d0
test eax, eax
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
je 0x4036de
push 0x100
push 0x41b228
push 0x9c66
mov ecx, esi
call fcn.004015d0
push eax
call edi
neg eax
sbb eax, eax
and eax, 0x41b228
jmp 0x4036e0
xor eax, eax
mov ecx, dword [0x41b220]
mov edx, dword [ecx + 0x10]
push 0
push ebx
push 0
push 0
push edx
mov edx, dword [ecx + 0xc]
push edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push edx
push ecx
push 0xcf0000
push eax
push str.CJMAXFINDER_WNDCLASS
push 0x10000
call fcn.00401cf0
mov esi, eax
test esi, esi
jne 0x4037c9
mov ecx, dword [0x41b220]
mov esi, ecx
call fcn.004015d0
test eax, eax
je 0x403751
push 0x100
push 0x41b228
push 0x9c68
mov ecx, esi
call fcn.004015d0
push eax
call edi
neg eax
sbb eax, eax
and eax, 0x41b228
jmp 0x403753
xor eax, eax
lea edx, [esp + 0x34]
mov ebx, 1
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
add eax, ebx
add edx, ebx
test cl, cl
jne 0x403760
mov ecx, dword [0x41b220]
mov esi, ecx
call fcn.004015d0
test eax, eax
je 0x4037b4
push 0x100
push 0x41b228
push 0x9c67
mov ecx, esi
call fcn.004015d0
push eax
call edi
neg eax
push 0
sbb eax, eax
lea edx, [esp + 0x38]
push edx
and eax, 0x41b228
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403888
xor eax, eax
push eax
lea edx, [esp + 0x38]
push edx
push eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403888
push 0
push 0
push 0x42a
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test ebp, ebp
je 0x4037ec
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebp, dword [sym.imp.USER32.dll_IsDialogMessageA]
mov ebx, 1
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, ebx
jne 0x40386b
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call edi
test eax, eax
je 0x403854
mov edx, dword [0x41b220]
mov eax, dword [edx + 0x54]
lea ecx, [esp + 0x18]
push ecx
push eax
call ebp
test eax, eax
jne 0x403858
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403858
mov dword [esp + 0x10], ebx
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call esi
cmp eax, ebx
je 0x403816
mov ecx, dword [0x41b220]
call sub.USER32.dll_WaitMessage
cmp dword [esp + 0x10], 0
je 0x403803
mov ecx, dword [0x41b220]
call fcn.004012b0
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 0x10