Function at 0x40b3b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x547ed8
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
push 0x566c94
lea ecx, [esi + 4]
mov dword [esi], vtable.CAudioDevice.0
call fcn.00405ee0
xor edi, edi
push 0x566c94
lea ecx, [esi + 8]
mov dword [esp + 0x1c], edi
call fcn.00405ee0
push 0x566c94
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00405ee0
push 0x566c94
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.00405ee0
push 0x566c94
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 3
call fcn.00405ee0
push 0x566c94
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 4
call fcn.00405ee0
mov byte [esp + 0x18], 5
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b464
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x18], 6
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b492
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x18], 7
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b4c0
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
push 0xa
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 8
call fcn.0050b7f5
lea ebp, [esi + 0x84]
push 0xa
mov ecx, ebp
mov byte [esp + 0x1c], 9
call fcn.00506d99
mov dword [ebp], vtable.CTypedPtrList_class_CPtrList__class_CMMLineControl__.0
lea ebp, [esi + 0xa0]
push 0xa
mov ecx, ebp
mov byte [esp + 0x1c], 0xa
call fcn.00506d99
mov dword [ebp], method.CPtrList.virtual_0
mov byte [esp + 0x18], 0xb
mov dword [esi + 0xbc], edi
lea ebp, [esi + 0x1a4]
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b53f
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x18], 0xc
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1b4], edi
mov ecx, dword [0x5662ec]
mov dword [esi + 0x60], ecx
mov edx, dword [0x5662f0]
mov dword [esi + 0x64], edx
mov eax, dword [0x5662f4]
mov dword [esi + 0x68], eax
mov ecx, dword [0x5662f8]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x1bc], edi
mov edx, dword [0x5662ec]
mov dword [esi + 0x70], edx
mov eax, dword [0x5662f0]
mov dword [esi + 0x74], eax
mov ecx, dword [0x5662f4]
push 0x80
mov dword [esi + 0x78], ecx
mov edx, dword [0x5662f8]
lea eax, [esi + 0x1c4]
push edi
push eax
mov dword [esi + 0x7c], edx
mov dword [esi + 0x1c0], edi
call fcn.00526c60
push 0x74
lea ecx, [esi + 0xc0]
push edi
push ecx
mov dword [esi + 0x244], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x80], 0xa
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x38], edi
call fcn.00526c60
push 0x64
lea edx, [esi + 0x134]
push edi
push edx
call fcn.00526c60
xor ecx, ecx
mov eax, 7
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fe909
add esp, 0x28
cmp eax, edi
mov dword [esi + 0x1b8], eax
je 0x40b644
push 0x38
push edi
push eax
call fcn.00526c60
add esp, 0xc
mov eax, dword [0x5662ec]
mov dword [esi + 0x248], eax
mov ecx, dword [0x5662f0]
mov dword [esi + 0x24c], ecx
mov edx, dword [0x5662f4]
mov dword [esi + 0x250], edx
mov eax, dword [0x5662f8]
mov dword [esi + 0x254], eax
mov ecx, dword [0x5662ec]
mov dword [esi + 0x258], ecx
mov edx, dword [0x5662f0]
mov dword [esi + 0x25c], edx
mov eax, dword [0x5662f4]
mov dword [esi + 0x260], eax
mov ecx, dword [0x5662f8]
push edi
mov dword [esi + 0x264], ecx
push 0x566c94
mov ecx, ebp
mov dword [esi + 0x30], edi
mov dword [esi + 0x198], 4
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], edi
call fcn.004062a0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4