Function at 0x406064
Capabilities:
Hide graphical window

Disassembly:
push 0x2f4
mov eax, 0x46418d
call fcn.0043e189
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 8
push eax
mov dword [ebp - 0x26c], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
mov dword [ebp - 0x2a0], 0x30
push ebx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], 0x406cf7
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 1
push eax
mov dword [ebp - 0x28c], eax
call esi
push 0x7f00
push ebx
mov dword [ebp - 0x288], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
push dword [ebp - 0x28c]
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 0x10
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], str.SpotifyInstaller
call esi
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x4063a3
lea eax, [ebp - 0x2d8]
push eax
call fcn.0041ae5a
mov esi, eax
lea edi, [ebp - 0x238]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x300]
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.0041ad46
add esp, 0xc
lea edi, [ebp - 0x2c8]
mov esi, eax
mov eax, dword [ebp - 0x238]
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c8]
mov edi, 0x80c00000
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x2c4]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [ebp - 0x25c], eax
add eax, dword [ebp - 0x2c4]
push ebx
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], ecx
add ecx, dword [ebp - 0x2c8]
push edi
push eax
mov dword [ebp - 0x258], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0xf
pop esi
push 0x46a008
mov byte [ebp - 0x264], bl
lea ecx, [ebp - 0x228]
push dword [ebp - 0x264]
mov dword [ebp - 0x228], ebx
push 0x11
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x228], bl
call fcn.00401f64
lea eax, [ebp - 0x228]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00408445
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x40621c
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.004056fd
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x214]
cmp eax, 0x10
jb 0x406295
mov ecx, dword [ebp - 0x228]
inc eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], ecx
cmp eax, 0x1000
jb 0x40628c
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.004051b1
mov eax, dword [ebp - 0x268]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x264]
push eax
push ecx
call fcn.0043e103
pop ecx
pop ecx
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x25c]
push ebx
push dword [ebp - 0x28c]
mov dword [ebp - 0x218], ebx
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
cmp byte [0x4d4108], 0
push eax
push dword [ebp - 0x25c]
mov eax, 0x80ca0000
mov byte [ebp - 0x228], bl
push dword [ebp - 0x260]
cmovne eax, edi
mov dword [ebp - 0x214], esi
push eax
lea eax, [ebp - 0x210]
push eax
push str.SpotifyInstaller
push ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
call ebx
mov edi, eax
test edi, edi
je 0x4063a3
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0
push dword [ebp - 0x28c]
mov esi, eax
push 0x32
push edi
push dword [ebp - 0x2b4]
push dword [ebp - 0x2b8]
push dword [ebp - 0x2bc]
push dword [ebp - 0x2c0]
push 0x50000000
push 0x46a190
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 - 0x28c]
push 0x33
push edi
push dword [ebp - 0x2a4]
push dword [ebp - 0x2a8]
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push 0x50000000
push esi
push str.msctls_progress32
push esi
call ebx
push edi
call fcn.00406e9b
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
jmp 0x4063a5
xor eax, eax
call fcn.0043e138
ret