Function at 0x406f30
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x105c]
mov eax, 0x105c
call fcn.0040e930
push 0xffffffffffffffff
push 0x45d590
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x48e0ec]
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]
mov ebx, 2
mov dword [ebp - 0x14], str.https:__www.spotify.com_download
mov byte [ebp - 0xd], 0
lea eax, [esi - 1]
cmp eax, 0x38
ja case.0x406f96.10
movzx eax, byte [eax + 0x407568]
jmp dword [eax*4 + 0x407540]
push 0x462a98
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x406fcb
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x406fd0
lea ecx, [ebp + 0x18]
call fcn.004059d0
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004059d0
xor ebx, ebx
mov byte [ebp - 0xd], 1
jmp 0x407341
push 0x462ae8
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x40702e
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x407031
jmp 0x406fde
push 0x462b40
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x40706f
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x407072
lea ecx, [ebp + 0x18]
call fcn.004059d0
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004059d0
xor ebx, ebx
jmp 0x407341
push 0x462bc8
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4070cc
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4070d0
lea ecx, [ebp + 0x18]
call fcn.004059d0
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004059d0
jmp 0x407341
push 0x462c28
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x407128
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x407130
jmp 0x4070de
push 0x462cc8
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x40716e
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x407171
jmp 0x4070de
push 0x462d04
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4071b2
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4071b5
jmp 0x407080
push 0x462d28
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4071f6
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x407200
jmp 0x4070de
push 0x462dd8
lea ecx, [ebp + 0x30]
call fcn.00405730
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x407241
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x407244
lea ecx, [ebp + 0x18]
call fcn.004059d0
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004059d0
cmp dword [0x495b20], 0
mov ebx, 1
mov byte [ebp - 0xd], bl
sete al
test al, al
jne 0x40729a
cmp dword [0x495b24], 8
mov eax, 0x495b10
cmovae eax, dword [0x495b10]
mov dword [ebp - 0x14], eax
jmp 0x407341
mov dword [ebp - 0x14], str.https:__download.spotify.com_SpotifyFullSetup.exe
jmp 0x407341
push 0x2b
push 0x462e2c
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
call fcn.0040bf90
lea eax, [ebp + 0x18]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00410aae
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4072e8
mov ecx, dword [ecx]
lea edx, [ebp + 0x48]
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4072f0
mov eax, dword [ebp + 0x44]
cmp eax, 0x10
jb 0x407313
inc eax
lea ecx, [ebp + 0x30]
push eax
push dword [ebp + 0x30]
call fcn.0040c280
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x30], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x407341
inc eax
lea ecx, [ebp + 0x18]
push eax
push dword [ebp + 0x18]
call fcn.0040c280
push esi
lea eax, [ebp + 0x1048]
push 0x4626c0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebp + 0x48]
add esp, 0xc
dec edi
nop dword [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x407360
mov eax, dword [0x462e58]
lea ecx, [ebp + 0x18]
push 0xc
push 0x462e5c
mov dword [edi], eax
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
call fcn.0040bf90
lea eax, [ebp + 0x18]
mov dword [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00410aae
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 0x10
jb 0x4073b3
mov edx, dword [edx]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4073b5
lea edi, [ebp + 0x48]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4073c2
mov eax, dword [ebp + 0x44]
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]
cmp eax, 0x10
jb 0x4073ed
inc eax
lea ecx, [ebp + 0x30]
push eax
push dword [ebp + 0x30]
call fcn.0040c280
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x30], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x40741b
inc eax
lea ecx, [ebp + 0x18]
push eax
push dword [ebp + 0x18]
call fcn.0040c280
lea edx, [ebp + 0x1048]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x407423
lea edi, [ebp + 0x48]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407430
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
nop word [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x407450
mov ax, word [0x462e6c]
mov word [edi], ax
cmp ebx, 1
jne 0x40746c
mov esi, ebx
jmp 0x407479
xor esi, esi
mov eax, 5
cmp ebx, 2
cmove esi, eax
or esi, 0x30
mov dword [ebp + 0x14], 0xf
cmp byte [ebp + 0x48], 0
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
jne 0x407498
xor ecx, ecx
jmp 0x4074a9
lea ecx, [ebp + 0x48]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4074a0
sub ecx, edx
push ecx
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp]
call fcn.0040bf90
lea eax, [ebp]
mov dword [ebp - 4], 0xb
push esi
push eax
call fcn.004090e0
mov ecx, dword [ebp + 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x4074e1
inc ecx
push ecx
push dword [ebp]
lea ecx, [ebp]
call fcn.0040c280
cmp esi, 4
sete al
cmp esi, 2
sete cl
test al, al
jne 0x407535
test cl, cl
jne 0x407510
cmp byte [ebp - 0xd], cl
je 0x407510
push 5
push 0
push 0
push dword [ebp - 0x14]
push 0x462e70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor al, al
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.00423c9a
lea esp, [ebp + 0x105c]
pop ebp
ret
test cl, cl
jne 0x407510
mov al, 1
jmp 0x407512