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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
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 0x4a6660
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x4a68a1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00493940
mov dword [ebp - 0x14], eax
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 [0x4a661c]
call fcn.0040668c
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 0x4a66cb
sub edx, 0x3ffffffc
je 0x4a66cb
xor ebx, ebx
jmp 0x4a6885
test eax, eax
jne 0x4a669f
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 [0x4a5f64]
call fcn.0040668c
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.004050a8
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 [0x4a5f00]
call fcn.0040668c
add esp, 4
mov eax, dword [ebx + 4]
dec eax
test eax, eax
jl 0x4a684e
inc eax
mov dword [ebp - 0x18], 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 - 0x18]
jne 0x4a680a
inc esi
cmp dword [ebx], 0
je 0x4a6883
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebx]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, eax
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebp - 0x14]
jne 0x4a66d4
mov eax, dword [ebx + 0x48]
mov dword [0x4c49ec], eax
jmp 0x4a66d4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a68a8
lea eax, [ebp - 4]
mov edx, dword [0x4a661c]
call fcn.004067ac
ret