Function at 0x140001000
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
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
and qword [rbp - 1], 0
xor eax, eax
and qword [rbp - 9], rax
xorps xmm0, xmm0
and qword [rbp + 7], rax
mov r12, rdx
and qword [rbp + 0xf], 0
lea rdx, [rbp - 1]
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x37], rax
mov r14, r9
movups xmmword [rbp + 0x27], xmm0
mov r15, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
jns 0x1400010ba
xor edx, edx
lea r8, [0x140003b30]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003c40]
mov dword [rsp + 0x20], 0xc8
lea r8, [0x140003b50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003c50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003b90]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140001319
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 - 9]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
and dword [rsp + 0x20], 0
mov r8d, 0x1fffff
or rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwGetNextThread
mov edi, eax
test eax, eax
jns 0x140001155
xor edx, edx
lea r8, [0x140003b30]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003c40]
mov dword [rsp + 0x20], 0xd1
lea r8, [0x140003b50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003c60]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003b90]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000130f
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
lea rax, [rbp + 7]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rbp - 9]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edi, eax
test eax, eax
jns 0x1400011de
xor edx, edx
lea r8, [0x140003b30]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003c40]
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r8, [0x140003b50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003c80]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003b90]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140001305
mov rcx, qword [rbp + 7]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov edx, 0x58
xor ecx, ecx
mov r8d, 0x617063
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov ebx, 0x4d
test rax, rax
jne 0x14000126f
lea r8, [0x140003b30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003c40]
mov dword [rsp + 0x20], 0xe2
lea r8, [0x140003b50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003ca0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003b90]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rbp + 0xf]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
and qword [rsp + 0x38], 0
mov r9, r12
mov rdx, qword [rbp + 7]
xor r8d, r8d
mov byte [rsp + 0x30], 0
mov rcx, rsi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call sub.ntoskrnl.exe_KeInitializeApc
xor r9d, r9d
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.ntoskrnl.exe_KeInsertQueueApc
test al, al
jne 0x140001305
lea r8, [0x140003b30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003c40]
mov dword [rsp + 0x20], 0xeb
lea r8, [0x140003b50]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003cc0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003b90]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc0000001
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rbp + 0xf]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret