Function at 0x140031e80
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 0x140031f55
xor edx, edx
mov byte [rbp - 0x79], 1
lea r8d, [rsi + 0xa]
lea rcx, [rbp - 0x29]
call fcn.14001b320
mov rsi, qword [rbp - 0x59]
mov r13d, eax
mov ebx, eax
cmp rsi, r13
ja 0x140031f53
mov rcx, qword [rbp - 0x51]
cmp rcx, rbx
je 0x140031f53
cmp rbx, 0xfffffffffffffffe
ja 0x14003223d
cmp rcx, rbx
jae 0x140031fd6
mov r8, rsi
lea rcx, [rbp - 0x69]
mov edx, ebx
call fcn.140032a50
mov rcx, qword [rbp - 0x51]
test r13d, r13d
je 0x140031f53
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 0x1400321f7
nop word [rax + rax]
mov r8d, dword [rbp - 0x75]
test r8d, r8d
je 0x14003217d
mov edi, r8d
mov rbx, rsi
cmp r8, 0xffffffffffffffff
ja 0x14003225c
cmp r8, 0x1000
jb 0x140032051
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x140032250
call fcn.140001260
test rax, rax
je 0x14003224a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140032065
cmp rbx, 0x10
jae 0x14003202e
cmp rbx, rsi
mov rdi, rsi
cmovb rdi, rbx
cmp rcx, 0x10
jb 0x140032018
mov r14, qword [rbp - 0x69]
test rdi, rdi
je 0x140032008
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.140033cc0
mov qword [rbp - 0x51], 0xf
mov qword [rbp - 0x59], rdi
mov byte [rbp + rdi - 0x69], 0
jmp 0x140031f35
test eax, eax
jne 0x140031f39
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 0x140031f55
mov rcx, r8
call fcn.140001260
mov rbx, rax
test rax, rax
je 0x140032256
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 0x140032128
mov eax, dword [rbp - 0x6d]
test eax, eax
je 0x140032128
mov r8d, eax
lea rcx, [rbp - 0x69]
mov rdx, rbx
add r14d, eax
call fcn.140033490
test rbx, rbx
je 0x140032104
sub rsi, rbx
cmp rsi, 0xffffffffffffffff
ja 0x140032281
cmp rsi, 0x1000
jb 0x1400320fc
test bl, 0x1f
jne 0x14003227b
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x140032275
sub rbx, rax
cmp rbx, 8
jb 0x14003226f
cmp rbx, 0x27
ja 0x140032269
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 0x1400321f7
xor esi, esi
jmp 0x140031f80
test rbx, rbx
je 0x14003217b
sub rsi, rbx
cmp rsi, 0xffffffffffffffff
ja 0x140032287
cmp rsi, 0x1000
jb 0x140032173
test bl, 0x1f
jne 0x14003228d
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x140032293
sub rbx, rax
cmp rbx, 8
jb 0x140032299
cmp rbx, 0x27
ja 0x14003229f
mov rbx, rax
mov rcx, rbx
call fcn.1400012b0
xor esi, esi
test edi, edi
je 0x1400321f7
cmp byte [rbp - 0x79], 0
je 0x14003218c
cmp r14d, r13d
jne 0x1400321f7
mov bl, 1
test r15, r15
je 0x1400321f9
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.140032710
mov rdi, rax
cmp r15, rax
je 0x1400321db
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x1400321c0
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 0x1400321f9
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
inc r8
call fcn.140005310
jmp 0x1400321f9
xor bl, bl
mov r8, qword [rbp - 0x51]
cmp r8, 0x10
jb 0x140032213
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
inc r8
call fcn.140033cc0
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.14000ef8c
int3
call fcn.1400087bc
int3
call fcn.14000ef8c
int3
lea rcx, str.vector_T__too_long
call fcn.1400087dc
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3
call fcn.14000ef8c
int3