Function at 0x10107a90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f705
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1024b600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, 1
lea eax, [ebx + 0x30]
mov dword [ebp - 0x1c], edi
mov dword [ebx + 0x28], 0x442f0000
mov byte [ebx + 0x50], 2
cmp dword [eax + 0x14], 0xf
jbe 0x10107ad9
mov eax, dword [eax]
push str.hrtf_mode
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100fc800
add esp, 0x10
cmp byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0
je 0x10107ba3
cmp dword [ebp - 0x34], 0xf
lea edi, [ebp - 0x48]
push str.basic
cmova edi, dword [ebp - 0x48]
push edi
call fcn.100e4df0
add esp, 8
test eax, eax
jne 0x10107b44
cmp dword [0x1024c0b8], 1
jl 0x10107b3f
push str.ambi2
push edi
push str.HRTF_mode___s__deprecated__substituting___s__n
push dword [0x10252af0]
push 1
call fcn.100de910
add esp, 0x14
mov edi, str.ambi2
mov esi, 0x10209168
nop dword [eax]
push esi
push edi
call fcn.100e4df0
add esp, 8
test eax, eax
je 0x10107b69
add esi, 0x10
cmp esi, str.hrtf_mode
jne 0x10107b50
cmp esi, str.hrtf_mode
jne 0x10107b97
cmp dword [0x1024c0b8], 1
jl 0x10107b90
push edi
push str.Unexpected_hrtf_mode:__s_n
push dword [0x10252af0]
push 1
call fcn.100de910
add esp, 0x10
mov edi, 1
jmp 0x10107ba3
mov al, byte [esi + 8]
mov byte [ebx + 0x50], al
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x1c], edi
cmp byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
je 0x10107be4
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10107be4
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10107bda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10107e15
push ecx
push edx
call fcn.1006dd11
add esp, 8
cmp dword [0x1024c0b8], 3
jl 0x10107c87
mov eax, 0x51eb851f
mov ecx, edi
mul edi
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
sub ecx, 0xa
cmp ecx, 0xa
jae 0x10107c11
mov ecx, 0x101fde3c
jmp 0x10107c4c
mov eax, 0xcccccccd
mul edi
shr edx, 3
lea eax, [edx + edx*4]
mov edx, edi
add eax, eax
sub edx, eax
cmp edx, 1
jne 0x10107c30
mov ecx, 0x101fde40
jmp 0x10107c4c
cmp edx, 2
jne 0x10107c3c
mov ecx, 0x101fde44
jmp 0x10107c4c
cmp edx, 3
mov ecx, 0x101fde48
mov eax, 0x101fde3c
cmovne ecx, eax
cmp dword [ebx + 0x1a498], 0xf
lea eax, [ebx + 0x1a484]
jbe 0x10107c5d
mov eax, dword [eax]
cmp byte [ebx + 0x50], 2
mov edx, 0x10238604
push eax
mov eax, str._Full
cmovne eax, edx
push eax
push ecx
push edi
push str._u_s_order__sHRTF_rendering_enabled__using___s__n
push dword [0x10252af0]
push 3
call fcn.100de910
add esp, 0x1c
mov byte [ebp - 0x24], 0
mov eax, 0x1024c298
mov dword [ebp - 0x14], 0x1024c258
mov esi, 0x10209138
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x10208738
cmp edi, 3
jb 0x10107cc9
mov byte [ebp - 0x24], 1
mov eax, 0x1024c398
mov dword [ebp - 0x14], 0x1024c2f8
mov esi, 0x10209158
mov dword [ebp - 0x10], 0x10208c38
jmp 0x10107ce6
cmp edi, 2
jne 0x10107ce9
mov dword [ebp - 0x14], 0x1024c298
mov eax, 0x1024c2f8
mov dword [ebp - 0x10], 0x10208938
mov esi, 0x10209148
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebx + 0x24], edi
imul eax, eax
lea edx, [ebx + 0x1a2dc]
mov byte [ebx + 0x2c], 0
mov dword [ebp - 0x20], eax
lea eax, [eax + 0x10207000]
mov dword [ebp - 0x28], eax
cmp eax, 0x10207000
je 0x10107d37
mov dword [ebp - 0x30], 0x3f800000
mov ecx, 0x10207000
mov edi, dword [ebp - 0x30]
mov ebx, eax
movzx eax, byte [ecx]
lea edx, [edx + 8]
inc ecx
mov dword [edx - 8], edi
mov dword [edx - 4], eax
cmp ecx, ebx
jne 0x10107d20
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
push dword [ebx + 0x24]
movzx eax, byte [ebx + 0x20]
push eax
call fcn.100ff070
push eax
push dword [ebp - 0x20]
push ebx
call fcn.10107370
mov eax, dword [ebx + 0x1a408]
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.101393b0
add esp, 0x1c
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov dword [eax], 0
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 1
test eax, eax
je 0x10107d8b
push eax
call fcn.100da960
add esp, 4
movss xmm0, dword [ebx + 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push esi
mov esi, dword [ebp - 0x1c]
sub eax, edx
push ecx
movss dword [esp], xmm0
push dword [ebp - 0x10]
sar eax, 3
sub esp, 8
mov ecx, esp
lea eax, [edx + eax*8]
push dword [ebp - 0x24]
mov dword [ecx], edx
mov dword [ecx + 4], eax
push dword [ebx + 0x1a40c]
mov ecx, dword [ebp + 8]
push esi
call fcn.1013cfa0
mov eax, dword [ebx + 0x1a404]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebx + 0x1a404], ecx
test eax, eax
je 0x10107dea
push eax
call fcn.100da960
add esp, 4
mov eax, dword [esi + 8]
push 1
push edi
push ecx
movss xmm0, dword [eax]
movss dword [esp], xmm0
push ebx
call fcn.10107e20
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100735b5
int3