Function at 0x4098d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40c1a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push ecx
xor edi, edi
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x412090
mov dword [0x413c54], edi
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x4c], edi
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x412090
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x264]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esi + 0x260]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esi + 0x25c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::CString_1
push 0x409c40
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x4121b4
mov byte [esp + 0x64], 4
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0xcd8]
mov dword [esp + 0x60], 0xffffffff
call fcn.00404b80
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x14], edi
mov ecx, esi
call fcn.00409c00
mov eax, dword [esi + 0xcd4]
test eax, eax
jne 0x409b28
lea ecx, [esp + 0x14]
lea ebx, [esi + 0xcb8]
push ecx
mov ecx, dword [esi + 0xcd8]
push ebx
call fcn.00404e80
mov ebx, dword [ebx]
mov edi, eax
neg edi
sbb edi, edi
push ebx
push 0x3f6
mov ecx, esi
inc edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x64
call ebp
mov eax, dword [0x413c54]
test eax, eax
jne 0x409a12
test edi, edi
jne 0x40999c
mov ecx, dword [esp + 0x14]
test ecx, ecx
setne al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [0x413c58]
mov ecx, dword [esi + 0xcd8]
lea edi, [esi + 0xcb8]
push edi
push edx
push eax
call fcn.00404d90
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x413c54]
lea ecx, [esp + 0x10]
push eax
mov bl, 6
push 0x411e0c
push ecx
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edi
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3f6
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], bl
call fcn.0040ad9c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push str.Error:
push edx
call sub.MFC42.DLL_operator
push edi
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x4c], 8
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x50], 9
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 8
call fcn.0040ad9c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.0040ad9c
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4121b4
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0xcd8]
call fcn.00405200
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 5
call fcn.0040ad9c
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.0040ad9c
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret