Function at 0x678a45f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x679886d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x19c]
lea ebp, [esi + 0x19c]
push ebx
mov ecx, ebp
call dword [eax + 0x2c]
mov ecx, eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabPaintManager::SetPosition_enum_MHPTabPosition_
mov edx, dword [ebp]
mov edi, esi
neg edi
mov eax, 0x64
mov ecx, ebp
sbb edi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
and edi, ebp
call dword [edx + 0x2c]
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, eax
call dword [edx + 0x5c]
push esi
lea ecx, [esp + 0x60]
call fcn.6797db38
mov ecx, esi
mov dword [esp + 0x78], ebx
call sym.MfcHlpr520.dll_public:_class_CMHPBarPaintManager____thiscall_CMHPCommandBar::GetPaintManager_void_const
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xf4]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
mov ecx, esi
mov byte [esp + 0x78], 1
call sym.MfcHlpr520.dll_public:_class_CMHPBarPaintManager____thiscall_CMHPCommandBar::GetPaintManager_void_const
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call dword [edx + 0x88]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], eax
add eax, 4
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x24c]
cmp eax, ecx
jle 0x678a46cd
mov ecx, eax
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x24]
push edx
push ecx
push eax
mov ecx, esi
call sym.MfcHlpr520.dll_public_virtual:_class_CSize___thiscall_CMHPToolBar::CalcDynamicLayout_int__unsigned_long_int_
mov ecx, dword [esi + 0x24c]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jle 0x678a46f6
mov eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0xe8]
add eax, 0xfffffffd
push 0x23bd
mov dword [esp + 0x88], eax
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPControls::FindControl_int_const
mov ecx, dword [esi + 0xe8]
push 0x23bc
mov ebx, eax
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPControls::FindControl_int_const
test ebx, ebx
mov edi, eax
je 0x678a478b
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x98]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
sub esp, 0x10
sub eax, edx
mov ecx, esp
mov dword [esp + 0x24], eax
mov edx, dword [ebx]
mov dword [ecx], eax
mov eax, 3
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x20]
add eax, 3
mov dword [ecx + 0xc], eax
mov ecx, ebx
call dword [edx + 0x80]
mov ecx, dword [esp + 0x14]
test edi, edi
mov dword [esp + 0x84], ecx
je 0x678a478b
mov dword [edi + 0x98], 1
mov ecx, esi
mov dword [esp + 0x14], 1
call sym.MfcHlpr520.dll_public:_class_CMHPCommandBars____thiscall_CMHPCommandBar::GetCommandBars_void_const
test eax, eax
je 0x678a47a8
mov eax, dword [eax + 0x74]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x14], edx
test edi, edi
je 0x678a480f
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
sub ebx, ecx
test ebx, ebx
jle 0x678a480f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x678a480f
mov eax, dword [edi]
push 0
mov ecx, edi
mov dword [edi + 0x98], 1
call dword [eax + 0x98]
mov ecx, dword [esp + 0x10]
mov eax, 3
add ecx, eax
sub esp, 0x10
mov dword [esp + 0x30], ecx
mov ecx, esp
mov edx, dword [edi]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x80]
test byte [esp + 0x88], 0x40
je 0x678a487d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
lea edi, [esi + 0x23c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x24]
mov ebx, edi
mov edx, 3
add ecx, 0xfffffffd
mov dword [ebx], edx
mov edx, dword [esp + 0x40]
neg esi
mov dword [ebx + 4], edx
sbb esi, esi
mov dword [ebx + 8], ecx
mov ecx, ebp
and esi, ebp
mov dword [ebx + 0xc], eax
mov eax, dword [ebp]
call dword [eax + 0x2c]
mov ebx, dword [edi]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
lea ecx, [esp + 0x6c]
push ecx
push esi
mov ecx, eax
call dword [edx + 0x60]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
mov dword [esi], edx
mov dword [esi + 4], eax
mov byte [esp + 0x78], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0xc