Function at 0x4c1a20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca2c6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0x14], 0x400
lea ecx, [ebp - 0x24]
call fcn.004042d0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x48]
push ecx
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x102
je 0x4c1ab8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, dword [ebp - 0x8c]
jmp 0x4c1fd0
push 0x400
lea ecx, [ebp - 0x64]
call fcn.00404330
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x28]
push edx
push 0x1000
push 0
lea ecx, [ebp - 0x64]
call fcn.0040acf0
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4c1b25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, dword [ebp - 0x90]
jmp 0x4c1fd0
mov eax, dword [ebp - 0x28]
shr eax, 2
push eax
push str.Total_ProcessCount___d_n
call fcn.0048f0ab
add esp, 8
mov ecx, dword [ebp - 0x28]
shr ecx, 2
push ecx
lea ecx, [ebp - 0x64]
call fcn.00404580
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x64]
call fcn.00414780
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00408a60
mov edx, dword [eax]
push edx
call fcn.00405740
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.00404650
movzx eax, al
test eax, eax
je 0x4c1bae
mov ecx, dword [ebp - 0xe4]
movzx edx, byte [ecx + 0x3e]
test edx, edx
jne 0x4c1bae
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x24]
call fcn.00404400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
jmp 0x4c1a6f
lea ecx, [ebp - 0x64]
call fcn.004098b0
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.004098b0
cmp esi, eax
jne 0x4c1c00
mov ecx, dword [ebp - 0x28]
push ecx
push 0
lea ecx, [ebp - 0x24]
call fcn.0040acf0
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.0040acf0
push eax
call fcn.0048f344
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x4c1c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
jmp 0x4c1a6f
push 0x400
lea ecx, [ebp - 0x40]
call fcn.00404330
mov byte [ebp - 4], 3
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x40]
call fcn.00408a60
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00414780
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00408a60
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x64]
call fcn.00414780
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00408a60
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.00405780
add esp, 0x18
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00408a60
jmp 0x4c1c96
push 0
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x70]
call fcn.00404690
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040ae40
movzx ecx, al
test ecx, ecx
je 0x4c1d8a
lea ecx, [ebp - 0x70]
call fcn.00404670
mov edx, dword [eax]
mov dword [ebp - 0x7c], edx
push 1
lea ecx, [ebp - 0x70]
call fcn.00404670
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0xe4]
call fcn.004c1980
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x4c1d17
mov dword [ebp - 0xb4], 0x4c7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004043a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, dword [ebp - 0xb4]
jmp 0x4c1fd0
push 0
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x102
je 0x4c1d70
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004043a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, dword [ebp - 0xb8]
jmp 0x4c1fd0
lea ecx, [ebp - 0x40]
call fcn.004098b0
cmp eax, 0x32
jbe 0x4c1d85
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4c1c85
push 0x400
lea ecx, [ebp - 0x50]
call fcn.00404330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00408a60
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x64]
call fcn.00414780
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x64]
call fcn.00408a60
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00414780
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x24]
call fcn.00408a60
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00405780
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408a60
jmp 0x4c1e20
push 0
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x80]
call fcn.00404690
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x80]
call fcn.0040ae40
movzx eax, al
test eax, eax
je 0x4c1f2e
push 0
lea ecx, [ebp - 0x80]
call fcn.00404670
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0xe4]
call fcn.004c1980
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x4c1ea6
mov dword [ebp - 0xd4], 0x4c7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.004043a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004043a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, dword [ebp - 0xd4]
jmp 0x4c1fd0
push 0
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x102
je 0x4c1f14
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.004043a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004043a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, dword [ebp - 0xd8]
jmp 0x4c1fd0
lea ecx, [ebp - 0x50]
call fcn.004098b0
cmp eax, 0x32
jbe 0x4c1f29
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4c1e0f
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x24]
call fcn.00404400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.004043a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004043a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004043a0
jmp 0x4c1a6f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret