Function at 0x40578b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466640
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.0043e240
mov eax, dword [0x4e01d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 2
pop eax
inc ebx
mov dword [ebp - 0x1070], eax
mov byte [ebp - 0x1069], 0
mov edi, 0x46be60
cmp esi, 0x32
jg 0x405943
je 0x405a10
lea eax, [esi - 1]
cmp eax, 0x11
ja case.0x4057fa.9
movzx eax, byte [eax + 0x405c03]
jmp dword [eax*4 + 0x405be7]
push 0x46bf08
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
and dword [ebp - 4], 0
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405832
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.004435f0
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00404c18
xor eax, eax
mov byte [ebp - 0x1069], bl
mov dword [ebp - 0x1070], eax
jmp 0x405a6d
push 0x46bf58
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x40589e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.004435f0
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00404c18
xor eax, eax
mov dword [ebp - 0x1070], eax
jmp 0x405a6d
push 0x46bfe0
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
mov dword [ebp - 4], 2
jmp 0x405a27
push 0x46c040
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
mov dword [ebp - 4], 3
jmp 0x405a27
push 0x46c0e0
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
mov dword [ebp - 4], 4
jmp 0x405a27
push 0x46c11c
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
push 5
pop eax
mov dword [ebp - 4], eax
jmp 0x405881
mov eax, esi
sub eax, 0x33
je 0x405a10
sub eax, 1
je 0x405a10
dec eax
sub eax, 1
je 0x405a10
sub eax, 3
je 0x405982
push 0x46c244
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
mov dword [ebp - 4], 8
jmp 0x405a27
push 0x46c1f0
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
lea eax, [ebp - 0x1038]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4059b6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.004435f0
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00404c18
cmp dword [0x4e0028], 0
mov dword [ebp - 0x1070], ebx
mov byte [ebp - 0x1069], bl
je 0x405a09
cmp dword [0x4e002c], 8
mov edi, 0x4e0018
cmovae edi, dword [0x4e0018]
jmp 0x405a6d
mov edi, str.https:__download.scdn.co_SpotifyFullSetup.exe
jmp 0x405a6d
push 0x46c140
lea ecx, [ebp - 0x1038]
call fcn.00401f6d
mov dword [ebp - 4], 6
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405a44
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.004435f0
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00404c18
push esi
lea eax, [ebp - 0x20]
push 0x46c270
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x1020]
push 0x46c274
push eax
call fcn.00443600
add esp, 0x14
lea ecx, [ebp - 0x1038]
push 0x46c278
call fcn.00401f6d
lea eax, [ebp - 0x1038]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405ac5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443600
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00404c18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443600
lea eax, [ebp - 0x1020]
push 0x46c288
push eax
call fcn.00443600
call fcn.00406ea1
push eax
call fcn.0040711c
add esp, 0x14
mov edx, 0x100030
test al, al
lea eax, [ebp - 0x1020]
push 0x30
pop ecx
cmovne ecx, edx
xor esi, esi
cmp dword [ebp - 0x1070], 2
push 5
pop edx
cmove esi, edx
cmp dword [ebp - 0x1070], ebx
push eax
cmove esi, ebx
or esi, ecx
lea ecx, [ebp - 0x1068]
call fcn.00401f6d
lea eax, [ebp - 0x1068]
mov dword [ebp - 4], 0xa
push esi
push eax
call fcn.00405c2b
pop ecx
pop ecx
lea ecx, [ebp - 0x1068]
mov esi, eax
call fcn.00404c18
cmp esi, 4
sete byte [ebp - 0x106b]
cmp esi, 2
sete al
mov byte [ebp - 0x106a], al
cmp esi, 4
je 0x405bbb
test al, al
jne 0x405bbb
cmp byte [ebp - 0x1069], al
je 0x405bbb
push 5
pop eax
push eax
xor eax, eax
push eax
push eax
push edi
push 0x46c28c
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, byte [ebp - 0x106a]
cmp byte [ebp - 0x106b], 0
je 0x405bc8
test al, al
je 0x405bca
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e124
leave
ret