Function at 0x678a43f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x679886a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, ecx
mov eax, ebx
shr eax, 4
mov edx, dword [esi + 0x19c]
lea ebp, [esi + 0x19c]
and eax, 1
push edi
push eax
mov ecx, ebp
call dword [edx + 0x2c]
mov ecx, eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabPaintManager::SetPosition_enum_MHPTabPosition_
xor eax, eax
mov edi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 0x64
mov ecx, ebp
neg edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp]
sbb edi, edi
and edi, ebp
call dword [eax + 0x2c]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push edi
mov ecx, eax
call dword [edx + 0x5c]
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call sym.MfcHlpr520.dll_protected_virtual:_class_CRect___thiscall_CMHPToolBar::GetBorders_void_
test bl, 8
je 0x678a4482
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
jmp 0x678a448a
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push edx
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_public_virtual:_class_CSize___thiscall_CMHPToolBar::CalcDockingLayout_int__unsigned_long_int__int_
mov eax, dword [esi + 0x24c]
test bl, 2
je 0x678a44b8
cmp eax, dword [esp + 0x10]
jle 0x678a44c2
mov dword [esp + 0x10], eax
jmp 0x678a44c2
cmp eax, dword [esp + 0x14]
jle 0x678a44c2
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0xe8]
push 0x23bc
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPControls::FindControl_int_const
mov edi, eax
test edi, edi
je 0x678a450f
test byte [edi + 0xd4], 1
jne 0x678a450f
mov edx, dword [esp + 0x6c]
mov ecx, esi
add edx, 0xb
mov dword [esp + 0x6c], edx
call sym.MfcHlpr520.dll_public:_class_CMHPBarPaintManager____thiscall_CMHPCommandBar::GetPaintManager_void_const
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push edi
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
mov ecx, eax
call dword [edx + 0xc0]
test bl, 0x40
je 0x678a45c7
push esi
lea ecx, [esp + 0x44]
call fcn.6797db38
test bl, 0x10
mov dword [esp + 0x5c], 0
je 0x678a4557
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
lea edi, [esi + 0x23c]
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov ebx, edi
mov dword [ebx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
jmp 0x678a457d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
lea edi, [esi + 0x23c]
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov ebx, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [ebp]
mov ecx, ebp
neg esi
sbb esi, esi
mov dword [ebx + 0xc], eax
and esi, ebp
call dword [edx + 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 + 0x50]
push ecx
push esi
mov ecx, eax
call dword [edx + 0x60]
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 0x10