Function at 0x409d00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x450
call fcn.0049786c
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_DuiLib::CWindowWnd::constructor_void_
mov ecx, dword [ebp - 0x28]
push 0x53
mov dword [ecx + 0x10], vtable.DuiLib::CNotifyPump.0
add ecx, 0x14
call sym.Setup.exe_public:_void___thiscall_DuiLib::CStdStringPtrMap::constructor_int_
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x2c]
mov dword [eax], vtable.DuiLib::WindowImplBase.0
mov dword [eax + 0x10], vtable.DuiLib::WindowImplBase.1.0
mov dword [eax + 0x20], vtable.DuiLib::WindowImplBase.2.0
mov dword [eax + 0x24], vtable.DuiLib::WindowImplBase.3.0
mov dword [eax + 0x28], vtable.DuiLib::WindowImplBase.4.0
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::constructor_void_
mov eax, dword [ebp - 0x28]
mov ecx, eax
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x60000
push 0x10cf0000
push 0x4da3b0
push ebx
mov byte [eax + 0x448], 0
mov dword [eax], vtable.CMsgBox.4.0
mov dword [eax + 0x10], vtable.CMsgBox.3.0
mov dword [eax + 0x20], vtable.CMsgBox.2.0
mov dword [eax + 0x24], vtable.CMsgBox.1.0
mov dword [eax + 0x28], vtable.CMsgBox.0
call sym.Setup.exe_protected_virtual:_int___thiscall_DuiLib::WindowImplBase::CreateMainFrame_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU_____bool_
push dword [ebp + 0x1c]
sub esp, 8
push esi
push edi
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.00416c30
push 1
mov ecx, edi
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call esi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x14]
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
push 1
push edi
cdq
sar ecx, 1
sub eax, edx
push ebx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
add ecx, dword [ebp - 0x20]
cdq
push ecx
sub eax, edx
mov ecx, eax
mov eax, ebx
mov ebx, dword [ebp - 0x28]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add ecx, dword [ebp - 0x24]
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, ebx
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov esi, eax
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0x4cef14
push 1
push 0
push 0x4cef34
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x409e9f
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, ebx
call sym.Setup.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret 0x18