Function at 0x4c1988
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x4c1990
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4c1f44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4daa90]
mov eax, dword [eax]
mov eax, dword [eax + 0x448]
xor edx, edx
call fcn.00430124
mov byte [ebp - 0x15], 1
xor edx, edx
push ebp
push 0x4c1ef5
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4c1ee4
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 - 0x144], 0x128
xor ebx, ebx
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c1ab2
inc ebx
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.0040903c
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.004084b0
mov eax, dword [ebp - 0x148]
mov edx, 0x4c1f5c
call fcn.00404620
je 0x4c1a93
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.004084b0
mov eax, dword [ebp - 0x154]
mov edx, 0x4c1f5c
call fcn.00404620
jne 0x4c1a9c
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x144]
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 0x4c1a0f
lea ecx, [ebp - 0x15c]
mov edx, 4
mov eax, 0x4c1f74
call fcn.00430d00
mov eax, dword [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x160]
xor edx, edx
mov eax, 0x4c1fa4
call fcn.00430d00
mov edx, dword [ebp - 0x160]
pop eax
call fcn.00404620
jne 0x4c1b00
mov eax, 0x4c1fb4
call fcn.0042de6c
cmp ebx, dword [0x4dd398]
je 0x4c1ecd
mov eax, dword [0x4dd3b4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c1b92
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.004084b0
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0xc]
call fcn.004c0420
mov eax, dword [ebp - 0xc]
call fcn.004c0794
cmp al, 1
jne 0x4c1b7c
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4dd3b4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x144]
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 0x4c1b2e
lea eax, [ebp - 0x16c]
push eax
mov ecx, 0x4c1fc0
mov edx, 0x4c1fd0
mov eax, 0x4c1fdc
call fcn.00430c64
cmp dword [0x4dd398], 0
jne 0x4c1c06
mov eax, dword [0x4dd3b0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4dd3b4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c1c06
inc esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x170]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4dd3b4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x170]
mov eax, dword [0x4dd3b0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
dec esi
jne 0x4c1bdd
mov dword [0x4dd398], ebx
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c1e5f
lea eax, [ebp - 0x178]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.004084b0
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0xc]
call fcn.004c0420
mov eax, dword [ebp - 0xc]
call fcn.004c0794
cmp al, 1
jne 0x4c1e49
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 8]
jne 0x4c1e49
mov eax, dword [ebp - 0xc]
call fcn.004c05e0
test al, al
jne 0x4c1e49
call fcn.0040ac28
fstp qword [0x4dd3b8]
wait
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x13c]
call fcn.004c012c
jmp 0x4c1cb5
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x13c]
call fcn.004c012c
call fcn.0040ac28
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x4dd3bc]
push dword [0x4dd3b8]
call fcn.004b34d4
cmp edx, 0
jne 0x4c1ce0
cmp eax, 0x3e8
jae 0x4c1ce8
jmp 0x4c1ce2
jge 0x4c1ce8
cmp dword [ebp - 0x14], 0
je 0x4c1ca7
call fcn.0040ac28
fstp qword [0x4dd3b8]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x13c]
call fcn.004c1318
jmp 0x4c1d12
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x13c]
call fcn.004c1318
call fcn.0040ac28
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x4dd3bc]
push dword [0x4dd3b8]
call fcn.004b34d4
cmp edx, 0
jne 0x4c1d3d
cmp eax, 0x3e8
jae 0x4c1d45
jmp 0x4c1d3f
jge 0x4c1d45
cmp dword [ebp - 0x10], 0
je 0x4c1d04
cmp dword [ebp - 0x14], 0
je 0x4c1e49
cmp dword [ebp - 0x10], 0
je 0x4c1e49
mov eax, dword [ebp - 0x14]
call fcn.004c0d44
test al, al
jne 0x4c1ddd
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x14]
call fcn.004084b0
mov eax, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.004084b0
mov eax, dword [ebp - 0x180]
pop edx
call fcn.0040d7b4
test eax, eax
jle 0x4c1e49
mov eax, dword [ebp - 0x14]
call fcn.004044d4
mov ebx, eax
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x188]
call fcn.004044d4
sub ebx, eax
cmp ebx, 7
jge 0x4c1e49
lea eax, [ebp - 0x18c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x18c]
call fcn.00408e54
test al, al
je 0x4c1e49
mov eax, dword [ebp - 0x13c]
mov dword [0x4dd39c], eax
call fcn.0040ac28
fstp qword [0x4dd3a0]
wait
mov eax, 0x4dd3a8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404520
mov eax, 0x4dd3ac
mov edx, dword [ebp - 0xc]
call fcn.00404268
mov byte [ebp - 0x15], 0
mov eax, dword [0x4daa90]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
call fcn.004be408
jmp 0x4c1e67
lea eax, [ebp - 0x144]
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 0x4c1c27
mov eax, dword [0x4dd3b4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4c1e81
mov eax, dword [0x4dd3b0]
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x4c1ecd
mov eax, dword [0x4dd3b0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4dd3b4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c1ecd
inc esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4dd3b4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x190]
mov eax, dword [0x4dd3b0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
dec esi
jne 0x4c1ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1eeb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
ret