Function at 0x48ad40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa8c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x570], ecx
mov dword [ebp - 0x574], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f20
mov eax, dword [ebp - 8]
call fcn.00404f20
xor eax, eax
push ebp
push 0x48b039
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x568]
call fcn.0040320c
mov edx, 1
lea eax, [ebp - 0x568]
call fcn.00403574
call fcn.00402c24
lea eax, [ebp - 0x14]
mov edx, 0x48b050
call fcn.00404b08
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404f30
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48afef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f30
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x48afd1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0xc], 0
je 0x48ae74
mov ebx, dword [ebp - 0xc]
sub ebx, 1
jae 0x48ae3c
call fcn.00403be0
test ebx, ebx
jns 0x48ae45
call fcn.00403bd8
test ebx, ebx
jl 0x48ae74
inc ebx
xor esi, esi
cmp esi, 0x3ff
jbe 0x48ae59
call fcn.00403bd8
lea edx, [ebp + esi - 0x41c]
lea eax, [ebp - 0x568]
call fcn.00403654
call fcn.00402c24
inc esi
dec ebx
jne 0x48ae4c
add dword [ebp - 0x10], 1
jno 0x48ae7f
call fcn.00403be0
mov edx, dword [ebp - 8]
mov eax, 0x48b068
call fcn.00405074
test eax, eax
je 0x48afa4
fild dword [ebp - 0x10]
fdiv dword [0x48b070]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x570]
mov eax, 0x48b07c
call fcn.0040ad6c
push dword [ebp - 0x570]
push 0x48b08c
imul eax, dword [ebp - 0x10], 0x400
jno 0x48aecd
call fcn.00403be0
cdq
push edx
push eax
mov eax, 0x400
sub eax, dword [ebp - 0xc]
jae 0x48aedf
call fcn.00403be0
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
lea eax, [ebp - 0x574]
call fcn.00409228
push dword [ebp - 0x574]
push 0x48b09c
lea eax, [ebp - 0x56c]
mov edx, 4
call fcn.00404df0
mov eax, dword [ebp - 0x56c]
push eax
mov eax, dword [0x49b7a4]
mov eax, dword [eax + 0x314]
mov ebx, dword [eax + 0x248]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sub edx, 1
jno 0x48af3d
call fcn.00403be0
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [0x49b7a4]
mov eax, dword [eax + 0x318]
call fcn.00443660
mov ebx, eax
mov eax, dword [0x49b7a4]
mov eax, dword [eax + 0x318]
call fcn.00443628
cmp ebx, eax
jge 0x48af92
mov eax, dword [0x49b7a4]
mov ebx, dword [eax + 0x318]
mov eax, ebx
call fcn.00443660
mov edx, eax
add edx, 1
jno 0x48af89
call fcn.00403be0
mov eax, ebx
call fcn.00443810
jmp 0x48afa4
mov eax, dword [0x49b7a4]
mov eax, dword [eax + 0x318]
xor edx, edx
call fcn.00443810
mov eax, dword [0x4984f4]
mov eax, dword [eax]
call fcn.00478a0c
cmp dword [ebp - 0xc], 0
jne 0x48ae10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48afd8
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret