Function at 0x421f50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44f83e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x94], 8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [ebp + 0x7c], 0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x98], 9
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.FontSize66656
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0xc4]
lea eax, [esp + 0x3c]
push str.SoftwareMicrosoftWindowsCurrentVersion_
push eax
call fcn.0040f390
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 9
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.Error
push ecx
call ebx
add esp, 8
test eax, eax
je 0x422011
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
test eax, eax
jne 0x42201f
push 0x474a94
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call esi
mov edi, eax
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edi
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x98], 0xb
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.FontColor66656
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x3c]
push str.SoftwareMicrosoftWindowsCurrentVersion_
push ecx
mov ecx, dword [ebp + 0xc4]
call fcn.0040f390
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0xb
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
push str.Error
push edx
call ebx
add esp, 8
test eax, eax
je 0x4220ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4220bb
push 0x464540
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x1c]
push ecx
call esi
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x98], 0xd
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.FontType66656
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0xc4]
lea edx, [esp + 0x3c]
push str.SoftwareMicrosoftWindowsCurrentVersion_
push edx
call fcn.0040f390
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0xd
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
push str.Error
push eax
call ebx
add esp, 8
test eax, eax
je 0x422143
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp dword [ecx - 8], esi
jne 0x422153
jmp 0x422145
xor esi, esi
push 0x46413c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0x190
mov byte [esp + 0x64], 0
mov byte [esp + 0x65], 0
mov byte [esp + 0x66], 0
mov byte [esp + 0x67], 0x86
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x6c]
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]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xbc]
mov byte [esp + 0x94], 0xf
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.0044a6f6
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00443760
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x98], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x34]
call fcn.0044a6f6
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x11
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x30]
push 0x464540
push edx
mov byte [esp + 0x9c], 0x12
call ebx
add esp, 8
test eax, eax
jne 0x422262
push 0x46441c
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_CString::operator_2
push str._font_color009900_
jmp 0x4222a3
mov eax, dword [esp + 0x30]
push 0x464544
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42228d
push 0x464414
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_CString::operator_2
push str._font_colorff0000_
jmp 0x4222a3
push 0x474b98
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_CString::operator_2
push str._font_color0000ff_
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0xa8]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push 0x474b28
push eax
mov byte [esp + 0xb0], 0x13
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x7c]
add esp, 0x1c
test eax, eax
je 0x42232a
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push 0x474afc
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0x14
call sub.MFC42.DLL_CString::CString_3
add esi, 0x64
lea ecx, [esp + 0x24]
push esi
mov byte [esp + 0x98], 0x15
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x422403
push 0x4820b4
push eax
call ebx
add esp, 8
test eax, eax
je 0x422403
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x474af8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0xa0], 0x16
call fcn.0044a6f6
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0xa4], 0x17
call fcn.0044a6f6
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
mov byte [esp + 0xa4], 0x15
call fcn.004234d0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 0x18
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov dword [ebp + 0x80], 0
mov eax, dword [ebp + 0xdc8]
test ecx, ecx
mov dword [esp + 0x48], eax
jne 0x42244c
test eax, eax
jle 0x422431
push 0
jmp 0x422433
push 0xffffffffffffffff
push 0x4820b4
lea ecx, [ebp + 0xce8]
call fcn.00430680
mov edi, eax
mov eax, dword [ebp + 0x6c]
inc eax
mov dword [ebp + 0x6c], eax
mov edx, dword [esp + 0x9c]
lea esi, [ebp + 0xce8]
push edx
push 0
push edi
mov ecx, esi
call fcn.00431380
mov eax, dword [esp + 0xa0]
mov ecx, esi
push eax
push 1
push edi
call fcn.00431380
mov ecx, dword [esp + 0xa4]
push ecx
push 2
push edi
mov ecx, esi
call fcn.00431380
mov edx, dword [esp + 0xa8]
mov ecx, esi
push edx
push 3
push edi
call fcn.00431380
mov eax, dword [esp + 0xac]
mov ecx, esi
push eax
push 4
push edi
call fcn.00431380
mov ecx, dword [esp + 0xb4]
push ecx
push 5
push edi
mov ecx, esi
call fcn.00431380
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
push 6
push edi
call fcn.00431380
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 8
push edi
call fcn.00431380
mov ecx, dword [esp + 0xb0]
push ecx
push 9
push edi
mov ecx, esi
call fcn.00431380
mov edx, dword [esp + 0xa4]
push 0x464414
push edx
call ebx
add esp, 8
test eax, eax
jne 0x422508
push 3
jmp 0x42250a
push 2
push 7
push edi
mov ecx, esi
call fcn.00431400
push 4
push 0xa
push edi
mov ecx, esi
call fcn.00431400
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x422541
push 0x4820b4
push eax
call ebx
add esp, 8
test eax, eax
je 0x422541
xor eax, eax
jmp 0x422546
mov eax, 1
push eax
push 0xb
push edi
mov ecx, esi
call fcn.00431400
mov eax, dword [esp + 0xb8]
mov ecx, esi
push eax
push 0xc
push edi
call fcn.00431380
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push 8
mov edx, dword [ecx - 8]
push edi
mov ecx, esi
mov dword [esp + 0x48], edx
call fcn.00431bf0
mov ebx, dword [esp + 0x34]
mov edx, dword [ebp + 0x80]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x7c]
push ecx
mov ecx, dword [ebp + 0x7c]
add edx, ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [ebp + 0x74]
push eax
push ecx
push edx
push 8
push edi
mov ecx, esi
call fcn.00438bb0
mov eax, dword [esp + 0x44]
mov ecx, esi
push eax
push 8
push edi
call fcn.00431b90
mov eax, dword [esp + 0xc0]
cmp eax, 0xffffffff
jne 0x4225eb
mov ecx, edi
and ecx, 0x80000001
jns 0x4225d3
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x4225e0
mov edx, dword [ebx + 0xa4]
push edx
push 8
jmp 0x42263b
mov eax, dword [ebx + 0xa8]
push eax
push 8
jmp 0x42263b
test eax, eax
jne 0x422643
cmp dword [esp + 0x48], 1
jl 0x422632
push 8
push 1
mov ecx, esi
call fcn.00431900
cmp eax, dword [ebx + 0xa4]
jne 0x422614
mov ecx, dword [ebx + 0xa8]
push ecx
push 8
jmp 0x42263b
push 8
push 1
mov ecx, esi
call fcn.00431900
cmp eax, dword [ebx + 0xa8]
jne 0x422643
mov edx, dword [ebx + 0xa4]
push edx
push 8
jmp 0x42263b
mov eax, dword [ebx + 0xa4]
push eax
push 2
push edi
mov ecx, esi
call fcn.004318a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x9c]
mov byte [esp + 0x94], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
mov byte [esp + 0x94], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa4]
mov byte [esp + 0x94], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa8]
mov byte [esp + 0x94], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xac]
mov byte [esp + 0x94], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x94], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
mov byte [esp + 0x94], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb8]
mov byte [esp + 0x94], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xbc]
mov dword [esp + 0x94], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 0x2c