Function at 0x4048f8
Capabilities:
Create http request

Disassembly:
push 0x2ec
mov eax, 0x46972b
call fcn.00440dbc
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2ec], ebx
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], ebx
push ecx
lea ecx, [ebp - 0x2f4]
mov dword [ebp - 0x2e8], ebx
push ecx
push eax
mov dword [ebp - 0x2e4], 0x4e5010
call fcn.00418622
add esp, 0xc
test al, al
jne 0x404957
mov ebx, dword [ebp - 0x2e8]
jmp 0x404c50
lea eax, [ebp - 0x2f4]
push eax
call fcn.004035c8
mov dword [ebp - 0x2d0], eax
pop ecx
test eax, eax
jne 0x404976
push 4
pop ebx
jmp 0x404c50
push eax
lea ecx, [ebp - 0x250]
call fcn.004024de
cmp dword [ebp - 0x23c], 0x10
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x2d1]
cmovae ecx, dword [ebp - 0x250]
add eax, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 0x10
lea ecx, [ebp - 0x250]
push edx
cmovae ecx, dword [ebp - 0x250]
push eax
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.004018db
push eax
mov byte [ebp - 4], 2
call fcn.004064a7
pop ecx
lea ecx, [ebp - 0x2b0]
call fcn.0040522f
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], bl
call fcn.00405209
call fcn.004036a0
mov ebx, eax
push ebx
push 0x46f5a3
call fcn.004195bd
push ebx
call fcn.00419563
and dword [ebp - 0x2d8], 0
add esp, 0xc
xor edi, edi
push edi
lea eax, [ebp - 0x30]
push str.SpWebInst_d.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.00419785
mov esi, eax
mov dword [ebp - 0x2dc], esi
push esi
mov byte [ebp - 4], 3
call fcn.004196f2
add esp, 0x18
test al, al
je 0x404a6f
push esi
call fcn.00419682
push esi
call fcn.004196f2
pop ecx
pop ecx
test al, al
je 0x404a6f
push esi
mov byte [ebp - 4], 0
call fcn.0044643b
inc edi
pop ecx
cmp edi, 0xa
jl 0x404a12
push 0xd
jmp 0x404970
xor ebx, ebx
jmp 0x404c23
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x404d35
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x280]
call fcn.004024de
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041ab11
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x404ad0
mov eax, dword [eax]
push edi
push eax
call fcn.004037c5
pop ecx
pop ecx
lea ecx, [ebp - 0x2c8]
mov ebx, eax
call fcn.00405209
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.00405209
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x34
jne 0x404bc8
mov edi, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x298]
push edi
call fcn.004024de
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0040313f
pop ecx
pop ecx
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.00405209
push edi
lea ecx, [ebp - 0x268]
call fcn.00404f23
test al, al
jne 0x404bb8
xor eax, eax
push eax
push eax
push eax
push eax
push str.SpotifyInstaller_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x404bb8
xor eax, eax
lea ecx, [ebp - 0x268]
cmp dword [ebp - 0x254], 0x10
push eax
cmovae ecx, dword [ebp - 0x268]
push 0x80000200
push eax
push eax
push ecx
push edi
mov byte [ebp - 0x2c9], al
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
je 0x404ba4
push eax
mov byte [ebp - 0x2c9], 1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x2c9], 0
push 0x39
pop eax
cmovne ebx, eax
lea ecx, [ebp - 0x268]
call fcn.00405209
cmp ebx, 0x34
je 0x404bd1
cmp ebx, 0x33
jne 0x404c71
mov ecx, dword [ebp - 0x2d8]
inc ecx
mov dword [ebp - 0x2d8], ecx
cmp ecx, 3
jge 0x404c71
push 5
pop eax
shl eax, cl
xor ebx, ebx
mov dword [0x4eb2e4], eax
mov byte [0x4eb2e0], bl
cmp dword [0x4eb2e4], ebx
je 0x404c1d
cmp byte [0x4eb2bc], bl
jne 0x404c63
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [0x4eb2e4], 1
jne 0x404c01
mov esi, dword [ebp - 0x2dc]
push 0x104
lea eax, [ebp - 0x238]
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x404a76
push 0xa
pop ebx
push esi
call fcn.0044643b
pop ecx
lea ecx, [ebp - 0x2f4]
call fcn.004051e6
invalid