Function at 0x1400120b0
Capabilities:
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7a8]
sub rsp, 0x8a8
mov rax, qword [0x14002f6d0]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rdi, qword [rbp + 0x810]
xor eax, eax
mov r15d, r9d
mov r13, r8
mov r12d, edx
mov r14d, ecx
mov esi, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
mov ebx, eax
mov dword [rsp + 0x5c], 0x404
call fcn.140012e70
cmp dword [0x14006cc18], ebx
mov qword [rsp + 0x60], 0x2faf080
mov dword [rsp + 0x58], eax
jne 0x140012159
lea rax, [0x140020fb0]
mov r8d, 0x31a
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xc0000001
mov ecx, 7
lea r9, [0x140020fe0]
lea rdx, [0x140020ba0]
call fcn.14000944c
jmp 0x140012333
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140012183
lea rcx, [0x140021000]
mov r8d, 0x326
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
jmp 0x14001213c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessSessionId]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x1400121a5
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
and qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x48]
mov ecx, ebx
call fcn.140009a84
xor ecx, ecx
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400121f5
lea rax, [0x140021030]
mov dword [rsp + 0x30], ebx
lea r9, [0x140020fe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x140020ba0]
mov ecx, 5
mov r8d, 0x33f
call fcn.14000944c
jmp 0x140012333
cmp qword [rsp + 0x48], rcx
jne 0x14001221d
lea rax, [0x140021060]
mov r8d, 0x345
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov ecx, 5
jmp 0x140012141
movabs rax, 0xfffff78000000014
mov rax, qword [rax]
cmp qword [rsp + 0x48], rax
jg 0x14001224d
sub rax, qword [rsp + 0x48]
cmp rax, 0x1312d00
jle 0x14001224d
lea rax, [0x140021080]
mov r8d, 0x351
jmp 0x140012209
lea rcx, [rbp + 0x380]
xor edx, edx
mov r8d, 0x404
call fcn.1400010a0
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x40c
call fcn.1400010a0
cmp r15d, 0x3fe
jbe 0x14001229b
lea rax, [0x1400210b0]
mov r8d, 0x35f
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80000005
jmp 0x14001213c
mov eax, dword [rsp + 0x58]
lea rcx, [rsp + 0x7c]
mov r8, r15
mov rdx, r13
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x78], eax
call fcn.1400011a0
xor ecx, ecx
lea rax, [rsp + 0x60]
test rdi, rdi
lea r8, [rsp + 0x70]
cmovne rax, rcx
mov rcx, qword [0x14006cc20]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov r9d, 0x40c
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x380]
mov qword [rsp + 0x20], rax
call sub.FLTMGR.SYS_FltSendMessage
test eax, eax
jns 0x140012321
lea rcx, [0x1400210e0]
mov r8d, 0x370
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
jmp 0x14001213c
test rdi, rdi
je 0x14001232e
mov eax, dword [rbp + 0x380]
mov dword [rdi], eax
mov esi, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140012344
mov ecx, ebx
call fcn.1400099d4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140012354
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.140015670
add rsp, 0x8a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret