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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140005090]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor r13d, r13d
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x38], r13
xor edx, edx
lea rcx, [rbp - 0x70]
lea edi, [r13 + 0x48]
mov r8d, edi
call fcn.1400025c0
mov ebx, dword [r14]
mov byte [rsp + 0x30], r13b
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp rbx, rax
jne 0x14000cbb5
mov eax, 0xc000000d
jmp 0x14000ce54
lea rcx, [0x140005460]
mov qword [rbp - 0x60], rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rcx, qword [rbp - 0x60]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jns 0x14000cc05
lfence
mov rcx, qword [rbp - 0x60]
lea r9, [0x140010880]
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r8, [0x140010890]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000ce45
mov rcx, qword [rsp + 0x38]
call fcn.140001f00
test al, al
je 0x14000cc4a
mov rax, qword [rbp - 0x60]
lea r9, [0x140010880]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r8, [0x14000ebe0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ebx, 0xc000010a
jmp 0x14000ce45
lfence
lea r9, [rsp + 0x30]
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [0x1400054a0]
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTableAvl]
mov rdi, rax
cmp byte [rsp + 0x30], r13b
je 0x14000ce7e
lea rsi, [rax + 0x38]
lea rcx, [rax + 0x20]
mov qword [rsi + 8], rsi
lea rdx, [rax + 0x28]
mov qword [rsi], rsi
call fcn.14000c230
mov ebx, eax
test eax, eax
js 0x14000ce0d
lfence
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
mov edx, 0x10000
mov r9b, byte [r14 + 0x44]
mov rcx, rsi
mov r8, qword [r8]
call fcn.14000c2e0
mov ebx, eax
test eax, eax
js 0x14000cdcf
lfence
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.14000d62c
mov ebx, eax
test eax, eax
js 0x14000cdcf
lfence
mov rcx, qword [rdi + 0x28]
lea rdx, [rdi + 0x18]
call fcn.14000d564
mov ebx, eax
test eax, eax
js 0x14000cdcf
lea rsi, [r14 + 4]
cmp word [rsi], r13w
je 0x14000cdcf
mov r14d, 0x80
lea rcx, [rbp + 0x10]
mov r8d, r14d
xor edx, edx
call fcn.1400025c0
xorps xmm0, xmm0
lea rax, [rbp + 0x10]
movups xmmword [rsp + 0x40], xmm0
mov r8, rsi
mov qword [rsp + 0x48], rax
lea rdx, [0x1400108e0]
mov word [rsp + 0x42], r14w
lea rcx, [rsp + 0x40]
call fcn.140001900
test eax, eax
js 0x14000cdaf
lfence
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r13d
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rdi + 0x30]
mov qword [rsp + 0x50], 0x30
lea r9, [rbp - 0x80]
mov qword [rsp + 0x68], 0x40
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], r13
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
jns 0x14000cdcf
lfence
xor edx, edx
mov dword [rsp + 0x20], eax
lea r9, [0x140010880]
lea r8, [0x140010900]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
js 0x14000ce0d
cmp byte [rsp + 0x30], r13b
jne 0x14000cde9
cmp qword [rdi], r13
jne 0x14000ce0d
lfence
lea rcx, [rdi + 0x38]
xor edx, edx
call fcn.14000d498
mov rcx, qword [rdi + 0x28]
lea rdx, [rdi + 8]
call fcn.14000d564
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov qword [rdi], rax
test r12, r12
je 0x14000ce16
mov qword [r12], rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000ce26
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov edx, 0x80000000
lea eax, [rbx + rdx]
test edx, eax
jne 0x14000ce45
cmp ebx, 0xc000020a
je 0x14000ce45
lfence
mov rcx, rdi
call fcn.14000c5b8
lea rcx, [0x140005460]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140002410
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rax + 0x10]
lea r9, [0x140010880]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r8, [0x140010950]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rsi, qword [rdi]
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp rsi, rax
je 0x14000cddd
test rsi, rsi
je 0x14000cddd
xor edx, edx
mov qword [rsp + 0x20], rsi
lea r9, [0x140010880]
lea r8, [0x1400109a0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov ebx, 0xc000020a
jmp 0x14000ce0d