Function at 0x48a404
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 0x48a7ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
add eax, 8
call fcn.004049bc
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 0x48a77a
xor edx, edx
push ebp
push 0x48a773
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41a710]
call fcn.0041f83c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x48a72d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404c74
test eax, eax
jle 0x48a4c1
push 0x48a7c4
mov eax, dword [ebp - 4]
push dword [eax + 4]
push 0x48a7dc
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404d34
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0041f978
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404c74
test eax, eax
jle 0x48a4f8
push 0x48a7e8
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x48a7dc
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404d34
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0041f978
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00404c74
test eax, eax
jle 0x48a52f
push 0x48a804
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x48a7dc
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404d34
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0041f978
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00404c74
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xffffffff
jle 0x48a581
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 0x48a581
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x1c]
je 0x48a581
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 0x48a717
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x48a6ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
cmp dword [ebp - 0x24], 0
jle 0x48a5e4
push 0
push 0x84400000
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x48a5bf
call fcn.00403ac8
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00404e6c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404e6c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
jmp 0x48a605
push 0
push 0x84400000
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404e6c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
test ebx, ebx
je 0x48a6c5
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wininet.dll_InternetQueryDataAvailable
test eax, eax
jne 0x48a647
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 0x48a70e
cmp dword [ebp - 0x14], 0
jbe 0x48a6bb
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.00404ff8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
call fcn.00404ec4
mov edx, 1
dec edx
test eax, eax
je 0x48a677
cmp edx, dword [eax - 4]
jb 0x48a67c
call fcn.00403ac8
inc edx
lea eax, [eax + edx - 1]
push eax
push ebx
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x48a6bb
cmp dword [ebp - 0x18], 0
jbe 0x48a6bb
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [ebp - 0x28]
call fcn.00404c7c
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 0x48a6bb
cmp dword [ebp - 0x14], 0
ja 0x48a64d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a717
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 0x48a70e
dec dword [ebp - 0x2c]
jne 0x48a592
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a734
mov eax, dword [ebp - 0x10]
call fcn.00403b90
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 0x48a7b5
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004049e0
lea eax, [ebp - 0x28]
call fcn.004049bc
ret