Function at 0x4014b8
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esp
push 0
push 0
push 0
push 0
push str.HTTPREAD
xor eax, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401542
push 0x28
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], esp
push 0
push 0x80000002
push 0
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x40158a
push 0xb5
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0
push 1
mov ebx, 0x9e0
call fcn.004058c0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x334
call fcn.004059a0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000005
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401610
push 0x16d
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x40161a
cmp dword [ebp - 0xc], 0
je 0x4016c9
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.004059f0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401653
push ebx
call fcn.00404d77
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40166b
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401695
push 0x20d
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4016af
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00404d7d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4016c0
push ebx
call fcn.00404d77
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x4017e7
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x1bc
call fcn.004059f0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4016fe
push ebx
call fcn.00404d77
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401715
mov eax, 0x40e298
push eax
push 1
mov ebx, 0x194
call fcn.00405a20
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40173f
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x401769
push 0x2e1
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401789
mov eax, 0x40e298
push eax
push 2
mov ebx, 0x1a0
call fcn.00405a30
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401010
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4017c5
push ebx
call fcn.00404d77
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4017d9
push ebx
call fcn.00404d77
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x401702
cmp dword [ebp - 8], 0
je 0x40181d
mov dword [ebp - 0x28], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x40181d
push 0x3c8
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x401853
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401853
push 0x41a
push 0x4010531
push 6
call fcn.00404d83
add esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40186d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00404d7d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x401872
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401883
push ebx
call fcn.00404d77
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401893
push ebx
call fcn.00404d77
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4