Function at 0x403a32
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2560
call fcn.00406a40
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], edx
push 0x3c
mov esi, ecx
mov word [ebp - 0x4d0], ax
pop edi
push edi
lea ecx, [ebp - 0x50]
mov word [ebp - 0x2d0], ax
mov word [ebp - 0x1d0], ax
mov word [ebp - 0x2560], ax
mov word [ebp - 0x1518], ax
call fcn.0040553d
lea eax, [ebp - 0x4d0]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], eax
xor ebx, ebx
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x3c], 0x100
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2560]
pop ecx
mov dword [ebp - 0x24], eax
lea ecx, [edi + 0x44]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], ecx
push eax
push ebx
push ebx
push esi
mov dword [ebp - 0x28], ecx
mov edi, 0x80000000
mov dword [ebp - 0x20], 0x824
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x403c61
cmp dword [ebp - 0x44], 3
je 0x403ae9
cmp dword [ebp - 0x44], 4
jne 0x403c61
cmp dword [ebp - 0x44], 4
mov eax, 0x80803000
push ebx
push ebx
push ebx
push ebx
push str.Chrome
cmove edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403c61
push ebx
push ebx
push 3
lea ecx, [ebp - 0x1d0]
push ecx
lea ecx, [ebp - 0x2d0]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x4d0]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x403b42
xor esi, esi
jmp 0x403c63
cmp dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1518]
mov edx, dword [ebp - 0x24]
jne 0x403b56
mov edx, 0x407824
call fcn.004054e4
push 0
push edi
push 0
push 0x4077c8
push str.HTTP_1.1
lea eax, [ebp - 0x1518]
push eax
push 0x407828
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, eax
call fcn.0040336c
mov esi, eax
test esi, esi
je 0x403c63
push 0
push edi
push 0
push 0x4077c8
push str.HTTP_1.1
lea eax, [ebp - 0x1518]
push eax
push 0x4077e0
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edi, eax
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x2bf20
push eax
push 5
push edi
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 6
push edi
call esi
push 0x200000
xor esi, esi
lea eax, [ebp - 0xd0]
push esi
push str.RANGE:bytes_d__d_r_n_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0xd0]
push 0xa0000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x403c66
mov ecx, edi
call fcn.0040336c
test eax, eax
je 0x403c66
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x200000
push dword [ebp - 8]
mov dword [ebx], esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
mov eax, dword [ebp - 4]
jmp 0x403c3f
mov eax, dword [ebp - 4]
test eax, eax
je 0x403c66
add dword [ebx], eax
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
mov eax, dword [ebx]
add eax, dword [ebp - 8]
push 0x200000
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x403c38
jmp 0x403c66
mov esi, ebx
mov edi, dword [ebp - 8]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x403c73
push edi
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403c7d
push eax
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x403c87
push eax
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret