Function at 0x4e6f78
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, 0x4f754c
xor eax, eax
push ebp
push 0x4e71e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x42c718]
call fcn.00403b8c
mov eax, dword [eax + 0x30]
mov edx, dword [0x4f4538]
cmp eax, dword [edx]
jne 0x4e6fd6
mov dword [ebx], 1
mov eax, dword [ebx]
mov eax, dword [eax*4 + 0x4f75dc]
mov edx, dword [ebx]
mov dword [edx*4 + 0x4f763c], eax
inc dword [ebx]
cmp dword [ebx], 9
jne 0x4e6fbd
mov eax, esi
mov edx, dword [0x42c718]
call fcn.00403b8c
mov eax, dword [eax + 0x30]
mov edx, dword [0x4f409c]
cmp eax, dword [edx]
jne 0x4e700f
mov dword [ebx], 1
mov eax, dword [ebx]
mov eax, dword [eax*4 + 0x4f75fc]
mov edx, dword [ebx]
mov dword [edx*4 + 0x4f763c], eax
inc dword [ebx]
cmp dword [ebx], 9
jne 0x4e6ff6
mov eax, esi
mov edx, dword [0x42c718]
call fcn.00403b8c
mov eax, dword [eax + 0x30]
mov edx, dword [0x4f4114]
cmp eax, dword [edx]
jne 0x4e7048
mov dword [ebx], 1
mov eax, dword [ebx]
mov eax, dword [eax*4 + 0x4f761c]
mov edx, dword [ebx]
mov dword [edx*4 + 0x4f763c], eax
inc dword [ebx]
cmp dword [ebx], 9
jne 0x4e702f
mov eax, esi
mov edx, dword [0x42c718]
call fcn.00403b8c
mov edi, eax
mov eax, edi
lea edx, [ebp - 4]
call fcn.00445e28
lea eax, [ebp - 8]
push eax
mov eax, esi
mov edx, dword [0x42c718]
call fcn.00403b8c
mov eax, dword [edi + 8]
mov ecx, 1
mov edx, 5
call fcn.00404d58
mov eax, dword [ebp - 8]
call fcn.0040918c
mov ebx, dword [eax*4 + 0x4f763c]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040918c
imul eax, eax, 0x64
lea ecx, [ebp - 0x14]
mov edx, 4
call fcn.00409134
mov eax, dword [ebp - 0x14]
mov ecx, 2
mov edx, 3
call fcn.00404d58
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x4e7200
call fcn.00404b44
mov eax, dword [ebp - 0xc]
call fcn.0040918c
mov ecx, eax
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
mov edx, ebx
call fcn.004ba60c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040918c
imul eax, eax, 0x64
lea ecx, [ebp - 0x20]
mov edx, 4
call fcn.00409134
mov eax, dword [ebp - 0x20]
mov ecx, 2
xor edx, edx
call fcn.00404d58
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4e7200
call fcn.00404b44
mov eax, dword [ebp - 0x18]
call fcn.0040918c
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
call fcn.004ba60c
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
mov cl, 1
mov edx, ebx
call fcn.004b6dfc
lea edx, [ebx + 1]
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
mov cl, 1
call fcn.004b6dfc
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4e71b0
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov eax, esi
mov edx, dword [0x42c718]
call fcn.00403b8c
mov eax, dword [edi + 0x30]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov eax, dword [0x4f45f4]
mov eax, dword [eax]
call fcn.004bc320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e71ee
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.0040484c
lea eax, [ebp - 8]
call fcn.00404828
lea eax, [ebp - 4]
call fcn.00404828
ret