Function at 0x4712a0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ec9f0
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 0x4717af
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
call fcn.00410270
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
cmp eax, edi
jne 0x4712f0
push 0x80004003
call fcn.004ddb30
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 0x47130e
push 0x526660
push esi
push eax
call fcn.004ddb3e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
cmp eax, edi
jle 0x471782
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x471337
push 0x80004003
call fcn.004ddb30
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004505c0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 1
test eax, eax
jne 0x47135d
push 0x80004003
call fcn.004ddb30
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004101d0
mov ecx, dword [eax]
mov byte [esp + 0x34], 2
test ecx, ecx
je 0x47137d
call fcn.00410c30
jmp 0x47137f
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.00410b10
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4713a9
push 0x80004003
call fcn.004ddb30
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
call fcn.00410360
mov ecx, dword [eax]
mov byte [esp + 0x34], 5
test ecx, ecx
je 0x4713c9
call fcn.00410c30
jmp 0x4713cb
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.00410b10
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x471741
lea ecx, [esp + 0x40]
lea edx, [esp + 0x3c]
push ecx
push ebx
push edx
call fcn.00474010
add esp, 0xc
test eax, eax
jne 0x471741
mov eax, dword [str.DIRECTION]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x471469
mov eax, dword [esp + 0x40]
test eax, eax
mov esi, eax
je 0x471741
push str.vertical
push eax
call ebp
add esp, 8
test eax, eax
jne 0x47144a
mov dword [ebx + 0x50], 2
jmp 0x471741
push str.horizontal
push esi
call ebp
add esp, 8
test eax, eax
jne 0x471741
mov dword [ebx + 0x50], 1
jmp 0x471741
mov edx, dword [str.FOREGROUNDCOLOR]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4714ec
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4714e1
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4714a4
mov dword [ebx + 0x90], eax
jmp 0x471741
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4714c3
mov eax, 0xffffff
mov dword [ebx + 0x90], eax
jmp 0x471741
cmp byte [esi], 0x23
jne 0x4714c9
inc esi
lea ecx, [esp + 0x1c]
push ecx
push 0x52f634
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x90], eax
jmp 0x471741
mov edx, dword [str.BACKGROUNDIMAGE]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x47151a
mov edx, dword [esp + 0x40]
lea ecx, [ebx + 0x9c]
push ecx
push edx
call fcn.00474460
add esp, 8
jmp 0x471741
mov eax, dword [str.BACKGROUNDCOLOR]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x47159f
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x4c], eax
test esi, esi
mov dword [esp + 0x1c], eax
je 0x471594
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x471557
mov dword [ebx + 0x94], eax
jmp 0x471741
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x471576
mov eax, 0xffffff
mov dword [ebx + 0x94], eax
jmp 0x471741
cmp byte [esi], 0x23
jne 0x47157c
inc esi
lea edx, [esp + 0x1c]
push edx
push 0x52f634
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x94], eax
jmp 0x471741
mov eax, dword [str.VALUE]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4715c8
lea edx, [esp + 0x40]
lea ecx, [ebx + 0x98]
push edx
call fcn.004dcf56
jmp 0x471741
mov eax, dword [str.FONTTYPE]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x471607
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 0x471741
mov ecx, dword [str.FONTSTYLE]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x471715
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 0x471656
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x64
call sub.MFC42.DLL_CString::CString
jmp 0x471741
mov edx, dword [esp + 0x10]
push str.Normal
push edx
call ebp
add esp, 8
test eax, eax
jne 0x47167e
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x190
call sub.MFC42.DLL_CString::CString
jmp 0x471741
mov eax, dword [esp + 0x10]
push str.Medium
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4716a6
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x1f4
call sub.MFC42.DLL_CString::CString
jmp 0x471741
mov ecx, dword [esp + 0x10]
push str.Semibold
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4716cb
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x258
call sub.MFC42.DLL_CString::CString
jmp 0x471741
mov edx, dword [esp + 0x10]
push str.Bold
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4716f0
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x2bc
call sub.MFC42.DLL_CString::CString
jmp 0x471741
mov eax, dword [esp + 0x10]
push str.Extrabold
push eax
call ebp
add esp, 8
test eax, eax
jne 0x47170a
mov dword [ebx + 0x64], 0x320
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x471741
mov ecx, dword [str.FONTSIZE]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x471741
mov ecx, dword [esp + 0x40]
lea eax, [ebx + 0x54]
push eax
push 0x5261dc
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 0x471770
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 0x471325
pop ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
test eax, eax
pop esi
je 0x471799
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