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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb4c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x118
mov eax, dword [0x512a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x68], 0x67228282
mov dword [ebp - 0x64], 0x51eb6a76
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x68], 0xe062c674
mov dword [ebp - 0x64], 0xb9c84d2c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x68], 0x34b241a1
mov dword [ebp - 0x64], 0x4f3c4369
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x68], 0x580b8d4a
mov dword [ebp - 0x64], 0xc56af0af
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x68], 0x83e39928
mov dword [ebp - 0x64], 0xfc81b12
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x68], 0x5bb7c044
mov dword [ebp - 0x64], 0xddd055ef
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x68], 0x241e1c3
mov dword [ebp - 0x64], 0x71d11e06
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x941aa300
mov dword [ebp - 0x64], 0xd4bc2503
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x40927acd
mov dword [ebp - 0x64], 0x60483b0c
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x316ae13a
mov dword [ebp - 0x64], 0xef4acbc1
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x83e3b307
mov dword [ebp - 0x64], 0xfc81b12
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x5bb7c044
mov dword [ebp - 0x64], 0xddd055ef
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0x64]
movaps xmm1, xmmword [ebp - 0xb0]
xorps xmm1, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmmword [ebp - 0xa0]
xorps xmm1, xmmword [ebp - 0x110]
movaps xmmword [ebp - 0xa0], xmm1
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
xorps xmm1, xmmword [ebp - 0x100]
lea ecx, [ebp - 0xb0]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x90], xmm1
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xbc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x480644
sub ecx, edx
lea eax, [ebp - 0xb0]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e480
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x70], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
test eax, eax
jne 0x4806b0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov dword [ebp - 0xd4], 1
jmp 0x4809c1
cmp dword [ebp - 0xbc], 0xf
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x6c], 0
cmova ecx, dword [ebp - 0xd0]
cmp dword [esi + 0x14], 0xf
jbe 0x4806d3
mov esi, dword [esi]
push 0
push 0x84880100
push dword [ebp - 0xc0]
push ecx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x6c], esi
mov byte [ebp - 4], 3
xorps xmm0, xmm0
test esi, esi
jne 0x48071d
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov dword [ebp - 0xd4], 1
jmp 0x4809b4
push 0
lea eax, [ebp - 0xb4]
movlpd qword [ebp - 0x1c], xmm0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xb4], 8
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
test eax, eax
jne 0x48076d
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov dword [ebp - 0xd4], 1
jmp 0x4809a9
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], al
mov byte [ebp - 4], 4
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004ac230
add esp, 0xc
mov dword [ebp - 0xb8], 0x40
lea eax, [ebp - 0xb8]
push 0
push eax
lea eax, [ebp - 0x60]
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x480806
push 0xa
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004940b3
add esp, 0xc
cmp eax, 0xf
jbe 0x480806
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x98]
push eax
call fcn.0044e360
xor eax, eax
mov dword [ebp - 0x88], eax
push 0
push 0
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x48094a
xor edi, edi
nop
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0xe0], esi
test esi, esi
je 0x480941
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movq qword [ebp - 0x7c], xmm0
lea ecx, [ebp - 0x7c]
push esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call fcn.0045ba40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 5
push dword [ebp - 0xe0]
mov eax, dword [ebp - 0x7c]
add esi, eax
push 0
push eax
call fcn.004ac230
add esp, 0xc
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
mov esi, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x480933
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x480930
mov ecx, dword [ebp - 0x84]
mov eax, ecx
sub eax, edi
push esi
push dword [ebp - 0x7c]
cmp esi, eax
ja 0x4808f1
lea eax, [edi + esi]
cmp ecx, 0xf
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
cmova eax, dword [ebp - 0x98]
add edi, eax
push edi
call fcn.004abcb0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x480903
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x98]
push esi
call fcn.0044ed80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00450b50
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x80]
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x480944
mov edi, dword [ebp - 0x88]
jmp 0x480820
mov esi, dword [ebp - 0x6c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00450b50
jmp 0x480944
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0xd8]
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 1
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x98]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x98], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.0044a2e0
mov byte [ebp - 4], 2
push esi
call dword [0x4ff110]
mov byte [ebp - 4], 1
push dword [ebp - 0x70]
call dword [0x4ff110]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.0044a2e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret