Function at 0x100864f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9956
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x10001850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp + 8]
sub esp, 0x50
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.10086850
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100869b0
add esp, 0x50
mov dword [ebp - 4], 1
mov ecx, edi
push eax
push 0x1000
call fcn.10086910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.100857d0
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x18], 0
mov byte [edi + 8], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x34], 0xf
mov dword [edi + 0x30], 0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 6
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov edx, dword [ebx + 0x28]
test edx, edx
mov ecx, dword [ebx + 0x40]
setne ah
test ecx, ecx
mov byte [ebp + 0xb], ah
setne al
mov byte [ebp - 0xd], al
test ah, ah
je 0x100865be
inc edx
jmp 0x100865c0
xor edx, edx
test al, al
je 0x100865c7
inc ecx
jmp 0x100865c9
xor ecx, ecx
add edx, 0xa
mov dword [ebp - 0x14], 0x10
add edx, ecx
mov dword [ebp - 0x18], 4
xor ecx, ecx
test al, al
cmovne ecx, dword [ebp - 0x14]
xor eax, eax
cmp byte [ebp + 0xb], al
mov dword [ebp - 0x14], 8
cmovne eax, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x14], 2
xor eax, eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebx], 9
cmove eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebx], 1
cmove eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
cmp eax, edx
ja 0x1008664e
cmp dword [edi + 0x1c], edx
je 0x1008664e
push 1
push edx
lea ecx, [edi + 8]
call fcn.1002c550
test al, al
je 0x1008664e
cmp dword [edi + 0x1c], 0x10
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x18], ecx
jb 0x10086647
mov eax, dword [edi + 8]
jmp 0x1008664a
lea eax, [edi + 8]
mov byte [eax + ecx], 0
push 0x1f
push 1
lea ecx, [edi + 8]
call fcn.10016140
push 0xffffffffffffff8b
push 1
lea ecx, [edi + 8]
call fcn.10016140
push 8
push 1
lea ecx, [edi + 8]
call fcn.10016140
push dword [ebp - 0x1c]
lea ecx, [edi + 8]
push 1
call fcn.10016140
mov al, byte [ebx + 0x48]
lea ecx, [edi + 8]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
push 1
call fcn.10016140
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x4c]
shrd ecx, eax, 8
mov byte [ebp - 0x1c], cl
lea ecx, [edi + 8]
push dword [ebp - 0x1c]
sar eax, 8
push 1
call fcn.10016140
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x4c]
shrd ecx, eax, 0x10
mov byte [ebp - 0x1c], cl
lea ecx, [edi + 8]
push dword [ebp - 0x1c]
sar eax, 0x10
push 1
call fcn.10016140
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x4c]
shrd ecx, eax, 0x18
mov byte [ebp - 0x1c], cl
lea ecx, [edi + 8]
push dword [ebp - 0x1c]
sar eax, 0x18
push 1
call fcn.10016140
push dword [ebp - 0x14]
lea ecx, [edi + 8]
push 1
call fcn.10016140
push 0xffffffffffffffff
push 1
lea ecx, [edi + 8]
call fcn.10016140
cmp byte [ebp + 0xb], 0
je 0x10086724
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x18]
push eax
lea ecx, [edi + 8]
call fcn.1002b410
push 0
push 1
lea ecx, [edi + 8]
call fcn.10016140
cmp byte [ebp - 0xd], 0
je 0x10086746
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x30]
push eax
lea ecx, [edi + 8]
call fcn.1002b410
push 0
push 1
lea ecx, [edi + 8]
call fcn.10016140
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8