Function at 0x1400144a0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140006090]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
lea rdx, [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14001474c
cmp dword [0x140006530], 0
je 0x140014727
mov eax, dword [0x140006530]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp dword [0x140006520], 0x611
jg 0x140014569
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 1
jne 0x140014544
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
bts eax, 0xb
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
jmp 0x140014564
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 0
jne 0x140014564
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
btr eax, 0xb
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
jmp 0x140014725
cmp dword [0x140006520], 0x620
jne 0x14001459b
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 2
je 0x140014596
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
movzx ecx, byte [rcx + 4]
mov byte [rax], cl
jmp 0x140014725
cmp dword [0x140006520], 0x630
jl 0x14001471d
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 0
jne 0x1400145c3
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
jmp 0x14001460c
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 1
jne 0x14001460c
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x68]
and eax, 0xffffff0f
or eax, 0x60
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
and eax, 0xfffffff8
or eax, 2
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x68]
mov byte [rax], cl
mov rax, qword [rsp + 0x90]
cmp dword [rax + 8], 2
je 0x1400146b3
cmp dword [0x140006534], 0
je 0x1400146b3
cmp dword [0x140006520], 0xa03
jl 0x140014676
mov eax, dword [0x140006534]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
and eax, 1
shl eax, 8
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx]
btr ecx, 8
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
jmp 0x1400146b3
mov eax, dword [0x140006534]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
and eax, 1
shl eax, 0xa
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx]
btr ecx, 0xa
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0xc], 2
je 0x14001471b
mov eax, dword [0x140006530]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax - 2]
mov qword [rsp + 0x58], rax
mov eax, dword [0x140006530]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax - 1]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0xc], 1
jne 0x14001470b
mov rax, qword [rsp + 0x50]
mov byte [rax], 8
mov rax, qword [rsp + 0x58]
mov byte [rax], 8
jmp 0x14001471b
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rax, qword [rsp + 0x58]
mov byte [rax], 0
jmp 0x140014725
mov dword [rsp + 0x30], 0xc00000bb
jmp 0x14001474a
lea r9, [0x140017310]
lea r8, [0x140017320]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x30], 0xc0000141
jmp 0x140014772
lfence
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r9, [0x140017310]
lea r8, [0x1400155f0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp qword [rsp + 0x60], 0
je 0x140014785
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140003e80
add rsp, 0x80
pop rdi
ret