Function at 0x4c904c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x4c9054
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4c95cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e2cb4]
mov eax, dword [eax]
mov eax, dword [eax + 0x448]
xor edx, edx
call fcn.00432a78
mov byte [ebp - 0x11], 1
xor edx, edx
push ebp
push 0x4c957c
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4c956b
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 0x4c916c
inc ebx
lea eax, [ebp - 0x14c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040454c
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409238
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004086ac
mov eax, dword [ebp - 0x144]
mov edx, 0x4c95e4
call fcn.004046e8
je 0x4c9156
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040454c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004086ac
mov eax, dword [ebp - 0x150]
mov edx, 0x4c95e4
call fcn.004046e8
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 0x4c90d4
lea eax, [ebp - 0x158]
push eax
mov ecx, 0x4c95fc
mov edx, 0x4c960c
mov eax, 0x4c9618
call fcn.004335b8
cmp ebx, dword [0x4e53cc]
je 0x4c9554
mov eax, dword [0x4e53e8]
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 0x4c9221
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040454c
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.004086ac
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.004c7878
mov eax, dword [ebp - 8]
call fcn.004c7b80
cmp al, 1
jne 0x4c920b
mov edx, dword [ebp - 8]
mov eax, dword [0x4e53e8]
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 0x4c91bd
mov edx, 0x4c9648
mov eax, 0x4c9678
call fcn.0040d9b0
cmp dword [0x4e53cc], 0
jne 0x4c9289
mov eax, dword [0x4e53e4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4e53e8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c9289
inc esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x164]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4e53e8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x164]
mov eax, dword [0x4e53e4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec esi
jne 0x4c9260
mov dword [0x4e53cc], 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 0x4c94e6
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040454c
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.004086ac
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 8]
call fcn.004c7878
mov eax, dword [ebp - 8]
call fcn.004c7b80
cmp al, 1
jne 0x4c94d0
mov eax, dword [ebp - 0x128]
call fcn.004c88a8
test al, al
je 0x4c94d0
mov eax, dword [ebp - 8]
call fcn.004c79d0
test al, al
jne 0x4c94d0
call fcn.0040ae24
fstp qword [0x4e53ec]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x138]
call fcn.004c7624
jmp 0x4c933c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x138]
call fcn.004c7624
call fcn.0040ae24
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x4e53f0]
push dword [0x4e53ec]
call fcn.004b5e60
cmp edx, 0
jne 0x4c9367
cmp eax, 0x3e8
jae 0x4c936f
jmp 0x4c9369
jge 0x4c936f
cmp dword [ebp - 0x10], 0
je 0x4c932e
call fcn.0040ae24
fstp qword [0x4e53ec]
wait
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x138]
call fcn.004c875c
jmp 0x4c9399
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x138]
call fcn.004c875c
call fcn.0040ae24
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x4e53f0]
push dword [0x4e53ec]
call fcn.004b5e60
cmp edx, 0
jne 0x4c93c4
cmp eax, 0x3e8
jae 0x4c93cc
jmp 0x4c93c6
jge 0x4c93cc
cmp dword [ebp - 0xc], 0
je 0x4c938b
cmp dword [ebp - 0x10], 0
je 0x4c94d0
cmp dword [ebp - 0xc], 0
je 0x4c94d0
mov eax, dword [ebp - 0x10]
call fcn.004c8158
test al, al
jne 0x4c9464
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0x10]
call fcn.004086ac
mov eax, dword [ebp - 0x170]
push eax
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004045e8
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.004086ac
mov eax, dword [ebp - 0x174]
pop edx
call fcn.0040d9b0
test eax, eax
jle 0x4c94d0
mov eax, dword [ebp - 0x10]
call fcn.0040459c
mov ebx, eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004045e8
mov eax, dword [ebp - 0x17c]
call fcn.0040459c
sub ebx, eax
cmp ebx, 7
jge 0x4c94d0
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004045e8
mov eax, dword [ebp - 0x180]
call fcn.00409050
test al, al
je 0x4c94d0
mov eax, dword [ebp - 0x138]
mov dword [0x4e53d0], eax
call fcn.0040ae24
fstp qword [0x4e53d4]
wait
mov eax, 0x4e53dc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004045e8
mov eax, 0x4e53e0
mov edx, dword [ebp - 8]
call fcn.00404330
mov byte [ebp - 0x11], 0
mov eax, dword [0x4e2cb4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
call fcn.004c0da0
jmp 0x4c94ee
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 0x4c92aa
mov eax, dword [0x4e53e8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4c9508
mov eax, dword [0x4e53e4]
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x4c9554
mov eax, dword [0x4e53e4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4e53e8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c9554
inc esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x184]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4e53e8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x184]
mov eax, dword [0x4e53e4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec esi
jne 0x4c952b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9572
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
ret