Function at 0x47e7f0
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 0x4c95f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x511a40]
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 - 0xc0], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xbc], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5178dc]
cmp eax, dword [ecx + 4]
jle 0x47eaa9
push 0x5178dc
call fcn.004a7c2c
add esp, 4
cmp dword [0x5178dc], 0xffffffff
jne 0x47eaa9
mov dword [ebp - 4], 1
mov dword [ebp - 0x68], 0xf29307c4
mov dword [ebp - 0x64], 0xd8368583
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x68], 0xd1083afa
mov dword [ebp - 0x64], 0x781366dd
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x68], 0xc15ea58b
mov dword [ebp - 0x64], 0x46dee9ec
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x68], 0x739aadf8
mov dword [ebp - 0x64], 0x137a0f16
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x68], 0x65687606
mov dword [ebp - 0x64], 0x31f03fa7
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x68], 0xc32ab5b2
mov dword [ebp - 0x64], 0xf8860c06
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x68], 0x97f06485
mov dword [ebp - 0x64], 0xf80cf1f3
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0xa5705f8e
mov dword [ebp - 0x64], 0x15670ef2
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0xb57e9ee7
mov dword [ebp - 0x64], 0x69aa9189
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x1afbc188
mov dword [ebp - 0x64], 0x395a3478
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x65685c29
mov dword [ebp - 0x64], 0x31f03fa7
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0xc32ab5b2
mov dword [ebp - 0x64], 0xf8860c06
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp - 0x64]
movaps xmm1, xmmword [ebp - 0xb0]
xorps xmm1, xmmword [ebp - 0x100]
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmmword [ebp - 0xa0]
xorps xmm1, xmmword [ebp - 0xf0]
movaps xmmword [ebp - 0xa0], xmm1
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
xorps xmm1, xmmword [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x90], xmm1
movups xmmword [0x5178c0], xmm0
mov dword [0x5178d0], 0
lea edx, [ecx + 1]
mov dword [0x5178d4], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ea70
sub ecx, edx
lea eax, [ebp - 0xb0]
push ecx
push eax
mov ecx, 0x5178c0
call fcn.00439cd0
push 0x4caf70
call fcn.004a8011
add esp, 4
mov byte [ebp - 4], 0
push 0x5178dc
call fcn.004a7bdb
add esp, 4
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 dword [ebp - 4], 2
test eax, eax
jne 0x47eaf8
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 - 0xbc], 1
mov byte [ebp - 4], al
jmp 0x47ee11
cmp dword [0x5178d4], 0xf
mov ecx, 0x5178c0
mov dword [ebp - 0x6c], 0
cmova ecx, dword [0x5178c0]
cmp dword [esi + 0x14], 0xf
jbe 0x47eb1a
mov esi, dword [esi]
push 0
push 0x84880100
push dword [0x5178d0]
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 0x47eb64
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 - 0xbc], 1
jmp 0x47ee04
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 0x47ebb4
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 - 0xbc], 1
jmp 0x47edf9
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.004a9f30
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 0x47ec4d
push 0xa
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004925c3
add esp, 0xc
cmp eax, 0xf
jbe 0x47ec4d
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x98]
push eax
call fcn.0044df40
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 0x47ed9a
xor edi, edi
nop word [eax + eax]
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0xc8], esi
test esi, esi
je 0x47ed91
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.0045b540
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 5
push dword [ebp - 0xc8]
mov eax, dword [ebp - 0x7c]
add esi, eax
push 0
push eax
call fcn.004a9f30
add esp, 0xc
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xcc], 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 0x47ed83
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x47ed80
mov ecx, dword [ebp - 0x84]
mov eax, ecx
sub eax, edi
push esi
push dword [ebp - 0x7c]
cmp esi, eax
ja 0x47ed41
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.004a99b0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x47ed53
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x98]
push esi
call fcn.0044e880
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00450650
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 0x47ed94
mov edi, dword [ebp - 0x88]
jmp 0x47ec70
mov esi, dword [ebp - 0x6c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00450650
jmp 0x47ed94
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0xc0]
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 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.00449f00
mov byte [ebp - 4], 2
push esi
call dword [0x4fe080]
mov byte [ebp - 4], 0
push dword [ebp - 0x70]
call dword [0x4fe080]
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.004a7b9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret