Function at 0x14000e3a0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov qword [rsp + 0x50], rax
mov r8d, 0x4b555341
mov edx, 0x100000
mov ecx, 0x40
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x78], 0
jne 0x14000e3fd
mov dword [rsp + 0x38], 1
jmp 0x14000e405
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
je 0x14000e433
xor r9d, r9d
mov r8d, 0x209
lea rdx, [0x140015400]
lea rcx, [0x1400155c0]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x48], 0
jmp 0x14000e43b
mov dword [rsp + 0x48], 1
cmp qword [rsp + 0x78], 0
jne 0x14000e44d
mov eax, 0xc000000d
jmp 0x14000e652
cmp qword [rsp + 0x30], 0
jne 0x14000e47a
lea r9, [0x1400155e0]
lea r8, [0x140015600]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc0000017
jmp 0x14000e652
xor r9d, r9d
mov r8d, 0x100000
mov rdx, qword [rsp + 0x30]
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14000e4b7
mov edx, 0x4b555341
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x20]
jmp 0x14000e652
cmp dword [rsp + 0x20], 0
jl 0x14000e509
mov dword [rsp + 0x20], 0xc0000225
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
cmp qword [rax + 0x50], rcx
jne 0x14000e4e2
mov dword [rsp + 0x20], 0
jmp 0x14000e509
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x14000e505
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14000e507
jmp 0x14000e509
jmp 0x14000e4c6
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x14000e523
mov dword [rsp + 0x3c], 1
jmp 0x14000e52b
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x24], al
cmp dword [rsp + 0x20], 0
jl 0x14000e606
mov dword [rsp + 0x20], 0xc0000225
mov dword [rsp + 0x28], 0
jmp 0x14000e55b
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x28], eax
jae 0x14000e604
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x50
mov qword [rsp + 0x58], rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
cmp qword [rcx + rdx + 0x130], rax
jne 0x14000e596
jmp 0x14000e551
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x50
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax + 0x130]
call qword [sym.imp.ntoskrnl.exe_PsLookupThreadByThreadId]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x14000e5fd
movzx edx, byte [rsp + 0x24]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.14000e870
movzx eax, al
test eax, eax
je 0x14000e5fd
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x78]
mov qword [rax], 0
jmp 0x14000e551
jmp 0x14000e604
jmp 0x14000e622
lea r9, [0x1400155e0]
lea r8, [0x140015640]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
nop
cmp qword [rsp + 0x40], 0
je 0x14000e63b
mov edx, 0x4b555341
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
jne 0x14000e64e
mov dword [rsp + 0x20], 0xc0000225
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret