Function at 0x4b5a40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d10a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6b1a94]
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.005c92a6
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b6ea0
mov dword [edi], vtable.CXMenuItem.0
mov ecx, edi
mov byte [ebp - 4], 0
push dword [ebx + 0x158]
call fcn.00495d20
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407830
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov eax, dword [edi]
call dword [eax + 0x150]
movaps xmm0, xmmword [0x687a10]
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x30]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.004b5370
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x2ac], xmm0
mov esi, dword [ebx + 0x148]
cmp dword [edi + 0x1ec], esi
je 0x4b5b18
test esi, esi
je 0x4b5b02
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1ec]
mov dword [edi + 0x1ec], esi
test eax, eax
je 0x4b5b18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebx + 0x14c]
cmp dword [edi + 0x1e8], esi
je 0x4b5b46
test esi, esi
je 0x4b5b30
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1e8]
mov dword [edi + 0x1e8], esi
test eax, eax
je 0x4b5b46
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 0x4b5bb8
mov eax, dword [eax]
cmp eax, 0x64
je 0x4b5bb8
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 0x4b5be0
mov ecx, dword [ecx]
cmp ecx, 0x64
je 0x4b5be0
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 0x4b5c22
mov eax, dword [eax]
cmp eax, 0x64
je 0x4b5c22
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
or ecx, 0xffffffff
lea esi, [eax - 1]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4b5c5e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.005c8db3
mov esp, ebp
pop ebp
ret 4