Function at 0x10008710
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10030af6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10047410]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x5001
mov dword [esp + 0x28], edi
cmp word [edi], ax
je 0x10008763
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 2]
add esi, edi
add edi, 0xa
mov dword [esp + 0x18], esi
cmp edi, esi
jae 0x10008a0a
mov ebx, edi
mov eax, dword [ebx + 6]
dec eax
add edi, 0xa
mov dword [esp + 0x14], ebx
cmp eax, 0x16
ja case.0x1000878d.6
jmp dword [eax*4 + 0x10008a28]
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp case.0x1000878d.6
mov eax, dword [ebx + 2]
push eax
call fcn.10020ea1
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 4], eax
mov edx, dword [ebx + 2]
push edx
push edi
push eax
call fcn.10029240
add esp, 0xc
jmp case.0x1000878d.6
movsx eax, word [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp case.0x1000878d.6
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
jmp case.0x1000878d.6
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
jmp case.0x1000878d.6
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
jmp case.0x1000878d.6
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
jmp case.0x1000878d.6
mov ecx, 0x5001
cmp word [edi], cx
jne 0x100089fb
mov eax, dword [edi + 2]
add eax, edi
lea esi, [edi + 0xa]
mov dword [esp + 0x24], eax
cmp esi, eax
jae 0x100089fb
mov edx, dword [ebp + 8]
add edx, 0x2c
mov dword [esp + 0x20], edx
jmp 0x10008839
mov esi, dword [esp + 0x10]
push 0x1c
call fcn.1001f870
add esp, 4
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp eax, ecx
je 0x10008860
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [esp + 0x38], cl
jmp 0x10008862
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esi + 6]
add esi, 0xa
push esi
push eax
mov dword [esp + 0x24], eax
mov dword [eax], ecx
call fcn.100084e0
mov esi, dword [esp + 0x20]
mov ebx, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], ebx
call fcn.10015b10
cmp ebx, dword [esp + 0x24]
jb 0x10008835
jmp 0x100089f7
mov dl, byte [edi]
mov eax, dword [ebp + 8]
mov byte [eax + 0x3c], dl
jmp case.0x1000878d.6
mov cl, byte [edi]
mov edx, dword [ebp + 8]
mov byte [edx + 0x3d], cl
jmp case.0x1000878d.6
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
jmp case.0x1000878d.6
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp case.0x1000878d.6
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
jmp case.0x1000878d.6
mov al, byte [edi]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x4c], al
jmp case.0x1000878d.6
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], edx
jmp case.0x1000878d.6
mov ecx, dword [ebx + 2]
push ecx
call fcn.10020ea1
mov edx, dword [ebp + 8]
add esp, 4
mov dword [edx + 0x54], eax
mov ecx, dword [ebx + 2]
push ecx
push edi
push eax
call fcn.10029240
add esp, 0xc
jmp case.0x1000878d.6
mov dl, byte [edi]
mov eax, dword [ebp + 8]
mov byte [eax + 0x58], dl
jmp case.0x1000878d.6
mov cl, byte [edi]
mov edx, dword [ebp + 8]
mov byte [edx + 0x59], cl
jmp case.0x1000878d.6
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], eax
jmp case.0x1000878d.6
mov dl, byte [edi]
mov eax, dword [ebp + 8]
mov byte [eax + 0x60], dl
jmp case.0x1000878d.6
mov ecx, 0x5001
cmp word [edi], cx
jne 0x100089fb
mov eax, dword [edi + 2]
add eax, edi
lea esi, [edi + 0xa]
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x100089fb
mov edx, dword [ebp + 8]
add edx, 0x64
mov dword [esp + 0x24], edx
jmp 0x10008980
mov ebx, esi
movzx eax, word [ebx]
inc eax
push eax
add esi, 6
call fcn.10020ea1
movzx ecx, word [ebx]
add esp, 4
inc ecx
push ecx
push 0
push eax
mov dword [esp + 0x1c], eax
call fcn.10024a20
movzx edx, word [ebx]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edx
push esi
push eax
call fcn.10029240
movzx ecx, word [ebx]
mov edx, dword [ebx + 2]
add esp, 0xc
push edx
add esi, ecx
call fcn.10020ea1
mov ecx, dword [ebx + 2]
add esp, 4
push ecx
push esi
push eax
mov dword [esp + 0x2c], eax
call fcn.10029240
add esi, dword [ebx + 2]
mov ebx, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x10]
call fcn.10015bb0
mov edx, dword [esp + 0x20]
mov dword [eax], edx
cmp esi, dword [esp + 0x1c]
jb 0x10008980
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edi, dword [ebx + 2]
cmp edi, esi
jb 0x10008777
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 6]
add eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4