Function at 0x40570b
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x105c]
mov eax, 0x105c
call fcn.00420c50
push 0xffffffffffffffff
push 0x45a9c5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x48e104]
xor eax, ebp
mov dword [ebp + 0x1058], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x1064]
xor ebx, ebx
push 2
pop eax
push 0x10
pop edi
mov dword [ebp - 0x18], str.https:__www.spotify.com_download
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], bl
cmp esi, edi
jg 0x405948
je 0x40590b
test esi, esi
jle 0x4057a3
cmp esi, 8
jle 0x4058d0
cmp esi, 9
je 0x405876
cmp esi, 0xa
jle 0x4057a3
cmp esi, 0xc
jle 0x405838
cmp esi, 0xd
je 0x4057de
cmp esi, 0xe
je 0x405a47
push 0x45fe34
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x4057cf
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4057d2
jmp 0x405817
push 0x45fbd0
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x40580a
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40580d
push ebx
xor ebx, ebx
lea ecx, [ebp + 0x18]
inc ebx
push ebx
call fcn.00408e63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
push 0
push ebx
call fcn.00408e63
jmp 0x405adf
push 0x45fb48
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x405864
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x405867
jmp 0x405abe
push 0x45faf0
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
xor ebx, ebx
push eax
lea eax, [ebp + 0x18]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x4058a1
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4058a4
push 0
push ebx
lea ecx, [ebp + 0x18]
call fcn.00408e63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
push 0
push ebx
call fcn.00408e63
mov byte [ebp - 0xd], bl
jmp 0x405ada
push 0x45faa0
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x4058f8
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4058fb
push ebx
xor ebx, ebx
inc ebx
jmp 0x4058b0
push 0x45fcd0
lea ecx, [ebp + 0x30]
call fcn.00404554
push 5
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x405936
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x405939
jmp 0x405817
cmp esi, 0x11
je 0x405a85
cmp esi, 0x12
je 0x405a47
cmp esi, 0x31
jle 0x4057a3
cmp esi, 0x34
jle 0x405a09
cmp esi, 0x36
je 0x405a09
cmp esi, 0x39
jne 0x4057a3
push 0x45fde0
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x4059aa
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4059ad
push ebx
xor ebx, ebx
lea ecx, [ebp + 0x18]
inc ebx
push ebx
call fcn.00408e63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
push 0
push ebx
call fcn.00408e63
cmp dword [0x48e0b0], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
je 0x4059fd
cmp dword [0x48e0b4], 8
mov eax, 0x48e0a0
cmovae eax, dword [0x48e0a0]
mov dword [ebp - 0x18], eax
jmp 0x405adf
mov dword [ebp - 0x18], str.https:__download.spotify.com_SpotifyFullSetup.exe
jmp 0x405adf
push 0x45fd30
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x405a35
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x405a38
jmp 0x405817
push 0x45fc30
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x405a73
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x405a76
jmp 0x405817
push 0x45fd0c
lea ecx, [ebp + 0x30]
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], edi
jb 0x405ab1
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x405ab4
push ebx
xor ebx, ebx
lea ecx, [ebp + 0x18]
inc ebx
push ebx
call fcn.00408e63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
push 0
push ebx
call fcn.00408e63
xor eax, eax
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp + 0x1048]
push 0x45fa78
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebp + 0x48]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405af9
mov eax, dword [0x45fe60]
lea ecx, [ebp + 0x30]
push 0x45fe64
mov dword [edi], eax
call fcn.00404554
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040d93e
mov edx, eax
pop ecx
pop ecx
cmp dword [edx + 0x14], 0x10
jb 0x405b35
mov edx, dword [edx]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x405b37
lea edi, [ebp + 0x48]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405b44
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push ebx
lea ecx, [ebp + 0x18]
call fcn.00408e63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
push 0
push ebx
call fcn.00408e63
lea edx, [ebp + 0x1048]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x405b7c
lea edi, [ebp + 0x48]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405b89
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 0x48]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405ba3
mov ax, word [0x45fe74]
xor esi, esi
cmp dword [ebp - 0x14], 2
push 5
pop ecx
cmove esi, ecx
mov word [edi], ax
cmp dword [ebp - 0x14], ebx
lea eax, [ebp + 0x48]
push eax
cmove esi, ebx
lea ecx, [ebp]
or esi, 0x30
call fcn.00404554
lea eax, [ebp]
mov dword [ebp - 4], 0xb
push esi
push eax
call fcn.004072e6
pop ecx
pop ecx
xor edi, edi
lea ecx, [ebp]
push edi
push ebx
mov esi, eax
call fcn.00408e63
cmp esi, 4
sete cl
cmp esi, 2
sete al
test cl, cl
jne 0x405c26
test al, al
jne 0x405c2a
cmp byte [ebp - 0xd], al
je 0x405c2a
push 5
pop eax
push eax
push edi
push edi
push dword [ebp - 0x18]
push 0x45fe78
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x405c2a
test al, al
je 0x405c2c
mov ebx, edi
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 + 0x1058]
xor ecx, ebp
call fcn.00420802
lea esp, [ebp + 0x105c]
pop ebp
ret