Function at 0x4cb0b0
Capabilities:
Access peb ldr_data
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405210
mov eax, dword [ebp - 8]
call fcn.00405210
lea edi, [ebp - 0x5c]
xor eax, eax
push ebp
push 0x4cb326
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d34
mov dword [edi], 0x3c
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x556]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xfa
mov word [edi + 0x18], 0
xor eax, eax
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x650]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0xfa
xor eax, eax
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x45c]
mov edx, dword [ebp - 4]
call fcn.0040ade0
push edi
push 0
mov eax, dword [ebp - 4]
call fcn.00405020
push eax
lea eax, [ebp - 0x45c]
push eax
call sub.wininet.dll_InternetCrackUrlA
push 0
push 0
push 0
push 0
push 0x4cb338
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4cb2f8
push 0
push 0
push 3
push 0
push 0
mov ax, word [edi + 0x18]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4cb2ef
mov esi, 0x400000
cmp dword [edi + 0xc], 4
jne 0x4cb1cd
or esi, 0x1000
or esi, 0x800000
or esi, 0x2000
push 0
push esi
push 0
push 0
push 0
mov eax, dword [edi + 0x2c]
push eax
push 0x4cb33c
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4cb2e6
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1f
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetQueryOptionA
mov eax, dword [ebp - 0x20]
or eax, 0x100
or eax, 0x80
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1f
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
lea eax, [ebp - 0x18]
mov edx, 0x4cb34c
call fcn.00404dcc
mov eax, dword [ebp - 8]
call fcn.00405020
push eax
mov eax, dword [ebp - 8]
call fcn.00405220
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405020
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405220
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4cb2cd
lea eax, [ebp - 0x18]
call fcn.00404d34
lea eax, [ebp - 0x1c]
push eax
push 0x3ff
lea eax, [ebp - 0x45c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4cb2c1
cmp dword [ebp - 0x1c], 0
je 0x4cb2c1
lea eax, [ebp - 0x654]
lea edx, [ebp - 0x45c]
mov ecx, 0x400
call fcn.00404fb4
mov edx, dword [ebp - 0x654]
lea eax, [ebp - 0x18]
call fcn.00405028
jmp 0x4cb278
mov eax, ebx
mov edx, dword [ebp - 0x18]
call fcn.00404d88
jmp 0x4cb2dd
call sub.KERNEL32.DLL_GetLastError_1
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040a474
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb32d
lea eax, [ebp - 0x654]
call fcn.00404d34
lea eax, [ebp - 0x18]
call fcn.00404d34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d58
ret