Function at 0x4ec6d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5794c6
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4ec909
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401870
cmp eax, 4
jbe 0x4ec909
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4ec909
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ec8ff
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00568460
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401830
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.00569590
add esp, 8
mov byte [ebp - 4], 1
push 0x4c026f
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.004015c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044d3e0
add esp, 0x20
push 0x4c026f
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004015c0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0044d3e0
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x284]
call fcn.004048a0
push eax
call fcn.004c0290
add esp, 8
test eax, eax
je 0x4ec8c6
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
jmp 0x4ec8ff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ec77b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
jne 0x4ec94c
cmp dword [ebp + 8], 0
je 0x4ec94c
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401870
test eax, eax
je 0x4ec945
push 0x59bcd8
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401830
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4ec94c
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret