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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x38], 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x90]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14001263d
mov rax, qword [rsp + 0x38]
add rax, 0x1000
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rsp + 0x28], rax
jmp 0x1400125f2
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x28], 0
je 0x140012674
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x50], 4
je 0x140012674
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140012647
mov rax, qword [rsp + 0x28]
add rax, 0x100
mov qword [rsp + 0x40], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400463e4], eax
jle 0x1400126d6
lea rcx, [0x1400463e4]
call fcn.1400160b0
cmp dword [0x1400463e4], 0xffffffff
jne 0x1400126d6
lea rcx, [0x14002c730]
call fcn.1400123d0
mov qword [0x1400463d0], rax
lea rcx, [0x1400463e4]
call fcn.140016050
lea r8, str.xxxxx____xxx____xxx
lea rdx, [0x14002c758]
lea rcx, [rsp + 0x98]
call fcn.1400129f0
lea rcx, [rsp + 0x98]
call fcn.140002340
mov rcx, rax
call fcn.14000ac80
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x98]
call fcn.140002340
mov rcx, rax
call fcn.14000aca0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov eax, dword [rax + 0x13]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [0x1400463d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
lea rax, [rax + rcx + 0x17]
mov qword [rsp + 0x78], rax
lea r8, [0x14002c770]
lea rdx, [0x14002c780]
lea rcx, [rsp + 0xa8]
call fcn.140012f80
lea rcx, [rsp + 0xa8]
call fcn.140002340
mov rcx, rax
call fcn.14000ac80
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa8]
call fcn.140002340
mov rcx, rax
call fcn.14000aca0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov eax, dword [rax + 1]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [0x1400463d0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx]
lea rax, [rax + rcx + 5]
mov qword [rsp + 0x80], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14004634c], eax
jle 0x140012835
lea rcx, [0x14004634c]
call fcn.1400160b0
cmp dword [0x14004634c], 0xffffffff
jne 0x140012835
xor r8d, r8d
lea rdx, str.PsLookupThreadByThreadId
lea rcx, [0x14002c7b0]
call fcn.140002850
mov qword [0x1400463f8], rax
lea rcx, [0x14004634c]
call fcn.140016050
mov dword [rsp + 0x20], 0
jmp 0x140012849
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x20], eax
jae 0x1400128b9
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x78]
cmp qword [rcx + rax + 0x20], rdx
jne 0x1400128b7
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
lea r9, [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx + rax + 0x30]
mov rdx, qword [0x1400463f8]
mov rcx, qword [rsp + 0xd0]
call fcn.14000aa40
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x88]
jmp 0x1400128c6
jmp 0x14001283f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140015f00
add rsp, 0xc8
ret