Function at 0x460150
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
push ebx
push esi
push edi
push 0x30
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00481440
add esp, 0xc
push 0x7f00
push 0
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x5c], str.JJRUNDLG
mov dword [esp + 0x3c], 0x45ff80
call dword [sym.imp.USER32.dll_LoadCursorA]
push 5
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
movzx esi, word [esp + 0xa4]
mov ecx, dword [0x4def38]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x40
push 0
push 0
push 1
push esi
push ecx
mov dword [esp + 0x64], eax
call edi
mov edx, dword [0x4def38]
push 0
push 0x10
push 0x10
push 1
push esi
push edx
mov dword [esp + 0x5c], eax
call edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov esi, dword [esp + 0x9c]
mov ecx, dword [0x4def38]
mov edx, dword [esp + 0xb0]
push esi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push ecx
mov ecx, dword [esp + 0x5c]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
or edx, 0xca0000
push edx
mov edx, dword [esp + 0xd0]
lea eax, [esi + 0xac]
push eax
push ecx
push edx
call edi
cmp dword [esp + 0xb4], 0
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esi + 0x18], eax
je 0x460282
mov ecx, dword [0x4def38]
push 0
push ecx
push 0x2328
push eax
push 0
push 0
push 0
push 0
push 0x50000100
push 0x49e5e0
push str.msctls_statusbar32
push 0
call edi
lea edx, [esp + 0x5c]
push edx
push eax
mov dword [esi + 0x194], eax
call ebx
jmp 0x46028a
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esi + 0x18]
movzx edx, word [esp + 0xa0]
push esi
push eax
mov eax, dword [0x4def3c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
test eax, eax
mov dword [esi + 0x1a0], eax
jne 0x4602c0
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0xc]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x6c]
push eax
push ecx
call ebx
mov eax, dword [esi + 0x1a0]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub ecx, dword [esp + 0x78]
sub edx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x10]
sub edx, dword [esp + 0x74]
add ecx, dword [esp + 0x18]
sub edx, dword [esp + 0xc]
add ecx, dword [esp + 0x68]
add edx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
push 2
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x18]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x88]
push edx
call edi
test eax, eax
je 0x4603a6
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ecx]
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x460379
lea ecx, [esp + 0x80]
push ecx
push eax
call ebx
test eax, eax
jne 0x460391
lea edx, [esp + 0x80]
push edx
call ebp
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x8c]
push ecx
call edi
test eax, eax
jne 0x460360
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x8c
ret