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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x46f008]
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 dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 1
xor esi, esi
mov eax, dword [0x46fa8c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x46fa80]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], eax
mov eax, dword [0x46fa90]
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 - 0x50], eax
jmp 0x40aed0
cmp esi, 0x32
jae 0x40b064
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
sub eax, 0
je 0x40b048
sub eax, 1
je 0x40b048
sub eax, 1
je 0x40af03
push 0x64
call edi
inc esi
jmp 0x40aed0
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b690
test al, al
jne 0x40af7e
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
jb 0x40af1c
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push str._EAC_Service___Error___s
push eax
call fcn.004123f0
add esp, 0xc
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
jb 0x40af3a
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x40b091
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b087
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e3
jmp 0x40b087
mov eax, dword [0x46fa98]
xor esi, esi
mov dword [ebp - 0x14], eax
jmp 0x40af90
cmp esi, 0x32
jae 0x40b064
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
sub eax, 0
je 0x40b048
sub eax, 1
je 0x40b048
sub eax, 1
je 0x40afc3
push 0x64
call edi
inc esi
jmp 0x40af90
mov eax, dword [0x46fa88]
mov esi, dword [eax]
test esi, esi
je 0x40aff0
push esi
push 0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40aff0
mov ecx, dword [0x46fa8c]
mov edx, eax
call fcn.0040b0f0
jmp 0x40b091
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea eax, [ebp - 0x34]
push str._EAC_Service___Error__OpenProcess_failed_with__i._ProcessId:__i.
push eax
call fcn.00412330
add esp, 0x10
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
jb 0x40b015
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x40b091
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b087
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e8
jmp 0x40b087
lea eax, [ebp - 0x34]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.00412330
add esp, 8
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
jb 0x40b015
jmp 0x40b012
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x34]
push str._EAC_Service___Error__WaitForMultipleObjects_failed_with__i.
push eax
call fcn.00412330
add esp, 0xc
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
jb 0x40b015
jmp 0x40b012
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x40b0c7
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b0bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e8
push edx
push ecx
call fcn.0041fbbf
add esp, 8
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.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
call fcn.00439d3f
int3