Function at 0x18008d600
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 [0x1801ab040]
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], 0x1c081f3e
mov dword [rsp + 0x34], 0x17163142
mov dword [rsp + 0x38], 0x100001d
mov ecx, r13d
nop dword [rax]
lea eax, [rcx + 0x6b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x18008d660
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 0x18008d70b
movdqa xmm0, xmmword [0x180194230]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1801943a0]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0x100f0fa
mov rcx, r13
nop
lea eax, [rcx - 0x48]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x22
jb 0x18008d6c0
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 0x18008d6f0
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000eea0
jmp 0x18008d8c6
cmp qword [rbx + 0x18], 0xf
jbe 0x18008d715
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 0x18008d7bb
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm0, xmmword [0x180194230]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1801943a0]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0x100f0fa
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x48]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x22
jb 0x18008d770
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 0x18008d7a0
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000eea0
jmp 0x18008d8c6
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 0x18008d886
nop word [rax + rax]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x18008d886
mov edi, eax
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x18008d845
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 0x18008d85b
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x80]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18000ecf0
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 0x18008d886
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jmp 0x18008d800
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.18000e640
mov rax, rsi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1800cac00
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret