Function at 0x4e0da0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e3aa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5a7074]
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 0x2d0
mov dword [ebp - 4], 0
call fcn.0050a09e
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b9370
mov dword [edi], vtable.CXMenuItem.0
mov ecx, edi
mov byte [ebp - 4], 0
push dword [ebx + 0x150]
call fcn.00467df0
push 1
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040e0c0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov eax, dword [edi]
call dword [eax + 0x168]
movaps xmm0, xmmword [0x58aad0]
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x30]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00467660
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x284], xmm0
mov esi, dword [ebx + 0x140]
cmp dword [edi + 0x1c4], esi
je 0x4e0e7a
test esi, esi
je 0x4e0e64
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1c4]
mov dword [edi + 0x1c4], esi
test eax, eax
je 0x4e0e7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebx + 0x144]
cmp dword [edi + 0x1c0], esi
je 0x4e0ea8
test esi, esi
je 0x4e0e92
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1c0]
mov dword [edi + 0x1c0], esi
test eax, eax
je 0x4e0ea8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x154]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi + 0x208], eax
mov eax, dword [ebx + 0x154]
mov dword [edi + 0x218], eax
mov eax, dword [ebx + 0x158]
mov dword [edi + 0x20c], eax
mov eax, dword [ebx + 0x158]
mov dword [edi + 0x21c], eax
mov eax, dword [edi + 0x30]
mov edx, dword [ebx + 0x160]
mov ecx, dword [ebx + 0x15c]
mov dword [ebp - 0x2c], edx
cmp byte [eax + 8], 0
mov dword [ebp - 0x28], eax
je 0x4e0f1a
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e0f1a
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 + 0x248], ecx
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x24c], edx
mov eax, dword [ebx + 0x194]
cmp byte [ecx + 8], 0
je 0x4e0f42
mov ecx, dword [ecx]
cmp ecx, 0x64
je 0x4e0f42
push 0x64
push ecx
push eax
call esi
mov ecx, edi
mov dword [edi + 0x238], eax
call fcn.004bbb50
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 - 0x24], eax
je 0x4e0f8b
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e0f8b
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 + 0x240], ecx
mov dword [edi + 0x244], edx
mov ecx, dword [ebx + 0x150]
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 0x4e0fe3
mov esi, dword [edx]
push edx
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x4e0fdf
mov ecx, dword [esi + 4]
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e0fe3
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.0050a055
mov esp, ebp
pop ebp
ret 4