Function at 0x10009b80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003007d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10040054]
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 - 0x64], ecx
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
test dword [esi + 0x14], 0x4000
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x68], ecx
mov eax, dword [ecx]
je 0x10009e27
call dword [eax + 4]
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
call fcn.100052c0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x68]
mov esi, eax
mov dword [ebp - 0x64], esi
test ecx, ecx
je 0x10009c0f
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10009c0f
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.10004800
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x60]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x50]
cmovae edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
sub eax, esi
mov dword [ebp - 0x68], ecx
push ecx
push edx
cmp ecx, eax
ja 0x10009c8e
cmp dword [ebp - 0x34], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
add esi, eax
push esi
call fcn.10010580
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x10009c9e
mov byte [ebp - 0x68], 0
push dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10005610
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x10009cd6
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009ccc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009efe
push edx
push ecx
call fcn.1000efa9
add esp, 8
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
cmp ecx, edx
jae 0x10009cf8
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
mov word [eax + ecx], 0
jmp 0x10009d0a
push 0
mov byte [ebp - 0x68], 0
push dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100054e0
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x50]
cmovae edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
sub eax, esi
mov dword [ebp - 0x64], ecx
push ecx
push edx
cmp ecx, eax
ja 0x10009d5e
cmp dword [ebp - 0x34], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
add esi, eax
push esi
call fcn.10010580
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x10009d6e
mov byte [ebp - 0x64], 0
push dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10005610
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x10009da6
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009f03
push edx
push ecx
call fcn.1000efa9
add esp, 8
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push 1
cmovae eax, dword [ebp - 0x48]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1000c850
add esp, 0x14
sub eax, 0
je 0x10009de0
sub eax, 1
je 0x10009ddb
mov byte [edi], 0
mov dword [ebx], 2
jmp 0x10009de3
mov byte [edi], 1
jmp 0x10009de3
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x10009ebb
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009e18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009f08
push edx
push ecx
call fcn.1000efa9
add esp, 8
jmp 0x10009ebb
call dword [eax + 4]
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 4
push eax
push dword [esi + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x64]
call fcn.1000acc0
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x68]
mov esi, eax
test ecx, ecx
je 0x10009e70
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10009e70
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x10009e7b
mov byte [edi], 0
jmp 0x10009eb5
lea eax, [ebp - 0x68]
push eax
push esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1000e5a4
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x64], eax
je 0x10009eb2
cmp dword [ebp - 0x68], 0
jne 0x10009eb2
test ecx, ecx
setne al
mov byte [edi], al
test ecx, ecx
je 0x10009ebb
cmp ecx, 1
je 0x10009ebb
jmp 0x10009eb5
mov byte [edi], 1
mov dword [ebx], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1000c7b0
add esp, 8
test al, al
je 0x10009ed2
or dword [ebx], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
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.1000ec51
mov esp, ebp
pop ebp
ret 0x20
call fcn.1001339f
call fcn.1001339f
call fcn.1001339f
int3