Function at 0x46a390
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dee50
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push edi
xor edi, edi
cmp ebx, edi
je 0x46a89f
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
call fcn.0040f330
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
cmp eax, edi
jne 0x46a3e0
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push esi
push edx
push eax
mov esi, eax
call dword [ecx + 0x2c]
cmp eax, edi
jge 0x46a3fe
push 0x518670
push esi
push eax
call fcn.004cf736
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
cmp eax, edi
jle 0x46a872
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x46a427
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0046e490
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 1
test eax, eax
jne 0x46a44d
push 0x80004003
call fcn.004cf728
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0040f290
mov ecx, dword [eax]
mov byte [esp + 0x34], 2
test ecx, ecx
je 0x46a46d
call fcn.00405ec0
jmp 0x46a46f
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.00405de0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46a499
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
call fcn.0040f420
mov ecx, dword [eax]
mov byte [esp + 0x34], 5
test ecx, ecx
je 0x46a4b9
call fcn.00405ec0
jmp 0x46a4bb
xor eax, eax
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 7
call fcn.00405de0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46a831
lea ecx, [esp + 0x40]
lea edx, [esp + 0x3c]
push ecx
push ebx
push edx
call fcn.0046cca0
add esp, 0xc
test eax, eax
jne 0x46a831
mov eax, dword [str.DIRECTION]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x46a559
mov eax, dword [esp + 0x40]
test eax, eax
mov esi, eax
je 0x46a831
push str.vertical
push eax
call ebp
add esp, 8
test eax, eax
jne 0x46a53a
mov dword [ebx + 0x50], 2
jmp 0x46a831
push str.horizontal
push esi
call ebp
add esp, 8
test eax, eax
jne 0x46a831
mov dword [ebx + 0x50], 1
jmp 0x46a831
mov edx, dword [str.FOREGROUNDCOLOR]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x46a5dc
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x46a5d1
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x46a594
mov dword [ebx + 0x90], eax
jmp 0x46a831
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x46a5b3
mov eax, 0xffffff
mov dword [ebx + 0x90], eax
jmp 0x46a831
cmp byte [esi], 0x23
jne 0x46a5b9
inc esi
lea ecx, [esp + 0x1c]
push ecx
push 0x520564
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x90], eax
jmp 0x46a831
mov edx, dword [str.BACKGROUNDIMAGE]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x46a60a
mov edx, dword [esp + 0x40]
lea ecx, [ebx + 0x9c]
push ecx
push edx
call fcn.0046d0f0
add esp, 8
jmp 0x46a831
mov eax, dword [str.BACKGROUNDCOLOR]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x46a68f
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x4c], eax
test esi, esi
mov dword [esp + 0x1c], eax
je 0x46a684
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x46a647
mov dword [ebx + 0x94], eax
jmp 0x46a831
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x46a666
mov eax, 0xffffff
mov dword [ebx + 0x94], eax
jmp 0x46a831
cmp byte [esi], 0x23
jne 0x46a66c
inc esi
lea edx, [esp + 0x1c]
push edx
push 0x520564
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x94], eax
jmp 0x46a831
mov eax, dword [str.VALUE]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x46a6b8
lea edx, [esp + 0x40]
lea ecx, [ebx + 0x98]
push edx
call fcn.004ceb40
jmp 0x46a831
mov eax, dword [str.FONTTYPE]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x46a6f7
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x70]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
jmp 0x46a831
mov ecx, dword [str.FONTSTYLE]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x46a805
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
push str.Thin
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x46a746
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x64
call sub.MFC42.DLL_CString::CString
jmp 0x46a831
mov edx, dword [esp + 0x10]
push str.Normal
push edx
call ebp
add esp, 8
test eax, eax
jne 0x46a76e
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x190
call sub.MFC42.DLL_CString::CString
jmp 0x46a831
mov eax, dword [esp + 0x10]
push str.Medium
push eax
call ebp
add esp, 8
test eax, eax
jne 0x46a796
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x1f4
call sub.MFC42.DLL_CString::CString
jmp 0x46a831
mov ecx, dword [esp + 0x10]
push str.Semibold
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x46a7bb
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x258
call sub.MFC42.DLL_CString::CString
jmp 0x46a831
mov edx, dword [esp + 0x10]
push str.Bold
push edx
call ebp
add esp, 8
test eax, eax
jne 0x46a7e0
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x2bc
call sub.MFC42.DLL_CString::CString
jmp 0x46a831
mov eax, dword [esp + 0x10]
push str.Extrabold
push eax
call ebp
add esp, 8
test eax, eax
jne 0x46a7fa
mov dword [ebx + 0x64], 0x320
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x46a831
mov ecx, dword [str.FONTSIZE]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x46a831
mov ecx, dword [esp + 0x40]
lea eax, [ebx + 0x54]
push eax
push 0x51842c
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 0
test eax, eax
je 0x46a860
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jl 0x46a415
pop ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
test eax, eax
pop esi
je 0x46a889
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x24]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret