Function at 0x4c5fd8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x28
call fcn.004d368d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 0x24
push ebx
push 0x108
call fcn.004d368d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x707eaf
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 0x80000301
push 0
push 0xa
push 1
mov ebx, 0x1c
mov eax, 0x4e2cd0
call fcn.004d3a40
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4c6075
push ebx
call fcn.004d36a5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0
push 0xf
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4c60ac
push 0x4b
push 0x4010a1f
push 6
call fcn.004d3693
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c60be
jmp 0x4c65e6
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x128
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.004d368d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_Process32First]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4c6184
push 0x113
push 0x4010a1f
push 6
call fcn.004d3693
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004d39c0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4c6215
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4c6213
imul eax, dword [edi]
jmp 0x4c6208
mov ecx, eax
cmp ecx, 0x100
jle 0x4c6222
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.004d36a5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4c65ba
cmp dword [ebp + 8], 0
jne 0x4c62de
mov ebx, dword [ebp - 0xc]
add ebx, 0x24
mov dword [ebp - 0x18], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.004d3c00
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
mov ebx, 0x108
call fcn.004d6640
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.004bbf89
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4c62bd
push ebx
call fcn.004d36a5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c62cd
push ebx
call fcn.004d36a5
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x4c62de
mov eax, 1
jmp 0x4c62e3
mov eax, 0
test eax, eax
je 0x4c6398
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.004d3c00
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x707ea4
push dword [ebp - 4]
mov ecx, 3
call fcn.004bbcfb
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4c6340
push ebx
call fcn.004d36a5
add esp, 4
push 0x80000301
push 0
push 1
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4c636b
mov eax, 0x6dc6f2
push eax
push 3
mov ebx, 0x2c0
call fcn.004d66e0
add esp, 0x28
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4c638e
push ebx
call fcn.004d36a5
add esp, 4
jmp 0x4c65ba
cmp dword [ebp + 8], 0
je 0x4c6445
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.004d3c00
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x707ea4
push dword [ebp - 4]
mov ecx, 3
call fcn.004bbcfb
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4c63f7
push ebx
call fcn.004d36a5
add esp, 4
push 0x80000301
push 0
push 1
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4c6422
mov eax, 0x6dc6f2
push eax
push 3
mov ebx, 0x2c0
call fcn.004d66e0
add esp, 0x28
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4c6445
push ebx
call fcn.004d36a5
add esp, 4
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.004d368d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_Process32Next]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4c64fc
push 0x35c
push 0x4010a1f
push 6
call fcn.004d3693
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004d39c0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4c658d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4c658b
imul eax, dword [edi]
jmp 0x4c6580
mov ecx, eax
cmp ecx, 0x100
jle 0x4c659a
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.004d36a5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x4c623d
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [0x716f40]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4c65e6
push 0x392
push 0x4010a1f
push 6
call fcn.004d3693
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4c65f6
push ebx
call fcn.004d36a5
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004d36a5
add esp, 4
pop ebx
call fcn.004d36a5
add esp, 4
mov esp, ebp
pop ebp
ret 4