Function at 0x4c9a10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x4c9a18
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4c9f9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e4ac4]
mov eax, dword [eax]
mov eax, dword [eax + 0x448]
xor edx, edx
call fcn.00430b50
mov byte [ebp - 0x11], 1
xor edx, edx
push ebp
push 0x4c9f4b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4c9f3a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x140], 0x128
xor ebx, ebx
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c9b2f
inc ebx
lea eax, [ebp - 0x14c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409060
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004084d4
mov eax, dword [ebp - 0x144]
mov edx, 0x4c9fb0
call fcn.00404620
je 0x4c9b19
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004084d4
mov eax, dword [ebp - 0x150]
mov edx, 0x4c9fb0
call fcn.00404620
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4c9a97
lea eax, [ebp - 0x158]
push eax
mov ecx, 0x4c9fc8
mov edx, 0x4c9fd8
mov eax, 0x4c9fe4
call fcn.00431690
cmp ebx, dword [0x4e739c]
je 0x4c9f23
mov eax, dword [0x4e73b8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c9be4
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.004084d4
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.004c8218
mov eax, dword [ebp - 8]
call fcn.004c85bc
cmp al, 1
jne 0x4c9bce
mov edx, dword [ebp - 8]
mov eax, dword [0x4e73b8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4c9b80
lea eax, [ebp - 0x164]
push eax
mov ecx, 0x4ca014
mov edx, 0x4ca024
mov eax, 0x4ca030
call fcn.00431690
cmp dword [0x4e739c], 0
jne 0x4c9c58
mov eax, dword [0x4e73b4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4e73b8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c9c58
inc esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x168]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4e73b8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x168]
mov eax, dword [0x4e73b4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec esi
jne 0x4c9c2f
mov dword [0x4e739c], ebx
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c9eb5
lea eax, [ebp - 0x170]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call fcn.004084d4
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 8]
call fcn.004c8218
mov eax, dword [ebp - 8]
call fcn.004c85bc
cmp al, 1
jne 0x4c9e9f
mov eax, dword [ebp - 0x128]
call fcn.004c930c
test al, al
je 0x4c9e9f
mov eax, dword [ebp - 8]
call fcn.004c837c
test al, al
jne 0x4c9e9f
call fcn.0040ac4c
fstp qword [0x4e73bc]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x138]
call fcn.004c8000
jmp 0x4c9d0b
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x138]
call fcn.004c8000
call fcn.0040ac4c
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x4e73c0]
push dword [0x4e73bc]
call fcn.004b67e8
cmp edx, 0
jne 0x4c9d36
cmp eax, 0x3e8
jae 0x4c9d3e
jmp 0x4c9d38
jge 0x4c9d3e
cmp dword [ebp - 0x10], 0
je 0x4c9cfd
call fcn.0040ac4c
fstp qword [0x4e73bc]
wait
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x138]
call fcn.004c9184
jmp 0x4c9d68
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x138]
call fcn.004c9184
call fcn.0040ac4c
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x4e73c0]
push dword [0x4e73bc]
call fcn.004b67e8
cmp edx, 0
jne 0x4c9d93
cmp eax, 0x3e8
jae 0x4c9d9b
jmp 0x4c9d95
jge 0x4c9d9b
cmp dword [ebp - 0xc], 0
je 0x4c9d5a
cmp dword [ebp - 0x10], 0
je 0x4c9e9f
cmp dword [ebp - 0xc], 0
je 0x4c9e9f
mov eax, dword [ebp - 0x10]
call fcn.004c8b78
test al, al
jne 0x4c9e33
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x10]
call fcn.004084d4
mov eax, dword [ebp - 0x174]
push eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404520
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.004084d4
mov eax, dword [ebp - 0x178]
pop edx
call fcn.0040d7d8
test eax, eax
jle 0x4c9e9f
mov eax, dword [ebp - 0x10]
call fcn.004044d4
mov ebx, eax
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404520
mov eax, dword [ebp - 0x180]
call fcn.004044d4
sub ebx, eax
cmp ebx, 7
jge 0x4c9e9f
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404520
mov eax, dword [ebp - 0x184]
call fcn.00408e78
test al, al
je 0x4c9e9f
mov eax, dword [ebp - 0x138]
mov dword [0x4e73a0], eax
call fcn.0040ac4c
fstp qword [0x4e73a4]
wait
mov eax, 0x4e73ac
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404520
mov eax, 0x4e73b0
mov edx, dword [ebp - 8]
call fcn.00404268
mov byte [ebp - 0x11], 0
mov eax, dword [0x4e4ac4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
call fcn.004c1728
jmp 0x4c9ebd
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4c9c79
mov eax, dword [0x4e73b8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4c9ed7
mov eax, dword [0x4e73b4]
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x4c9f23
mov eax, dword [0x4e73b4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4e73b8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c9f23
inc esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x188]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4e73b8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x188]
mov eax, dword [0x4e73b4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec esi
jne 0x4c9efa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9f41
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
ret