Function at 0x14000848c
Capabilities:
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
and qword [rbp + 0x6f], 0
lea r9, [0x140008440]
and qword [rsp + 0x40], 0
lea r8, [0x140008400]
and qword [rsp + 0x20], 0
lea rdx, [0x140008420]
mov r12, rcx
lea rcx, [0x140016120]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTableAvl]
lea r8, [rsp + 0x40]
mov ecx, 5
lea rdx, [rbp + 0x6f]
call fcn.140001474
mov esi, eax
test eax, eax
jns 0x140008531
lfence
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, bl
lea r8, [0x14000ef80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400088a2
mov r15, qword [rbp + 0x6f]
xor ecx, ecx
lea r14d, [rcx + 0x4d]
mov rax, qword [rbp + 0x6f]
and qword [rbp + 0x7f], 0
add rax, rcx
mov qword [rbp + 0x6f], rax
cmp qword [rax + 0x50], 0
je 0x140008855
and qword [rbp - 0x61], 0
lea r9, [rbp - 0x79]
and qword [rbp - 0x59], 0
lea r8, [rbp - 0x69]
xorps xmm0, xmm0
mov dword [rbp - 0x69], 0x30
movdqu xmmword [rbp - 0x49], xmm0
mov dword [rbp - 0x51], 0x200
lea rcx, [rsp + 0x48]
mov rax, qword [rax + 0x50]
mov edx, 0x1000
and qword [rbp - 0x71], 0
mov qword [rbp - 0x79], rax
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov esi, eax
test eax, eax
jns 0x1400085f0
lfence
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x14000f000]
mov rcx, qword [rbp + 0x6f]
mov dword [rsp + 0x38], esi
movzx r9d, bl
mov rdx, qword [rcx + 0x50]
mov ecx, r14d
mov qword [rsp + 0x30], rdx
mov edx, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140008855
mov rdx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x77]
mov ecx, 0x1b
call fcn.140001378
mov rcx, qword [rsp + 0x48]
mov esi, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test esi, esi
jns 0x140008638
lfence
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x14000f080]
jmp 0x1400085be
xor edx, edx
lea rcx, [rbp - 0x39]
lea r8d, [rdx + 0x58]
call fcn.14000b5c0
mov rcx, qword [rbp + 0x6f]
lea rdx, [rbp + 0x7f]
mov rax, qword [rcx + 0x50]
mov qword [rbp - 0x39], rax
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov esi, eax
test eax, eax
jns 0x1400086b6
lfence
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp + 0x6f]
lea r8, [0x14000f100]
mov dword [rsp + 0x38], esi
movzx r9d, bl
mov rdx, qword [rcx + 0x50]
mov ecx, r14d
mov qword [rsp + 0x30], rdx
mov edx, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000884c
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x21], rax
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp + 0x77]
lea r8, [0x14000f180]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbp + 0x6f]
movzx r9d, bl
mov rdx, qword [rcx + 0x50]
mov ecx, r14d
mov qword [rsp + 0x30], rdx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r8, qword [rbp + 0x6f]
lea rcx, [rbp - 0x39]
mov rdx, qword [rbp + 0x77]
mov rax, r12
mov r8, qword [r8 + 0x58]
call qword [0x140011380]
lea rcx, [rbp - 0x39]
call fcn.14000839c
test al, al
jne 0x140008773
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp + 0x6f]
lea r8, [0x14000f1e0]
movzx r9d, bl
mov rdx, qword [rcx + 0x50]
mov ecx, r14d
mov qword [rsp + 0x30], rdx
mov edx, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp byte [rbp - 0x31], 0
je 0x1400087c2
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x39]
lea r8, [0x14000f260]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, bl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp byte [rbp - 0x29], 0
je 0x140008807
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x39]
lea r8, [0x14000f2c0]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, bl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp byte [rbp + 0x17], 0
je 0x14000884c
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x39]
lea r8, [0x14000f320]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, bl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp + 0x77]
call fcn.140001024
mov rax, qword [rbp + 0x6f]
mov ecx, dword [rax]
test rcx, rcx
jne 0x14000853b
mov rcx, r15
call fcn.140001024
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
movzx r9d, dil
lea r8, [0x14000f380]
mov edx, 2
mov qword [rsp + 0x28], rbx
mov ecx, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, esi
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret