Function at 0x471540
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ef3c0
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 0x471a4f
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
call fcn.00410530
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
cmp eax, edi
jne 0x471590
push 0x80004003
call fcn.004e1090
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 0x4715ae
push 0x5296a8
push esi
push eax
call fcn.004e109e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
cmp eax, edi
jle 0x471a22
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4715d7
push 0x80004003
call fcn.004e1090
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00450830
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 1
test eax, eax
jne 0x4715fd
push 0x80004003
call fcn.004e1090
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00410490
mov ecx, dword [eax]
mov byte [esp + 0x34], 2
test ecx, ecx
je 0x47161d
call fcn.00410f30
jmp 0x47161f
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.00410e10
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x471649
push 0x80004003
call fcn.004e1090
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
call fcn.00410620
mov ecx, dword [eax]
mov byte [esp + 0x34], 5
test ecx, ecx
je 0x471669
call fcn.00410f30
jmp 0x47166b
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.00410e10
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4719e1
lea ecx, [esp + 0x40]
lea edx, [esp + 0x3c]
push ecx
push ebx
push edx
call fcn.004742b0
add esp, 0xc
test eax, eax
jne 0x4719e1
mov eax, dword [str.DIRECTION]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x471709
mov eax, dword [esp + 0x40]
test eax, eax
mov esi, eax
je 0x4719e1
push str.vertical
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4716ea
mov dword [ebx + 0x50], 2
jmp 0x4719e1
push str.horizontal
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4719e1
mov dword [ebx + 0x50], 1
jmp 0x4719e1
mov edx, dword [str.FOREGROUNDCOLOR]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x47178c
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x471781
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x471744
mov dword [ebx + 0x90], eax
jmp 0x4719e1
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x471763
mov eax, 0xffffff
mov dword [ebx + 0x90], eax
jmp 0x4719e1
cmp byte [esi], 0x23
jne 0x471769
inc esi
lea ecx, [esp + 0x1c]
push ecx
push 0x532644
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x90], eax
jmp 0x4719e1
mov edx, dword [str.BACKGROUNDIMAGE]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4717ba
mov edx, dword [esp + 0x40]
lea ecx, [ebx + 0x9c]
push ecx
push edx
call fcn.00474700
add esp, 8
jmp 0x4719e1
mov eax, dword [str.BACKGROUNDCOLOR]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x47183f
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x4c], eax
test esi, esi
mov dword [esp + 0x1c], eax
je 0x471834
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4717f7
mov dword [ebx + 0x94], eax
jmp 0x4719e1
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x471816
mov eax, 0xffffff
mov dword [ebx + 0x94], eax
jmp 0x4719e1
cmp byte [esi], 0x23
jne 0x47181c
inc esi
lea edx, [esp + 0x1c]
push edx
push 0x532644
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x94], eax
jmp 0x4719e1
mov eax, dword [str.VALUE]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x471868
lea edx, [esp + 0x40]
lea ecx, [ebx + 0x98]
push edx
call fcn.004e0496
jmp 0x4719e1
mov eax, dword [str.FONTTYPE]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4718a7
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 0x4719e1
mov ecx, dword [str.FONTSTYLE]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4719b5
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 0x4718f6
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x64
call sub.MFC42.DLL_CString::CString
jmp 0x4719e1
mov edx, dword [esp + 0x10]
push str.Normal
push edx
call ebp
add esp, 8
test eax, eax
jne 0x47191e
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x190
call sub.MFC42.DLL_CString::CString
jmp 0x4719e1
mov eax, dword [esp + 0x10]
push str.Medium
push eax
call ebp
add esp, 8
test eax, eax
jne 0x471946
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x1f4
call sub.MFC42.DLL_CString::CString
jmp 0x4719e1
mov ecx, dword [esp + 0x10]
push str.Semibold
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x47196b
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x258
call sub.MFC42.DLL_CString::CString
jmp 0x4719e1
mov edx, dword [esp + 0x10]
push str.Bold
push edx
call ebp
add esp, 8
test eax, eax
jne 0x471990
lea ecx, [esp + 0x10]
mov dword [ebx + 0x64], 0x2bc
call sub.MFC42.DLL_CString::CString
jmp 0x4719e1
mov eax, dword [esp + 0x10]
push str.Extrabold
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4719aa
mov dword [ebx + 0x64], 0x320
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x4719e1
mov ecx, dword [str.FONTSIZE]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4719e1
mov ecx, dword [esp + 0x40]
lea eax, [ebx + 0x54]
push eax
push 0x5291e4
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 0x471a10
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 0x4715c5
pop ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
test eax, eax
pop esi
je 0x471a39
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