Function at 0x408de0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40c99b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
mov dword [esp + 0x74], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::ScreenToClient
push 0xf9f2e9
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0xe0]
lea eax, [esp + 0x78]
xor ebx, ebx
neg eax
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_FillRect]
sbb eax, eax
mov dword [esp + 0xd8], ebx
and eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call edi
push 0xa6490c
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CBrush::CBrush
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x20]
lea edx, [eax - 0x18]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x30], ecx
neg eax
mov ecx, dword [esi + 4]
mov byte [esp + 0xd8], 1
sbb eax, eax
mov dword [esp + 0x2c], edx
and eax, ebp
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
push 0x7a7a7a
push 2
push ebx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0x4c]
mov ecx, esi
push edx
mov byte [esp + 0xdc], 2
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0xff
mov dword [esp + 0x34], 0xf
mov edi, 1
mov ebp, 0x40d6ac
mov ebx, 0x40d698
mov eax, dword [esp + 0x14]
and eax, 0xff
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
push ecx
push 1
push 0
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0x64]
mov ecx, esi
push edx
mov byte [esp + 0xdc], 3
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x28]
push edi
inc eax
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x30]
push edi
dec edx
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
dec eax
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0xd8], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x34]
inc edi
dec eax
mov byte [esp + 0xd8], 2
cmp edi, eax
mov dword [esp + 0x64], ebx
jl 0x408f05
push 0x9d690b
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CBrush::CBrush
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov eax, 0xc
mov edx, dword [esi + 4]
add ecx, eax
sub edi, eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x60]
mov byte [esp + 0xd8], 5
neg eax
sbb eax, eax
mov dword [esp + 0x30], edi
and eax, ecx
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
mov dword [esp + 0x38], 0x1e
mov dword [esp + 0x40], 0x5e
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CDC::CDC
test esi, esi
mov byte [esp + 0xd8], 6
jne 0x40901a
xor eax, eax
jmp 0x40901d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x678]
test ecx, ecx
je 0x40908e
add eax, 0x674
test eax, eax
je 0x40905e
mov eax, dword [eax + 4]
test eax, eax
je 0x40905e
push eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x88]
neg eax
mov ecx, dword [esi + 4]
push 0xcc0020
sbb eax, eax
push 0
and eax, edx
push 0
push eax
push 0x32
push 0x64
push 0x28
push 0x1e
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
lea edx, [esp + 0x4c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x20]
push 0xa
add eax, 0xffffffee
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x20]
push 0x12
add edx, 0xfffffff6
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x20]
push 0xa
add eax, 0xfffffff6
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x20]
push 0x12
add edx, 0xffffffee
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
push 0
push 1
push 0
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x70]
mov ecx, esi
push eax
mov byte [esp + 0xdc], 7
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
dec ecx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
dec eax
dec ecx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
dec eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0x40d938
push esi
push 0x412a40
push 0x100
lea ecx, [esp + 0x50]
mov byte [esp + 0xe4], 8
call sub.MFC42.DLL_CFont::CreatePointFont
mov edx, dword [esi]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x98]
push ecx
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x38]
push 0x412190
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov byte [esp + 0xd8], 9
mov ecx, dword [eax - 8]
push ecx
push eax
push 0x2e
push 0xc8
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0x40d938
push esi
push 0x4121fc
push 0x6c
lea ecx, [esp + 0x48]
mov byte [esp + 0xe4], 0xa
call sub.MFC42.DLL_CFont::CreatePointFont
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x10]
mov edi, eax
push ecx
mov ecx, dword [esp + 0x70]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 0xa
push 0xc
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x38]
push 0x412a10
lea ecx, [esp + 0x14]
call fcn.0040ad3e
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 0x12]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
mov dword [esp + 0x38], edx
mov edx, dword [esi]
push dword [esp + 0x38]
push ecx
push eax
push 0xc
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x3c], ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xd8], 8
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x44], ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x44], ebx
mov dword [esp + 0x70], ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0xd8], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x88]
mov dword [esp + 0x70], ebx
mov byte [esp + 0xd8], 5
call fcn.0040b110
mov dword [esp + 0x5c], ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 0x10
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x54], ebx
mov dword [esp + 0x78], ebp
lea ecx, [esp + 0x78]
mov dword [esp + 0xd8], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 4