Function at 0x180082a60
Capabilities:
Create http request
Encode data using xor
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 - 0x390]
sub rsp, 0x490
mov rax, qword [0x1800c3040]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor r13d, r13d
mov dword [rsp + 0x30], 0xfce8ffde
mov dword [rsp + 0x34], 0xf7f6d1a2
mov dword [rsp + 0x38], 0x100e0fd
mov ecx, r13d
nop dword [rax]
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x180082ac0
mov byte [rsp + 0x3b], r13b
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
jne 0x180082b6b
movdqa xmm0, xmmword [0x1800b06d0]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1800b0830]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0x1009e94
mov rcx, r13
nop
lea eax, [rcx - 0x6a]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x22
jb 0x180082b20
mov byte [rsp + 0x6b], r13b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r13b
jne 0x180082b50
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000fe70
jmp 0x180082d26
cmp qword [rbx + 0x18], 0xf
jbe 0x180082b75
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
jne 0x180082c1b
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm0, xmmword [0x1800b06d0]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1800b0830]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0x1009e94
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x6a]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x22
jb 0x180082bd0
mov byte [rsp + 0x6b], r13b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r13b
jne 0x180082c00
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000fe70
jmp 0x180082d26
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov rbx, r13
mov qword [rsp + 0x58], rbx
mov r14d, 0xf
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x48], bl
lea r9, [rsp + 0x70]
mov r8d, 0x400
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180082ce6
nop word [rax + rax]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x180082ce6
mov edi, eax
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x180082ca5
lea rax, [rbx + rdi]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp r14, 0xf
cmova rax, qword [rsp + 0x48]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x180082cbb
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x80]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1800184f0
lea r9, [rsp + 0x70]
mov r8d, 0x400
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180082ce6
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jmp 0x180082c60
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.18000fac0
mov rax, rsi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.18009ab20
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret