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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov qword [rbp - 1], 0xfffffffffffffffe
mov r12, rdx
mov r15, rcx
lea rdi, [rcx + 0x60]
xor r13d, r13d
nop dword [rax]
mov rsi, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800189d1
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 4
lea r9, str._r_n_r_n
mov rdx, rsi
call fcn.1800256e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180018b37
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
xor r8d, r8d
lea rdx, [0x18008323b]
lea rcx, [rsp + 0x30]
call fcn.180001520
nop
mov dword [rbp + 0x67], r13d
mov dword [rbp + 0x77], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x67]
mov rcx, qword [r15 + 0x58]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x180018af3
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x180018af3
mov edx, eax
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.180027860
lea rbx, [rsp + 0x30]
cmp qword [rbp - 0x71], 0x10
cmovae rbx, qword [rsp + 0x30]
mov r8d, dword [rbp + 0x67]
xor edx, edx
mov rcx, rbx
call fcn.18004b570
lea r9, [rbp + 0x77]
mov r8d, dword [rbp + 0x67]
mov rdx, rbx
mov rcx, qword [r15 + 0x58]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180018af3
lea rdx, [rsp + 0x30]
cmp qword [rbp - 0x71], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rbp - 0x79]
mov rcx, rdi
call fcn.180026f90
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x1800189c0
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018ae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d7d
call fcn.18002aef0
jmp 0x1800189c0
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x180018cbf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d77
jmp 0x180018cba
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov qword [rbp + 0x7f], rbx
mov qword [rbp + 7], rsi
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180018b67
mov rdx, qword [rdi]
lea rcx, [rbp - 0x21]
call fcn.180001520
nop
add rbx, 4
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rax, qword [rdi + 0x10]
cmp rax, rbx
jb 0x180018d83
mov r8, 0xffffffffffffffff
mov qword [rbp + 0xf], r8
sub rax, rbx
mov qword [rbp + 0x17], rax
cmp rax, r8
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180018bb9
mov rax, qword [rdi]
lea rdx, [rax + rbx]
lea rcx, [rbp - 0x69]
call fcn.180001520
lea rax, [rbp - 0x69]
cmp rdi, rax
je 0x180018be8
mov rcx, rdi
call fcn.1800014a0
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x59]
movups xmmword [rdi + 0x10], xmm1
jmp 0x180018c23
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x180018c23
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018c1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d89
call fcn.18002aef0
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x49]
call fcn.18001e6c0
nop
cmp byte [rbp - 0x49], 0
jne 0x180018cc6
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x180018c84
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018c7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d8f
call fcn.18002aef0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x180018cbf
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d95
call fcn.18002aef0
xor al, al
jmp 0x180018d5f
lea rax, [rbp - 0x41]
cmp r12, rax
je 0x180018ce9
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, r12
call fcn.180001520
mov byte [r15 + 0x29], 1
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x180018d26
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d9b
call fcn.18002aef0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x180018d5d
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018d58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018d71
call fcn.18002aef0
mov al, 1
add rsp, 0xe0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18004df84
int3
call fcn.18004df84
int3
call fcn.18004df84
nop
call fcn.18001efd0
nop
call fcn.18004df84
int3
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
int3