Function at 0x10028a90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018c25b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor edi, edi
lea eax, [ebp + 0x30]
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.10084010
mov eax, dword [ebp + 0x54]
mov esi, dword [ebp + 0x50]
mov ebx, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], ebx
inc ebx
cmp ebx, edi
jne 0x10028b08
cmp esi, edi
je 0x10028afd
mov ecx, eax
dec eax
test ecx, ecx
je 0x10028aee
lea ebx, [eax + 1]
mov ecx, esi
call fcn.1000d1e0
add esi, 0x64
dec ebx
jne 0x10028ae1
mov eax, dword [ebp + 0x50]
push eax
call fcn.1017c36b
add esp, 4
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x54], edi
jmp 0x10028cfb
cmp esi, edi
jne 0x10028b6b
lea eax, [ebx + ebx*4]
lea edi, [eax + eax*4]
shl edi, 2
push edi
call fcn.1017c342
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 0x50], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x38], 1
je 0x10028b51
mov ecx, esi
call fcn.1000d140
add esi, 0x64
dec edi
mov byte [esp + 0x38], 0
mov dword [esp + 0x18], esi
jne 0x10028b3d
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], ebx
jmp 0x10028cfb
mov edi, dword [ebp + 0x58]
cmp ebx, edi
jg 0x10028c09
cmp eax, ebx
jge 0x10028bdd
mov edx, ebx
sub edx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
lea eax, [edx + edx*4]
mov dword [esp + 0x10], edi
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x10028c01
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x38], 2
je 0x10028bc6
mov ecx, esi
call fcn.1000d140
add esi, 0x64
dec edi
mov byte [esp + 0x38], 0
mov dword [esp + 0x10], esi
jne 0x10028bb2
mov dword [ebp + 0x54], ebx
jmp 0x10028cfb
jle 0x10028c01
lea ecx, [ebx + ebx*4]
sub eax, ebx
lea edx, [ecx + ecx*4]
mov ecx, eax
dec eax
test ecx, ecx
lea esi, [esi + edx*4]
je 0x10028c01
lea edi, [eax + 1]
mov ecx, esi
call fcn.1000d1e0
add esi, 0x64
dec edi
jne 0x10028bf4
mov dword [ebp + 0x54], ebx
jmp 0x10028cfb
mov ecx, dword [ebp + 0x5c]
test ecx, ecx
jne 0x10028c34
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x10028c27
mov ecx, 4
jmp 0x10028c34
cmp ecx, 0x400
jle 0x10028c34
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
jge 0x10028c41
mov dword [esp + 0x10], eax
jmp 0x10028c47
mov dword [esp + 0x10], ebx
mov eax, ebx
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.1017c342
mov ecx, dword [ebp + 0x54]
mov esi, dword [ebp + 0x50]
mov dword [esp + 0x1c], eax
mov edi, eax
lea ecx, [ecx + ecx*4]
mov edx, ebx
add esp, 4
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x54]
sub edx, eax
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea edi, [eax + ecx*4]
lea eax, [edx + edx*4]
mov dword [esp + 0x14], edi
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x10028cde
mov esi, dword [esp + 0x14]
lea edi, [edx + 1]
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 3
je 0x10028ccf
mov ecx, esi
call fcn.1000d140
add esi, 0x64
dec edi
mov byte [esp + 0x38], 0
mov dword [esp + 0x14], esi
jne 0x10028cbb
mov eax, dword [ebp + 0x50]
push eax
call fcn.1017c36b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
push ecx
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x50]
lea ecx, [eax + edx*4]
call fcn.1000d4c0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.10084070
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4