Function at 0x67960120
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67992aa0
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov edi, dword [esp + 0x40]
lea eax, [esi + 0x60]
push ebp
push eax
push 0x67a72458
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_DWord_class_CMHPPropExchange___char_const___unsigned_long_int___unsigned_long_int_
lea ecx, [esi + 0x64]
push ebp
push ecx
push str.IconId
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_DWord_class_CMHPPropExchange___char_const___unsigned_long_int___unsigned_long_int_
lea edx, [esi + 0x74]
push ebp
push edx
push str.ShowOptionButton
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_Bool_class_CMHPPropExchange___char_const___int___int_
lea eax, [esi + 0x28]
push sym.MfcHlpr520.dll____C__00A___AA_
push eax
push str.Caption
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_String_class_CMHPPropExchange___char_const___class_CString___char_const__
add esp, 0x40
lea ecx, [esi + 0x24]
push ebp
push ecx
push str.ControlsGrouping
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_Bool_class_CMHPPropExchange___char_const___int___int_
lea edx, [esi + 0x20]
push ebp
push edx
push str.ControlsCentering
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_Bool_class_CMHPPropExchange___char_const___int___int_
lea eax, [esi + 0x78]
push 1
push eax
push str.Visible
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_Bool_class_CMHPPropExchange___char_const___int___int_
mov eax, dword [edi + 0x28]
add esp, 0x30
cmp eax, ebp
jne 0x679602e7
mov edx, dword [edi]
push str.Controls
mov ecx, edi
call dword [edx + 0x70]
mov ebx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [esi + 0x4c]
xor eax, eax
test edx, edx
mov dword [esp + 0x38], ebp
jle 0x6796020e
test eax, eax
jl 0x679601fd
cmp eax, edx
jge 0x679601fd
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx + eax*4]
jmp 0x679601ff
xor ecx, ecx
cmp dword [ecx + 0xb0], 0
jne 0x67960209
inc ebp
inc eax
cmp eax, edx
jl 0x679601ed
mov edx, dword [ebx]
push str.Control
mov ecx, ebx
call dword [edx + 0x94]
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov eax, dword [ebx]
push 0
push ebp
mov ecx, ebx
mov byte [esp + 0x40], 1
call dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x4c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x40], ecx
jle 0x679602bd
test ecx, ecx
jl 0x67960253
cmp ecx, eax
jge 0x67960253
mov edx, dword [esi + 0x48]
mov eax, dword [edx + ecx*4]
jmp 0x67960255
xor eax, eax
mov dword [esp + 0x14], eax
mov edx, dword [eax + 0xb0]
test edx, edx
jne 0x679602b1
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [eax + 8]
mov ebp, eax
mov dword [esp + 0x24], ebp
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push sym.MfcHlpr520.dll_struct_CRuntimeClass_CMHPControl::classCMHPControl
push eax
mov ecx, ebp
mov byte [esp + 0x40], 2
call dword [edx + 0x64]
test eax, eax
je 0x6796029d
mov ecx, dword [esp + 0x14]
push ebp
mov edx, dword [ecx]
call dword [edx + 0xb0]
test ebp, ebp
mov byte [esp + 0x38], 1
je 0x679602ad
mov ecx, ebp
call sub.MFC42.DLL_CCmdTarget::InternalRelease
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x4c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x40], ecx
jl 0x67960243
test ebx, ebx
mov byte [esp + 0x38], 0
je 0x679602ce
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
je 0x67960459
jmp 0x67960454
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x30], ecx
call sym.MfcHlpr520.dll_public:_class_CMHPRibbonBar____thiscall_CMHPRibbonGroups::GetRibbonBar_void_const
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
call dword [edx + 0x6c]
mov eax, dword [edi]
push str.Controls
mov ecx, edi
call dword [eax + 0x70]
mov ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edx, dword [ebx]
push str.Control
mov ecx, ebx
mov dword [esp + 0x3c], 3
call dword [edx + 0x94]
mov ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebp
mov eax, dword [ebp]
push 0
push 0
mov ecx, ebp
mov byte [esp + 0x40], 4
call dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x14], eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPRibbonGroup::RemoveAll_void_
mov eax, dword [esp + 0x14]
test eax, eax
je 0x67960434
lea ebx, [esi + 0x44]
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call dword [edx + 8]
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push sym.MfcHlpr520.dll_struct_CRuntimeClass_CMHPControl::classCMHPControl
push eax
mov ecx, ebp
mov byte [esp + 0x40], 5
call dword [edx + 0x64]
test eax, eax
je 0x679603a4
mov ecx, dword [esp + 0x10]
push ebp
mov edx, dword [ecx]
call dword [edx + 0xb0]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x679603b5
push 0
push 6
call sub.MFC42.DLL_AfxThrowArchiveException
mov eax, dword [esp + 0x10]
mov dword [eax + 0x160], esi
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x5c]
mov eax, dword [edx + 0x84]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xe8]
push eax
push edx
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPControls::InsertAt_class_CMHPControl___int_
mov edi, dword [ebx + 8]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
mov dword [esp + 0x20], eax
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
call fcn.678d8eb0
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
test ebp, ebp
mov dword [edx + edi*4], eax
mov byte [esp + 0x38], 4
je 0x6796041c
mov ecx, ebp
call sub.MFC42.DLL_CCmdTarget::InternalRelease
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x67960361
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
test ebp, ebp
mov byte [esp + 0x38], 3
je 0x67960446
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
test ebx, ebx
mov dword [esp + 0x38], 0xffffffff
je 0x67960459
mov ecx, ebx
call sub.MFC42.DLL_CCmdTarget::InternalRelease
mov eax, dword [edi]
push str.ControlGroupOption
mov ecx, edi
call dword [eax + 0x70]
mov ebx, eax
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0x68]
push ebx
mov dword [esp + 0x3c], 6
mov edx, dword [ecx]
call dword [edx + 0xb0]
mov eax, dword [edi]
push str.ControlGroupPopup
mov ecx, edi
call dword [eax + 0x70]
mov edi, eax
mov dword [esp + 0x2c], edi
mov esi, dword [esi + 0x6c]
push edi
mov ecx, esi
mov byte [esp + 0x3c], 7
mov edx, dword [esi]
call dword [edx + 0xb0]
test edi, edi
mov byte [esp + 0x38], 6
je 0x679604b4
mov ecx, edi
call sub.MFC42.DLL_CCmdTarget::InternalRelease
test ebx, ebx
mov dword [esp + 0x38], 0xffffffff
je 0x679604c7
mov ecx, ebx
call sub.MFC42.DLL_CCmdTarget::InternalRelease
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4