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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1400501c8]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor esi, esi
mov byte [rbp - 0x79], 0
mov r15, rdx
mov dword [rbp - 0x71], 0x40
lea r9, [rbp - 0x71]
mov qword [rbp - 0x51], 0xf
lea r8, [rbp - 0x29]
mov qword [rbp - 0x59], rsi
lea edx, [rsi + 5]
mov byte [rbp - 0x69], sil
mov r12, rcx
mov qword [rsp + 0x20], rsi
mov r13d, esi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400321e5
xor edx, edx
mov byte [rbp - 0x79], 1
lea r8d, [rsi + 0xa]
lea rcx, [rbp - 0x29]
call fcn.14001b2e8
mov rsi, qword [rbp - 0x59]
mov r13d, eax
mov ebx, eax
cmp rsi, r13
ja 0x1400321e3
mov rcx, qword [rbp - 0x51]
cmp rcx, rbx
je 0x1400321e3
cmp rbx, 0xfffffffffffffffe
ja 0x1400324cd
cmp rcx, rbx
jae 0x140032266
mov r8, rsi
lea rcx, [rbp - 0x69]
mov edx, ebx
call fcn.140032ce0
mov rcx, qword [rbp - 0x51]
test r13d, r13d
je 0x1400321e3
cmp rcx, 0x10
mov qword [rbp - 0x59], rsi
lea rax, [rbp - 0x69]
cmovae rax, qword [rbp - 0x69]
mov byte [rax + rsi], 0
xor esi, esi
xor r9d, r9d
lea rdx, [rbp - 0x75]
xor r8d, r8d
mov rcx, r12
mov r14d, esi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edi, eax
test eax, eax
je 0x140032487
nop word [rax + rax]
mov r8d, dword [rbp - 0x75]
test r8d, r8d
je 0x14003240d
mov edi, r8d
mov rbx, rsi
cmp r8, 0xffffffffffffffff
ja 0x1400324ec
cmp r8, 0x1000
jb 0x1400322e1
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x1400324e0
call fcn.140001260
test rax, rax
je 0x1400324da
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400322f5
cmp rbx, 0x10
jae 0x1400322be
cmp rbx, rsi
mov rdi, rsi
cmovb rdi, rbx
cmp rcx, 0x10
jb 0x1400322a8
mov r14, qword [rbp - 0x69]
test rdi, rdi
je 0x140032298
mov r8, rdi
lea rcx, [rbp - 0x69]
mov rdx, r14
call fcn.14000a5f0
mov rcx, qword [rbp - 0x51]
lea r8, [rcx + 1]
mov rdx, r14
lea rcx, [rbp - 0x69]
call fcn.140033f50
mov qword [rbp - 0x51], 0xf
mov qword [rbp - 0x59], rdi
mov byte [rbp + rdi - 0x69], 0
jmp 0x1400321c5
test eax, eax
jne 0x1400321c9
xor esi, esi
lea rax, [rbp - 0x69]
cmp rcx, 0x10
mov qword [rbp - 0x59], rsi
cmovae rax, qword [rbp - 0x69]
mov byte [rax], sil
jmp 0x1400321e5
mov rcx, r8
call fcn.140001260
mov rbx, rax
test rax, rax
je 0x1400324e6
mov r8, rdi
lea rsi, [rbx + rdi]
xor edx, edx
mov rcx, rbx
call fcn.14000aca0
mov r8d, dword [rbp - 0x75]
lea r9, [rbp - 0x6d]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test eax, eax
je 0x1400323b8
mov eax, dword [rbp - 0x6d]
test eax, eax
je 0x1400323b8
mov r8d, eax
lea rcx, [rbp - 0x69]
mov rdx, rbx
add r14d, eax
call fcn.140033720
test rbx, rbx
je 0x140032394
sub rsi, rbx
cmp rsi, 0xffffffffffffffff
ja 0x140032511
cmp rsi, 0x1000
jb 0x14003238c
test bl, 0x1f
jne 0x14003250b
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x140032505
sub rbx, rax
cmp rbx, 8
jb 0x1400324ff
cmp rbx, 0x27
ja 0x1400324f9
mov rbx, rax
mov rcx, rbx
call fcn.1400012b0
xor r9d, r9d
lea rdx, [rbp - 0x75]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edi, eax
test eax, eax
je 0x140032487
xor esi, esi
jmp 0x140032210
test rbx, rbx
je 0x14003240b
sub rsi, rbx
cmp rsi, 0xffffffffffffffff
ja 0x140032517
cmp rsi, 0x1000
jb 0x140032403
test bl, 0x1f
jne 0x14003251d
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x140032523
sub rbx, rax
cmp rbx, 8
jb 0x140032529
cmp rbx, 0x27
ja 0x14003252f
mov rbx, rax
mov rcx, rbx
call fcn.1400012b0
xor esi, esi
test edi, edi
je 0x140032487
cmp byte [rbp - 0x79], 0
je 0x14003241c
cmp r14d, r13d
jne 0x140032487
mov bl, 1
test r15, r15
je 0x140032489
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.1400329a0
mov rdi, rax
cmp r15, rax
je 0x14003246b
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x140032450
mov rdx, qword [r15]
inc r8
mov rcx, r15
call fcn.140005310
mov qword [r15 + 0x18], 7
mov rdx, rdi
mov qword [r15 + 0x10], rsi
mov rcx, r15
mov word [r15], si
call fcn.140004f10
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140032489
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
inc r8
call fcn.140005310
jmp 0x140032489
xor bl, bl
mov r8, qword [rbp - 0x51]
cmp r8, 0x10
jb 0x1400324a3
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
inc r8
call fcn.140033f50
movzx eax, bl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140008e40
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.string_too_long
call fcn.1400087dc
int3
call fcn.14000ef0c
int3
call fcn.1400087bc
int3
call fcn.14000ef0c
int3
lea rcx, str.vector_T__too_long
call fcn.1400087dc
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3
call fcn.14000ef0c
int3