Function at 0x48a228
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 0x48a5d2
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 0x48a59e
xor edx, edx
push ebp
push 0x48a597
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41a534]
call fcn.0041f660
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x48a551
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 0x48a2e5
push 0x48a5e8
mov eax, dword [ebp - 4]
push dword [eax + 4]
push 0x48a600
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ac4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0041f79c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404a04
test eax, eax
jle 0x48a31c
push 0x48a60c
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x48a600
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404ac4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0041f79c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00404a04
test eax, eax
jle 0x48a353
push 0x48a628
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x48a600
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404ac4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0041f79c
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 0x48a3a5
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 0x48a3a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x1c]
je 0x48a3a5
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 0x48a53b
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x48a50e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
cmp dword [ebp - 0x24], 0
jle 0x48a408
push 0
push 0x84400000
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x48a3e3
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 0x48a429
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 0x48a4e9
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wininet.dll_InternetQueryDataAvailable
test eax, eax
jne 0x48a46b
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 0x48a532
cmp dword [ebp - 0x14], 0
jbe 0x48a4df
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 0x48a49b
cmp edx, dword [eax - 4]
jb 0x48a4a0
call fcn.00403858
inc edx
lea eax, [eax + edx - 1]
push eax
push ebx
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x48a4df
cmp dword [ebp - 0x18], 0
jbe 0x48a4df
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 0x48a4df
cmp dword [ebp - 0x14], 0
ja 0x48a471
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a53b
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 0x48a532
dec dword [ebp - 0x2c]
jne 0x48a3b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a558
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 0x48a5d9
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404770
lea eax, [ebp - 0x28]
call fcn.0040474c
ret