Function at 0x405c47
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466b70
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.0043e770
mov eax, dword [0x4e11d4]
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, 0x46ce80
cmp esi, 0x32
jg 0x405dff
je 0x405ecc
lea eax, [esi - 1]
cmp eax, 0x11
ja case.0x405cb6.9
movzx eax, byte [eax + 0x4060bf]
jmp dword [eax*4 + 0x4060a3]
push 0x46cf28
lea ecx, [ebp - 0x1038]
call fcn.0040239d
and dword [ebp - 4], 0
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.004079f5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405cee
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.004050d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.004050d4
xor eax, eax
mov byte [ebp - 0x1069], bl
mov dword [ebp - 0x1070], eax
jmp 0x405f29
push 0x46cf78
lea ecx, [ebp - 0x1038]
call fcn.0040239d
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.004079f5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405d5a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.004050d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.004050d4
xor eax, eax
mov dword [ebp - 0x1070], eax
jmp 0x405f29
push 0x46d000
lea ecx, [ebp - 0x1038]
call fcn.0040239d
mov dword [ebp - 4], 2
jmp 0x405ee3
push 0x46d060
lea ecx, [ebp - 0x1038]
call fcn.0040239d
mov dword [ebp - 4], 3
jmp 0x405ee3
push 0x46d100
lea ecx, [ebp - 0x1038]
call fcn.0040239d
mov dword [ebp - 4], 4
jmp 0x405ee3
push 0x46d13c
lea ecx, [ebp - 0x1038]
call fcn.0040239d
push 5
pop eax
mov dword [ebp - 4], eax
jmp 0x405d3d
mov eax, esi
sub eax, 0x33
je 0x405ecc
sub eax, 1
je 0x405ecc
dec eax
sub eax, 1
je 0x405ecc
sub eax, 3
je 0x405e3e
push 0x46d264
lea ecx, [ebp - 0x1038]
call fcn.0040239d
mov dword [ebp - 4], 8
jmp 0x405ee3
push 0x46d210
lea ecx, [ebp - 0x1038]
call fcn.0040239d
lea eax, [ebp - 0x1038]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.004079f5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405e72
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.004050d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.004050d4
cmp dword [0x4e1028], 0
mov dword [ebp - 0x1070], ebx
mov byte [ebp - 0x1069], bl
je 0x405ec5
cmp dword [0x4e102c], 8
mov edi, 0x4e1018
cmovae edi, dword [0x4e1018]
jmp 0x405f29
mov edi, str.https:__download.scdn.co_SpotifyFullSetup.exe
jmp 0x405f29
push 0x46d160
lea ecx, [ebp - 0x1038]
call fcn.0040239d
mov dword [ebp - 4], 6
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.004079f5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405f00
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.004050d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.004050d4
push esi
lea eax, [ebp - 0x20]
push 0x46d290
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x1020]
push 0x46d294
push eax
call fcn.00443b30
add esp, 0x14
lea ecx, [ebp - 0x1038]
push 0x46d298
call fcn.0040239d
lea eax, [ebp - 0x1038]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.004079f5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x405f81
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443b30
pop ecx
pop ecx
lea ecx, [ebp - 0x1050]
call fcn.004050d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.004050d4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00443b30
lea eax, [ebp - 0x1020]
push 0x46d2a8
push eax
call fcn.00443b30
call fcn.00407320
push eax
call fcn.0040759b
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.0040239d
lea eax, [ebp - 0x1068]
mov dword [ebp - 4], 0xa
push esi
push eax
call fcn.004060e7
pop ecx
pop ecx
lea ecx, [ebp - 0x1068]
mov esi, eax
call fcn.004050d4
cmp esi, 4
sete byte [ebp - 0x106b]
cmp esi, 2
sete al
mov byte [ebp - 0x106a], al
cmp esi, 4
je 0x406077
test al, al
jne 0x406077
cmp byte [ebp - 0x1069], al
je 0x406077
push 5
pop eax
push eax
xor eax, eax
push eax
push eax
push edi
push 0x46d2ac
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, byte [ebp - 0x106a]
cmp byte [ebp - 0x106b], 0
je 0x406084
test al, al
je 0x406086
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.0043e654
leave
ret