Function at 0x1006e7ee
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f2da6
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 0x1006e83e
xor eax, eax
jmp 0x1006e846
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp eax, ecx
jge 0x1006e84c
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.1009a535
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 0x1006e88a
push edi
push ebp
call fcn.1004e6c0
mov eax, dword [esp + 0x8c]
add edi, 4
add ebp, 4
cmp edi, eax
jne 0x1006e872
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.1000c8d0
lea ecx, [esp + 0x44]
call fcn.1000c8d0
lea ecx, [esp + 0x50]
call fcn.1000c8d0
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], 0x3f800000
call fcn.1000c8d0
lea ecx, [esp + 0x70]
mov dword [esp + 0x6c], 0x3f800000
call fcn.1000c8d0
mov eax, dword [esi + 0x24]
cmp eax, edi
mov byte [esp + 0x84], 3
jne 0x1006e914
xor ebp, ebp
jmp 0x1006e91c
mov ebp, dword [esi + 0x28]
sub ebp, eax
sar ebp, 2
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x1006e927
xor edx, edx
jmp 0x1006e93d
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 0x1006e95f
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.1006fa70
sub ebp, eax
push ebp
push edi
mov ecx, ebx
call fcn.1006fc60
xor edi, edi
jmp 0x1006e983
mov ecx, ebx
call fcn.1006fa70
cmp ebp, eax
jae 0x1006e983
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.1006ffd0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.10069bd0
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.10086870
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x1006ea47
mov ecx, dword [esi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x1006ea47
mov edi, dword [eax + ebp*4]
lea edx, [esp + 0x90]
push edx
mov ecx, edi
call fcn.10015f80
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.1006faa0
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 2
call fcn.10077ff0
lea ecx, [esp + 0x10]
call fcn.10077c80
push eax
lea ecx, [edi + 0x238]
mov byte [esp + 0x88], 5
call fcn.10078110
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 2
call fcn.10077ff0
inc ebp
add ebx, 0x64
xor edi, edi
jmp 0x1006e9b9
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