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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9cc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
lea ebx, [ebp - 0x20]
xor eax, eax
push ebp
push 0x484aff
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x62c]
mov eax, dword [ebp - 4]
call fcn.00489afc
mov edx, dword [ebp - 0x62c]
lea ecx, [ebp - 0x628]
mov eax, dword [ebp - 8]
call fcn.0048550c
mov edx, dword [ebp - 0x628]
lea eax, [ebp - 8]
call fcn.004055c8
mov dl, 1
mov eax, dword [0x417b38]
call fcn.00404620
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.0041beb4
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041b734
push 0
push 0
push 0
push 1
push 0x484b14
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x484ad4
xor edx, edx
push ebp
push 0x484acd
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x4000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48495c
call fcn.00404f70
jmp 0x484ad4
mov dword [ebp - 0x18], 0x200
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x624]
push eax
push 0x13
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
jne 0x484990
call fcn.00404f70
jmp 0x484ad4
lea eax, [ebp - 0x634]
lea edx, [ebp - 0x624]
mov ecx, 0x200
call fcn.004057a0
mov eax, dword [ebp - 0x634]
lea edx, [ebp - 0x630]
call fcn.00409b7c
mov eax, dword [ebp - 0x630]
mov edx, 0x484b24
call fcn.00405974
je 0x4849d3
call fcn.00404f70
jmp 0x484ad4
xor edx, edx
push ebp
push 0x484a9b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x424]
xor ecx, ecx
mov edx, 0x400
call fcn.00403af4
push ebx
push 0x400
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x484a2d
cmp dword [ebx], 0
je 0x484a2d
lea edx, [ebp - 0x424]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
call dword [esi + 0x10]
cmp dword [ebx], 0
jne 0x4849e1
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041b734
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x484a4c
cmp eax, 0
jbe 0x484a7e
jmp 0x484a4e
jle 0x484a7e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0041be30
cmp byte [ebp + 8], 0
je 0x484a7a
push 5
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x484b28
push 0
call sub.ole32.dll_CoCreateInstance
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484aa2
cmp dword [ebp - 0x14], 0
je 0x484a9a
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b06
lea eax, [ebp - 0x634]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret