Function at 0x1006f9a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10102346
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov al, byte [esp + 0x7c]
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esp + 0x14], esi
mov byte [esi], al
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dl, byte [esp + 0x8c]
lea ebx, [esi + 0x10]
mov dword [esp + 0x84], ecx
mov byte [ebx], dl
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov edi, dword [esp + 0x8c]
mov al, byte [edi]
mov byte [esi + 0x20], al
mov edx, dword [edi + 4]
cmp edx, ecx
mov byte [esp + 0x84], 1
jne 0x1006fa0e
xor eax, eax
jmp 0x1006fa16
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp eax, ecx
jge 0x1006fa1c
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.1009e195
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
add esp, 4
cmp edi, ecx
mov dword [esp + 0x8c], ecx
mov ebp, eax
je 0x1006fa5a
push edi
push ebp
call fcn.1001fca0
mov eax, dword [esp + 0x8c]
add edi, 4
add ebp, 4
cmp edi, eax
jne 0x1006fa42
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dl, byte [esp + 0x8c]
xor edi, edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.1000c460
lea ecx, [esp + 0x44]
call fcn.1000c460
lea ecx, [esp + 0x50]
call fcn.1000c460
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], 0x3f800000
call fcn.1000c460
lea ecx, [esp + 0x70]
mov dword [esp + 0x6c], 0x3f800000
call fcn.1000c460
mov eax, dword [esi + 0x24]
cmp eax, edi
mov byte [esp + 0x84], 3
jne 0x1006fae4
xor ebp, ebp
jmp 0x1006faec
mov ebp, dword [esi + 0x28]
sub ebp, eax
sar ebp, 2
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x1006faf7
xor edx, edx
jmp 0x1006fb0d
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
jae 0x1006fb2f
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.10070c80
sub ebp, eax
push ebp
push edi
mov ecx, ebx
call fcn.10070e70
xor edi, edi
jmp 0x1006fb53
mov ecx, ebx
call fcn.10070c80
cmp ebp, eax
jae 0x1006fb53
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp + ebp*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
push eax
mov ecx, ebx
call fcn.100711e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.10070a50
mov ecx, dword [esp + 0x90]
mov eax, dword [esi + 8]
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x90], ecx
push eax
mov ecx, esi
call fcn.10064cc0
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x1006fc17
mov ecx, dword [esi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x1006fc17
mov edi, dword [eax + ebp*4]
lea edx, [esp + 0x90]
push edx
mov ecx, edi
call fcn.10015af0
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + ebx + 8]
add ecx, ebx
push eax
push edx
mov byte [esp + 0x8c], 4
call fcn.10070cb0
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 2
call fcn.10079c40
lea ecx, [esp + 0x10]
call fcn.10079690
push eax
lea ecx, [edi + 0x238]
mov byte [esp + 0x88], 5
call fcn.10079e30
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 2
call fcn.10079c40
inc ebp
add ebx, 0x64
xor edi, edi
jmp 0x1006fb89
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8