Function at 0x4ae6f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72a718
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x857060]
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 - 0x54], ecx
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
test dword [ebx + 0x14], 0x4000
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
je 0x4ae8e7
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.004b1610
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x34]
mov ebx, eax
test ecx, ecx
je 0x4ae77c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4ae77c
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.0044a8a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x50]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.0044ab30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x4ae7ff
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ae7f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae9be
push edx
push ecx
call fcn.006d0bf7
add esp, 8
push 0
lea ecx, [ebp - 0x50]
call fcn.0044a4f0
mov eax, dword [ebx]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x50]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.0044ab30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x4ae867
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ae85d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae9c3
push edx
push ecx
call fcn.006d0bf7
add esp, 8
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov ebx, dword [ebp - 0x50]
cmovae eax, ebx
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004b1810
add esp, 0x10
sub eax, 0
je 0x4ae8a1
sub eax, 1
je 0x4ae89c
mov byte [edi], 0
mov dword [esi], 2
jmp 0x4ae8a4
mov byte [edi], 1
jmp 0x4ae8a4
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x4ae97b
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4ae8d8
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae9c8
push ecx
push ebx
call fcn.006d0bf7
add esp, 8
jmp 0x4ae97b
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 4
push eax
push dword [ebx + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x54]
call fcn.004afa20
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov ebx, eax
test ecx, ecx
je 0x4ae930
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4ae930
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x4ae93b
mov byte [edi], 0
jmp 0x4ae975
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.006c1847
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x54], eax
je 0x4ae972
cmp dword [ebp - 0x34], 0
jne 0x4ae972
test ecx, ecx
setne al
mov byte [edi], al
test ecx, ecx
je 0x4ae97b
cmp ecx, 1
je 0x4ae97b
jmp 0x4ae975
mov byte [edi], 1
mov dword [esi], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004b1570
add esp, 8
test al, al
je 0x4ae992
or dword [esi], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
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.006d0965
mov esp, ebp
pop ebp
ret 0x20
call fcn.006f1bea
call fcn.006f1bea
call fcn.006f1bea
int3