Function at 0x140082830
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, 0xaf5f89e7d5b51b6c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
movabs rax, 0x29ae102df5af6f42
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
movabs rax, 0x6ab46a58210f2883
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
movabs rax, 0x825729d61005ed78
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
movabs rax, 0x977dc63bdd66f3e
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x80], rax
movabs rcx, 0x198ca1de2193345a
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
movabs rax, 0x8f65fd97b0d6782d
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x30], rax
movabs rax, 0x44da780281d70a36
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x28], rax
movabs rax, 0x45c0123d552f13ef
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x20], rax
movabs rax, 0xa87712b879648108
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x18], rax
movabs rax, 0x977dc63bdd64511
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 0x1400829d0
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 0x140082aa5
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 0x140082a6b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082ea5
call fcn.1400b5f70
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.1400b5f50
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 0x140082ac1
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 0x140082b19
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 [0x1401c81f8]
call rax
jmp 0x140082a30
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 0x140082b7f
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 [0x1401c81f8]
call rax
nop
mov rcx, r15
mov rax, qword [0x1401c81f8]
call rax
jmp 0x140082a30
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 0x140082c08
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp + 0x10]
call fcn.140098374
mov edx, eax
cmp rdx, r12
jbe 0x140082c08
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 0x140082e03
movzx ebx, byte [rsp + 0x34]
nop dword [rax]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140082e03
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 0x140082cc9
cmp rax, 0x1000
jb 0x140082c8c
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x140082eab
call fcn.1400b5f78
mov rcx, rax
test rax, rax
je 0x140082e9f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140082c94
mov rcx, rsi
call fcn.1400b5f78
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.1400fdab0
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 0x140082dbd
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x140082dbd
mov esi, eax
mov rax, r12
sub rax, r15
cmp rsi, rax
ja 0x140082d2f
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.1400fd410
mov byte [rdi + rsi], 0
jmp 0x140082d4a
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 0x140082d94
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082d7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082e9f
call fcn.1400b5f70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xor edi, edi
mov qword [rbp - 0x20], rdi
jmp 0x140082d96
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 0x140082e03
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
jmp 0x140082c30
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140082e03
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082df2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082e9f
call fcn.1400b5f70
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 [0x1401c81f8]
call rax
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [0x1401c81f8]
call rax
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140082a6b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082ea5
jmp 0x140082a66
call fcn.140093b64
nop
call fcn.140093b64
nop
call fcn.14002df10
int3