Function at 0x4ea055
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eef6
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.004b7da0
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.0043c176
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x4ea15f
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 0x4ea408
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0044739d
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x4ea1be
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 0x4ea408
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4ea3c8
and dword [ebp - 0x4a4], 0
push 0x228
push 0
lea eax, [ebp - 0x4a0]
push eax
call fcn.004b7da0
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 0x4ea3bf
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.0042ab1a
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044739d
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 0x4ea2af
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x4c0]
call fcn.0041bda0
mov byte [ebp - 4], 3
jmp 0x4ea3a8
lea ecx, [ebp - 0x4c0]
call fcn.0041be35
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x260], 8
jb 0x4ea2d7
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x518], eax
jmp 0x4ea2e3
lea eax, [ebp - 0x274]
mov dword [ebp - 0x518], eax
push dword [ebp - 0x508]
push dword [ebp - 0x518]
call fcn.00512841
pop ecx
pop ecx
test eax, eax
jne 0x4ea391
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 0x4ea391
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 0x4ea347
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x51c], eax
jmp 0x4ea353
lea eax, [ebp - 0x258]
mov dword [ebp - 0x51c], eax
push dword [ebp - 0x51c]
lea eax, [ebp - 0x23c]
push eax
call fcn.00512841
pop ecx
pop ecx
test eax, eax
jne 0x4ea384
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0x4c0]
call fcn.0041bda0
mov byte [ebp - 4], 3
jmp 0x4ea3bf
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 0x4ea212
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.004b2f5a
leave
ret