Function at 0x4044f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40b2a9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebp
push esi
push edi
mov eax, dword [0x411028]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edi, dword [ebx + 0x190]
mov ebp, dword [ebx + 0x194]
mov edx, edi
or edx, ebp
jne 0x40453f
lea ebp, [edx + 0x64]
jmp 0x404561
mov eax, dword [ebx + 0x18c]
mov ecx, dword [ebx + 0x188]
push 0
push 0x64
push eax
push ecx
call fcn.0040ad10
push ebp
push edi
push edx
push eax
call fcn.0040aca0
mov ebp, eax
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkMode]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
add eax, 0x12
mov dword [esp + 0x34], edx
mov dword [esp + 0x34], eax
push 0x4195ff
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push eax
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
sub ecx, edi
imul ecx, ebp
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, edi
push 0xb76336
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push edx
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
lea ecx, [esp + 0x6c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
push 0x40cfc8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
lea edx, [eax + 0x28]
push 0x40cfc8
sub eax, ecx
push 0x40cfc8
lea eax, [ecx + eax + 0x37]
push str.32008
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
call sub.Languages.dll_Ordinal_4
push eax
lea ecx, [esp + 0x70]
call dword [0x40c328]
mov ecx, dword [ebx + 0x18c]
mov edx, dword [ebx + 0x188]
mov eax, dword [esp + 0x6c]
push ebp
push ecx
push edx
push eax
push 0xb76336
lea edi, [esp + 0x4c]
call fcn.00404720
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
lea edx, [eax + 0x46]
sub eax, ecx
mov dword [esp + 0x4c], edx
lea eax, [ecx + eax + 0x55]
push 0x40cfc8
push 0x40cfc8
push 0x40cfc8
push str.32009
mov dword [esp + 0x64], eax
call sub.Languages.dll_Ordinal_4
push eax
lea ecx, [esp + 0x70]
call dword [0x40c328]
mov edx, dword [ebx + 0x190]
mov eax, dword [ebx + 0x194]
mov ecx, 0x64
sub ecx, ebp
sub edx, dword [ebx + 0x188]
push ecx
sbb eax, dword [ebx + 0x18c]
mov ecx, dword [esp + 0x70]
push eax
push edx
push ecx
push 0x4195ff
lea edi, [esp + 0x5c]
call fcn.00404720
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call sub.mfc90u.dll_CDC::SetBkMode
push 1
mov ecx, esi
call sub.mfc90u.dll_CDC::SetBkMode
lea ecx, [esp + 0x6c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x58
ret 4