Function at 0x458b3a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
mov ebx, dword [ebp + 8]
or eax, 0xffffffff
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
mov edi, 0x88c00000
mov dword [ebp - 0x18], 8
call fcn.0040bf10
mov eax, dword [0x497510]
test eax, eax
je 0x458b7f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x497510], 0
cmp dword [ebp + 0x10], 1
jne 0x458b97
lea ecx, [ebp - 0x28]
call fcn.00402260
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 3
jb 0x458bb8
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00452e60
push eax
lea esi, [ebp - 0x28]
call fcn.0040e410
mov esi, dword [ebp + 0xc]
cmp esi, 4
jb 0x458bcb
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
call fcn.0040c8f0
mov dword [ebp - 4], eax
cmp esi, 5
jb 0x458bde
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x10]
call fcn.0040c8f0
mov dword [ebp + 8], eax
cmp esi, 6
jb 0x458c22
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x14]
call fcn.0040c8f0
test al, 1
je 0x458bf7
mov edi, 0x88000000
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x14]
call fcn.0040c8f0
test al, 2
je 0x458c0d
mov dword [ebp - 0x18], 0
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x14]
call fcn.0040c8f0
test al, 0x10
je 0x458c22
xor edi, 0x8000000
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
or ecx, 0xffffffff
cmp dword [ebp - 4], ecx
jne 0x458c4a
mov eax, dword [ebp - 0xc]
add eax, 0xfffffed4
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp + 8], ecx
jne 0x458c5d
mov eax, dword [ebp - 8]
add eax, 0xffffff9c
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 8], eax
push 0x64
push 0x12c
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [ebp - 0x18]
push esi
push 0
push edi
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [0x497518]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push ecx
push edi
push eax
call fcn.00452e81
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0x483dd0
push esi
call edi
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [0x497510], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x497510]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
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.00452e81
push eax
push str.static
push 0
call edi
push 0
push 0
push 0
push str.DISPLAY
mov dword [0x497508], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
push 0x11
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xac]
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, [ebp - 0xac]
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 [0x497508]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call esi
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov edx, dword [0x497510]
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 [0x49750c], eax
call esi
mov eax, dword [0x49750c]
push 0
push 1
push 0x404
push eax
call esi
mov ecx, dword [0x497510]
push 0
push 0
push 0
push ecx
push 0x32
push 0x500
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
push 0x37
sub edx, 0x118
push edx
push 0x50000000
push eax
push str.static
push 0
call edi
push 1
push 0x11
mov dword [0x497504], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [0x497504]
push eax
push 0x30
push ecx
call esi
mov edx, dword [0x497510]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x28]
call fcn.00402260
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc