Function at 0x48283a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
or dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0x2c]
push esi
push edi
or esi, 0xffffffff
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
mov edi, 0x88c00000
call fcn.00403f6a
mov eax, dword [0x4d1338]
test eax, eax
je 0x48287a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x4d1338], 0
cmp dword [ebp + 0x10], 1
je 0x482b5e
cmp dword [ebp + 0xc], 3
push ebx
mov ebx, dword [ebp + 8]
jb 0x4828b0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00405efc
lea eax, [ebp - 0x2c]
cmp eax, dword [esi + 8]
je 0x4828ad
push dword [esi + 8]
mov ecx, eax
call fcn.0040478a
mov esi, dword [ebp - 4]
cmp dword [ebp + 0xc], 4
jb 0x4828c4
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.004061fc
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 5
jb 0x4828da
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
call fcn.004061fc
mov esi, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 6
jb 0x48292e
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x14]
call fcn.004061fc
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xff400000
add edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x14]
call fcn.004061fc
shl eax, 2
push 8
not eax
pop ecx
and eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x14]
call fcn.004061fc
test al, 0x10
je 0x48292e
mov eax, dword [ebp - 8]
xor edi, 0x8000000
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x482954
mov eax, dword [ebp - 0x14]
add eax, 0xfffffed4
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
cmp esi, 0xffffffff
jne 0x482967
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
lea eax, [ebp - 0x1c]
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
push ecx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [eax]
xor eax, eax
push eax
push eax
push eax
push dword [0x4d134c]
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 - 0xc]
push edi
push ecx
push 0x49cb7c
push dword [ebp - 8]
call ebx
lea ecx, [ebp - 0x1c]
mov dword [0x4d1338], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
xor esi, esi
push esi
push esi
push esi
push dword [0x4d1338]
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 [0x4d1330], 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 [0x4d1330]
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 [0x4d1338]
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 [0x4d1334], eax
call esi
push 0
push 1
push 0x404
push dword [0x4d1334]
call esi
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [0x4d1338]
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 str.static
push ecx
call edi
push 1
push 0x11
mov dword [0x4d132c], eax
call ebx
push eax
push 0x30
push dword [0x4d132c]
call esi
push 4
push dword [0x4d1338]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
lea ecx, [ebp - 0x2c]
call fcn.004020f8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc