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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455928
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x46f068]
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 [0x46faec]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x46fae0]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], eax
mov eax, dword [0x46faf0]
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 0x40b2ce
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
cmp eax, 1
jbe 0x40b268
cmp eax, 2
je 0x40b05d
push 0x64
call edi
inc esi
jmp 0x40b033
lea eax, [ebp - 0x34]
push eax
call fcn.0040b960
test al, al
jne 0x40b0d8
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x40b076
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push str._EAC_Service___Error___s
push eax
call fcn.004121b0
add esp, 0xc
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
jb 0x40b094
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x40b33b
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b38d
jmp 0x40b331
mov eax, dword [0x46faf8]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp esi, 0x32
jae 0x40b1fa
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call ebx
cmp eax, 1
jbe 0x40b19f
cmp eax, 2
je 0x40b10c
push 0x64
call edi
inc esi
jmp 0x40b0e2
mov eax, dword [0x46fae8]
mov esi, dword [eax]
test esi, esi
je 0x40b13c
push esi
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40b13c
mov ecx, dword [0x46faec]
mov edx, eax
call fcn.0040b3c0
jmp 0x40b33b
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.004120c0
add esp, 0x10
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
jb 0x40b161
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x40b33b
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b392
jmp 0x40b331
lea eax, [ebp - 0x7c]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.004120c0
add esp, 8
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
jb 0x40b1bc
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x40b33b
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b397
jmp 0x40b331
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.004120c0
add esp, 0xc
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
jb 0x40b227
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x40b33b
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b39c
jmp 0x40b331
lea eax, [ebp - 0xac]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.004120c0
add esp, 8
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
jb 0x40b291
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x40b33b
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3a1
jmp 0x40b331
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.004120c0
add esp, 0xc
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 0x10
jb 0x40b2fe
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0xb0]
cmp edx, 0x10
jb 0x40b33b
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3a6
push edx
push ecx
call fcn.00434e86
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x40b371
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b367
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3ab
push edx
push ecx
call fcn.00434e86
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.00434e45
mov esp, ebp
pop ebp
ret
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
int3