Function at 0x45b24b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
or dword [ebp - 8], 0xffffffff
push ebx
push esi
or esi, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov ebx, 0x88c00000
mov dword [ebp - 0xc], 8
call fcn.0040e398
mov eax, dword [0x4c20d4]
test eax, eax
je 0x45b28b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x4c20d4], 0
cmp dword [ebp + 0x10], 1
je 0x45b55b
cmp dword [ebp + 0xc], 3
push edi
mov edi, dword [ebp + 8]
jb 0x45b2ba
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00409796
push dword [esi + 8]
lea ecx, [ebp - 0x2c]
call fcn.0040da0c
mov esi, dword [ebp - 4]
cmp dword [ebp + 0xc], 4
jb 0x45b2ce
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.0040dce9
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 5
jb 0x45b2e4
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x10]
call fcn.0040dce9
mov esi, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 6
jb 0x45b32d
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x14]
call fcn.0040dce9
test al, 1
mov eax, 0x88000000
cmovne ebx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.0040dce9
push 8
test al, 2
pop eax
push 0
pop ecx
cmovne eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.0040dce9
test al, 0x10
je 0x45b32d
xor ebx, 0x8000000
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 8], 0xffffffff
jne 0x45b353
mov eax, dword [ebp - 0x14]
add eax, 0xfffffed4
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
cmp esi, 0xffffffff
jne 0x45b366
mov eax, dword [ebp - 0x10]
add eax, 0xffffff9c
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
push 0x64
push 0x12c
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push esi
push ebx
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00409796
mov eax, dword [esi + 8]
mov ecx, dword [eax]
xor eax, eax
push eax
push eax
push eax
push dword [0x4c20e8]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
push ecx
push 0x49eaa8
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [0x4c20d4], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00409796
mov eax, dword [esi + 8]
xor esi, esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push esi
push esi
push esi
push dword [0x4c20d4]
sub eax, 0x119
push 0x18
push 0x500
push 4
push eax
push 0x50000000
push ecx
push 0x4b2848
push esi
call ebx
push esi
push esi
push esi
push str.DISPLAY
mov dword [0x4c20cc], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebx, dword [sym.imp.GDI32.dll_GetStockObject]
push 0x11
mov esi, eax
call ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xb0]
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 edi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
imul edi, edi, 0xfffffff6
lea eax, [ebp - 0xb0]
push eax
xor eax, eax
push eax
push 2
push eax
push 4
push 1
push eax
push eax
push eax
push 0x258
push eax
push eax
push eax
push 0x48
mov eax, edi
cdq
pop ecx
idiv ecx
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [0x4c20cc]
call esi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
xor edi, edi
push edi
push edi
push edi
push dword [0x4c20d4]
mov ecx, 0x104
push 0x14
sub eax, ecx
push ecx
cdq
push 0x1e
sub eax, edx
sar eax, 1
push eax
push 0x50000001
push edi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push str.msctls_progress32
push 0x200
call edi
mov dword [0x4c20d0], eax
push 0x640000
push 0
push 0x401
push eax
call esi
push 0
push 1
push 0x404
push dword [0x4c20d0]
call esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [0x4c20d4]
push 0x32
push 0x500
push 0x37
sub eax, dword [ebp - 0x1c]
sub eax, 0x118
push eax
push 0x50000000
push dword [ebp - 0x2c]
push 0x4b2848
push ecx
call edi
push 1
push 0x11
mov dword [0x4c20c8], eax
call ebx
push eax
push 0x30
push dword [0x4c20c8]
call esi
push 4
push dword [0x4c20d4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
lea ecx, [ebp - 0x2c]
call fcn.00408d6e
pop esi
xor eax, eax
pop ebx
leave
ret 0xc