Function at 0x4ea159
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eff6
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x5b4a28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x206
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.004b7e80
add esp, 0xc
lea eax, [ebp - 0x4d9]
mov dword [ebp - 0x4d8], eax
lea eax, [ebp - 0x274]
mov dword [ebp - 0x50c], eax
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x274]
call fcn.0041bda0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x4e5]
mov dword [ebp - 0x4e4], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x510], eax
mov byte [ebp - 4], 2
push 0
push 0
lea ecx, [ebp - 0x258]
call fcn.0041bda0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
call fcn.0043c1ae
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x4ea263
or dword [ebp - 0x4c4], 0xffffffff
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.0041bda0
mov byte [ebp - 4], 1
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x274]
call fcn.0041bda0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c4]
jmp 0x4ea50c
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004473d5
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x4ea2c2
or dword [ebp - 0x4c8], 0xffffffff
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.0041bda0
mov byte [ebp - 4], 1
mov dword [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x274]
call fcn.0041bda0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c8]
jmp 0x4ea50c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4ea4cc
and dword [ebp - 0x4a4], 0
push 0x228
push 0
lea eax, [ebp - 0x4a0]
push eax
call fcn.004b7e80
add esp, 0xc
mov dword [ebp - 0x4a4], 0x22c
lea eax, [ebp - 0x4a4]
push eax
push dword [ebp - 0x34]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ea4c3
lea eax, [ebp - 0x4f1]
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x4c0]
mov dword [ebp - 0x514], eax
mov byte [ebp - 4], 8
push 0
push 0
lea ecx, [ebp - 0x4c0]
call fcn.0041bda0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042ab25
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004473d5
pop ecx
pop ecx
movzx eax, al
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x4c9], al
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041bda0
mov byte [ebp - 4], 9
movzx eax, byte [ebp - 0x4c9]
test eax, eax
je 0x4ea3b3
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x4c0]
call fcn.0041bda0
mov byte [ebp - 4], 3
jmp 0x4ea4ac
lea ecx, [ebp - 0x4c0]
call fcn.0041be35
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x260], 8
jb 0x4ea3db
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x518], eax
jmp 0x4ea3e7
lea eax, [ebp - 0x274]
mov dword [ebp - 0x518], eax
push dword [ebp - 0x508]
push dword [ebp - 0x518]
call fcn.00512941
pop ecx
pop ecx
test eax, eax
jne 0x4ea495
push dword [ebp - 0x49c]
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4ea495
push 0x104
lea eax, [ebp - 0x23c]
push eax
push 0
push dword [ebp - 0x30]
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp dword [ebp - 0x244], 8
jb 0x4ea44b
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x51c], eax
jmp 0x4ea457
lea eax, [ebp - 0x258]
mov dword [ebp - 0x51c], eax
push dword [ebp - 0x51c]
lea eax, [ebp - 0x23c]
push eax
call fcn.00512941
pop ecx
pop ecx
test eax, eax
jne 0x4ea488
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0x4c0]
call fcn.0041bda0
mov byte [ebp - 4], 3
jmp 0x4ea4c3
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xe
push 0
push 1
lea ecx, [ebp - 0x4c0]
call fcn.0041bda0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4a4]
push eax
push dword [ebp - 0x34]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ea316
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 0xf
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.0041bda0
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0x10
push 0
push 1
lea ecx, [ebp - 0x274]
call fcn.0041bda0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b303a
leave
ret