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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140005090]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov eax, dword [rcx]
mov r13, rdx
mov ebx, dword [rcx + 0xc]
mov rsi, rcx
and eax, 0xfff
lea rcx, [rbp - 0x69]
mov r14d, 0x48
xor edx, edx
mov r8d, r14d
lea rdi, [rbx + 0xfff]
add rdi, rax
call fcn.1400025c0
mov rax, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
mov rcx, qword [rsi]
and qword [rsp + 0x48], 0
and qword [rsp + 0x58], 0
and dword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov rdx, qword [rax]
lea rax, [rcx + rbx]
cmp rcx, rdx
jae 0x14000d2bb
cmp rax, rdx
ja 0x14000d2bb
lea rcx, [0x140005460]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov eax, dword [rsi + 8]
and edi, 0xfffff000
and qword [rsi], 0xfffffffffffff000
mov qword [rbp - 0x59], rax
mov dword [rsi + 0xc], edi
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x59]
lea rdx, [rsp + 0x48]
mov qword [rbp - 0x69], rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jns 0x14000cfdf
lfence
mov rcx, qword [rbp - 0x59]
lea r9, [0x140010a00]
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r8, [0x140010a70]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000d01f
mov rcx, qword [rsp + 0x48]
call fcn.140001f00
test al, al
je 0x14000d033
mov rax, qword [rbp - 0x59]
lea r9, [0x140010a00]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r8, [0x14000ebe0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ebx, 0xc000010a
lea rcx, [0x140005460]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
mov eax, ebx
jmp 0x14000d2e3
lfence
lea r9, [rsp + 0x40]
mov r8d, r14d
lea rdx, [rbp - 0x69]
lea rcx, [0x1400054a0]
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTableAvl]
cmp byte [rsp + 0x40], 0
mov rdi, rax
je 0x14000d149
mov rcx, qword [rbp - 0x59]
lea r9, [0x140010a00]
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r8, [0x140010ab0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r14, [rdi + 0x38]
lea rdx, [rdi + 0x28]
mov qword [r14 + 8], r14
lea rcx, [rdi + 0x20]
mov qword [r14], r14
call fcn.14000c230
mov ebx, eax
mov r12, qword [rsp + 0x58]
test ebx, ebx
js 0x14000d21a
lfence
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdx, qword [rsi]
mov r9b, 1
mov r8d, dword [rsi + 0xc]
mov rcx, r14
add r8, rdx
call fcn.14000c2e0
mov ebx, eax
test eax, eax
js 0x14000d102
lfence
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call fcn.14000d62c
mov ebx, eax
test eax, eax
js 0x14000d102
cmp byte [rsp + 0x40], 0
je 0x14000d102
lfence
mov rcx, qword [rdi + 0x28]
lea rdx, [rdi + 0x18]
call fcn.14000d564
mov ebx, eax
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
js 0x14000d21a
cmp byte [rsp + 0x40], 0
je 0x14000d135
lfence
mov rcx, qword [rdi + 0x28]
lea rdx, [rdi + 8]
call fcn.14000d564
mov ebx, eax
test eax, eax
js 0x14000d21a
lfence
mov dl, 1
mov rcx, r14
call fcn.14000d498
mov ebx, eax
jmp 0x14000d21a
mov r14, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp r14, rax
je 0x14000d17a
test r14, r14
je 0x14000d17a
xor edx, edx
lea r9, [0x140010a00]
lea r8, [0x140010b00]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov ebx, 0xc000000d
mov eax, dword [rsi + 0xc]
lea r14, [rdi + 0x38]
mov r12, qword [rsi]
mov r8d, eax
mov rdx, r12
mov qword [rbp - 0x79], rax
mov rcx, r14
call fcn.14000c7a8
mov r15, rax
test rax, rax
je 0x14000d099
mov r8, qword [rax + 0x10]
mov r9, qword [rbp - 0x79]
cmp r12, r8
jb 0x14000d1bf
mov rdx, qword [rax + 0x28]
lea rcx, [r12 + r9]
add rdx, r8
cmp rcx, rdx
jbe 0x14000d215
mov rcx, qword [rax + 0x28]
xor edx, edx
add rcx, r8
lea rax, [r12 + r9]
mov qword [rsp + 0x38], rcx
lea r9, [0x140010a00]
mov qword [rsp + 0x30], r8
lea r8, [0x140010b50]
mov qword [rsp + 0x28], rax
lea ecx, [rdx + 0x4d]
mov qword [rsp + 0x20], r12
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, dword [r15 + 0x28]
mov rdx, rdi
mov r12, qword [r15 + 0x10]
mov rcx, r15
mov dword [rsp + 0x50], eax
call fcn.14000da04
mov ebx, eax
jmp 0x14000d09e
mov r12, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000d22a
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test ebx, ebx
js 0x14000d2ab
test r13, r13
je 0x14000d01f
lfence
mov r8d, dword [rsi + 0xc]
mov rcx, r14
mov rdx, qword [rsi]
call fcn.14000c7a8
mov rdi, rax
test rax, rax
je 0x14000d01f
lfence
mov rcx, qword [rax + 0x40]
lea r9, [0x140010a00]
mov qword [rsp + 0x28], rcx
lea r8, [0x140010bb0]
mov rcx, qword [rax + 0x10]
xor edx, edx
mov qword [rsp + 0x20], rcx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rax, qword [rdi + 0x10]
mov qword [r13], rax
mov rax, qword [rdi + 0x40]
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], r12
mov eax, dword [rdi + 0x28]
mov dword [r13 + 0x18], eax
mov eax, dword [rsp + 0x50]
mov dword [r13 + 0x1c], eax
jmp 0x14000d01f
lfence
mov rcx, rdi
call fcn.14000c5b8
jmp 0x14000d01f
xor edx, edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [0x140010a00]
lea r8, [0x140010a20]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc0000141
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140002410
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret