Function at 0x40c830
Capabilities:
Get number of processors
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c028
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
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
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
xor esi, esi
mov eax, dword [0x47ba0c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x47ba00]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], eax
mov eax, dword [0x47ba10]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xa4]
sub eax, 5
neg eax
sbb eax, eax
and eax, 0xc00
add eax, 0x400
or eax, 0x100000
mov dword [ebp - 0xc8], eax
cmp esi, 0x32
jae 0x40ca6c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
cmp eax, 1
jbe 0x40ca34
cmp eax, 2
je 0x40c8ed
push 0x64
call edi
inc esi
jmp 0x40c8c3
lea eax, [ebp - 0x34]
push eax
call fcn.0040cf30
test al, al
jne 0x40c938
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x40c906
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push str._EAC_Service___Error___s
push eax
call fcn.00411e60
add esp, 0xc
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
jb 0x40c924
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x4c]
call fcn.00401520
jmp 0x40caae
mov eax, dword [0x47ba18]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp esi, 0x32
jae 0x40c9f8
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
cmp eax, 1
jbe 0x40c9cc
cmp eax, 2
je 0x40c968
push 0x64
call edi
inc esi
jmp 0x40c942
mov eax, dword [0x47ba08]
mov esi, dword [eax]
test esi, esi
je 0x40c998
push esi
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40c998
mov ecx, dword [0x47ba0c]
mov edx, eax
call fcn.0040cae0
jmp 0x40caae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea eax, [ebp - 0x64]
push str._EAC_Service___Error__OpenProcess_failed_with__i._ProcessId:__i.
push eax
call fcn.00411d70
add esp, 0x10
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
jb 0x40c9bd
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x64]
jmp 0x40caa9
lea eax, [ebp - 0x7c]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.00411d70
add esp, 8
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
jb 0x40c9e9
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x7c]
jmp 0x40caa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x94]
push str._EAC_Service___Error__WaitForMultipleObjects_failed_with__i.
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
jb 0x40ca25
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x94]
jmp 0x40caa9
lea eax, [ebp - 0xac]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.00411d70
add esp, 8
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
jb 0x40ca5d
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xac]
jmp 0x40caa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc4]
push str._EAC_Service___Error__WaitForMultipleObjects_failed_with__i.
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 0x10
jb 0x40ca9c
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xc4]
call fcn.00401680
lea ecx, [ebp - 0x34]
call fcn.00401520
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