Function at 0x10013e30
Capabilities:
Enumerate processes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1008c820]
test al, 1
jne 0x10013e87
or eax, 1
push 2
push 0x1008c7f0
mov dword [0x1008c820], eax
call fcn.1001dbb3
push 0x1006bf30
call fcn.100264b7
add esp, 0xc
mov dword [ebp - 0x2d8], 0x1008c7f0
mov byte [ebp - 0x2d4], 0
push 0x1008c7f0
mov dword [ebp - 4], 0
call fcn.1001dbf9
mov esi, eax
add esp, 4
test esi, esi
je 0x10013ec2
cmp esi, 3
je 0x10013ec0
push esi
call fcn.1001e04a
add esp, 4
test esi, esi
sete al
mov byte [ebp - 0x2cd], al
test esi, esi
je 0x10013efb
mov dword [ebp - 4], 1
test al, al
je 0x10013ef4
push 0x1008c7f0
call fcn.1001dc2f
add esp, 4
test eax, eax
je 0x10013ef4
push eax
call fcn.1001e04a
add esp, 4
xor eax, eax
jmp 0x10014080
push 0x40
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.10043b10
add esp, 0xc
mov dword [ebp - 0xa0], 0x40
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10013f45
cmp byte [ebp - 0x2cd], 0
mov dword [ebp - 4], 2
jmp 0x10013ed8
push 0x228
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.10043b10
add esp, 0xc
mov dword [ebp - 0x2cc], 0x22c
lea eax, [ebp - 0x2cc]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10013fc2
nop word [eax + eax]
push dword [ebp - 0x2c4]
push 1
push 0x500
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10013fb1
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push esi
call sub.KERNEL32.dll_K32EmptyWorkingSet
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2cc]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10013f80
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1001d697
add eax, 0x989680
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.10026550
push 0
push 0x3b9aca00
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.10026690
push 0
push 0x3b9aca00
push edx
push eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.10026550
sub edi, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edi
movups xmm0, xmmword [ebp - 0x20]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.1001d5b9
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.10043b10
add esp, 0x10
mov dword [ebp - 0x60], 0x40
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x50]
sub esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [ebp - 0x8c]
shrd esi, eax, 0x14
cmp byte [ebp - 0x2cd], 0
mov dword [ebp - 4], 5
je 0x1001407e
push 0x1008c7f0
call fcn.1001dc2f
add esp, 4
test eax, eax
je 0x1001407e
push eax
call fcn.1001e04a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret