Function at 0x14007fa30
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5a0
mov rax, qword [0x1400aa200]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov rdi, rdx
mov r12, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0xd0], rcx
xor ebx, ebx
mov dword [rsp + 0x140], 0x12031205
mov dword [rsp + 0x144], 0x121c121e
mov dword [rsp + 0x148], 0x12311201
mov dword [rsp + 0x14c], 0x12321234
mov dword [rsp + 0x150], 0x122a1232
mov word [rsp + 0x154], bx
mov byte [rsp + 0x156], 1
mov ecx, ebx
mov edx, 0x124f
nop
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x140], ax
inc rcx
cmp rcx, 0xa
jb 0x14007fac0
mov byte [rsp + 0x156], bl
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x140]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
jne 0x14007fb7e
movdqa xmm0, xmmword [0x14009ab40]
movdqu xmmword [rsp + 0x140], xmm0
mov dword [rsp + 0x150], 0x4c050533
mov word [rsp + 0x154], 0x100
nop word [rax + rax]
lea eax, [rbx + 0x4f]
xor byte [rsp + rbx + 0x140], al
inc rbx
cmp rbx, 0x14
jb 0x14007fb30
mov byte [rsp + 0x155], 0
lea rdx, [rsp + 0x140]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400140d0
lea rdx, [0x1400142a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
mov rcx, r12
call fcn.1400281f0
jmp 0x140080107
mov rcx, rdi
call fcn.140021c30
mov rdx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x14007fc16
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqa xmm0, xmmword [0x14009acc0]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x3a3c3535
mov dword [rsp + 0x4c], 0x773c32
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0x38]
call fcn.140021590
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400140d0
lea rdx, [0x1400142a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov rcx, r12
call fcn.1400281f0
jmp 0x140080107
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
movdqa xmm1, xmmword [0x14009a880]
movdqu xmmword [rsp + 0x180], xmm1
mov byte [rsp + 0x170], bl
lea r9, [rsp + 0x158]
mov r8d, 0x400
lea rdx, [rsp + 0x190]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14007fca6
nop dword [rax]
mov eax, dword [rsp + 0x158]
test eax, eax
je 0x14007fca6
mov r8d, eax
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x170]
call fcn.140022070
lea r9, [rsp + 0x158]
mov r8d, 0x400
lea rdx, [rsp + 0x190]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14007fc60
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
lea rcx, [rsp + 0x160]
call fcn.1400281f0
nop
lea rax, [rsp + 0x100]
mov qword [rsp + 0x58], rax
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.140021790
mov rdi, rax
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xd8]
call fcn.14007f780
nop
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.140025b60
nop
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x14007fd5f
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007fd5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007fd5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140087bcc
movdqa xmm0, xmmword [0x14009a880]
movdqu xmmword [rsp + 0xe8], xmm0
mov byte [rsp + 0xd8], 0
mov dword [rsp + 0x30], 0x343f3f2c
mov dword [rsp + 0x34], 0x100333a
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx + 0x4f]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x14007fd90
mov byte [rsp + 0x37], 0
mov edx, 0x20
lea rcx, [rsp + 0xa0]
call fcn.140036460
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.140036e00
lea rcx, [rsp + 0x140]
call fcn.140022e10
test al, al
je 0x14007ff0e
mov r12, qword [rsp + 0x148]
mov rcx, r12
call fcn.140023010
mov qword [rsp + 0xc8], rax
mov rcx, r12
call fcn.140023010
mov r13, qword [rax]
mov rsi, qword [r13 + 8]
mov r14, 0xffffffffffffffff
nop
cmp byte [rsi + 0x19], 0
jne 0x14007fe77
mov rcx, r12
call fcn.140023010
lea rcx, [rsi + 0x20]
call fcn.140021b80
lea rcx, [rsp + 0x30]
mov rdi, r14
nop
inc rdi
cmp byte [rcx + rdi], 0
jne 0x14007fe30
mov r15, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007fe47
mov rax, qword [rax]
mov r8, r15
cmp rdi, r15
cmovb r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007fe6c
js 0x14007fe71
mov r13, rsi
mov rsi, qword [rsi]
jmp 0x14007fe10
cmp r15, rdi
jae 0x14007fe64
mov rsi, qword [rsi + 0x10]
jmp 0x14007fe10
cmp byte [r13 + 0x19], 0
jne 0x14007feda
mov rcx, r12
call fcn.140023010
lea rcx, [r13 + 0x20]
call fcn.140021b80
mov rdi, r14
lea r15, [rsp + 0x30]
nop word [rax + rax]
inc rdi
cmp byte [r15 + rdi], 0
jne 0x14007fea0
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007feb8
mov rax, qword [rax]
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007fed5
jg 0x14007feda
jmp 0x14007fee5
cmp rsi, rdi
jbe 0x14007fee5
mov rcx, r12
call fcn.140023010
mov r13, qword [rax]
mov r8, qword [rsp + 0xc8]
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140024630
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
mov r12, qword [rsp + 0x38]
jmp 0x14007ff15
mov r14, 0xffffffffffffffff
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140036e00
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14003b520
test al, al
je 0x14007ffeb
mov dword [rsp + 0x30], 0x343f3f2c
mov dword [rsp + 0x34], 0x100333a
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4f]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x14007ff60
mov byte [rsp + 0x37], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rbx
lea rax, [rsp + 0x30]
inc r14
cmp byte [rax + r14], 0
jne 0x14007ff95
mov r8, r14
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.140014770
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.1400217e0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140036ea0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140029960
jmp 0x14008008a
movdqa xmm0, xmmword [0x14009ab80]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14009ac90]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x14009aa20]
movdqa xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x90], 0xace6e919
mov dword [rsp + 0x94], 0xe8eaf7e9
mov dword [rsp + 0x98], 0xe6e0eea7
mov dword [rsp + 0x9c], 0x100a2ee
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx + 0x4f]
xor byte [rsp + rbx + 0x60], al
inc rbx
cmp rbx, 0x3e
jb 0x140080050
mov byte [rsp + 0x9f], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400140d0
lea rdx, [0x1400142a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x140]
call fcn.1400219d0
nop
jmp 0x1400800a2
lea rdx, [rsp + 0x160]
mov rcx, r12
call fcn.1400244f0
nop
lea rcx, [rsp + 0x160]
call fcn.1400219d0
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 0xf
jbe 0x140080107
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140080102
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140087bcc
mov rax, r12
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140087740
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret