Function at 0x1400019ac
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x88], rsp
mov r14, rdx
mov rsi, rcx
and qword [rsp + 0x70], 0
xorps xmm0, xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
and qword [rsp + 0x78], 0
and qword [rsp + 0x68], 0
mov edi, r8d
mov qword [r11 - 0x88], rdi
and qword [r11 - 0x70], 0
and qword [r11 - 0x78], 0
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
jne 0x140001a6a
lea rdx, [0x140001a41]
mov rcx, rsp
call sub.ntoskrnl.exe__local_unwind
nop
nop
mov eax, 0xc0000001
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140002120
mov rbx, qword [rsp + 0x128]
add rsp, 0xf0
pop r14
pop rdi
pop rsi
ret
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.140002340
lea rdx, [0x1400026d0]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rdi, rax
test rax, rax
jne 0x140001abd
lea rdx, [0x140001ab9]
mov rcx, qword [rsp + 0x88]
call sub.ntoskrnl.exe__local_unwind
nop
nop
xor eax, eax
jmp 0x140001a46
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x140001afe
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rdx, [0x140001af4]
mov rcx, qword [rsp + 0x88]
call sub.ntoskrnl.exe__local_unwind
nop
nop
mov eax, 0xc0000001
jmp 0x140001a46
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x68]
or rsi, 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x60], eax
test eax, eax
js 0x140001c02
mov r8, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, qword [rsp + 0x68]
call fcn.140002340
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140001c02
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rax, rdi
call qword [0x140003168]
mov dword [rsp + 0x60], eax
test eax, eax
js 0x140001be6
mov qword [rsp + 0x90], 0xffffffffdc3cba00
lea r8, [rsp + 0x90]
mov dl, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov r9d, 0x8000
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
lea rdx, [0x140001c18]
mov rcx, qword [rsp + 0x88]
call sub.ntoskrnl.exe__local_unwind
nop
nop
mov eax, dword [rsp + 0x60]
jmp 0x140001a46