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

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140016030]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x68], 0
call fcn.140002bb0
movzx eax, al
test eax, eax
jne 0x14000b777
mov dl, 1
lea rcx, [0x1400206c0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
movzx eax, al
test eax, eax
je 0x14000b72e
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
je 0x14000b37d
lea rcx, [0x1400206c0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
jmp 0x14000b777
movzx eax, byte [section..data]
test eax, eax
je 0x14000b51d
cmp qword [0x140016118], 0
je 0x14000b51d
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14000b400
lea rdx, [rsp + 0x90]
mov rcx, qword [0x140016118]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0x1fffff
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
jmp 0x14000b3f2
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp qword [0x140016120], 0
jne 0x14000b456
mov edx, 0x48
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x140016120], rax
cmp qword [0x140016120], 0
je 0x14000b456
mov qword [rsp + 0x20], 0
lea r9, [0x14000b9b0]
lea r8, [0x14000b910]
lea rdx, [0x14000b960]
mov rcx, qword [0x140016120]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTable]
cmp qword [0x140016120], 0
je 0x14000b51d
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [0x140016120]
call qword [sym.imp.ntoskrnl.exe_RtlLookupElementGenericTable]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14000b4ee
mov byte [rsp + 0x48], 0
cmp qword [rsp + 0x60], 0
je 0x14000b4ca
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x140016120]
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTable]
lea r9, [rsp + 0x48]
mov r8d, 0x20
lea rdx, [rsp + 0x70]
mov rcx, qword [0x140016120]
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTable]
mov qword [rsp + 0x60], rax
jmp 0x14000b51d
cmp qword [rsp + 0x60], 0
je 0x14000b4ff
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x18], 1
mov rax, qword [0x140016118]
cmp qword [rsp + 0x50], rax
jne 0x14000b51d
call fcn.14000b1f0
mov qword [0x140016118], 0
movzx eax, byte [0x140020738]
cmp eax, 0x32
jge 0x14000b591
movzx eax, byte [0x140020738]
imul rax, rax, 0x18
lea rcx, [0x140020740]
movzx edx, byte [rsp + 0xf0]
mov qword [rcx + rax], rdx
movzx eax, byte [0x140020738]
imul rax, rax, 0x18
lea rcx, [0x140020740]
mov rdx, qword [rsp + 0xe8]
mov qword [rcx + rax + 8], rdx
movzx eax, byte [0x140020738]
imul rax, rax, 0x18
lea rcx, [0x140020740]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax + 0x10], rdx
movzx eax, byte [0x140020738]
inc al
mov byte [0x140020738], al
xor eax, eax
test eax, eax
je 0x14000b72e
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14000b65f
mov edx, 0x28
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], 0
cmp qword [0x140020bf0], 0
jne 0x14000b621
mov rax, qword [rsp + 0x40]
mov qword [0x140020bf0], rax
mov rax, qword [0x140020bf0]
mov qword [rax + 0x20], 0
mov rax, qword [0x140020bf0]
mov qword [rax + 0x18], 0
jmp 0x14000b65a
mov rax, qword [rsp + 0x40]
mov rcx, qword [0x140020bf0]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0
mov rax, qword [0x140020bf0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
mov qword [0x140020bf0], rax
jmp 0x14000b72e
mov rax, qword [0x140020bf0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000b72e
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe8]
cmp qword [rax], rcx
jne 0x14000b71b
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x20], 0
je 0x14000b6af
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0
je 0x14000b6d3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x20], rcx
jmp 0x14000b6e3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [0x140020bf0], rax
mov dword [rsp + 0x58], 0
mov rax, qword [0x140020bf0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000b719
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
jmp 0x14000b6f7
jmp 0x14000b72e
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
jmp 0x14000b66b
lea rcx, [0x1400206c0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
cmp qword [rsp + 0x50], 0
je 0x14000b74e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [0x140020730], 0
je 0x14000b777
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140020730]
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov rcx, qword [0x140020730]
call qword [sym.imp.ntoskrnl.exe_KeClearEvent]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140012980
add rsp, 0xd8
ret