Function at 0x14000ec68
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, [0x14000ec20]
mov r12, rcx
mov qword [rbp + 0x6f], r13
lea rcx, [0x14006dea0]
mov qword [rbp - 0x79], r13
lea r8, [0x14000eab0]
mov qword [rsp + 0x20], r13
lea rdx, [0x14000ebc0]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTableAvl]
lea r8, [rbp - 0x79]
lea rdx, [rbp + 0x6f]
lea ecx, [r13 + 5]
call fcn.14000b830
mov esi, eax
test eax, eax
jns 0x14000ed14
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, al
lea r8, [0x140015460]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000f0f6
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 0x14000f0a4
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 0x14000edd5
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
lea r8, [0x1400154f0]
mov rcx, qword [rbp + 0x6f]
mov dword [rsp + 0x38], esi
movzx r9d, al
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], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000f0a4
mov rdx, qword [rbp - 0x71]
lea r9, [rbp - 0x79]
lea r8, [rbp + 0x77]
mov ecx, 0x1b
call fcn.14000b738
mov rcx, qword [rbp - 0x71]
mov esi, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test esi, esi
jns 0x14000ee1f
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
lea r8, [0x140015570]
jmp 0x14000eda3
xor edx, edx
lea rcx, [rbp - 0x59]
lea r8d, [rdx + 0x48]
call fcn.140011a00
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 0x14000eea2
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp + 0x6f]
lea r8, [0x140015600]
mov dword [rsp + 0x38], esi
movzx r9d, al
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], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000f09b
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x39], rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp + 0x77]
lea r8, [0x140015680]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbp + 0x6f]
movzx r9d, al
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], rbx
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 [0x140017248]
lea rcx, [rbp - 0x59]
call fcn.14000ea58
test al, al
jne 0x14000ef69
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp + 0x6f]
lea r8, [0x1400156e0]
movzx r9d, al
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], rbx
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 0x14000efbd
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp - 0x59]
lea r8, [0x140015760]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp byte [rbp - 0x49], r13b
je 0x14000f007
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp - 0x59]
lea r8, [0x1400157c0]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp byte [rbp - 0x19], r13b
je 0x14000f051
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp - 0x59]
lea r8, [0x140015820]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp byte [rbp - 0x41], r13b
je 0x14000f09b
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rbp - 0x59]
lea r8, [0x140015880]
mov qword [rsp + 0x30], rcx
mov edx, 2
mov qword [rsp + 0x28], rdi
mov ecx, r14d
movzx r9d, al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp + 0x77]
call fcn.14000b364
mov rax, qword [rbp + 0x6f]
mov ecx, dword [rax]
test rcx, rcx
jne 0x14000ed21
mov rcx, r15
call fcn.14000b364
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov qword [rsp + 0x28], rdi
lea r8, [0x1400158e0]
movzx r9d, al
mov edx, 2
mov ecx, r14d
mov qword [rsp + 0x20], rbx
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