Function at 0x140001bcc
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
and qword [rbp - 1], 0
xorps xmm0, xmm0
and qword [rbp + 7], 0
mov r15, rdx
and qword [rbp - 9], 0
lea rdx, [rbp - 1]
movups xmmword [rbp + 0xf], xmm0
mov rsi, r9
mov r14, r8
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140001c6f
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003db0]
mov dword [rsp + 0x20], 0xd4
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003dc0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc0000001
jmp 0x140001e2b
mov rcx, qword [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 0xf]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
and dword [rsp + 0x20], 0
mov r8d, 0x1f0000
or rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwGetNextThread
mov edi, eax
test eax, eax
jns 0x140001d14
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003db0]
mov dword [rsp + 0x20], 0xde
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003dd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003cf0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rbp + 0xf]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140001e3c
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
lea rax, [rbp - 9]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rbp + 7]
mov edx, 0x1fffff
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [rbp + 0xf]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
cmp qword [rbp - 9], rdx
jne 0x140001da3
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003db0]
mov dword [rsp + 0x20], 0xe8
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003df0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140001e2b
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r9, qword [rbp - 9]
lea r8, [0x140003e10]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003cf0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edx, 0x58
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
jne 0x140001e43
lea r8, [0x140003cc0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003db0]
mov dword [rsp + 0x20], 0xf0
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003e30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc0000017
lea r8, [0x140003cf0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, edi
jmp 0x140001ee3
and qword [rsp + 0x38], 0
mov r9, r15
mov rdx, qword [rbp - 9]
xor r8d, r8d
mov byte [rsp + 0x30], 0
mov rcx, rdi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call sub.ntoskrnl.exe_KeInitializeApc
xor r9d, r9d
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.ntoskrnl.exe_KeInsertQueueApc
mov dil, al
test al, al
jne 0x140001ed7
lea r8, [0x140003cc0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003db0]
mov dword [rsp + 0x20], 0xfa
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003e50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003cf0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
neg dil
sbb eax, eax
not eax
and eax, 0xc0000001
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret