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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
lea r9, [rsp + 0x30]
mov ecx, 2
lea rdx, [rsp + 0x40]
mov r8d, 0x158
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor r14d, r14d
test eax, eax
jns 0x1400ae1f8
bts eax, 0x1c
jmp 0x1400ae3f1
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rdi, qword [rsi + 0xc0]
mov r12, rax
mov rbx, qword [rsi + 0xb8]
jmp 0x1400ae2c2
cmp dword [rbx + 0x10], 2
jne 0x1400ae295
mov r15, qword [rbx + 8]
cmp byte [rbx + 0x14], r14b
je 0x1400ae278
cmp qword [rbx + 0x18], r14
je 0x1400ae253
cmp r12, qword [rbx + 0x18]
je 0x1400ae253
mov rax, qword [rsp + r15 + 0x40]
mov rcx, r12
sub rax, qword [rbx + 0x20]
xor edx, edx
sub rcx, qword [rbx + 0x18]
imul rax, rax, 0x3e8
div rcx
mov qword [rsp + 0x28], rax
jmp 0x1400ae258
mov qword [rsp + 0x28], r14
mov rdx, qword [rbx]
lea r8, [rsp + 0x28]
lea rcx, [rsi + 0x60]
call fcn.14005abd8
mov qword [rbx + 0x18], r12
mov rax, qword [rsp + r15 + 0x40]
mov qword [rbx + 0x20], rax
jmp 0x1400ae2be
mov rax, qword [rsp + r15 + 0x40]
lea rcx, [rsi + 0x60]
mov rdx, qword [rbx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], rax
call fcn.14005abd8
jmp 0x1400ae2be
cmp dword [rbx + 0x10], r14d
jne 0x1400ae2be
cmp byte [rbx + 0x14], r14b
jne 0x1400ae2be
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x20]
mov rdx, qword [rbx]
mov ecx, dword [rsp + rax + 0x40]
mov dword [rsp + 0x20], ecx
lea rcx, [rsi + 0x60]
call fcn.14005aa4c
add rbx, 0x28
cmp rbx, rdi
jne 0x1400ae214
lea rbx, [rsi + 0x28]
movabs rdi, 0x2aaaaaaaaaaaaaab
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x20]
sub rcx, qword [rbx]
mov rax, rdi
imul rcx
mov r15d, 8
sar rdx, 3
mov ecx, r15d
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea r8d, [rdx + rdx*2]
shl r8d, 4
neg rdx
sbb rdx, rdx
and rdx, qword [rbx]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400ae371
mov ecx, dword [rsp + 0x20]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rcx, rbx
shr rdx, 5
call fcn.1400ae424
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x20]
sub rcx, qword [rbx]
mov rax, rdi
imul rcx
mov ecx, r15d
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea r8d, [rdx + rdx*2]
mov rdx, qword [rbx]
shl r8d, 4
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1400ae3d7
mov rax, qword [rbx]
mov r8, r14
mov r9, r14
jmp 0x1400ae392
mov rcx, qword [rax + 0x10]
add rcx, qword [rax + 8]
add r9, qword [rax]
add r8, rcx
add rax, 0x30
cmp rax, qword [rbx + 8]
jne 0x1400ae380
mov rcx, r8
sub rcx, qword [rsi + 0x40]
je 0x1400ae3b5
mov rax, qword [rsi + 0x48]
sub rax, r9
imul rax, rax, 0x64
cqo
idiv rcx
lea r14d, [rax + 0x64]
mov qword [rsi + 0x40], r8
lea rcx, [rsi + 0x60]
lea r8, [rsp + 0x28]
mov dword [rsp + 0x28], r14d
lea rdx, str.CpuLoad
mov qword [rsi + 0x48], r9
call fcn.14005aa4c
lea rcx, [rsi + 0xe8]
call fcn.1400b3f28
lea rcx, [rsi + 0x170]
call fcn.1400b44a0
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret