Function at 0x14003f5b0
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 0x14003f60d
mov dword [rsp + 0x38], 1
jmp 0x14003f615
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
je 0x14003f643
xor r9d, r9d
mov r8d, 0x209
lea rdx, [0x140046b60]
lea rcx, [0x140046d10]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x48], 0
jmp 0x14003f64b
mov dword [rsp + 0x48], 1
cmp qword [rsp + 0x78], 0
jne 0x14003f65d
mov eax, 0xc000000d
jmp 0x14003f860
cmp qword [rsp + 0x30], 0
jne 0x14003f68a
lea r9, [0x140046d30]
lea r8, [0x140046d50]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc0000017
jmp 0x14003f860
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 0x14003f6c7
mov edx, 0x4b555341
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x20]
jmp 0x14003f860
cmp dword [rsp + 0x20], 0
jl 0x14003f719
mov dword [rsp + 0x20], 0xc0000225
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
cmp qword [rax + 0x50], rcx
jne 0x14003f6f2
mov dword [rsp + 0x20], 0
jmp 0x14003f719
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x14003f715
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 0x14003f717
jmp 0x14003f719
jmp 0x14003f6d6
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x14003f733
mov dword [rsp + 0x3c], 1
jmp 0x14003f73b
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x24], al
cmp dword [rsp + 0x20], 0
jl 0x14003f816
mov dword [rsp + 0x20], 0xc0000225
mov dword [rsp + 0x28], 0
jmp 0x14003f76b
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 0x14003f814
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 0x14003f7a6
jmp 0x14003f761
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 0x14003f80d
movzx edx, byte [rsp + 0x24]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.14003fa80
movzx eax, al
test eax, eax
je 0x14003f80d
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 0x14003f761
jmp 0x14003f814
jmp 0x14003f831
lea r9, [0x140046d30]
lea r8, [0x140046d90]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp qword [rsp + 0x40], 0
je 0x14003f849
mov edx, 0x4b555341
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
jne 0x14003f85c
mov dword [rsp + 0x20], 0xc0000225
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret