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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [0x1400102d0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x30], 0xc0000001
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x14000a867
mov rax, qword [rsp + 0x48]
lea rax, [rax + rax + 2]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000a8ae
mov eax, dword [rsp + 0x30]
jmp 0x14000ab16
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x14000a8cb
mov rax, qword [rsp + 0x50]
lea rax, [rax + rax + 2]
mov rcx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rcx + 0x20]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x14000a921
mov rax, qword [rsp + 0x58]
inc rax
mov rdx, rax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000a972
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x30]
jmp 0x14000ab16
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x14000a98f
mov rax, qword [rsp + 0x60]
inc rax
mov rcx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rcx + 0x18]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
lea rdx, [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
je 0x14000aa03
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x30]
jmp 0x14000ab16
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
call fcn.140003640
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14000aa56
lea rcx, [0x14000d540]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x14000aaed
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400033a0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000aa90
lea rcx, [0x14000d570]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x14000aaed
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
call fcn.140005d60
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000aaed
lfence
mov edx, dword [rsp + 0x30]
lea rcx, [0x14000d5a0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14000d060
add rsp, 0xe8
pop rdi
pop rsi
ret