Function at 0x4051a2
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x48d0e4]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x38
mov eax, 0x4591dc
call fcn.00434ba0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
mov dword [ebp - 0x10], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
mov dword [ebp - 0x44], 0x30
push ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x405a2e
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 1
push eax
mov dword [ebp - 0x30], eax
call esi
push 0x7f00
push ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
push dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x45e274
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x40524f
xor eax, eax
jmp 0x4053b6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov edi, eax
call esi
mov ecx, eax
lea eax, [edi - 0x190]
cdq
sub eax, edx
mov esi, eax
lea eax, [ecx - 0x64]
sar esi, 1
cdq
sub eax, edx
mov dword [ebp], esi
sar eax, 1
mov dword [ebp + 4], eax
lea ecx, [esi + 0x190]
add eax, 0x64
mov dword [ebp + 8], ecx
push ebx
mov dword [ebp + 0xc], eax
mov esi, 0x80c00000
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0x45e10c
lea ecx, [ebp + 0x28]
call fcn.00401b8b
lea eax, [ebp + 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00406eb6
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4052c2
mov eax, dword [eax]
push 0x100
lea ecx, [ebp + 0x40]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push ebx
push 1
lea ecx, [ebp + 0x10]
call fcn.00404938
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
push ebx
push 1
call fcn.00404938
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 4]
push ebx
push dword [ebp - 0x30]
push ebx
push ebx
push eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp]
cmp byte [0x49488c], 0
push eax
push dword [ebp + 4]
mov eax, 0x80ca0000
push dword [ebp]
cmovne eax, esi
push eax
lea eax, [ebp + 0x40]
push eax
push 0x45e274
push ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
call ebx
mov edi, eax
test edi, edi
je 0x405248
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0
push dword [ebp - 0x30]
mov esi, eax
push 0x32
push edi
push 0x1e
push 0x168
push 0x10
push 0x14
push 0x50000000
push 0x45e298
push str.STATIC
push 0
call ebx
push 0
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push dword [ebp - 0x30]
push 0x33
push edi
push 0x14
push 0x168
push 0x32
push 0x14
push 0x50000000
push esi
push str.msctls_progress32
push esi
call ebx
push edi
call fcn.00405b9d
pop ecx
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push 0x1e
push 0x7c
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00434b58
lea esp, [ebp + 0x244]
pop ebp
ret