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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451808
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x46b008]
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 [0x46b8ac]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x46b8a0]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], eax
mov eax, dword [0x46b8b0]
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 0x40bb9e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
cmp eax, 1
jbe 0x40bb38
cmp eax, 2
je 0x40b92d
push 0x64
call edi
inc esi
jmp 0x40b903
lea eax, [ebp - 0x34]
push eax
call fcn.0040c230
test al, al
jne 0x40b9a8
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x40b946
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push str._EAC_Service___Error___s
push eax
call fcn.004123b0
add esp, 0xc
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
jb 0x40b964
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x40bc0b
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc5d
jmp 0x40bc01
mov eax, dword [0x46b8b8]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp esi, 0x32
jae 0x40baca
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
cmp eax, 1
jbe 0x40ba6f
cmp eax, 2
je 0x40b9dc
push 0x64
call edi
inc esi
jmp 0x40b9b2
mov eax, dword [0x46b8a8]
mov esi, dword [eax]
test esi, esi
je 0x40ba0c
push esi
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40ba0c
mov ecx, dword [0x46b8ac]
mov edx, eax
call fcn.0040bc90
jmp 0x40bc0b
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.004122c0
add esp, 0x10
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
jb 0x40ba31
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x40bc0b
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc62
jmp 0x40bc01
lea eax, [ebp - 0x7c]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.004122c0
add esp, 8
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
jb 0x40ba8c
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x40bc0b
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc67
jmp 0x40bc01
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.004122c0
add esp, 0xc
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
jb 0x40baf7
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x40bc0b
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc6c
jmp 0x40bc01
lea eax, [ebp - 0xac]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.004122c0
add esp, 8
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
jb 0x40bb61
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x40bc0b
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc71
jmp 0x40bc01
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.004122c0
add esp, 0xc
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 0x10
jb 0x40bbce
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0xb0]
cmp edx, 0x10
jb 0x40bc0b
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc76
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x40bc41
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc7b
push edx
push ecx
call fcn.0041b657
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.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3