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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], 0
xor eax, eax
xor esi, esi
xor ebx, ebx
mov edi, str.NtQuerySystemInformation_SystemProcessInformation__failed
test eax, eax
je 0x453330
nop dword [eax]
push eax
push esi
call sym._realloc
add esp, 8
mov esi, eax
mov eax, dword [esp]
jmp 0x453332
xor eax, eax
mov ecx, esp
push ecx
push eax
push esi
push 5
call sym._NtQuerySystemInformation_16
test eax, eax
jns 0x453362
cmp eax, 0xc0000004
jne 0x453385
cmp ebx, 3
ja 0x45337f
mov eax, dword [esp]
mov ecx, 0x398
add eax, ecx
mov dword [esp], eax
inc ebx
test eax, eax
jne 0x453310
jmp 0x453330
mov eax, dword [esi]
test eax, eax
je 0x45338b
mov ebp, 1
mov ecx, esi
nop
inc ebp
lea edx, [ecx + eax]
mov eax, dword [ecx + eax]
mov ecx, edx
test eax, eax
jne 0x453370
xor edi, edi
test esi, esi
jne 0x453392
jmp 0x45339b
test esi, esi
jne 0x453392
jmp 0x45339b
xor edi, edi
mov ebp, 1
push esi
call sym._free
add esp, 4
test edi, edi
mov ecx, dword [esp + 0x20]
je 0x45344d
test ecx, ecx
mov eax, dword [esp + 0x24]
je 0x4534f9
test eax, eax
je 0x4534f9
mov eax, dword [eax]
not eax
test al, 7
jne 0x4534f9
lea ebx, [ecx + 0x28]
mov esi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x453501
lea eax, [esi + 0x30]
mov dword [ebx], eax
test esi, esi
mov ebp, dword [esp + 0x24]
je 0x4534f9
mov ebx, dword [ebp + 1]
lea eax, [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esi + 4], 0
mov dword [esi], 0x50d
mov dword [esi + 8], 0x4f5985
push edi
call sym._strlen
add esp, 4
mov ecx, eax
shr ecx, 0x18
shl eax, 8
or eax, 5
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], edi
test ebx, ebx
je 0x45351b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x10], esi
mov edx, dword [esp + 4]
jmp 0x4534db
test ecx, ecx
mov eax, dword [esp + 0x24]
je 0x4534f9
test eax, eax
je 0x4534f9
mov eax, dword [eax]
not eax
test al, 7
jne 0x4534f9
lea edi, [ecx + 0x28]
mov esi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x453525
lea eax, [esi + 0x30]
mov dword [edi], eax
test esi, esi
mov eax, dword [esp + 0x24]
je 0x4534f9
mov ebx, dword [eax + 1]
lea edx, [esi + 0x18]
mov dword [esi + 4], 0
mov dword [esi], 0x60d
mov dword [esi + 8], 0x4f598b
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 4
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], 0
test ebx, ebx
je 0x45353f
mov ebp, eax
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x10], esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], edx
mov dword [ebp + 8], esi
inc ebx
movzx eax, byte [ebp]
mov ecx, ebx
shr ecx, 0x18
shl ebx, 8
or ebx, eax
mov dword [ebp + 4], ecx
mov dword [ebp], ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
add ecx, 4
push 2
push ecx
push ebx
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x4534f9
mov esi, dword [ebx]
jmp 0x4533e4
xor ebx, ebx
mov eax, esi
mov edx, dword [esp + 4]
jmp 0x4534db
add ecx, 4
push 2
push ecx
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x4534f9
mov esi, dword [edi]
jmp 0x45348a
xor ebx, ebx
mov ebp, eax
mov eax, esi
jmp 0x4534db