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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1400d6a00]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x90], rdx
mov edi, 0xc0000001
xorps xmm0, xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
movups xmmword [r11 - 0x40], xmm0
xor r14d, r14d
mov eax, ecx
imul rsi, rax, 0xf88
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xa0], rsi
mov r8d, 0x6d7467
mov rdx, rsi
lea r15d, [r14 + 1]
mov ecx, r15d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
mov qword [rsp + 0x80], rax
mov r13, rax
test rax, rax
jne 0x14000ffdf
lea eax, [rdi + 0x22]
jmp 0x14001034f
call fcn.140012ad0
mov r12, rax
mov qword [rsp + 0x88], rax
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14001ea80
and qword [rsp + 0x40], r14
xor esi, esi
mov dword [rsp + 0x48], esi
cmp esi, 0x50000
jae 0x1400102bb
mov ecx, esi
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x1400102b3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
xor r15b, r15b
test rax, rax
je 0x14001008b
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14001008b
mov rcx, qword [rsp + 0x50]
add rcx, qword [0x1400d6b50]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14001008b
mov rax, qword [0x1400d6b50]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rax + rcx]
test rcx, rcx
je 0x14001008b
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx r15d, r15b
test al, al
mov eax, 1
cmovne r15d, eax
jmp 0x140010090
mov eax, 1
test r15b, r15b
je 0x1400102a2
add r14d, eax
mov dword [rsp + 0x50], r14d
mov eax, r14d
imul r15, rax, 0xf88
mov dword [r15 + rbx], esi
mov rax, qword [rsp + 0x40]
mov qword [r15 + rbx + 8], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessInheritedFromUniqueProcessId]
mov dword [r15 + rbx + 4], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessCreateTimeQuadPart]
mov qword [r15 + rbx + 0xf68], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsIsProtectedProcess]
mov byte [r15 + rbx + 0xf60], al
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessSessionId]
mov dword [r15 + rbx + 0xf70], eax
lea rax, [rbx + 0xf80]
add rax, r15
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov r9d, 0x10000000
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
test rax, rax
je 0x14001015d
lea rdx, [rbx + 0x420]
add rdx, r15
mov rcx, rax
call fcn.140009e30
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
sete al
mov byte [r15 + r13 + 0xf78], al
lea rdx, [r13 + 0x10]
add rdx, r15
mov rcx, qword [rsp + 0x40]
call fcn.140018108
test eax, eax
jns 0x1400101a0
mov r9d, eax
lea r8, [0x14001f660]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
and qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call sub.ntoskrnl.exe_SeLocateProcessImageName
mov edi, eax
mov dword [rsp + 0x58], eax
test eax, eax
js 0x1400101d7
lea rdx, [r13 + 0x218]
add rdx, r15
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call fcn.1400163bc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400102a2
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14001024a
movzx r8d, word [rdx + 0x72]
lea rcx, [r13 + 0x628]
add rcx, r15
mov rdx, qword [rdx + 0x78]
call fcn.14001e7c0
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x20]
movzx r8d, word [rdx + 0x62]
lea rcx, [r13 + 0x948]
add rcx, r15
mov rdx, qword [rdx + 0x68]
call fcn.14001e7c0
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov r15d, 1
jmp 0x1400102a8
mov r15d, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
add esi, 4
jmp 0x140010003
cmp r14d, 2
jbe 0x14001034d
test r12, r12
je 0x140010321
add r14d, r15d
mov eax, r14d
imul rdi, rax, 0xf88
and dword [rdi + rbx], 0
mov byte [rdi + rbx + 0xf60], r15b
mov qword [rdi + rbx + 8], r12
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_PsGetProcessCreateTimeQuadPart]
mov qword [rdi + rbx + 0xf68], rax
mov byte [rdi + rbx + 0xf78], r15b
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
test rax, rax
je 0x140010321
lea rdx, [rbx + 0x420]
add rdx, rdi
mov rcx, rax
call fcn.140009e30
lea eax, [r14 + 1]
mov dword [rbx + 0xf64], eax
mov r8, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, qword [rsp + 0x78]
call fcn.14001e7c0
mov edx, 0x6d7467
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edi, edi
mov eax, edi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14001e6e0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret