Function at 0x4047c3
Capabilities:
Create http request

Disassembly:
push 0x2ec
mov eax, 0x46690f
call fcn.0043e6c7
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], 0x4e1010
call fcn.00414eed
add esp, 0xc
test al, al
jne 0x404822
mov ebx, dword [ebp - 0x2e8]
jmp 0x404b1b
lea eax, [ebp - 0x2f4]
push eax
call fcn.00403457
mov dword [ebp - 0x2d0], eax
pop ecx
test eax, eax
jne 0x404841
push 4
pop ebx
jmp 0x404b1b
push eax
lea ecx, [ebp - 0x250]
call fcn.0040239d
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.0040184d
push eax
mov byte [ebp - 4], 2
call fcn.00406314
pop ecx
lea ecx, [ebp - 0x2b0]
call fcn.004050fa
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], bl
call fcn.004050d4
call fcn.0040352f
mov ebx, eax
push ebx
push 0x46c5a3
call fcn.00415dce
push ebx
call fcn.00415d74
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.00415f96
mov esi, eax
mov dword [ebp - 0x2dc], esi
push esi
mov byte [ebp - 4], 3
call fcn.00415f03
add esp, 0x18
test al, al
je 0x40493a
push esi
call fcn.00415e93
push esi
call fcn.00415f03
pop ecx
pop ecx
test al, al
je 0x40493a
push esi
mov byte [ebp - 4], 0
call fcn.00443afb
inc edi
pop ecx
cmp edi, 0xa
jl 0x4048dd
push 0xd
jmp 0x40483b
xor ebx, ebx
jmp 0x404aee
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 0x404c00
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x280]
call fcn.0040239d
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041730e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x40499b
mov eax, dword [eax]
push edi
push eax
call fcn.00403654
pop ecx
pop ecx
lea ecx, [ebp - 0x2c8]
mov ebx, eax
call fcn.004050d4
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.004050d4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x34
jne 0x404a93
mov edi, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x298]
push edi
call fcn.0040239d
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00402fce
pop ecx
pop ecx
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.004050d4
push edi
lea ecx, [ebp - 0x268]
call fcn.00404dee
test al, al
jne 0x404a83
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 0x404a83
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 0x404a6f
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.004050d4
cmp ebx, 0x34
je 0x404a9c
cmp ebx, 0x33
jne 0x404b3c
mov ecx, dword [ebp - 0x2d8]
inc ecx
mov dword [ebp - 0x2d8], ecx
cmp ecx, 3
jge 0x404b3c
push 5
pop eax
shl eax, cl
xor ebx, ebx
mov dword [0x4e712c], eax
mov byte [0x4e7128], bl
cmp dword [0x4e712c], ebx
je 0x404ae8
cmp byte [0x4e7104], bl
jne 0x404b2e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [0x4e712c], 1
jne 0x404acc
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 0x404941
push 0xa
pop ebx
push esi
call fcn.00443afb
pop ecx
lea ecx, [ebp - 0x2f4]
call fcn.004050b1
mov eax, ebx
call fcn.0043e676
ret
mov esi, dword [ebp - 0x2dc]
push 0x13
pop ebx
jmp 0x404bf4
test ebx, ebx
jne 0x404bf4
mov eax, dword [0x4e70f4]
test eax, eax
je 0x404b5a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x4e70f4], ebx
push dword [0x4e70f0]
and dword [ebp - 0x2d0], 0
lea eax, [ebp - 0x30]
push str.__webinstall
push dword [0x4e70ec]
push eax
push 4
call fcn.00415cef
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.004046f4
add esp, 0x24
test al, al
je 0x404be6
call fcn.004060d1
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 0x404be9
push 0x37
jmp 0x404be8
push 0x35
pop ebx
push edi
mov byte [ebp - 4], 3
call fcn.00443afb
pop ecx
push esi
call fcn.00415e93
pop ecx
jmp 0x404b14
push 0xd
jmp 0x404b13