Function at 0x14000d4d0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
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 0x14000d77c
cmp dword [0x140008a10], 0
je 0x14000d757
mov eax, dword [0x140008a10]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp dword [0x140008a00], 0x611
jg 0x14000d599
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 1
jne 0x14000d574
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
bts eax, 0xb
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
jmp 0x14000d594
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 0
jne 0x14000d594
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
btr eax, 0xb
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
jmp 0x14000d755
cmp dword [0x140008a00], 0x620
jne 0x14000d5cb
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 2
je 0x14000d5c6
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
movzx ecx, byte [rcx + 4]
mov byte [rax], cl
jmp 0x14000d755
cmp dword [0x140008a00], 0x630
jl 0x14000d74d
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 0
jne 0x14000d5f3
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
jmp 0x14000d63c
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 1
jne 0x14000d63c
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 0x14000d6e3
cmp dword [0x140008a14], 0
je 0x14000d6e3
cmp dword [0x140008a00], 0xa03
jl 0x14000d6a6
mov eax, dword [0x140008a14]
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 0x14000d6e3
mov eax, dword [0x140008a14]
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 0x14000d74b
mov eax, dword [0x140008a10]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax - 2]
mov qword [rsp + 0x58], rax
mov eax, dword [0x140008a10]
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 0x14000d73b
mov rax, qword [rsp + 0x50]
mov byte [rax], 8
mov rax, qword [rsp + 0x58]
mov byte [rax], 8
jmp 0x14000d74b
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rax, qword [rsp + 0x58]
mov byte [rax], 0
jmp 0x14000d755
mov dword [rsp + 0x30], 0xc00000bb
jmp 0x14000d77a
lea r9, [0x140015240]
lea r8, [0x140015250]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x30], 0xc0000141
jmp 0x14000d7a0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r9, [0x140015240]
lea r8, [0x1400150f0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
nop
cmp qword [rsp + 0x60], 0
je 0x14000d7b4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001670
add rsp, 0x80
pop rdi
ret