Function at 0x14000eac0
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x4a0
mov rax, qword [0x14001c030]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor r14d, r14d
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], r14b
lea rdx, [rbp + 0x30]
lea r15d, [r14 + 0x10]
mov ecx, r15d
call fcn.140013080
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x30]
test eax, eax
js 0x14000f14f
lea rbx, [rbp + 0x30]
cmp rdx, r15
jb 0x14000eb3f
mov rbx, rcx
test rcx, rcx
je 0x14000f14f
cmp dword [rbx], r14d
jbe 0x14000f14f
mov rsi, r14
lea rdi, [rbx + 0xe]
mov r12d, 0x1f4
mov qword [rsp + 0x78], 0x30
mov qword [rbp - 0x70], 0x200
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movzx eax, word [rdi - 6]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x58], r14
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x78]
mov edx, 0x10000000
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
js 0x14000f135
lea rax, [0x140018af0]
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x188], r14
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x150]
call fcn.1400019a8
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000ebff
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov dword [rsp + 0x40], r14d
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x190]
call fcn.140016c80
mov qword [rsp + 0x50], r14
movzx edx, word [rdi]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x50]
or r8, 0xffffffffffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwDuplicateObject]
test eax, eax
js 0x14000ed91
lea rax, [0x140018b20]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x28], r14
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400019a8
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000ec98
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x190]
mov edx, 2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwQueryObject]
test eax, eax
js 0x14000ed4e
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000ed4e
mov r8d, 4
lea rdx, [0x1400173d0]
call fcn.140016628
test eax, eax
je 0x14000ed03
mov r8d, 9
lea rdx, [0x1400173e0]
mov rcx, qword [rbp + 0x198]
call fcn.140016628
test eax, eax
jne 0x14000ed4e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x190]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwQueryObject]
test eax, eax
js 0x14000ed4e
mov rdx, qword [rbp + 0x198]
test rdx, rdx
je 0x14000ed4e
mov r8, r15
lea rcx, [0x140017400]
call fcn.140016628
test eax, eax
je 0x14000f1b7
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000f0f5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000f0f5
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
jmp 0x14000f0f5
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000f0f5
lea rax, [0x140018b50]
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x148], r14
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x110]
call fcn.1400019a8
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000ee06
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x28], r14
mov rcx, qword [rsp + 0x48]
call fcn.14000f904
test eax, eax
js 0x14000f0af
lea rax, [0x140018b80]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x108], r14
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xd0]
call fcn.1400019a8
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000ee6b
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
lea rax, [0x140018bb0]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp + 0xc8], r14
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x90]
call fcn.1400019a8
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000eec0
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rsp + 0x60], r14
movzx ecx, word [rdi]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
js 0x14000f023
lea rax, [0x140018be0]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x88], r14
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x50]
call fcn.1400019a8
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000ef40
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov rax, qword [rdi + 2]
cmp qword [rsp + 0x60], rax
jne 0x14000efe0
movzx ecx, word [rdi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x190]
mov edx, 2
call qword [sym.imp.ntoskrnl.exe_ZwQueryObject]
test eax, eax
js 0x14000efe0
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000efe0
mov r8d, 9
lea rdx, [0x1400173e0]
call fcn.140016628
test eax, eax
jne 0x14000efe0
movzx ecx, word [rdi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x190]
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_ZwQueryObject]
test eax, eax
js 0x14000efe0
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000efe0
mov r8, r15
lea rdx, [0x140017400]
call fcn.140016628
test eax, eax
je 0x14000f1f8
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14000f023
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14000f023
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x88], r14
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14000f069
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14000f069
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0xc8], r14
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14000f0af
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14000f0af
mov rax, qword [rcx]
lea rdx, [rbp + 0xd0]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x108], r14
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000f0f5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000f0f5
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x148], r14
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x14000f135
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x14000f135
mov rax, qword [rcx]
lea rdx, [rbp + 0x150]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
nop
inc rsi
add rdi, 0x18
mov eax, dword [rbx]
cmp rsi, rax
jb 0x14000eb55
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x30]
mov rbx, r14
cmp rdx, r15
jb 0x14000f184
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f17f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f35f
call fcn.14001343c
mov rax, rbx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400167f0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000f1f3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000f1f3
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
nop
jmp 0x14000f312
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14000f240
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14000f240
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x88], r14
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14000f286
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14000f286
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0xc8], r14
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14000f2cc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14000f2cc
mov rax, qword [rcx]
lea rdx, [rbp + 0xd0]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x108], r14
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000f312
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000f312
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
mov qword [rbp + 0x148], r14
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x14000f352
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400184d0]
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x14000f352
mov rax, qword [rcx]
lea rdx, [rbp + 0x150]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400184d0]
nop
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x30]
jmp 0x14000f152
call fcn.14001344c
int3