Function at 0x140082890
Capabilities:
Create http request
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 - 0x60]
sub rsp, 0x160
mov rax, qword [0x1401e4c00]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
movabs rax, 0x3614340dccbc1ac4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
movabs rax, 0x683b22839879866e
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
movabs rax, 0x80c8d3e2edd983ab
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
movabs rax, 0x2ff4dc70744d5204
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
movabs rax, 0xca7385994c27cca6
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x80], rax
movabs rcx, 0x77387928c6efc3be
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
movabs rax, 0x162e407da9df7985
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x30], rax
movabs rax, 0x54f4aacec01e31a
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x28], rax
movabs rax, 0xafbcab8799f9b8c7
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x20], rax
movabs rax, 0x5d4e71e1d2c3e74
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x18], rax
movabs rax, 0xca7385994c27e689
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140082a30
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140048050
nop
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140082b05
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x30], 1
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140082acb
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082ac6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f05
call fcn.1400b5fd0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rax, r14
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400b5fb0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x40], rdi
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r8, qword [rbp - 0x70]
cmp qword [rbx + 0x18], 0xf
jbe 0x140082b21
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x84880100
mov r9d, dword [rbp - 0x60]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x140082b79
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x30], 1
mov rcx, r15
mov rax, qword [0x1401c80e8]
call rax
jmp 0x140082a90
mov qword [rbp], rdi
mov dword [rbp - 0x50], 8
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
lea r8, [rbp]
mov edx, reloc.WS2_32.dll_send
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
test eax, eax
jne 0x140082bdf
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x30], 1
mov rcx, r13
mov rax, qword [0x1401c80e8]
call rax
nop
mov rcx, r15
mov rax, qword [0x1401c80e8]
call rax
jmp 0x140082a90
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov r15, rdi
mov qword [rsp + 0x70], rdi
mov r12d, send
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x60], r15b
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov dword [rbp - 0x4c], 0x40
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x4c]
lea r8, [rbp + 0x10]
mov edx, 5
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140082c68
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp + 0x10]
call fcn.1400983d4
mov edx, eax
cmp rdx, r12
jbe 0x140082c68
lea rcx, [rsp + 0x60]
call fcn.140047f00
mov qword [rsp + 0x70], rdi
mov r12, qword [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140082e63
movzx ebx, byte [rsp + 0x34]
nop dword [rax]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140082e63
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rcx
mov esi, eax
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
test eax, eax
je 0x140082d29
cmp rax, 0x1000
jb 0x140082cec
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x140082f0b
call fcn.1400b5fd8
mov rcx, rax
test rax, rax
je 0x140082eff
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140082cf4
mov rcx, rsi
call fcn.1400b5fd8
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
add rax, rsi
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 0x30]
lea rdi, [rsi + rcx]
mov r8, rsi
xor edx, edx
call fcn.1400fdb10
mov qword [rbp - 0x28], rdi
xor edi, edi
mov qword [rsp + 0x38], rdi
lea r9, [rbp - 0x48]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140082e1d
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x140082e1d
mov esi, eax
mov rax, r12
sub rax, r15
cmp rsi, rax
ja 0x140082d8f
lea rax, [rsi + r15]
mov qword [rsp + 0x70], rax
lea rdi, [rsp + 0x60]
cmp r12, 0xf
cmova rdi, qword [rsp + 0x60]
add rdi, r15
mov r8d, esi
mov rdx, qword [rbp - 0x30]
mov rcx, rdi
call fcn.1400fd470
mov byte [rdi + rsi], 0
jmp 0x140082daa
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x30]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400489d0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140082df4
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082ddf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082eff
call fcn.1400b5fd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xor edi, edi
mov qword [rbp - 0x20], rdi
jmp 0x140082df6
xor edi, edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140082e63
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
jmp 0x140082c90
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140082e63
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082eff
call fcn.1400b5fd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rcx, r13
mov rax, qword [0x1401c80e8]
call rax
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [0x1401c80e8]
call rax
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140082acb
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082ac6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f05
jmp 0x140082ac6
call fcn.140093bc4
nop
call fcn.140093bc4
nop
call fcn.14002df10
int3