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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffea4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1154], ebx
mov dword [ebp - 0x1140], ebx
mov dword [ebp - 0x1144], ebx
mov dword [ebp - 0x1148], ebx
mov dword [ebp - 0x114c], ebx
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x132470c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 1
xor eax, eax
push ebp
push 0x13247045
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 5
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [ebp - 0x20], 0
jbe 0x1324703b
push 4
push 0x3000
mov eax, dword [ebp - 0x20]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x13247029
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x44]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x1324700e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
je 0x13246ff7
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1028]
mov ecx, 0x1004
mov eax, dword [ebp - 0x14]
call fcn.131e0608
test eax, eax
je 0x13246ff7
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x44]
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x1028]
mov eax, dword [ebp - 0x14]
call fcn.13246c3c
mov eax, dword [ebp - 8]
call fcn.1324eb38
push edx
push eax
lea eax, [ebp - 4]
call fcn.13149bf0
push 0x105
lea ecx, [ebp - 0x112d]
mov edx, dword [ebp - 0x1028]
mov eax, dword [ebp - 0x14]
call fcn.131e0638
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.13149cac
test eax, eax
jle 0x13246ff7
push 0
push 0
lea eax, [ebp - 0x113c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov ax, 0x2b60
call fcn.13219eb0
lea edx, [ebp - 0x1140]
lea eax, [ebp - 0x113c]
call fcn.13219cec
lea eax, [ebp - 0x1140]
push eax
lea edx, [ebp - 0x114c]
lea eax, [ebp - 0x112d]
call fcn.1314a9b4
push dword [ebp - 0x114c]
push 0x132470d8
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1150]
call fcn.13149bf0
push dword [ebp - 0x1150]
push 0x132470d8
push dword [ebp - 4]
push 0x132470d8
push dword [ebp - 8]
lea eax, [ebp - 0x1148]
mov edx, 7
call fcn.13144fcc
mov eax, dword [ebp - 0x1148]
lea edx, [ebp - 0x1144]
call fcn.13219d78
mov edx, dword [ebp - 0x1144]
pop eax
call fcn.13144f04
mov edx, dword [ebp - 0x1140]
mov eax, dword [ebp - 0xc]
call fcn.132458b0
inc dword [ebp - 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13247015
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
ret
push 0x8000
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x13247097
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x132470c9
lea eax, [ebp - 0x1154]
mov edx, 6
call fcn.13144c4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144c4c
ret