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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140007620]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
lea rdx, [rsp + 0x40]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14000b756
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea r8, [rsp + 0x48]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.14000ba10
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14000b749
cmp dword [rsp + 0x48], 1
jne 0x14000b719
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
and rax, 0xfffffffffffff000
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
and rax, 0xfff
mov eax, eax
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 8]
lea rax, [rax + rcx + 0xfff]
shr rax, 0xc
shl rax, 0xc
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 8], rax
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x14]
call fcn.140004c70
mov r8d, eax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.14000ba80
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x14000b672
mov rax, qword [rsp + 0x50]
add rax, 0x1000
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
add rax, qword [rcx + 8]
cmp qword [rsp + 0x50], rax
jae 0x14000b717
lfence
mov rcx, qword [rsp + 0x50]
call fcn.140009d30
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x14]
and eax, 0xf0
test eax, eax
je 0x14000b6d7
mov rax, qword [rsp + 0x38]
movabs rcx, 0x7fffffffffffffff
mov rax, qword [rax]
and rax, rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x14]
and eax, 0x32
test eax, eax
je 0x14000b712
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
btr rax, 0xb
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
and rax, 0xfffffffffffffffd
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
jmp 0x14000b662
jmp 0x14000b749
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
mov r9d, dword [rax + 0x14]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call fcn.1400048b0
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x14000b77c
lfence
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r9, [0x14000c050]
lea r8, [0x14000bee0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp qword [rsp + 0x40], 0
je 0x14000b78f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140004d00
add rsp, 0xb8
ret