Function at 0x1400066d8
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
xor r13d, r13d
lea r9, [0x140006690]
mov r12, rcx
mov qword [rbp + 0x6f], r13
lea rcx, [0x1400100c0]
mov qword [rbp - 0x79], r13
lea r8, [0x140006530]
mov qword [rsp + 0x20], r13
lea rdx, [0x140006630]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTableAvl]
lea r8, [rbp - 0x79]
lea rdx, [rbp + 0x6f]
lea ecx, [r13 + 5]
call fcn.140003a6c
mov esi, eax
test eax, eax
jns 0x14000677c
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, [0x14000c4d0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140006b23
mov r15, qword [rbp + 0x6f]
mov rcx, r13
mov r14d, 0x4d
mov rax, qword [rbp + 0x6f]
add rax, rcx
mov qword [rbp + 0x7f], r13
mov qword [rbp + 0x6f], rax
cmp qword [rax + 0x50], r13
je 0x140006ad6
xorps xmm0, xmm0
mov dword [rbp - 9], 0x30
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp - 1], r13
lea r9, [rbp - 0x69]
mov dword [rbp + 0xf], 0x200
lea r8, [rbp - 9]
mov qword [rbp + 7], r13
lea rcx, [rbp - 0x71]
mov rax, qword [rax + 0x50]
mov edx, 0x1000
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], r13
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov esi, eax
test eax, eax
jns 0x140006835
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x14000c560]
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 0x140006ad6
mov rdx, qword [rbp - 0x71]
lea r9, [rbp - 0x79]
lea r8, [rbp + 0x77]
mov ecx, 0x1b
call fcn.140003978
mov rcx, qword [rbp - 0x71]
mov esi, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test esi, esi
jns 0x140006877
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x14000c5e0]
jmp 0x140006803
xor edx, edx
lea rcx, [rbp - 0x59]
lea r8d, [rdx + 0x48]
call fcn.1400091c0
mov rcx, qword [rbp + 0x6f]
lea rdx, [rbp + 0x7f]
mov rax, qword [rcx + 0x50]
mov qword [rbp - 0x59], rax
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov esi, eax
test eax, eax
jns 0x1400068f2
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, [0x14000c670]
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 0x140006acd
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x39], 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, [0x14000c6f0]
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 - 0x59]
mov rdx, qword [rbp + 0x77]
mov rax, r12
mov r8, qword [r8 + 0x58]
call qword [0x14000e230]
lea rcx, [rbp - 0x59]
call fcn.1400064d8
test al, al
jne 0x1400069af
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, [0x14000c750]
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 - 0x51], r13b
je 0x1400069fe
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x59]
lea r8, [0x14000c7d0]
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 - 0x49], r13b
je 0x140006a43
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x59]
lea r8, [0x14000c830]
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 - 0x19], r13b
je 0x140006a88
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x59]
lea r8, [0x14000c890]
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 - 0x41], r13b
je 0x140006acd
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rbp - 0x59]
lea r8, [0x14000c8f0]
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.1400035c4
mov rax, qword [rbp + 0x6f]
mov ecx, dword [rax]
test rcx, rcx
jne 0x140006789
mov rcx, r15
call fcn.1400035c4
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, [0x14000c950]
mov edx, 2
mov qword [rsp + 0x28], rbx
mov ecx, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rbx, qword [rsp + 0x120]
mov eax, esi
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret