Function at 0x140006618
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, [0x1400065d0]
mov r12, rcx
mov qword [rbp + 0x6f], r13
lea rcx, [0x14000e0c0]
mov qword [rbp - 0x79], r13
lea r8, [0x140006470]
mov qword [rsp + 0x20], r13
lea rdx, [0x140006570]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTableAvl]
lea r8, [rbp - 0x79]
lea rdx, [rbp + 0x6f]
lea ecx, [r13 + 5]
call fcn.1400039ac
mov esi, eax
test eax, eax
jns 0x1400066bc
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, [0x14000afd0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140006a63
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 0x140006a16
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 0x140006775
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x14000b060]
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 0x140006a16
mov rdx, qword [rbp - 0x71]
lea r9, [rbp - 0x79]
lea r8, [rbp + 0x77]
mov ecx, 0x1b
call fcn.1400038b8
mov rcx, qword [rbp - 0x71]
mov esi, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test esi, esi
jns 0x1400067b7
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x14000b0e0]
jmp 0x140006743
xor edx, edx
lea rcx, [rbp - 0x59]
lea r8d, [rdx + 0x48]
call fcn.140007d00
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 0x140006832
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, [0x14000b170]
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 0x140006a0d
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, [0x14000b1f0]
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 [0x14000c1f0]
lea rcx, [rbp - 0x59]
call fcn.140006418
test al, al
jne 0x1400068ef
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, [0x14000b250]
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 0x14000693e
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, [0x14000b2d0]
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 0x140006983
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, [0x14000b330]
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 0x1400069c8
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, [0x14000b390]
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 0x140006a0d
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, [0x14000b3f0]
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.140003504
mov rax, qword [rbp + 0x6f]
mov ecx, dword [rax]
test rcx, rcx
jne 0x1400066c9
mov rcx, r15
call fcn.140003504
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, [0x14000b450]
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