Function at 0x4191c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d96f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x551aa8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x551aa8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], ebx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], ebx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x98], 2
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebx
cmp eax, ebx
jge 0x41927c
neg eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419900
cmp dword [edi + 0x108], ebx
je 0x4192b9
mov eax, dword [edi + 0x10c]
cmp eax, ebx
je 0x4192dc
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x78]
push ecx
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4192dc
call fcn.00418900
mov dword [esp + 0x60], eax
cmp eax, ebx
je 0x419900
lea ecx, [esp + 0x78]
push ecx
push ebx
mov ecx, eax
mov dword [esp + 0x40], eax
call dword [sym.imp.mfc100u.dll_CStatusBar::GetItemRect]
lea esi, [esp + 0x68]
mov eax, edi
call fcn.00418980
test eax, eax
je 0x419900
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
cmp esi, ebx
je 0x4197f7
push esi
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc100u.dll_CClientDC::CClientDC]
push ebx
push ebx
mov byte [esp + 0xa0], 3
mov edx, dword [esi + 0x20]
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.mfc100u.dll_CGdiObject::FromHandle]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc100u.dll_CDC::SelectObject]
mov dword [esp + 0x64], eax
cmp dword [edi + 0x108], ebx
jne 0x4193a2
cmp dword [edi + 0x7c], ebx
jne 0x41938e
mov eax, dword [edi + 0x78]
cmp eax, ebx
je 0x41938e
jle 0x41936e
mov ebx, dword [esp + 0x80]
sub ebx, eax
sub ebx, dword [esp + 0x78]
add ebx, 3
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x4193b3
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
sub eax, edx
add eax, ecx
sub ecx, edx
sub ecx, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ebx, ecx
jmp 0x4193b3
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
sub eax, 3
jmp 0x4193ad
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4197b2
cmp dword [esp + 0x34], 0
je 0x419507
mov esi, dword [edi + 0x90]
mov eax, dword [edi + 0xb8]
push 0
sub eax, esi
cdq
push 0x64
push edx
push eax
call fcn.0050c4d0
mov ecx, eax
mov eax, dword [edi + 0x94]
mov ebx, edx
sub eax, esi
cdq
push edx
push eax
push ebx
push ecx
call fcn.0050c3d0
push eax
lea edx, [esp + 0x1c]
push str._d__
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
cmp dword [edi + 0x8c], 0
jle 0x419485
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
mov ebx, 0x545cec
call fcn.004044d0
add esp, 4
push eax
lea ecx, [esp + 0x44]
push ecx
mov edi, 0x545ce8
mov byte [esp + 0xa0], 4
call fcn.00403130
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 5
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
mov ebx, 0x542d7c
call fcn.004044d0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 6
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.0041ad40
cmp dword [esp + 0x34], 2
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
jl 0x419503
lea edx, [esp + 0x24]
push edx
mov esi, edi
call fcn.00419ba0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x28]
lea esi, [esp + 0x2c]
call fcn.0041ad40
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x20]
lea eax, [edi + 0x80]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
push 0x542d7c
lea ecx, [esp + 0x24]
call dword [0x511858]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
mov esi, dword [esp + 0x28]
add esi, esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [esp + 0x34]
cmp eax, 3
ja case.default.0x419574
jmp dword [eax*4 + 0x419944]
push esi
push ebx
lea ecx, [esp + 0x50]
push ecx
jmp 0x41958f
add esi, dword [esp + 0x3c]
push esi
push ebx
lea eax, [esp + 0x50]
push eax
push edi
lea esi, [esp + 0x24]
call fcn.00419960
cmp dword [edi + 0x108], 0
jne 0x4196cc
test eax, eax
js 0x419689
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 4
jg 0x4195f0
push 3
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x98], 7
push 0x545cf0
mov esi, eax
mov dword [esp + 0x60], 1
call fcn.0041ab30
add esp, 4
test al, al
jne 0x419689
xor bl, bl
jmp 0x41968b
add esi, dword [esp + 0x44]
lea edx, [esp + 0x48]
push esi
push ebx
push edx
jmp 0x41958f
add esi, dword [esp + 0x44]
lea ecx, [esp + 0x48]
push esi
push ebx
push ecx
push edi
lea esi, [esp + 0x24]
call fcn.00419960
test eax, eax
je 0x41967c
mov edx, dword [esp + 0x14]
cmp eax, dword [edx - 0xc]
je 0x41967c
lea eax, [edi + 0x80]
push eax
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x545cf0
lea ecx, [esp + 0x1c]
call dword [0x511830]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.0041ad40
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
add ecx, eax
push ecx
push ebx
lea edx, [esp + 0x50]
push edx
push edi
lea esi, [esp + 0x24]
call fcn.00419960
mov dword [esp + 0x30], 4
jmp 0x419599
mov dword [esp + 0x30], 8
jmp 0x419599
mov bl, 1
mov dword [esp + 0x98], 3
test byte [esp + 0x5c], 1
je 0x4196a7
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test bl, bl
mov ebx, dword [esp + 0x30]
je 0x4196b2
or ebx, 1
push 0x545708
lea esi, [esp + 0x18]
call fcn.0041ab30
add esp, 4
test al, al
je 0x4196d0
or ebx, 2
jmp 0x4196d0
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
dec eax
je 0x4196f0
dec eax
je 0x4196e9
dec eax
jne 0x4196ff
test bl, 4
jne 0x4196f0
lea ecx, [esp + 0x24]
push ecx
jmp 0x4196f5
lea edx, [esp + 0x24]
push edx
jmp 0x4196f5
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call dword [0x51182c]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
cmp dword [edi + 0x108], 0
jne 0x4197b2
cmp dword [edi + 0x7c], 0
jne 0x4197b2
lea ecx, [esp + 0x48]
push ecx
lea eax, [esp + 0x18]
lea esi, [esp + 0x2c]
call fcn.0041ad40
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
add ecx, eax
cmp ecx, dword [esp + 0x1c]
jle 0x41974f
cmp dword [edi + 0x78], 0
jle 0x419754
test eax, eax
jle 0x41974f
test bl, 2
jne 0x419754
test bl, 1
je 0x419760
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x419760
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x1c], eax
jle 0x419779
mov dword [esp + 0x1c], eax
mov eax, 2
cmp dword [esp + 0x1c], eax
jge 0x419788
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x80], eax
push 0x545708
lea esi, [esp + 0x18]
call fcn.0041ab30
add esp, 4
test al, al
je 0x4197d4
push 0x545cf4
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov edx, dword [esp + 0x64]
push edx
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc100u.dll_CDC::SelectObject]
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 2
call dword [0x511ad8]
xor ebx, ebx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x419879
lea ecx, [esp + 0x68]
push ecx
lea esi, [edi + 0xd0]
push esi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x41985f
mov ecx, dword [esp + 0x70]
mov edx, ecx
sub edx, dword [esp + 0x68]
cmp edx, 2
jle 0x41985f
mov eax, dword [esp + 0x74]
mov edx, eax
sub edx, dword [esp + 0x6c]
cmp edx, 2
jle 0x41985f
mov edx, dword [esp + 0x68]
mov dword [esi], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push edi
lea eax, [esp + 0x6c]
call fcn.00402880
mov eax, dword [edi + 0x20]
push 1
push ebx
push eax
jmp 0x419873
xor ecx, ecx
mov esi, edi
call fcn.0041a010
test eax, eax
je 0x419879
mov ecx, dword [edi + 0x20]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0x38], ebx
je 0x4198db
mov edx, dword [esp + 0x14]
lea esi, [edi + 0x84]
push edx
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x4198db
cmp dword [edi + 0x108], ebx
jne 0x4198b7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
push 1
push eax
push ebx
call dword [sym.imp.mfc100u.dll_CStatusBar::SetPaneText]
lea ecx, [esp + 0x14]
push ecx
jmp 0x4198d3
mov edi, dword [edi + 0x10c]
cmp edi, ebx
je 0x4198db
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call dword [sym.imp.mfc100u.dll_CWnd::SetWindowTextW]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, 1
jmp 0x419920
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret