Function at 0x48a230
Capabilities:
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a5da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
add eax, 8
call fcn.0040474c
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 1
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48a5a6
xor edx, edx
push ebp
push 0x48a59f
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41a53c]
call fcn.0041f668
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x48a559
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404a04
test eax, eax
jle 0x48a2ed
push 0x48a5f0
mov eax, dword [ebp - 4]
push dword [eax + 4]
push 0x48a608
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ac4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0041f7a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404a04
test eax, eax
jle 0x48a324
push 0x48a614
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x48a608
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404ac4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0041f7a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00404a04
test eax, eax
jle 0x48a35b
push 0x48a630
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x48a608
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404ac4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0041f7a4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00404a04
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xffffffff
jle 0x48a3ad
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetQueryOptionA
test eax, eax
je 0x48a3ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x1c]
je 0x48a3ad
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
test eax, eax
jle 0x48a543
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x48a516
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
cmp dword [ebp - 0x24], 0
jle 0x48a410
push 0
push 0x84400000
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x48a3eb
call fcn.00403858
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00404bfc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404bfc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
jmp 0x48a431
push 0
push 0x84400000
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404bfc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
test ebx, ebx
je 0x48a4f1
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wininet.dll_InternetQueryDataAvailable
test eax, eax
jne 0x48a473
mov eax, dword [ebp - 8]
mov byte [eax], 1
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
push 0x1f4
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a53a
cmp dword [ebp - 0x14], 0
jbe 0x48a4e7
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.00404d88
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
call fcn.00404c54
mov edx, 1
dec edx
test eax, eax
je 0x48a4a3
cmp edx, dword [eax - 4]
jb 0x48a4a8
call fcn.00403858
inc edx
lea eax, [eax + edx - 1]
push eax
push ebx
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x48a4e7
cmp dword [ebp - 0x18], 0
jbe 0x48a4e7
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [ebp - 0x28]
call fcn.00404a0c
mov eax, dword [ebp - 8]
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wininet.dll_InternetQueryDataAvailable
test eax, eax
je 0x48a4e7
cmp dword [ebp - 0x14], 0
ja 0x48a479
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a543
mov eax, dword [ebp - 8]
mov byte [eax], 1
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
push 0x1f4
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a53a
dec dword [ebp - 0x2c]
jne 0x48a3be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a560
mov eax, dword [ebp - 0x10]
call fcn.00403920
ret
mov eax, dword [ebp - 8]
mov byte [eax], 1
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a5e1
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404770
lea eax, [ebp - 0x28]
call fcn.0040474c
ret