Function at 0x46ac50
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46aea2
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push 0
push 0x4fd560
push 0x4fc518
push 0
push eax
call sub.MSVCRT40.dll___RTDynamicCast
add esp, 0x14
mov esi, eax
mov eax, dword [ebp + 0xc]
push 0x1f7
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call eax
mov ecx, dword [esi + 0x18dc]
mov word [eax], cx
mov edx, dword [esi + 0x1904]
mov dword [ebp - 0x28], edx
lea edx, [ebp - 0x28]
push edx
push 0x2b
call fcn.004d2f50
add esp, 8
mov ecx, dword [ebp + 0xc]
push 0x1e6
call dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov word [eax], cx
mov edi, dword [esi + 0x1854]
mov ebx, dword [esi + 0x184c]
push 0x1e5
lea edi, [edi + edi*4]
add edi, edi
lea ebx, [ebx + ebx*4]
add edi, dword [esi + 0x1858]
add ebx, ebx
imul di, di, 0x64
add ebx, dword [esi + 0x1850]
mov ecx, dword [ebp + 0xc]
add di, bx
call dword [ebp - 0x10]
mov word [eax], di
push 0x48
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
call dword [ebp - 0x14]
mov ecx, dword [esi + 0x191c]
push 0x4a
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1918]
mov dword [eax], edx
call dword [ebp - 0x14]
mov ecx, dword [esi + 0x1934]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x1930]
mov dword [eax], edx
mov edi, dword [esi + 0x1878]
mov ebx, dword [esi + 0x1870]
push 0x1e4
lea edi, [edi + edi*4]
add edi, edi
lea ebx, [ebx + ebx*4]
add edi, dword [esi + 0x187c]
add ebx, ebx
imul di, di, 0x64
add ebx, dword [esi + 0x1874]
mov ecx, dword [ebp + 0xc]
add di, bx
call dword [ebp - 0x10]
mov word [eax], di
push 0x49
mov ecx, dword [ebp + 0xc]
call dword [ebp - 0x14]
mov ecx, dword [esi + 0x1954]
push 0x4b
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1950]
mov dword [eax], edx
call dword [ebp - 0x14]
mov ecx, dword [esi + 0x196c]
push 0x4c
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1968]
mov dword [eax], edx
call dword [ebp - 0x14]
mov ecx, dword [esi + 0x19b4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x19b0]
mov dword [eax], edx
cmp dword [esi + 0x198c], 0
jne 0x46aeb4
push 0x4fc4d8
lea ecx, [ebp - 0x14]
mov edi, 0xffffffff
call sub.MFC40.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov ebx, 1
push 0x4fc4d8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0xffff8001
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 0
call sub.MFC40.DLL_CString::CString_1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], edi
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0xffff8001
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
push 0x1d
call fcn.004d2f50
add esp, 8
lea eax, [ebp - 0x3c]
push eax
push 0x1e
call fcn.004d2f50
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
cmp dword [esi + 0x1988], eax
push 0x1ee
je 0x46ae6b
call dword [ebp - 0x10]
mov word [eax], 0x4a
jmp 0x46ae73
call dword [ebp - 0x10]
mov word [eax], 0x49
mov byte [ebp - 4], 1
call fcn.0046ae92
mov dword [ebp - 4], 0xffffffff
call fcn.0046aeac
jmp 0x46aec4
push 0x1ee
mov ecx, dword [ebp + 0xc]
call dword [ebp - 0x10]
mov word [eax], 0x8001
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret