Function at 0x4c4f10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3795
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x52bdd0]
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 dword [ebx + 0x20]
lea eax, [ebx + 0x20]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc120.dll_Ordinal_4822
mov esi, eax
lea ecx, [ebx + 0xd4]
push ecx
mov ecx, esi
mov dword [ebp - 0x30], esi
mov edx, dword [esi]
call dword [edx + 0x30]
mov esi, dword [esi]
mov edi, dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
push 0
mov dword [ebp - 0x64], eax
call edi
mov ecx, dword [ebp - 0x30]
add esp, 4
push eax
call dword [esi + 0x38]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x30]
push 0xf
mov esi, dword [eax]
call edi
mov ecx, dword [ebp - 0x30]
add esp, 4
push eax
call dword [esi + 0x34]
push 0xf
mov dword [ebp - 0x6c], eax
call edi
push 8
mov esi, eax
call sub.mfc120.dll_Ordinal_1502
add esp, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4c4fc1
push esi
mov ecx, eax
call sub.mfc120.dll_Ordinal_358
mov edi, eax
jmp 0x4c4fc3
xor edi, edi
push 0x4dcbbc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc120.dll_Ordinal_310]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea eax, [ebx + 0x770]
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], eax
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push dword [0x52ec00]
mov dword [ebp - 0x3c], 5
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
mov ecx, dword [ebp - 0x38]
lea eax, [ebx + 0xe8]
mov dword [ebp - 0x54], eax
add esp, 8
mov eax, dword [eax]
add eax, ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0xe4]
mov dword [ebp - 0x58], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], ecx
lea ecx, [ecx + eax*4]
add ecx, eax
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
jmp 0x4c5050
mov eax, dword [ebx + 0xb8]
xorps xmm0, xmm0
shl eax, 4
inc eax
movq qword [ebp - 0x18], xmm0
add eax, ecx
lea ecx, [ebp - 0x18]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCR120.dll__itoa]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411be0
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
test edi, edi
jne 0x4c50a8
xor eax, eax
jmp 0x4c50ab
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push 4
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0x30]
push eax
call dword [esi + 0x70]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x24], eax
inc ecx
add dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], ecx
cmp ecx, 0x10
jl 0x4c5050
push 0
push dword [0x52ec00]
call dword [sym.imp.Y747WINSYS.dll_YWSGetTopAdrs]
mov dword [ebp - 0x60], eax
xor ecx, ecx
lea eax, [ebx + 0xb0]
mov dword [ebp - 0x34], ecx
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [eax], ecx
jle 0x4c526f
lea edx, [ebx + 0x76c]
lea esi, [ebx + 0x768]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [ebp - 0x44], eax
lea ebx, [ebx]
lea eax, [eax + ecx*2]
imul eax, dword [edx]
add eax, dword [esi]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
mov ecx, dword [ebp - 0x54]
add esp, 8
mov esi, dword [ebp - 0x38]
mov eax, esi
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edx
sub eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], esi
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + 5]
add eax, ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
call dword [sym.imp.mfc120.dll_Ordinal_4272]
cmp dword [ebp - 0x44], 0
je 0x4c51aa
movzx esi, word [ebx + 0x9e]
jmp 0x4c51b1
movzx esi, word [ebx + 0x9c]
push 0x4dbd90
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov ecx, dword [ebp - 0x60]
lea eax, [esi + esi*4]
shl eax, 7
add ecx, 0x3318
add eax, ecx
jne 0x4c51ee
push 0xa
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
inc esi
movq qword [ebp - 0x18], xmm0
push esi
call dword [sym.imp.MSVCR120.dll__itoa]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_1691]
push 0x4da964
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_1691]
test edi, edi
jne 0x4c520e
xor eax, eax
jmp 0x4c5211
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push 5
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0x30]
push eax
call dword [esi + 0x70]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
inc eax
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp eax, 2
jl 0x4c5140
mov eax, dword [ebp - 0x50]
inc ecx
add ebx, 8
mov dword [ebp - 0x34], ecx
cmp ecx, dword [eax]
jl 0x4c5135
mov ecx, edi
call sub.mfc120.dll_Ordinal_3831
test edi, edi
je 0x4c5283
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp - 0x70]
mov eax, dword [ebx]
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x6c]
call dword [eax + 0x34]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x64]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x5c]
push dword [ebx + 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
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.004c6016
mov esp, ebp
pop ebp
ret