Function at 0x4e9e70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0
mov dword [ebp - 0x234], edi
push 2
mov dword [ebp - 0x234], edi
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4e9fd6
xor eax, eax
mov dword [edi], 0
xor esi, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4e9ed0
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x4e9f0e
mov dword [edi + 0x10], esi
add esi, esi
push esi
push 0
push edi
call fcn.00570d00
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
ret
cmp esi, 0x7ffffffe
ja 0x4ea1b5
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x4e9f38
mov dword [ebp - 0x234], SysStringLen
mov eax, 0xfffffffe
jmp 0x4e9f5f
mov eax, 0xa
cmp ebx, eax
cmovb ebx, eax
mov dword [ebp - 0x234], ebx
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x4ea18e
add eax, eax
cmp eax, 0x1000
jb 0x4e9f86
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4ea18e
push ecx
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4ea193
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4e9fa1
test eax, eax
je 0x4e9f9f
push eax
call fcn.005a1c68
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ea1a4
jmp 0x4e9fa1
xor ebx, ebx
mov eax, dword [ebp - 0x234]
mov dword [edi + 0x10], esi
add esi, esi
push esi
push 0
push ebx
mov dword [edi + 0x14], eax
call fcn.00570780
add esp, 0xc
mov dword [edi], ebx
xor eax, eax
mov word [esi + ebx], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x4ea022
cmp ebx, dword [ebp - 0x228]
je 0x4ea058
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x4ea008
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov dword [edi], 0
lea esi, [ebp - 0x20c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
lea ecx, [esi + 2]
mov word [edi], ax
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4ea081
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x4ea0c4
mov dword [edi + 0x10], esi
lea eax, [ebp - 0x20c]
add esi, esi
push esi
push eax
push edi
call fcn.00570d00
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
ret
cmp esi, 0x7ffffffe
ja 0x4ea1b5
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x4ea0e9
mov ebx, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4ea10a
mov eax, 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x4ea18e
add eax, eax
cmp eax, 0x1000
jb 0x4ea12f
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4ea18e
push ecx
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4ea1ba
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4ea14e
test eax, eax
je 0x4ea14c
push eax
call fcn.005a1c68
add esp, 4
mov dword [ebp - 0x234], eax
test eax, eax
je 0x4ea1cb
jmp 0x4ea154
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [edi + 0x10], esi
lea ecx, [ebp - 0x20c]
add esi, esi
mov dword [edi + 0x14], ebx
push esi
push ecx
push eax
call fcn.00570780
mov eax, dword [ebp - 0x234]
add esp, 0xc
xor ecx, ecx
mov dword [edi], eax
mov word [esi + eax], cx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
mov esp, ebp
pop ebp
ret
call fcn.00407541
push 0x630328
lea eax, [ebp - 0x235]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x236]
push eax
call fcn.0057134b
call fcn.004072dc
push 0x630328
lea eax, [ebp - 0x236]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x235]
push eax
call fcn.0057134b
int3