Function at 0x14000246c
Capabilities:
Enumerate processes via ntquerysysteminformation
Find process by pid
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x838]
sub rsp, 0x910
mov rax, qword [0x140012450]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rax, qword [rcx]
lea r9, [rsp + 0x20]
xor edx, edx
mov qword [rcx + 8], rax
mov rdi, rcx
xor r12d, r12d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
lea esi, [rdx + 5]
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
lea r15d, [r12 + 1]
test eax, eax
jns 0x14000263c
mov edx, dword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rbx, rax
test rax, rax
je 0x14000263c
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x14000263c
xor edx, edx
lea rcx, [rbp + 0x3d0]
mov r8d, 0x428
call fcn.14000d740
mov rcx, qword [rbx + 0x50]
mov qword [rbp + 0x3d0], rcx
cmp word [rbx + 0x38], r12w
je 0x14000255c
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140002555
movzx r8d, word [rbx + 0x3a]
lea rcx, [rbp + 0x3da]
mov rdx, qword [rbx + 0x40]
call fcn.14000d400
mov rcx, qword [rbp + 0x3d0]
test rcx, 0xfffffffffffffffb
movzx eax, r12b
lea rdx, [rbp - 0x78]
cmove eax, r15d
mov byte [rbp + 0x3d8], al
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140002590
mov rcx, qword [rbp - 0x78]
mov qword [rbp + 0x7f0], rcx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rbp + 0x3d0]
lea r9, [rsp + 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x58]
mov dword [rsp + 0x58], 0x30
mov edx, 0x1fffff
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x70], 0x240
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x50], r12
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
js 0x14000261e
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140002b64
test al, al
je 0x14000261e
movzx r8d, word [rsp + 0x3a]
lea rcx, [rbp + 0x5e2]
mov rdx, qword [rsp + 0x40]
call fcn.14000d400
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140008b4c
lea rdx, [rbp + 0x3d0]
mov rcx, rdi
call fcn.1400023d0
cmp dword [rbx], r12d
je 0x14000263c
mov eax, dword [rbx]
add rbx, rax
jmp 0x14000250c
mov r13d, 8
mov qword [rsp + 0x28], r12
mov ebx, r13d
mov r15d, 0x3ffe
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140002837
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi]
jmp 0x1400026fc
mov rax, rdx
lea rcx, [rbp - 0x60]
mov r8, r13
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x140002683
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
cmp qword [rbp - 0x60], rbx
je 0x140002837
add rdx, 0x428
cmp rdx, qword [rdi + 8]
jne 0x140002679
lea rdx, [0x14000d8a0]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rcx, qword [rsp + 0x28]
mov r14d, dword [rax + 3]
sub r14d, r13d
add rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140002837
mov rsi, qword [rsp + 0x28]
cmp qword [r14 + rsi], r12
je 0x140002837
xor edx, edx
lea rcx, [rbp + 0x3d8]
mov r8d, 0x418
call fcn.14000d740
mov rcx, rsi
mov qword [rbp + 0x3d0], rbx
mov qword [rbp + 0x7f0], rsi
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
lea r9, [rsp + 0x48]
mov edx, 0x1fffff
lea r8, [rsp + 0x58]
movsd xmm0, qword [rax]
movsd qword [rbp + 0x3da], xmm0
xorps xmm0, xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x3e2], ecx
movzx ecx, word [rax + 0xc]
mov word [rbp + 0x3e6], cx
lea rcx, [rsp + 0x30]
mov al, byte [rax + 0xe]
mov byte [rbp + 0x3e8], al
mov dword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x70], 0x240
mov qword [rsp + 0x68], r12
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r12
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
js 0x140002828
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140002b64
test al, al
je 0x140002828
movzx r8d, word [rsp + 0x3a]
lea rcx, [rbp + 0x5e2]
mov rdx, qword [rsp + 0x40]
call fcn.14000d400
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140008b4c
lea rdx, [rbp + 0x3d0]
mov rcx, rdi
call fcn.1400023d0
add rbx, 4
sub r15, 1
jne 0x140002650
mov rcx, rdi
call fcn.140002ab0
mov rcx, qword [rdi + 8]
movabs rax, 0x7b301ecc07b301ed
sub rcx, qword [rdi]
imul rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp qword [rdi + 0x20], rdx
je 0x140002a7d
mov rbx, qword [rdi + 0x18]
mov rbx, qword [rbx]
jmp 0x140002a73
mov rsi, qword [rbx + 0x20]
mov rdx, qword [rdi]
jmp 0x140002914
mov rax, rdx
lea rcx, [rbp - 0x60]
mov r8, r13
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x14000289b
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
cmp qword [rbp - 0x60], rsi
je 0x140002a30
add rdx, 0x428
cmp rdx, qword [rdi + 8]
jne 0x140002891
xor edx, edx
lea rcx, [rbp + 0x3d8]
mov r8d, 0x418
call fcn.14000d740
mov rax, qword [rsp + 0x28]
lea rdx, [rsp + 0x28]
mov rcx, rsi
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x3d0], rsi
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140002a21
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
lea r9, [rsp + 0x48]
mov edx, 0x1fffff
lea r8, [rsp + 0x58]
movsd xmm0, qword [rax]
movsd qword [rbp + 0x3da], xmm0
xorps xmm0, xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x3e2], ecx
movzx ecx, word [rax + 0xc]
mov word [rbp + 0x3e6], cx
lea rcx, [rsp + 0x30]
mov al, byte [rax + 0xe]
mov byte [rbp + 0x3e8], al
mov dword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x70], 0x240
mov qword [rsp + 0x68], r12
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r12
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
js 0x140002a21
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140002b64
test al, al
je 0x140002a21
movzx r8d, word [rsp + 0x3a]
lea rcx, [rbp + 0x5e2]
mov rdx, qword [rsp + 0x40]
call fcn.14000d400
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140008b4c
lea rdx, [rbp + 0x3d0]
mov rcx, rdi
call fcn.1400023d0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
je 0x140002a58
mov rax, qword [rbx + 8]
jmp 0x140002a4d
cmp rbx, qword [rax + 0x10]
jne 0x140002a53
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x140002a40
mov rbx, rax
jmp 0x140002a73
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], r12b
jne 0x140002a73
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], r12b
je 0x140002a64
cmp byte [rbx + 0x19], r12b
je 0x140002885
xor al, al
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.14000c300
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret