Function at 0x458f3f
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xac
push ebx
mov ebx, dword [esp + 0xb4]
push ebp
or eax, 0xffffffff
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov edi, 0x88c00000
lea ebp, [eax + 9]
call fcn.0040c060
mov eax, dword [0x4972b8]
test eax, eax
je 0x458f85
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4972b8], 0
cmp dword [esp + 0xc4], 1
jne 0x458fa6
lea ecx, [esp + 0x24]
call fcn.00402620
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xac
ret 0xc
push esi
mov esi, dword [esp + 0xc4]
cmp esi, 3
jb 0x458fd0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00453063
push eax
lea esi, [esp + 0x2c]
call fcn.0040df50
mov esi, dword [esp + 0xc4]
cmp esi, 4
jb 0x458fe4
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
call fcn.0040c760
mov dword [esp + 0x14], eax
cmp esi, 5
jb 0x458ff8
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x10]
call fcn.0040c760
mov dword [esp + 0x10], eax
cmp esi, 6
jb 0x459037
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x14]
call fcn.0040c760
test al, 1
je 0x459011
mov edi, 0x88000000
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x14]
call fcn.0040c760
test al, 2
je 0x459022
xor ebp, ebp
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x14]
call fcn.0040c760
test al, 0x10
je 0x459037
xor edi, 0x8000000
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
or ecx, 0xffffffff
cmp dword [esp + 0x14], ecx
jne 0x459063
mov eax, dword [esp + 0x20]
add eax, 0xfffffed4
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], ecx
jne 0x459079
mov eax, dword [esp + 0x24]
add eax, 0xffffff9c
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
push 0x64
push 0x12c
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push ebp
push 0
push edi
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [0x4972c0]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
push edi
push eax
call fcn.00453081
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0x484750
push ebp
call edi
lea edx, [esp + 0x18]
push edx
push eax
mov dword [0x4972b8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x4972b8]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
push 0
push 0
push 0
push ecx
push 0x18
push 0x500
push 4
sub edx, 0x119
push edx
push 0x50000000
push eax
call fcn.00453081
push eax
push str.static
push 0
call edi
push 0
push 0
push 0
push str.DISPLAY
mov dword [0x4972b0], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebp, dword [sym.imp.GDI32.dll_GetStockObject]
push 0x11
mov esi, eax
call ebp
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x38]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceW]
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x38]
push ecx
push 0
push 2
mov ecx, ebx
neg ecx
push 0
add ecx, ecx
push 4
add ecx, ecx
push 1
sub ecx, ebx
add ecx, ecx
push 0
mov eax, 0x38e38e39
imul ecx
push 0
push 0
push 0x258
sar edx, 4
push 0
mov eax, edx
push 0
shr eax, 0x1f
push 0
add eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, dword [0x4972b0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call esi
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov edx, dword [0x4972b8]
push 0
push 0
push 0
push edx
push 0x14
sub eax, 0x104
push 0x104
cdq
push 0x1e
sub eax, edx
sar eax, 1
push eax
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call edi
push 0x640000
push 0
push 0x401
push eax
mov dword [0x4972b4], eax
call esi
mov eax, dword [0x4972b4]
push 0
push 1
push 0x404
push eax
call esi
mov ecx, dword [0x4972b8]
push 0
push 0
push 0
push ecx
push 0x32
push 0x500
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
push 0x37
sub edx, 0x118
push edx
push 0x50000000
push eax
push str.static
push 0
call edi
push 1
push 0x11
mov dword [0x4972ac], eax
call ebp
mov ecx, dword [0x4972ac]
push eax
push 0x30
push ecx
call esi
mov edx, dword [0x4972b8]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x28]
call fcn.00402620
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xac
ret 0xc