Function at 0x140026850
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov dword [rsp + 0x50], 0xc0000001
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x78], 0
jmp 0x140026897
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xa
jae 0x1400269b6
mov dword [rsp + 0x50], 0xc0000001
mov dword [rsp + 0x44], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
xor edx, edx
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov eax, dword [rsp + 0x44]
mov r8d, 0x6e556353
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140026926
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa0]
mov r8d, 0xee7
lea rdx, [0x1400740b0]
lea rcx, [0x1400740d0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x68]
jmp 0x140026b2f
mov eax, dword [rsp + 0x44]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14006fe40
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x48]
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140026960
jmp 0x1400269b6
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa0]
mov r8d, 0xef1
lea rdx, [0x1400740b0]
lea rcx, [0x140074110]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x48], 0
jmp 0x14002688a
cmp qword [rsp + 0x48], 0
jne 0x140026a03
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa0]
mov r8d, 0xef8
lea rdx, [0x1400740b0]
lea rcx, [0x140074110]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x68]
jmp 0x140026b2f
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x140026a56
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
test rax, rax
je 0x140026acc
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x40], 0
je 0x140026ac7
mov rax, qword [rsp + 0x58]
add rax, 0x38
mov r8b, 1
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x140026ac7
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x50]
call fcn.140029000
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140026ab4
mov dword [rsp + 0x60], 1
jmp 0x140026abc
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x40], al
jmp 0x140026acc
jmp 0x140026a3f
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140026af6
mov r9, qword [rsp + 0xa0]
mov r8d, 0xf11
lea rdx, [0x1400740b0]
lea rcx, [0x140074160]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140026b1d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x68]
add rsp, 0x90
pop rdi
ret