Function at 0x4775c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
or esi, 0xffffffff
mov dword [ebp - 4], 0x88c00000
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], esi
or ebx, esi
mov dword [ebp - 0xc], 8
call fcn.004077c7
mov eax, dword [0x4c5298]
test eax, eax
je 0x477600
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x4c5298], 0
cmp dword [ebp + 0x10], 1
je 0x4778d7
cmp dword [ebp + 0xc], 3
push edi
mov edi, dword [ebp + 8]
jb 0x47762f
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00409997
push dword [esi + 8]
lea ecx, [ebp - 0x2c]
call fcn.004081a7
mov esi, dword [ebp - 8]
cmp dword [ebp + 0xc], 4
jb 0x477645
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00409c9c
mov esi, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 5
jb 0x477658
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x10]
call fcn.00409c9c
mov ebx, eax
cmp dword [ebp + 0xc], 6
jb 0x4776a8
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x14]
call fcn.00409c9c
test al, 1
je 0x477674
mov dword [ebp - 4], 0x88000000
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.00409c9c
and al, 2
movsx eax, al
neg eax
push 8
sbb eax, eax
not eax
pop ecx
and eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.00409c9c
test al, 0x10
je 0x4776a8
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 0x4776cf
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 0x4776e1
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
lea eax, [ebp - 0x1c]
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push ecx
push esi
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00409997
mov eax, dword [esi + 8]
mov ecx, dword [eax]
xor eax, eax
push eax
push eax
push eax
push dword [0x4c52ac]
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 0x48f96c
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x1c]
mov dword [0x4c5298], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00409997
mov eax, dword [esi + 8]
xor esi, esi
push esi
push esi
push esi
push dword [0x4c5298]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0x18
push 0x500
push 4
sub eax, 0x119
push eax
push 0x50000000
push ecx
push str.static
push esi
call ebx
push esi
push esi
push esi
push str.DISPLAY
mov dword [0x4c5290], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebx, dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
push 0x11
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]
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
imul eax, edi, 0xfffffff6
push 0x48
pop ecx
cdq
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 [0x4c5290]
call esi
mov eax, dword [ebp - 0x14]
xor edi, edi
sub eax, dword [ebp - 0x1c]
mov ecx, 0x104
push edi
push edi
push edi
push dword [0x4c5298]
sub eax, ecx
push 0x14
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
push 0x640000
push 0
push 0x401
push eax
mov dword [0x4c5294], eax
call esi
push 0
push 1
push 0x404
push dword [0x4c5294]
call esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [0x4c5298]
push 0x32
push 0x500
push 0x37
sub eax, dword [ebp - 0x1c]
sub eax, 0x118
push eax
push 0x50000000
push dword [ebp - 0x2c]
push str.static
push ecx
call edi
push 1
push 0x11
mov dword [0x4c528c], eax
call ebx
push eax
push 0x30
push dword [0x4c528c]
call esi
push 4
push dword [0x4c5298]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
lea ecx, [ebp - 0x2c]
call fcn.00405a64
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc