Function at 0x10077ba0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2d45
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10077be9
mov eax, dword [eax]
push str.hrtf_mode
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1006b7b0
add esp, 0x10
cmp byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0
je 0x10077cb3
cmp dword [ebp - 0x34], 0xf
lea edi, [ebp - 0x48]
push str.basic
cmova edi, dword [ebp - 0x48]
push edi
call fcn.1007f6c0
add esp, 8
test eax, eax
jne 0x10077c54
cmp dword [0x1015f088], 1
jl 0x10077c4f
push str.ambi2
push edi
push str.HRTF_mode___s__deprecated__substituting___s__n
push dword [0x101647dc]
push 1
call fcn.10080dd0
add esp, 0x14
mov edi, str.ambi2
mov esi, 0x10106560
nop dword [eax]
push esi
push edi
call fcn.1007f6c0
add esp, 8
test eax, eax
je 0x10077c79
add esi, 0x10
cmp esi, str.hrtf_mode
jne 0x10077c60
cmp esi, str.hrtf_mode
jne 0x10077ca7
cmp dword [0x1015f088], 1
jl 0x10077ca0
push edi
push str.Unexpected_hrtf_mode:__s_n
push dword [0x101647dc]
push 1
call fcn.10080dd0
add esp, 0x10
mov edi, 1
jmp 0x10077cb3
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 0x10077cf4
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10077cf4
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10077cea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077f25
push ecx
push edx
call fcn.100beee5
add esp, 8
cmp dword [0x1015f088], 3
jl 0x10077d97
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 0x10077d21
mov ecx, 0x100fad8c
jmp 0x10077d5c
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 0x10077d40
mov ecx, 0x100fad90
jmp 0x10077d5c
cmp edx, 2
jne 0x10077d4c
mov ecx, 0x100fad94
jmp 0x10077d5c
cmp edx, 3
mov ecx, 0x100fad98
mov eax, 0x100fad8c
cmovne ecx, eax
cmp dword [ebx + 0x1a498], 0xf
lea eax, [ebx + 0x1a484]
jbe 0x10077d6d
mov eax, dword [eax]
cmp byte [ebx + 0x50], 2
mov edx, 0x100f55d6
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 [0x101647dc]
push 3
call fcn.10080dd0
add esp, 0x1c
mov byte [ebp - 0x24], 0
mov eax, 0x1015f2d8
mov dword [ebp - 0x14], 0x1015f298
mov esi, 0x10106530
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x10105b30
cmp edi, 3
jb 0x10077dd9
mov byte [ebp - 0x24], 1
mov eax, 0x1015f3d8
mov dword [ebp - 0x14], 0x1015f338
mov esi, 0x10106550
mov dword [ebp - 0x10], 0x10106030
jmp 0x10077df6
cmp edi, 2
jne 0x10077df9
mov dword [ebp - 0x14], 0x1015f2d8
mov eax, 0x1015f338
mov dword [ebp - 0x10], 0x10105d30
mov esi, 0x10106540
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 + 0x101043b0]
mov dword [ebp - 0x28], eax
cmp eax, 0x101043b0
je 0x10077e47
mov dword [ebp - 0x30], 0x3f800000
mov ecx, 0x101043b0
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 0x10077e30
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
push dword [ebx + 0x24]
movzx eax, byte [ebx + 0x20]
push eax
call fcn.1006f050
push eax
push dword [ebp - 0x20]
push ebx
call fcn.100772a0
mov eax, dword [ebx + 0x1a408]
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.100acf40
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 0x10077e9b
push eax
call fcn.1006a480
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.100b0a60
mov eax, dword [ebx + 0x1a404]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebx + 0x1a404], ecx
test eax, eax
je 0x10077efa
push eax
call fcn.1006a480
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.10077f30
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.100c45bf
int3