Function at 0x405463
Capabilities:
Hide graphical window

Disassembly:
push 0x2ec
mov eax, 0x466598
call fcn.0043e197
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 8
push eax
mov dword [ebp - 0x264], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
mov dword [ebp - 0x298], 0x30
push ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], 0x405d11
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x288], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 1
push eax
mov dword [ebp - 0x284], eax
call esi
push 0x7f00
push ebx
mov dword [ebp - 0x280], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
push dword [ebp - 0x284]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], 0x10
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], 0x46c3ec
call esi
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x405741
lea eax, [ebp - 0x2d0]
push eax
call fcn.0041798a
mov esi, eax
lea edi, [ebp - 0x220]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2f8]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00417876
add esp, 0xc
lea edi, [ebp - 0x2c0]
mov esi, eax
mov eax, dword [ebp - 0x220]
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c0]
mov esi, 0x80c00000
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x2bc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [ebp - 0x25c], eax
add eax, dword [ebp - 0x2bc]
push ebx
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], ecx
add ecx, dword [ebp - 0x2c0]
push esi
push eax
mov dword [ebp - 0x258], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0x46c410
lea ecx, [ebp - 0x238]
call fcn.00401f6d
lea eax, [ebp - 0x238]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4055f2
mov eax, dword [eax]
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x250]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00404c18
call fcn.00406ea1
push eax
call fcn.0040711c
pop ecx
push ebx
push dword [ebp - 0x284]
movzx edi, al
mov eax, dword [ebp - 0x254]
neg edi
push ebx
push ebx
sbb edi, edi
sub eax, dword [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x258]
and edi, 0x400000
sub eax, dword [ebp - 0x260]
cmp byte [0x4e6130], 0
push eax
push dword [ebp - 0x25c]
mov eax, 0x80ca0000
push dword [ebp - 0x260]
cmovne eax, esi
push eax
lea eax, [ebp - 0x210]
push eax
push 0x46c3ec
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x405741
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0
push dword [ebp - 0x284]
mov esi, eax
push 0x32
push ebx
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push dword [ebp - 0x2b4]
push dword [ebp - 0x2b8]
push 0x50000000
push 0x46c424
push str.STATIC
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push dword [ebp - 0x284]
push 0x33
push ebx
push dword [ebp - 0x29c]
push dword [ebp - 0x2a0]
push dword [ebp - 0x2a4]
push dword [ebp - 0x2a8]
push 0x50000000
push esi
push str.msctls_progress32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push ebx
call fcn.00405e6a
pop ecx
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push 0x1e
push 0x7c
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, ebx
jmp 0x405743
xor eax, eax
call fcn.0043e146
ret