Function at 0x14000bcb0
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x14001b050]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x68], 0
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
movzx eax, al
test eax, eax
jne 0x14000c1c9
mov dl, 1
lea rcx, [0x140024a80]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
movzx eax, al
test eax, eax
je 0x14000c180
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
je 0x14000bd3e
lea rcx, [0x140024a80]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
jmp 0x14000c1c9
movzx eax, byte [section..data]
test eax, eax
je 0x14000bf4e
cmp qword [0x14001b140], 0
je 0x14000bf4e
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14000bdce
lea rdx, [rsp + 0x90]
mov rcx, qword [0x14001b140]
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 0x14000bdc0
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp qword [0x14001b138], 0
jne 0x14000be24
mov edx, 0x48
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14001b138], rax
cmp qword [0x14001b138], 0
je 0x14000be24
mov qword [rsp + 0x20], 0
lea r9, [0x14000c440]
lea r8, [0x14000c3a0]
lea rdx, [0x14000c3f0]
mov rcx, qword [0x14001b138]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTable]
cmp qword [0x14001b138], 0
je 0x14000bf4e
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 [0x14001b138]
call qword [sym.imp.ntoskrnl.exe_RtlLookupElementGenericTable]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14000bef2
mov byte [rsp + 0x48], 0
cmp qword [rsp + 0x60], 0
je 0x14000bea4
lea rcx, [0x140016770]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x14001b138]
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTable]
lea r9, [rsp + 0x48]
mov r8d, 0x20
lea rdx, [rsp + 0x70]
mov rcx, qword [0x14001b138]
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTable]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x80]
lea rcx, [0x140016790]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000bf4e
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x70]
lea rcx, [0x1400167d0]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x60], 0
je 0x14000bf24
lea rcx, [0x1400167f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x18], 1
mov rax, qword [0x14001b140]
cmp qword [rsp + 0x50], rax
jne 0x14000bf4e
lea rcx, [0x140016820]
call sub.ntoskrnl.exe_DbgPrint
call fcn.14000bbb0
mov qword [0x14001b140], 0
movzx eax, byte [0x140024af8]
cmp eax, 0x32
jge 0x14000bfc2
movzx eax, byte [0x140024af8]
imul rax, rax, 0x18
lea rcx, [0x140024b00]
movzx edx, byte [rsp + 0xf0]
mov qword [rcx + rax], rdx
movzx eax, byte [0x140024af8]
imul rax, rax, 0x18
lea rcx, [0x140024b00]
mov rdx, qword [rsp + 0xe8]
mov qword [rcx + rax + 8], rdx
movzx eax, byte [0x140024af8]
imul rax, rax, 0x18
lea rcx, [0x140024b00]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax + 0x10], rdx
movzx eax, byte [0x140024af8]
inc al
mov byte [0x140024af8], al
xor eax, eax
test eax, eax
je 0x14000c180
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14000c0a1
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
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140016830]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [0x140024fb0], 0
jne 0x14000c063
mov rax, qword [rsp + 0x40]
mov qword [0x140024fb0], rax
mov rax, qword [0x140024fb0]
mov qword [rax + 0x20], 0
mov rax, qword [0x140024fb0]
mov qword [rax + 0x18], 0
jmp 0x14000c09c
mov rax, qword [rsp + 0x40]
mov rcx, qword [0x140024fb0]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0
mov rax, qword [0x140024fb0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
mov qword [0x140024fb0], rax
jmp 0x14000c180
mov rax, qword [0x140024fb0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000c180
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe8]
cmp qword [rax], rcx
jne 0x14000c16d
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x20], 0
je 0x14000c0f1
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 0x14000c115
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 0x14000c125
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [0x140024fb0], rax
mov dword [rsp + 0x58], 0
mov rax, qword [0x140024fb0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000c15b
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 0x14000c139
mov edx, dword [rsp + 0x58]
lea rcx, [0x140016850]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000c180
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
jmp 0x14000c0ad
lea rcx, [0x140024a80]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
cmp qword [rsp + 0x50], 0
je 0x14000c1a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [0x140024af0], 0
je 0x14000c1c9
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140024af0]
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov rcx, qword [0x140024af0]
call qword [sym.imp.ntoskrnl.exe_KeClearEvent]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140014730
add rsp, 0xd8
ret