Function at 0x14000203c
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140007450]
xor rax, rsp
mov qword [rbp + 0x27], rax
and qword [rbp - 0x31], 0
mov r15, rdx
mov edi, ecx
lea rdx, [rbp - 0x31]
mov ecx, ecx
mov r14, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
and qword [rbp - 9], 0
xorps xmm0, xmm0
mov ebx, eax
xor eax, eax
mov qword [rbp + 0x1f], rax
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
lfence
test ebx, ebx
jns 0x1400020af
mov edx, ebx
lea rcx, [0x140004440]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x14000230b
mov rdx, r14
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8, r14
mov rdx, r15
mov rcx, rax
mov rsi, rax
call fcn.140003440
lea r8, [rbp - 0x29]
mov rdx, r14
mov ecx, edi
call fcn.140002524
lfence
test eax, eax
jns 0x14000210e
lea rcx, [0x140004470]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc0000001
jmp 0x14000230b
mov r15d, 0xc50
lea r8, [rbp - 0x39]
mov edx, r15d
mov ecx, edi
call fcn.140002524
lfence
test eax, eax
jns 0x14000215a
lea rcx, [0x140004490]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r8, qword [rbp - 0x29]
mov rdx, r14
mov ecx, edi
call fcn.14000264c
jmp 0x140002104
mov rcx, qword [rbp - 0x31]
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x29]
mov r8, r14
mov rdx, rsi
call fcn.140003440
mov rcx, qword [rbp - 0x39]
lea rdx, [0x140006800]
mov r8, r15
call fcn.140003440
mov rcx, qword [rbp - 0x29]
movsxd rax, dword [rcx + 0x3c]
mov ebx, dword [rax + rcx + 0x50]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
lea r8, [rbp - 0x11]
mov edx, ebx
mov ecx, edi
call fcn.140002524
lfence
mov rcx, qword [rbp - 0x31]
test eax, eax
jns 0x1400021e3
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r8, qword [rbp - 0x29]
mov rdx, r14
mov ecx, edi
call fcn.14000264c
mov r8, qword [rbp - 0x39]
mov rdx, r15
jmp 0x140002151
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, qword [rbp - 0x39]
mov ebx, 0x1fffff
mov r9d, 0x240
mov r8d, ebx
xor edx, edx
mov byte [rax + 0x50f], 0x90
mov rax, qword [rbp - 0x39]
mov byte [rax + 0x510], 0x48
mov rax, qword [rbp - 0x39]
mov byte [rax + 0x511], 0xb8
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x11]
mov qword [rcx + 0x512], rax
lea rcx, [rbp - 0x19]
mov rax, qword [0x140507b78]
and qword [rbp - 0x19], 0
mov qword [rsp + 0x28], rcx
or rcx, 0xffffffffffffffff
and dword [rsp + 0x20], 0
call qword [0x140005160]
test eax, eax
js 0x1400022ea
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
lea rax, [rbp - 0x21]
and qword [rbp - 0x21], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov edx, ebx
mov rcx, qword [rbp - 0x19]
mov r8, qword [r8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
js 0x1400022e0
mov rax, qword [0x140507b70]
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [0x140005160]
mov r8, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x21]
call fcn.140002330
test eax, eax
jns 0x1400022c3
lfence
mov edx, eax
lea rcx, [0x1400044b0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x140507b68]
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [0x140005160]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_NtClose]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400032b0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret