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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140db81c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, rdx
mov r15, rcx
xor ebx, ebx
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x40], 0x40
mov dword [rsp + 0x38], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], bl
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x50]
mov edx, 5
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140a8033c
mov byte [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp - 0x50]
call fcn.140c65eb0
mov r14d, eax
mov dword [rsp + 0x38], r14d
mov ecx, eax
mov rdi, qword [rsp + 0x58]
cmp rdi, r14
ja 0x140a8033c
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
je 0x140a8033c
jae 0x140a802da
sub rcx, rdi
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140a63400
mov qword [rsp + 0x58], rdi
jmp 0x140a8033c
cmp rcx, 0xf
ja 0x140a8033c
cmp rdx, 0xf
jbe 0x140a8033c
mov rbx, qword [rsp + 0x48]
lea r8, [rdi + 1]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140c85940
mov rdx, qword [rsp + 0x60]
inc rdx
cmp rdx, 0x1000
jb 0x140a80329
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140a8073a
mov rbx, rcx
mov rcx, rbx
call fcn.140c4bba0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
xor ebx, ebx
mov r12d, ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140a806b7
nop dword [rax + rax]
mov r8d, dword [rsp + 0x34]
test r8d, r8d
je 0x140a8050c
mov edi, r8d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rsi, rbx
mov qword [rsp + 0x78], rbx
cmp r8, 0x1000
jb 0x140a803b4
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x140a8072e
call fcn.140c4b84c
test rax, rax
je 0x140a80734
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140a803bf
mov rcx, rdi
call fcn.140c4b84c
mov rbx, rax
mov qword [rsp + 0x68], rbx
lea rsi, [rbx + rdi]
mov qword [rsp + 0x78], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140c85fe0
mov qword [rsp + 0x70], rsi
mov r8d, dword [rsp + 0x34]
lea r9, [rsp + 0x3c]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test eax, eax
je 0x140a804ca
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
je 0x140a804ca
add r12d, ecx
mov r14d, ecx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140a80456
lea rax, [r14 + rcx]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x48]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x48]
add rdi, rcx
mov r8d, r14d
mov rdx, rbx
mov rcx, rdi
call fcn.140c85940
mov byte [rdi + r14], 0
jmp 0x140a8046f
mov qword [rsp + 0x20], r14
mov r9, rbx
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140a524b0
nop
test rbx, rbx
je 0x140a804a7
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140a8049c
add rsi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140a80734
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call fcn.140c4bba0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140a806b7
xor ebx, ebx
jmp 0x140a80360
test rbx, rbx
je 0x140a80502
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140a804f7
add rsi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140a80734
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call fcn.140c4bba0
test edi, edi
je 0x140a806b7
xor ebx, ebx
cmp byte [rsp + 0x30], 0
je 0x140a8051e
cmp r12d, dword [rsp + 0x38]
jne 0x140a806b7
mov sil, 1
test r13, r13
je 0x140a806ba
cmp qword [rsp + 0x58], 0
je 0x140a805f9
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov rbx, 0xffffffffffffffff
mov r9d, ebx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r14, eax
test eax, eax
je 0x140a805f9
mov eax, 2
mul r14
cmovb rax, rbx
mov rcx, rax
call fcn.140c4c280
mov rdi, rax
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140a805c5
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14013c3b8
mov rcx, rdi
call fcn.140c4bba0
movups xmm7, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x78], xmm7
movups xmm6, xmmword [rsp + 0x78]
xor ebx, ebx
jmp 0x140a80612
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm6, xmmword [0x140d88ba0]
xor ebx, ebx
mov word [rbp - 0x78], bx
movups xmm7, xmmword [rbp - 0x78]
movdqu xmmword [rbp - 0x68], xmm6
lea rax, [rbp - 0x78]
cmp r13, rax
je 0x140a80675
mov rdx, qword [r13 + 0x18]
cmp rdx, 7
jbe 0x140a80660
mov rcx, qword [r13]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140a8065b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140a8073a
mov rcx, r8
call fcn.140c4bba0
movups xmmword [r13], xmm7
movups xmmword [r13 + 0x10], xmm6
mov edx, 7
mov word [rbp - 0x78], bx
jmp 0x140a80679
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140a806ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140a806b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140a8073a
call fcn.140c4bba0
jmp 0x140a806ba
xor sil, sil
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140a806f3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140a806ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140a80728
call fcn.140c4bba0
movzx eax, sil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140c4bf60
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140c5acfc
nop
call fcn.140129524
nop
call fcn.140c5acfc
int3
call fcn.140c5acfc
int3