Function at 0x4bfa00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572a8a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x2f8
mov dword [ebp - 4], 0
call fcn.0050f802
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0049ab90
mov dword [edi], vtable.CXMenuItem.0
mov ecx, edi
mov byte [ebp - 4], 0
push dword [ebx + 0x158]
call fcn.00442bd0
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00408e8d
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov eax, dword [edi]
call dword [eax + 0x150]
movaps xmm0, xmmword [0x5935a0]
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x30]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00442440
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x2ac], xmm0
mov esi, dword [ebx + 0x148]
cmp dword [edi + 0x1ec], esi
je 0x4bfad8
test esi, esi
je 0x4bfac2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1ec]
mov dword [edi + 0x1ec], esi
test eax, eax
je 0x4bfad8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebx + 0x14c]
cmp dword [edi + 0x1e8], esi
je 0x4bfb06
test esi, esi
je 0x4bfaf0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1e8]
mov dword [edi + 0x1e8], esi
test eax, eax
je 0x4bfb06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x15c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi + 0x230], eax
mov eax, dword [ebx + 0x15c]
mov dword [edi + 0x240], eax
mov eax, dword [ebx + 0x160]
mov dword [edi + 0x234], eax
mov eax, dword [ebx + 0x160]
mov dword [edi + 0x244], eax
mov eax, dword [edi + 0x30]
mov edx, dword [ebx + 0x168]
mov ecx, dword [ebx + 0x164]
mov dword [ebp - 0x2c], edx
cmp byte [eax + 8], 0
mov dword [ebp - 0x28], eax
je 0x4bfb78
mov eax, dword [eax]
cmp eax, 0x64
je 0x4bfb78
push 0x64
push eax
push ecx
call esi
mov ecx, dword [ebp - 0x28]
push 0x64
mov dword [ebp - 0x24], eax
push dword [ecx]
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x24]
mov edx, eax
mov dword [edi + 0x270], ecx
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x274], edx
mov eax, dword [ebx + 0x19c]
cmp byte [ecx + 8], 0
je 0x4bfba0
mov ecx, dword [ecx]
cmp ecx, 0x64
je 0x4bfba0
push 0x64
push ecx
push eax
call esi
mov dword [edi + 0x260], eax
mov eax, dword [edi + 0x30]
mov edx, dword [ebx + 0x170]
mov ecx, dword [ebx + 0x16c]
mov dword [ebp - 0x2c], edx
cmp byte [eax + 8], 0
mov dword [ebp - 0x24], eax
je 0x4bfbe2
mov eax, dword [eax]
cmp eax, 0x64
je 0x4bfbe2
push 0x64
push eax
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push 0x64
mov dword [ebp - 0x28], eax
push dword [ecx]
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov dword [edi + 0x268], ecx
mov dword [edi + 0x26c], edx
mov ecx, dword [ebx + 0x158]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea edi, [eax - 1]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bfc3a
mov esi, dword [edx]
push edx
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x4bfc36
mov ecx, dword [esi + 4]
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4bfc3a
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret 4