Function at 0x40cae0
Capabilities:
Enumerate process modules
Get process image filename
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c072
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x474], edx
push 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push eax
mov dword [ebp - 0x47c], ebx
push esi
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x480], esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne byte [ebp - 0x469]
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x484]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x40cd3c
sub eax, 1
jne 0x40ccf8
cmp byte [ebp - 0x469], al
je 0x40ccbb
mov dword [ebp - 0x428], eax
lea ecx, [ebp - 0x438]
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 7
call fcn.00401590
mov dword [ebp - 4], 0
or ebx, 1
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x470], esi
push 0x2000
mov ebx, dword [eax + 0xa4]
sub ebx, 5
neg ebx
sbb ebx, ebx
and ebx, 0xc00
add ebx, 0x400
or ebx, 0x100000
call fcn.0042238b
add esp, 4
mov dword [ebp - 0x478], eax
test eax, eax
je 0x40ccb3
lea ecx, [ebp - 0x470]
push ecx
push 0x2000
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x40cca5
xor edi, edi
test dword [ebp - 0x470], 0xfffffffc
jbe 0x40cc9f
jmp 0x40cc30
mov eax, dword [ebp - 0x478]
push dword [eax + edi*4]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40cc91
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x40cc88
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
jb 0x40cc74
mov eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0043f628
add esp, 8
test eax, eax
je 0x40cc9f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x470]
inc edi
shr eax, 2
cmp edi, eax
jb 0x40cc30
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x478]
call fcn.004220cb
add esp, 4
mov ebx, dword [ebp - 0x47c]
jmp 0x40ccbd
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x40ccd7
lea ecx, [ebp - 0x438]
and ebx, 0xfffffffe
call fcn.00401520
test esi, esi
je 0x40cd79
push dword [ebp - 0x474]
call edi
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x474], esi
jmp 0x40cb50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x450]
push str._EAC_Service___Error__WaitForMultipleObjects_failed_with__i.
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 0x10
jb 0x40cd28
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x450]
call fcn.00401680
jmp 0x40cd7f
lea eax, [ebp - 0x468]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.00411d70
add esp, 8
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x454], 0x10
jb 0x40cd65
mov eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x468]
call fcn.00401680
jmp 0x40cd7f
mov esi, dword [ebp - 0x474]
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret