Function at 0x401334
Capabilities:
Get number of processors

Disassembly:
jmp 0x4295b0
push 0xffffffffffffffff
push 0x456ddd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
mov ebx, dword [esp + 0xd0]
push ebp
mov ebp, dword [esp + 0xd0]
mov edx, ebp
mov eax, ecx
mov ecx, dword [ebx + 0x78]
push esi
shl edx, 5
sub edx, ebp
push edi
mov esi, ebx
push ebp
lea edi, [eax + edx*4 + 0xfd6c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
call fcn.00401758
test eax, eax
je 0x429616
mov dword [ebx], 0xe001
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xd0], esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 1
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov byte [esp + 0xd4], 2
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], esi
call edi
push 0xf
mov dword [esp + 0x28], eax
call edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
cmp eax, esi
jne 0x4297af
push 0x46b5fc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x466cb8]
mov byte [esp + 0xd0], 3
cmp eax, 0x20
jne 0x4296a0
push str.UI_ID_C
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
cmp dword [0x466cb8], 0x28
jb 0x4296b7
push str.UI_ID_D
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push str.DETECT_RESULT_FMT_MAIN
push ecx
call fcn.00401154
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push str.DETECT_RESULT_FMT_SUB
push eax
call fcn.00401154
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xd4], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
push ebx
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040104b
lea eax, [esp + 0x44]
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00401217
mov eax, dword [0x46bab8]
add esp, 0x18
cmp eax, esi
je 0x429799
cmp byte [ebx + 0x69], 0x15
jne 0x429799
mov al, byte [ebx + 0x77]
cmp al, 0x24
jne 0x42976c
mov edx, dword [0x46bacc]
jmp 0x429795
cmp al, 0x14
jne 0x42977b
mov eax, dword [0x46bad0]
mov dword [esp + 0x14], eax
jmp 0x429799
cmp al, 0x22
jne 0x42978b
mov ecx, dword [0x46bad4]
mov dword [esp + 0x14], ecx
jmp 0x429799
cmp al, 0x12
jne 0x429799
mov edx, dword [0x46bad8]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
jmp 0x42983e
mov edi, dword [0x466cb8]
xor ecx, ecx
cmp edi, 0x10
push esi
setne cl
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call fcn.0040187a
xor eax, eax
xor ecx, ecx
mov al, byte [ebx + 0x1d]
mov cl, byte [ebx + 0x1c]
xor edx, edx
push eax
mov dl, byte [ebx + 0x1b]
push ecx
xor eax, eax
push edx
mov al, byte [ebx + 0x1a]
xor ecx, ecx
mov cl, byte [ebx + 0x19]
xor edx, edx
mov dl, byte [ebx + 0x18]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push str._r_nID:__02X__02X__02X__02X__02X__02X
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x30
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.00447488
mov eax, dword [ebx]
and al, 0
cmp eax, 0x30100
je 0x429836
cmp eax, 0x30400
je 0x429836
cmp eax, 0x30500
je 0x429836
cmp eax, 0x30000
mov dword [esp + 0x28], 0xff
jne 0x42983e
mov dword [esp + 0x28], 0x808080
cmp dword [0x466cb8], 0x10
jne 0x4298aa
lea edx, [ebp + ebp*8]
lea eax, [ebp + edx*4]
mov al, byte [eax*8 + 0x46bf54]
test al, al
je 0x4298aa
mov edi, dword [esp + 0x1c]
cmp dword [edi + ebp*4 + 0x16a70], esi
jne 0x429911
push 1
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [ebp + ebp*4]
shl ecx, 5
add ecx, ebp
push eax
mov byte [esp + 0xd4], 6
lea ecx, [edi + ecx*4 + 0xc8]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
jmp 0x429911
mov edx, dword [esp + 0x1c]
cmp dword [edx + ebp*4 + 0x16a70], esi
jne 0x42990d
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp + 1]
lea ecx, [esp + 0x10]
push eax
push 0x465b64
push ecx
mov byte [esp + 0xdc], 7
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
lea eax, [ebp + ebp*4]
add esp, 0xc
shl eax, 5
add eax, ebp
push edx
lea ecx, [ecx + eax*4 + 0xc8]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x1c]
lea edx, [ebp + ebp*4]
push 1
shl edx, 5
add edx, ebp
lea ecx, [edi + edx*4 + 0xc8]
call sub.MFC42.DLL_CWnd::EnableWindow
lea eax, [ebp + ebp*4]
push 1
lea ecx, [ebp + eax*4]
lea edx, [ebp + ecx*2]
lea esi, [edi + edx*4]
mov dword [esp + 0x40], esi
add esi, 0xa1c8
mov ecx, esi
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
push 0
push 0
mov ecx, esi
call fcn.0040141a
mov eax, dword [esp + 0x28]
push 0
push eax
mov ecx, esi
call fcn.004015d7
mov ecx, dword [esp + 0x24]
push 0
push ecx
mov ecx, esi
call fcn.00401929
push str.MS_Sans_Serif
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [0x466cb8]
lea ecx, [esp + 0x10]
cmp edx, 0x28
mov byte [esp + 0xd0], 8
sbb edx, edx
xor eax, eax
mov al, byte [edi + 0xc4]
neg edx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00401500
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x46bb74]
xor edi, edi
cmp eax, edi
je 0x429b9d
cmp dword [ebx], edi
jne 0x429b9d
lea edx, [ebp + ebp*8]
lea eax, [ebp + edx*4]
mov dword [esp + 0x24], eax
cmp dword [eax*8 + 0x46bf50], 0xffffffff
je 0x429b9d
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd0], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 0xb
call sub.MFC42.DLL_CString::CString_3
push 0x46b324
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 0xc
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov word [esp + 0x54], di
mov word [esp + 0x56], di
mov dword [esp + 0x68], edi
call sub.MFC42.DLL_CString::operator_1
push 0x46b324
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_1
push 0x46b324
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_1
push 0x46b324
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [edx*8 + 0x46bf50]
push ecx
push 1
push eax
mov byte [esp + 0xdc], 0xd
call dword [0x46bf24]
add esp, 0xc
test eax, eax
jne 0x429b57
mov eax, dword [esp + 0x40]
test eax, eax
je 0x429b57
cmp byte [esp + 0x1b], 0xfb
jne 0x429b57
push 0
push 0xff0000
mov ecx, esi
call fcn.004015d7
push str.MS_Sans_Serif
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push 1
lea ecx, [esp + 0x14]
push 8
push ecx
mov ecx, esi
mov byte [esp + 0xdc], 0xe
call fcn.00401500
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 0xd
call sub.MFC42.DLL_CString::CString
push str.FMT_STR
lea edx, [esp + 0x28]
push str.FMT_STR_ONLY_FOR_89SN_GT
push edx
call fcn.00401154
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0xf
call fcn.00447488
lea ecx, [esp + 0x24]
mov byte [esp + 0xd0], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd0], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
xor edi, edi
mov eax, dword [esp + 0x20]
push edi
push edi
push eax
mov ecx, esi
call fcn.00401695
mov al, byte [ebx + 0x69]
xor esi, esi
cmp al, 0x15
je 0x429bc4
cmp dword [ebx + 0x70], edi
jne 0x429bc4
mov al, byte [ebx + 0x75]
cmp al, 0xff
je 0x429bc9
test al, al
je 0x429bc9
mov esi, 1
mov ecx, dword [esp + 0x3c]
push 0
push 0
push 0
lea edi, [ecx + 0xccc8]
mov ecx, edi
call fcn.0040141a
push str.Cambria
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
neg esi
sbb esi, esi
push 1
and esi, 0xfffffff5
lea edx, [esp + 0x14]
add esi, 0x16
mov ecx, edi
push esi
push edx
mov byte [esp + 0xdc], 0x13
call fcn.00401500
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
push 0
push eax
mov ecx, edi
call fcn.004015d7
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, edi
call fcn.00401929
mov edx, dword [esp + 0x2c]
push 0
push 0
push edx
mov ecx, edi
call fcn.00401695
cmp dword [ebx], 0
jne 0x429c68
lea eax, [ebp + ebp*8]
lea eax, [ebp + eax*4]
lea ecx, [eax*8 + 0x46bf5c]
mov dword [ecx], 3
jmp 0x429c91
lea ecx, [ebp + ebp*8]
lea eax, [ebp + ecx*4]
shl eax, 3
lea ecx, [eax + 0x46bf5c]
mov dword [ecx], 0x40000003
mov edx, dword [ebx]
shr edx, 8
sub edx, 0x2000
mov word [eax + 0x46bf64], dx
cmp dword [ecx], 3
jne 0x429cb4
mov eax, dword [0x46b430]
test eax, eax
je 0x429cb4
mov esi, dword [esp + 0x1c]
push 0
push ebp
push 0x4501
mov ecx, esi
call fcn.004018ac
jmp 0x429cb8
mov esi, dword [esp + 0x1c]
cmp dword [ebx], 0xa0001
jne 0x429d05
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x7d7
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0x64
push 0x7d7
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 0x20]
push 0x7d6
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push 0x12c
push 0x7d6
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x46b82c]
test eax, eax
je 0x429d5a
cmp byte [ebx + 0x6c], 0xff
je 0x429d5a
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
xor ecx, ecx
lea edx, [esp + 0x14]
mov cl, byte [ebx + 0x6c]
mov byte [esp + 0xd0], 0x14
push ecx
push str._Cycle_Time___dns
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00401096
lea ecx, [esp + 0x14]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [ebx + 0x69]
mov byte [esp + 0xd0], 0x15
test al, al
je 0x429d7f
mov cl, byte [ebx + 0x6b]
cmp cl, 1
mov ecx, 0x465c90
jne 0x429d84
mov ecx, 0x465c7c
cmp byte [0x46b884], 4
jne 0x429d94
and eax, 0xff
jmp 0x429d96
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x38]
push str._d_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ebp
mov ecx, esi
call fcn.00401230
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0xd0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc4
ret 8