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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x5fdf54
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x5fe169
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 5
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4046c0]
call fcn.0040ba04
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 5
call sub.ntdll.dll_NtQuerySystemInformation
mov edx, eax
sub edx, 0xc0000004
je 0x5fdfb7
sub edx, 0x3ffffffc
je 0x5fdfb7
xor ebx, ebx
jmp 0x5fe14d
test eax, eax
jne 0x5fdf8b
mov ebx, dword [ebp - 4]
xor esi, esi
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x5fa2bc]
call fcn.0040ba04
add esp, 4
mov edi, esi
add edi, edi
add edi, edi
lea edi, [edi + edi*4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 4]
mov dword [eax + edi*8], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x20]
mov dword [eax + edi*8 + 4], edx
mov edx, dword [ebx + 0x24]
mov dword [eax + edi*8 + 8], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x28]
mov dword [eax + edi*8 + 0xc], edx
mov edx, dword [ebx + 0x2c]
mov dword [eax + edi*8 + 0x10], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x30]
mov dword [eax + edi*8 + 0x14], edx
mov edx, dword [ebx + 0x34]
mov dword [eax + edi*8 + 0x18], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea eax, [eax + edi*8 + 0x1c]
mov edx, dword [ebx + 0x3c]
call fcn.0040a440
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x40]
mov dword [eax + edi*8 + 0x20], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x44]
mov dword [eax + edi*8 + 0x24], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x48]
mov dword [eax + edi*8 + 0x28], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x4c]
mov dword [eax + edi*8 + 0x2c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x50]
mov dword [eax + edi*8 + 0x30], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x54]
mov dword [eax + edi*8 + 0x34], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push esi
push edi
lea edi, [eax + edi*8 + 0x38]
lea esi, [ebx + 0x58]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x84]
mov dword [eax + edi*8 + 0x64], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push esi
push edi
lea edi, [eax + edi*8 + 0x68]
lea esi, [ebx + 0x88]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea eax, [eax + edi*8 + 0x98]
mov ecx, 1
mov edx, dword [0x5fa0bc]
call fcn.0040ba04
add esp, 4
mov eax, dword [ebx + 4]
dec eax
test eax, eax
jl 0x5fe13a
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, esi
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 0x98]
mov edx, dword [ebp - 0x10]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov ecx, dword [ebp - 0x10]
mov edi, ecx
shl ecx, 4
sub ecx, edi
push esi
lea edi, [eax + edx*4]
lea esi, [ebx + ecx*4 + 0xb8]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
pop esi
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x5fe0f6
inc esi
cmp dword [ebx], 0
je 0x5fe14b
mov eax, ebx
add eax, dword [ebx]
mov ebx, eax
jmp 0x5fdfc0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fe170
lea eax, [ebp - 4]
mov edx, dword [0x4046c0]
call fcn.0040bb28
ret