Function at 0x4084f0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430378
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x441094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
mov edi, dword [ebp + 0xc]
push 0x40
push 0
push eax
mov dword [ebp - 0x98], esi
mov byte [ebp - 0x8d], 0
call fcn.0040d690
mov dword [ebp - 0x88], 0
add esp, 0xc
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4085b7
push 0xa
lea eax, [ebp - 0x50]
mov byte [ebp - 0x8d], 1
push 0
push eax
call fcn.0041aad8
add esp, 0xc
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x88]
push eax
call fcn.0040a670
xor ecx, ecx
lea eax, [ebp - 0x8c]
push ecx
push ecx
push eax
push esi
mov dword [ebp - 0x94], ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x4086fe
nop word [eax + eax]
mov esi, dword [ebp - 0x8c]
test esi, esi
je 0x40874f
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
cmp esi, 0x7fffffff
ja 0x40882c
push esi
cmp esi, 0x1000
jb 0x40862e
call fcn.00401fa0
jmp 0x408633
call fcn.004010b0
add esp, 4
mov dword [ebp - 0x5c], eax
add esi, eax
mov dword [ebp - 0x54], esi
push esi
push eax
call fcn.00405df0
add esp, 8
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x8c]
push dword [ebp - 0x5c]
push dword [ebp - 0x98]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
test esi, esi
je 0x40873f
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x40873f
add dword [ebp - 0x94], ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x88]
call fcn.00409770
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4086df
mov edx, dword [ebp - 0x54]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4086c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408827
push edx
push ecx
call fcn.0040ca90
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x4085e0
mov byte [ebp - 0x8d], 0
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x408806
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4087fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408827
jmp 0x4087fc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00406b40
test esi, esi
je 0x4086fe
cmp byte [ebp - 0x8d], 0
je 0x408766
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x9c]
jne 0x4086fe
mov byte [ebp - 0x8d], 1
test edi, edi
je 0x408705
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00408da0
mov esi, eax
add esp, 8
cmp edi, esi
je 0x4087ef
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x4087bf
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4087b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408827
mov eax, edx
push ecx
push eax
call fcn.0040ca90
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x68]
call fcn.004027e0
jmp 0x408705
push edx
push ecx
call fcn.0040ca90
add esp, 8
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c5a7
mov esp, ebp
pop ebp
ret
call fcn.004148a8
call fcn.00409760
int3