Function at 0x45a3f7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
or esi, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], esi
or ebx, esi
mov dword [ebp - 4], 0x88c00000
mov dword [ebp - 0xc], 8
call fcn.0040d3d2
mov eax, dword [0x4c10d4]
test eax, eax
je 0x45a437
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x4c10d4], 0
cmp dword [ebp + 0x10], 1
je 0x45a710
cmp dword [ebp + 0xc], 3
push edi
mov edi, dword [ebp + 8]
jb 0x45a466
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.004084a6
push dword [esi + 8]
lea ecx, [ebp - 0x2c]
call fcn.0040c935
mov esi, dword [ebp - 8]
cmp dword [ebp + 0xc], 4
jb 0x45a47c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.0040cdb4
mov esi, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 5
jb 0x45a48f
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x10]
call fcn.0040cdb4
mov ebx, eax
cmp dword [ebp + 0xc], 6
jb 0x45a4df
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x14]
call fcn.0040cdb4
test al, 1
je 0x45a4ab
mov dword [ebp - 4], 0x88000000
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.0040cdb4
and al, 2
movsx eax, al
neg eax
sbb eax, eax
push 8
not eax
pop ecx
and eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.0040cdb4
test al, 0x10
je 0x45a4df
xor dword [ebp - 4], 0x8000000
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp esi, 0xffffffff
jne 0x45a506
mov eax, dword [ebp - 0x14]
add eax, 0xfffffed4
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 8], esi
cmp ebx, 0xffffffff
jne 0x45a518
mov eax, dword [ebp - 0x10]
add eax, 0xffffff9c
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
push 0x64
push 0x12c
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
push ecx
push esi
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.004084a6
mov eax, dword [esi + 8]
mov ecx, dword [eax]
xor eax, eax
push eax
push eax
push eax
push dword [0x4c10e8]
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 ebx
push dword [ebp - 8]
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [ebp - 4]
push ecx
push 0x49daa8
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [0x4c10d4], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.004084a6
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 [0x4c10d4]
sub eax, 0x119
push 0x18
push 0x500
push 4
push eax
push 0x50000000
push ecx
push 0x4b184c
push esi
call ebx
push esi
push esi
push esi
push str.DISPLAY
mov dword [0x4c10cc], 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 [0x4c10cc]
call esi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
xor edi, edi
push edi
push edi
push edi
push dword [0x4c10d4]
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 [0x4c10d0], eax
push 0x640000
push 0
push 0x401
push eax
call esi
push 0
push 1
push 0x404
push dword [0x4c10d0]
call esi
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [0x4c10d4]
push 0x32
push 0x500
push 0x37
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
sub eax, 0x118
push eax
push 0x50000000
push dword [ebp - 0x2c]
push 0x4b184c
push ecx
call edi
push 1
push 0x11
mov dword [0x4c10c8], eax
call ebx
push eax
push 0x30
push dword [0x4c10c8]
call esi
push 4
push dword [0x4c10d4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
lea ecx, [ebp - 0x2c]
call fcn.00405cd3
pop esi
xor eax, eax
pop ebx
leave
ret 0xc