Function at 0x6795fee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x34]
push edi
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 0x90]
push eax
call fcn.67961730
mov ebp, dword [ebx + 0x28]
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebp
jne 0x6795ff21
push ebp
push ebp
mov ecx, eax
call fcn.67960be0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
lea ecx, [ebp*4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
xor esi, esi
test ebp, ebp
mov dword [esp + 0x10], eax
jle 0x6795ff6a
test esi, esi
jl 0x6795ff4c
cmp esi, dword [ebx + 0x28]
jge 0x6795ff4c
mov edx, dword [ebx + 0x24]
mov edi, dword [edx + esi*4]
jmp 0x6795ff4e
xor edi, edi
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonGroup::IsVisible_void_const
test eax, eax
je 0x6795ff65
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x78]
inc esi
cmp esi, ebp
jl 0x6795ff3b
xor esi, esi
test ebp, ebp
jle 0x6795ffae
test esi, esi
jl 0x6795ff81
cmp esi, dword [ebx + 0x28]
jge 0x6795ff81
mov edx, dword [ebx + 0x24]
mov edi, dword [edx + esi*4]
jmp 0x6795ff83
xor edi, edi
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonGroup::IsVisible_void_const
test eax, eax
je 0x6795ff9f
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x80]
jmp 0x6795ffa1
xor eax, eax
mov edx, dword [esp + 0x10]
inc esi
cmp esi, ebp
mov dword [edx + esi*4 - 4], eax
jl 0x6795ff70
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [esi]
sub edi, edx
sub edi, ecx
mov ecx, dword [esp + 0x34]
push edi
push eax
push ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPRibbonGroups::_ReduceSmartLayoutToolBar_class_CDC___int___int_
mov eax, dword [esi + 8]
mov ebp, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x24], edx
test eax, eax
mov dword [esp + 0x2c], ecx
mov ebx, 0xfffffff9
jle 0x6796002b
test esi, esi
jl 0x6796000c
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0x28]
jge 0x6796000c
mov edx, dword [eax + 0x24]
mov ecx, dword [edx + esi*4]
jmp 0x6796000e
xor ecx, ecx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonGroup::IsVisible_void_const
test eax, eax
je 0x67960022
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + esi*4]
lea ebx, [ebx + ecx + 7]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x6795fff7
mov ecx, dword [esp + 0x1c]
cmp ebx, edi
mov esi, dword [ecx + 4]
jle 0x67960044
mov eax, ebx
sub eax, edi
cmp esi, eax
jle 0x67960040
mov esi, eax
test esi, esi
jge 0x67960046
xor esi, esi
mov edx, dword [esp + 0x18]
sub ebx, esi
sub ebx, edi
xor eax, eax
test ebx, ebx
mov dword [edx + 0x38], esi
setg al
xor edx, edx
push eax
test esi, esi
setg dl
push edx
call fcn.67960be0
mov ebx, dword [esp + 0x14]
sub ebp, esi
xor edi, edi
test ebx, ebx
jle 0x679600cf
test edi, edi
jl 0x67960087
mov eax, dword [esp + 0x18]
cmp edi, dword [eax + 0x28]
jge 0x67960087
mov eax, dword [eax + 0x24]
mov esi, dword [eax + edi*4]
jmp 0x67960089
xor esi, esi
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonGroup::IsVisible_void_const
test eax, eax
je 0x679600ca
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov ecx, esp
mov ebx, dword [esp + 0x20]
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebx + edi*4]
push eax
mov dword [ecx + 0xc], edx
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPRibbonGroup::OnAdjustBorders_int__class_CRect_
mov ecx, dword [ebx + edi*4]
mov ebx, dword [esp + 0x14]
lea ebp, [ecx + ebp + 7]
inc edi
cmp edi, ebx
jl 0x67960072
xor esi, esi
test ebx, ebx
jle 0x67960103
test esi, esi
jl 0x679600ea
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0x28]
jge 0x679600ea
mov edx, dword [eax + 0x24]
mov edi, dword [edx + esi*4]
jmp 0x679600ec
xor edi, edi
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonGroup::IsVisible_void_const
test eax, eax
je 0x679600fe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
inc esi
cmp esi, ebx
jl 0x679600d5
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10