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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x61], r8
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x59], ebx
mov dword [rbp - 0x69], ebx
mov esi, ebx
mov qword [rbp - 0x51], rbx
mov edi, ebx
mov qword [rbp - 0x49], rbx
mov r13d, ebx
mov qword [rbp - 0x41], rbx
mov r12d, ebx
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x69]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1401acbf8
mov eax, dword [rbp - 0x69]
sub rax, rsi
lea rbx, [rax + rdi + 1]
mov rcx, rdi
sub rcx, rsi
cmp rcx, rbx
jbe 0x1401aca85
add rbx, rsi
cmp rbx, rdi
je 0x1401acb00
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140250b70
mov rdi, rbx
mov qword [rbp - 0x49], rbx
jmp 0x1401acb00
jae 0x1401acb00
mov rdx, rsi
sub rdx, rdi
add rdx, rbx
or rax, 0xffffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1401acb2b
add rcx, rdx
mov rdx, r13
sub rdx, rsi
cmp rcx, rdx
jbe 0x1401acae3
mov r8, rdx
shr r8, 1
or rax, 0xffffffffffffffff
sub rax, r8
cmp rax, rdx
jae 0x1401acac4
xor edx, edx
jmp 0x1401acac7
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x51]
call fcn.14019d1c0
mov r13, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
mov rsi, qword [rbp - 0x51]
mov r8, rsi
sub r8, rdi
add r8, rbx
je 0x1401acaf8
xor edx, edx
mov rcx, rdi
call fcn.1402577d0
lea rdi, [rsi + rbx]
mov qword [rbp - 0x49], rdi
movsxd rdx, r12d
add rdx, rsi
lea r9, [rbp - 0x59]
mov r8d, dword [rbp - 0x69]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1401acb8b
mov eax, dword [rbp - 0x59]
test eax, eax
je 0x1401acb38
add r12d, eax
jmp 0x1401aca30
lea rcx, str.vector_T__too_long
call fcn.140218bd4
int3
lea ebx, [r12 + 1]
mov rdi, qword [rbp - 0x61]
mov dword [rdi], ebx
lea eax, [rbx + 2]
movsxd rcx, eax
call fcn.140218cbc
mov qword [r15], rax
movsxd r8, ebx
mov rdx, rsi
mov rcx, rax
call fcn.140250b70
movsxd r11, dword [rdi]
mov rax, qword [r15]
mov byte [r11 + rax + 1], 0
movsxd rdx, dword [rdi]
mov rax, qword [r15]
mov byte [rdx + rax], 0
test rsi, rsi
je 0x1401acc65
mov rcx, rsi
call fcn.140250354
jmp 0x1401acc65
mov qword [rbp + 0xf], 0xf
mov qword [rbp + 7], 0
mov byte [rbp - 9], 0
mov r8d, 0x36
lea rdx, str.Error_by_receiving_data_from_server___synchronously__.
lea rcx, [rbp - 9]
call fcn.1400243d0
nop
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x31], r11
mov dword [rbp - 0x19], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp - 0x31]
call fcn.1402510b4
nop
mov qword [rbp + 0xf], 0xf
mov qword [rbp + 7], 0
mov byte [rbp - 9], 0
mov r8d, 0x62
lea rdx, str.Error_by_receiving_data_from_server___synchronously__._____________Available_data_size_is_unknown.
lea rcx, [rbp - 9]
call fcn.1400243d0
nop
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x31], r11
mov dword [rbp - 0x19], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp - 0x31]
call fcn.1402510b4
nop
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140250fd0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret