Function at 0x462300
Capabilities:
Create http request
Get http content length
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c497e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x685148]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 4
test eax, eax
jne 0x4624f5
call fcn.00469af0
mov edi, eax
call fcn.00544640
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push 0x5d5e10
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
mov esi, eax
movups xmmword [ebp - 0xa0], xmm0
call fcn.00442860
push esi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.004690f0
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x70], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
push str._on
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004690f0
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5c], xmm0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004690f0
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
push ecx
push ecx
movups xmmword [ebp - 0x54], xmm0
push ecx
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 7
push ecx
cmova eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [ebp - 0x54]
mov dword [0x685148], eax
call fcn.004443f0
lea ecx, [ebp - 0x6c]
call fcn.004443f0
lea ecx, [ebp - 0x84]
call fcn.004443f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.004443f0
mov eax, dword [0x685148]
test eax, eax
jne 0x4624cc
mov edi, 0x2f8c
jmp 0x46269f
push 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push ecx
push 0x4d
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4624f0
mov edi, 0x2ee9
jmp 0x46269f
mov eax, dword [0x685148]
push 0
push 0x80400000
push 0
push 0
push dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x46251e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x46269f
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x88], ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x462556
mov edi, 0x2f7a
jmp 0x462696
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x4626e5
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
push edx
call dword [eax + 8]
test edi, edi
je 0x46268c
nop dword [eax + eax]
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x4625d3
mov esi, edi
mov dword [ebp - 0x14], esi
jmp 0x4625d6
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4626de
mov eax, dword [ebp - 0x20]
mov edx, eax
mov ecx, dword [ebp - 0x24]
sub edx, ecx
mov dword [ebp - 0x18], eax
cmp esi, edx
jae 0x4625f4
lea eax, [ecx + esi]
jmp 0x46262f
jbe 0x462632
mov eax, dword [ebp - 0x1c]
sub eax, ecx
cmp esi, eax
jbe 0x462614
lea eax, [ebp - 0x35]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00460150
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
jmp 0x462632
sub esi, edx
push esi
push 0
push dword [ebp - 0x18]
call fcn.0059c4a0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add eax, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push esi
push ecx
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4626d4
sub edi, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edi
test ecx, ecx
je 0x4626e5
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x30]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
sub eax, ecx
push eax
push ecx
mov ecx, esi
push dword [esi + 4]
call fcn.0045ffb0
test edi, edi
jne 0x4625b0
xor edi, edi
lea ecx, [ebp - 0x24]
call fcn.00461130
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4626b7
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
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.0059a5ad
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x46268e
mov edi, 0x2f83
jmp 0x46268e
call fcn.0059bd9a
int3