Function at 0x41f4b2
Capabilities:
Create http request

Disassembly:
push 0x2ec
mov eax, 0x4664c3
call fcn.00441b59
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], 0x4e88c0
call fcn.00421b8e
add esp, 0xc
test al, al
jne 0x41f511
mov ebx, dword [ebp - 0x2e8]
jmp 0x41f80a
lea eax, [ebp - 0x2f4]
push eax
call fcn.0041e1d2
mov dword [ebp - 0x2d0], eax
pop ecx
test eax, eax
jne 0x41f530
push 4
pop ebx
jmp 0x41f80a
push eax
lea ecx, [ebp - 0x250]
call fcn.0041d182
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.0041c632
push eax
mov byte [ebp - 4], 2
call fcn.00420ff5
pop ecx
lea ecx, [ebp - 0x2b0]
call fcn.0041fde9
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], bl
call fcn.0041fdc3
call fcn.0041e2aa
mov ebx, eax
push ebx
push 0x46b98e
call fcn.00422cf7
push ebx
call fcn.00422c9d
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.00422ebf
mov esi, eax
mov dword [ebp - 0x2dc], esi
push esi
mov byte [ebp - 4], 3
call fcn.00422e2c
add esp, 0x18
test al, al
je 0x41f629
push esi
call fcn.00422dbc
push esi
call fcn.00422e2c
pop ecx
pop ecx
test al, al
je 0x41f629
push esi
mov byte [ebp - 4], 0
call fcn.00406dff
inc edi
pop ecx
cmp edi, 0xa
jl 0x41f5cc
push 0xd
jmp 0x41f52a
xor ebx, ebx
jmp 0x41f7dd
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 0x41f8ef
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x280]
call fcn.0041d182
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00424423
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41f68a
mov eax, dword [eax]
push edi
push eax
call fcn.0041e3cf
pop ecx
pop ecx
lea ecx, [ebp - 0x2c8]
mov ebx, eax
call fcn.0041fdc3
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.0041fdc3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x34
jne 0x41f782
mov edi, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x298]
push edi
call fcn.0041d182
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0041dd49
pop ecx
pop ecx
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.0041fdc3
push edi
lea ecx, [ebp - 0x268]
call fcn.0041fadd
test al, al
jne 0x41f772
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 0x41f772
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 0x41f75e
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.0041fdc3
cmp ebx, 0x34
je 0x41f78b
cmp ebx, 0x33
jne 0x41f82b
mov ecx, dword [ebp - 0x2d8]
inc ecx
mov dword [ebp - 0x2d8], ecx
cmp ecx, 3
jge 0x41f82b
push 5
pop eax
shl eax, cl
xor ebx, ebx
mov dword [0x4eab1c], eax
mov byte [0x4eab18], bl
cmp dword [0x4eab1c], ebx
je 0x41f7d7
cmp byte [0x4eaaf4], bl
jne 0x41f81d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [0x4eab1c], 1
jne 0x41f7bb
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 0x41f630
push 0xa
pop ebx
push esi
call fcn.00406dff
pop ecx
lea ecx, [ebp - 0x2f4]
call fcn.0041fda0
mov eax, ebx
call fcn.00441b08
ret
mov esi, dword [ebp - 0x2dc]
push 0x13
pop ebx
jmp 0x41f8e3
test ebx, ebx
jne 0x41f8e3
mov eax, dword [0x4eaae4]
test eax, eax
je 0x41f849
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x4eaae4], ebx
push dword [0x4eaae0]
and dword [ebp - 0x2d0], 0
lea eax, [ebp - 0x30]
push str.__webinstall
push dword [0x4eaadc]
push eax
push 4
call fcn.00422c18
mov edi, eax
mov dword [ebp - 0x2f8], edi
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 6
push eax
push 0
push edi
push esi
call fcn.0041f3e3
add esp, 0x24
test al, al
je 0x41f8d5
call fcn.00420db2
push 0xffffffffffffffff
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 0x2e0], 0xffffffff
lea eax, [ebp - 0x2e0]
push eax
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2e0], 0
je 0x41f8d8
push 0x37
jmp 0x41f8d7
push 0x35
pop ebx
push edi
mov byte [ebp - 4], 3
call fcn.00406dff
pop ecx
push esi
call fcn.00422dbc
pop ecx
jmp 0x41f803
push 0xd
jmp 0x41f802