Function at 0x4a7210
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cf35
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x8815d0]
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], 0x10
jb 0x4a7259
mov eax, dword [eax]
push str.hrtf_mode
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0049bda0
add esp, 0x10
cmp byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0
je 0x4a7323
cmp dword [ebp - 0x34], 0x10
lea edi, [ebp - 0x48]
push str.basic
cmovae edi, dword [ebp - 0x48]
push edi
call fcn.00484600
add esp, 8
test eax, eax
jne 0x4a72c4
cmp dword [0x882038], 1
jl 0x4a72bf
push str.ambi2
push edi
push str.HRTF_mode___s__deprecated__substituting___s__n
push dword [0x885eec]
push 1
call fcn.0047e100
add esp, 0x14
mov edi, str.ambi2
mov esi, 0x5ba988
nop dword [eax]
push esi
push edi
call fcn.00484600
add esp, 8
test eax, eax
je 0x4a72e9
add esi, 0x10
cmp esi, str.hrtf_mode
jne 0x4a72d0
cmp esi, str.hrtf_mode
jne 0x4a7317
cmp dword [0x882038], 1
jl 0x4a7310
push edi
push str.Unexpected_hrtf_mode:__s_n
push dword [0x885eec]
push 1
call fcn.0047e100
add esp, 0x10
mov edi, 1
jmp 0x4a7323
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 0x4a7364
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x4a7364
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a735a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a7595
push ecx
push edx
call fcn.00433080
add esp, 8
cmp dword [0x882038], 3
jl 0x4a7407
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 0x4a7391
mov ecx, 0x5af64c
jmp 0x4a73cc
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 0x4a73b0
mov ecx, 0x5af650
jmp 0x4a73cc
cmp edx, 2
jne 0x4a73bc
mov ecx, 0x5af654
jmp 0x4a73cc
cmp edx, 3
mov ecx, 0x5af658
mov eax, 0x5af64c
cmovne ecx, eax
cmp dword [ebx + 0x1a498], 0x10
lea eax, [ebx + 0x1a484]
jb 0x4a73dd
mov eax, dword [eax]
cmp byte [ebx + 0x50], 2
mov edx, 0x50f4e9
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 [0x885eec]
push 3
call fcn.0047e100
add esp, 0x1c
mov byte [ebp - 0x24], 0
mov eax, 0x882218
mov dword [ebp - 0x14], 0x8821d8
mov esi, 0x5ba958
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x5b9f58
cmp edi, 3
jb 0x4a7449
mov byte [ebp - 0x24], 1
mov eax, 0x882318
mov dword [ebp - 0x14], 0x882278
mov esi, 0x5ba978
mov dword [ebp - 0x10], 0x5ba458
jmp 0x4a7466
cmp edi, 2
jne 0x4a7469
mov dword [ebp - 0x14], 0x882218
mov eax, 0x882278
mov dword [ebp - 0x10], 0x5ba158
mov esi, 0x5ba968
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 + 0x5b8818]
mov dword [ebp - 0x28], eax
cmp eax, 0x5b8818
je 0x4a74b7
mov dword [ebp - 0x30], 0x3f800000
mov ecx, 0x5b8818
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 0x4a74a0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
push dword [ebx + 0x24]
movzx eax, byte [ebx + 0x20]
push eax
call fcn.0049e6d0
push eax
push dword [ebp - 0x20]
push ebx
call fcn.004a6af0
mov eax, dword [ebx + 0x1a408]
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d8940
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 0x4a750b
push eax
call fcn.0047a150
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.004dc7d0
mov eax, dword [ebx + 0x1a404]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebx + 0x1a404], ecx
test eax, eax
je 0x4a756a
push eax
call fcn.0047a150
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.004a75a0
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.00438697
int3