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

Disassembly:
push 0xffffffffffffffff
push 0x6799240e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x9c]
call fcn.6797db38
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0xc4], ebx
call dword [eax + 0x1a8]
mov edx, dword [edi]
mov esi, eax
mov ecx, edi
mov dword [esp + 0x28], esi
call dword [edx + 0x1ac]
mov ecx, edi
mov ebp, eax
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsFrameThemeEnabled_void_const
cmp eax, ebx
jne 0x6795508a
cmp dword [edi + 0x284], ebx
jne 0x6795508a
xor ecx, ecx
jmp 0x6795508f
mov ecx, 1
mov eax, dword [edi + 0x250]
add ebp, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea edx, [eax - 2]
mov dword [esp + 0x80], ebp
cmp ecx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], eax
mov ebp, 4
je 0x679551a5
mov eax, dword [edi + 0x274]
cmp eax, ebx
je 0x679550f2
mov ebp, dword [eax + 0x44]
jmp 0x679550f4
xor ebp, ebp
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::GetRibbonTopBorder_void_const
mov ebx, eax
mov ecx, edi
mov esi, ebx
sub esi, ebp
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::GetCaptionHeight_void_const
add eax, ebx
mov edx, ebp
push eax
mov eax, dword [esp + 0xd0]
neg edx
lea ecx, [eax + ebp]
lea ebx, [edi + 0x1f0]
push ecx
push esi
push edx
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
sub eax, ecx
add eax, esi
push eax
lea eax, [esp + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
sub eax, ecx
lea ecx, [esp + 0x74]
add eax, esi
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0x1fc]
mov ebx, dword [esp + 0xcc]
push eax
push ebx
lea esi, [edi + 0x200]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x1fc]
lea edx, [edi + 0x210]
push eax
push ebx
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x274]
test eax, eax
jne 0x679551c0
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
jmp 0x679551c0
lea eax, [edi + 0x1f0]
push eax
call esi
lea eax, [edi + 0x200]
push eax
call esi
lea ecx, [edi + 0x210]
push ecx
call esi
mov eax, 0x67998cd8
xor ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov ecx, edi
mov byte [esp + 0xc4], 2
mov dword [esp + 0x14], ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::GetControlCount_void_const
test eax, eax
jle 0x679552bc
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov esi, eax
mov ecx, edi
push esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsQuickAccessControl_class_CMHPControl__const
test eax, eax
je 0x6795523d
mov eax, dword [esp + 0x68]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x68]
call fcn.678d8eb0
mov eax, dword [esp + 0x64]
jmp 0x6795529f
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x84]
test eax, eax
je 0x679552a4
cmp dword [esi + 0x160], ebx
jne 0x679552a4
mov eax, dword [esi + 0x88]
cmp eax, 0xf020
jl 0x67955268
cmp eax, 0xf120
jle 0x679552a4
cmp esi, dword [edi + 0x268]
je 0x679552a4
cmp esi, dword [edi + 0x1c4]
je 0x679552a4
cmp esi, dword [edi + 0x1c8]
je 0x679552a4
cmp esi, dword [edi + 0x25c]
je 0x679552a4
mov eax, dword [esp + 0x4c]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x4c]
call fcn.678d8eb0
mov eax, dword [esp + 0x48]
mov dword [eax + ebx*4], esi
xor ebx, ebx
mov esi, dword [esp + 0x14]
mov ecx, edi
inc esi
mov dword [esp + 0x14], esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::GetControlCount_void_const
cmp esi, eax
jl 0x6795520a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x240]
cmp eax, ebx
lea esi, [ecx + edx - 3]
je 0x679552fd
cmp dword [edi + 0x23c], ebx
je 0x679552fd
mov eax, dword [esp + 0x80]
lea edx, [edi + 0x220]
add ecx, eax
push ecx
mov ecx, dword [esp + 0xd0]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x67955329
mov edx, dword [edi + 0x1f4]
lea ebx, [edi + 0x220]
lea eax, [edx + ebp]
mov edx, dword [edi + 0x1f8]
lea ecx, [eax + ecx - 3]
add eax, 0xfffffffe
push ecx
push edx
push eax
lea eax, [esi + 3]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetRect]
xor ebx, ebx
mov eax, dword [edi + 0x268]
mov dword [esp + 0x10], 2
cmp eax, ebx
je 0x6795545f
mov edx, dword [edi + 0x1f4]
mov ebx, esi
lea ecx, [esi - 1]
lea esi, [edx + ebp - 1]
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x6795538a
mov edx, dword [eax]
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call dword [edx + 0xa0]
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x30]
sar esi, 1
add esi, eax
jmp 0x679553e5
mov edx, dword [edi + 0x238]
test edx, edx
jne 0x679553e5
mov edx, dword [eax]
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call dword [edx + 0xa0]
mov ebx, dword [eax]
mov edx, dword [edi + 0x1f4]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1fc]
sub eax, edx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [edi + 0x1f4]
mov esi, eax
mov eax, dword [edi + 0x23c]
sar esi, 1
add esi, edx
test eax, eax
jne 0x679553e5
lea edx, [ebx + 0xf]
mov dword [edi + 0x220], edx
mov eax, dword [esp + 0x20]
add ecx, esi
xor ebp, ebp
mov dword [esp + 0x18], ecx
test eax, eax
mov dword [esp + 0x10], ebx
jne 0x6795540a
mov eax, dword [edi + 0x238]
test eax, eax
jne 0x6795540a
mov eax, 1
jmp 0x6795540c
xor eax, eax
mov ecx, dword [edi + 0x268]
test eax, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 0xd4]
je 0x67955423
or edx, 2
jmp 0x67955426
and edx, 0xfffffffd
push edx
call dword [eax + 0x98]
sub esp, 0x10
mov ecx, dword [edi + 0x268]
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], ebp
mov dword [edx + 4], esi
mov esi, dword [esp + 0x28]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], esi
call dword [eax + 0x80]
mov eax, dword [edi + 0x268]
mov dword [eax + 0x98], 1
mov eax, dword [esp + 0x4c]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x679555a2
mov eax, dword [esp + 0x48]
mov esi, dword [eax + ebx*4]
mov ecx, esi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 1
jne 0x67955591
mov edx, dword [edi + 0x238]
xor eax, eax
test edx, edx
mov edx, dword [esi]
sete al
test eax, eax
mov eax, dword [esi + 0xd4]
je 0x679554a4
or al, 4
jmp 0x679554a6
and al, 0xfb
push eax
mov ecx, esi
call dword [edx + 0x98]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x84]
test eax, eax
je 0x67955591
mov eax, dword [esi]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xa0]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esi]
sar ebp, 1
add ebp, edx
call dword [eax + 0x68]
test eax, eax
je 0x67955501
add dword [esp + 0x10], 6
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
add ecx, ebp
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xd4]
and ecx, 0xfffffffd
lea ebx, [edx + eax]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x14], ebx
call dword [eax + 0x98]
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x80]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0xd0]
lea ebp, [esi + 0xb4]
mov eax, 2
add edx, 0xfffffffe
mov dword [ebp], eax
mov dword [esi + 0x98], 0
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x67955471
mov edx, dword [edi + 0x240]
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x3c], eax
cmp edx, esi
je 0x679555f1
mov ecx, dword [edi + 0x23c]
cmp ecx, esi
jne 0x679555f1
cmp dword [esp + 0x20], esi
jne 0x679555f1
add eax, 5
mov dword [esp + 0x24], 1
mov dword [esp + 0x10], eax
mov dword [edi + 0x220], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x224], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x22c], eax
jmp 0x67955610
mov ecx, dword [edi + 0x23c]
mov ebx, dword [edi + 0x220]
mov eax, ecx
mov dword [esp + 0x24], esi
neg eax
sbb eax, eax
and eax, 2
add eax, ebx
mov dword [esp + 0x10], eax
cmp edx, esi
je 0x67955628
cmp ecx, esi
je 0x67955628
mov ecx, dword [esp + 0xcc]
add ecx, 0xfffffff1
mov dword [esp + 0x1c], ecx
jmp 0x67955661
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsDwmEnabled_void_const
test eax, eax
je 0x67955643
mov edx, dword [esp + 0xcc]
add edx, 0xffffff8d
mov dword [esp + 0x1c], edx
jmp 0x67955661
mov eax, dword [edi + 0x1f4]
mov edx, dword [edi + 0x1fc]
mov ecx, dword [esp + 0xcc]
sub eax, edx
lea edx, [ecx + eax*2]
add eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x264]
cmp ecx, esi
je 0x6795567d
mov edx, dword [ecx + 0xd4]
mov eax, dword [ecx]
or edx, 1
push edx
call dword [eax + 0x98]
mov ecx, dword [esp + 0x68]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x14], eax
jle 0x679558b0
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + eax*4]
mov eax, dword [edi + 0x240]
test eax, eax
jne 0x679556b4
mov eax, dword [esi + 0xd4]
mov edx, dword [esi]
or al, 2
jmp 0x679556d2
cmp esi, dword [edi + 0x264]
je 0x679556db
mov eax, dword [esp + 0x58]
mov edx, dword [esi]
test eax, eax
mov eax, dword [esi + 0xd4]
je 0x679556d0
or al, 2
jmp 0x679556d2
and al, 0xfd
push eax
mov ecx, esi
call dword [edx + 0x98]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x67955700
mov eax, dword [edi + 0x238]
test eax, eax
jne 0x67955700
mov eax, dword [esi + 0xd4]
mov edx, dword [esi]
or al, 2
mov ecx, esi
push eax
call dword [edx + 0x98]
cmp esi, dword [edi + 0x260]
jne 0x67955727
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x67955727
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x67955727
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x67955727
add dword [esp + 0x10], 0xc
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x84]
test eax, eax
je 0x6795589b
cmp esi, dword [edi + 0x264]
je 0x6795574f
cmp esi, dword [edi + 0x260]
je 0x6795574f
xor ebp, ebp
jmp 0x67955754
mov ebp, 1
mov eax, dword [esi]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x84]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebp
call dword [eax + 0xa0]
mov eax, dword [edi + 0x22c]
mov ecx, dword [edi + 0x224]
sub eax, ecx
mov ecx, dword [esp + 0x88]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov edx, dword [edi + 0x224]
mov ebx, eax
sar ebx, 1
add ebx, edx
mov edx, dword [esp + 0x84]
test ebp, ebp
jne 0x67955806
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x679557b9
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x679557b9
add ebx, 2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], 1
lea ebp, [edx + eax]
cmp ebp, dword [esp + 0x1c]
jle 0x6795580a
mov ecx, dword [esi + 0xd4]
mov eax, dword [esi]
or ecx, 2
mov dword [esp + 0x58], 1
push ecx
mov ecx, esi
call dword [eax + 0x98]
mov ecx, dword [edi + 0x264]
mov eax, dword [ecx + 0xd4]
mov edx, dword [ecx]
and al, 0xfe
push eax
call dword [edx + 0x98]
jmp 0x6795589b
mov eax, dword [esp + 0x10]
lea ebp, [edx + eax]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x24]
add ecx, ebx
test eax, eax
mov dword [esp + 0x94], ecx
jne 0x6795582d
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x67955831
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0xd4]
mov edx, dword [esi]
and al, 0xfd
mov ecx, esi
push eax
call dword [edx + 0x98]
mov ecx, dword [esp + 0xac]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x80]
lea eax, [edi + 0x220]
lea ebp, [esi + 0xb4]
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [ebp], eax
mov dword [esi + 0x98], 0
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x67955697
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x679558c4
mov edx, dword [esp + 0x10]
mov dword [edi + 0x228], edx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x679558d4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x1c], ecx
lea ebx, [edx - 1]
test ebx, ebx
mov dword [esp + 0x14], ebx
jl 0x67955a21
mov eax, dword [esp + 0x48]
mov esi, dword [eax + ebx*4]
mov ecx, esi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 1
je 0x67955a12
mov edx, dword [edi + 0x238]
xor eax, eax
test edx, edx
mov edx, dword [esi]
sete al
test eax, eax
mov eax, dword [esi + 0xd4]
je 0x67955925
or al, 4
jmp 0x67955927
and al, 0xfb
push eax
mov ecx, esi
call dword [edx + 0x98]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x84]
test eax, eax
je 0x67955a12
mov eax, dword [esi]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x84]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xa0]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x88]
sub eax, ecx
mov ebx, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, dword [esp + 0x84]
mov ebp, eax
mov eax, dword [esp + 0x1c]
sar ebp, 1
add ebp, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xd4]
add ecx, ebp
sub ebx, edx
mov edx, dword [esi]
and al, 0xfd
mov dword [esp + 0x3c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [edx + 0x98]
sub esp, 0x10
mov ecx, dword [esp + 0xc4]
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x80]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0xd0]
lea ebp, [esi + 0xb4]
mov eax, 2
add edx, 0xfffffffe
mov dword [ebp], eax
mov eax, dword [esi]
push 0
mov dword [esi + 0x98], 1
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
call dword [eax + 0x64]
mov ebx, dword [esp + 0x14]
dec ebx
mov dword [esp + 0x14], ebx
jns 0x679558f2
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x238]
test eax, eax
jne 0x67955a33
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
lea esi, [edx + 6]
cmp esi, ecx
jg 0x67955a60
test eax, eax
je 0x67955a60
lea esi, [edi + 0x1d0]
mov eax, dword [esp + 0x38]
mov ebx, esi
inc eax
mov dword [ebx], edx
mov edx, dword [esp + 0x30]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
jmp 0x67955a6d
lea esi, [edi + 0x1d0]
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [edi + 0x25c]
test ecx, ecx
je 0x67955b14
mov ebx, dword [edi + 0x238]
mov edx, dword [ecx + 0xd4]
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov eax, dword [ecx]
je 0x67955a99
or edx, 1
jmp 0x67955a9c
and edx, 0xfffffffe
push edx
call dword [eax + 0x98]
sub esp, 0x10
mov edx, esi
mov ecx, dword [edi + 0x25c]
mov ebx, esp
mov ebp, dword [edx]
mov eax, dword [ecx]
mov dword [ebx], ebp
mov ebp, dword [edx + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [edx + 8]
mov dword [ebx + 8], ebp
mov edx, dword [edx + 0xc]
mov dword [ebx + 0xc], edx
call dword [eax + 0x80]
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x67955ae0
lea ebx, [eax + 0x18c]
jmp 0x67955ae2
xor ebx, ebx
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabPaintManager____thiscall_CMHPRibbonBar::GetTabPaintManager_void_const
mov ebp, dword [esi]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [esi + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], esi
lea ecx, [esp + 0xa8]
push ecx
push ebx
mov ecx, eax
call dword [edx + 0x60]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xa8]
push edx
mov ecx, edi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPRibbonBar::RepositionGroups_class_CDC___class_CRect_
mov ecx, edi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPRibbonBar::RepositionCaptionButtons_void_
mov eax, dword [esp + 0x20]
test eax, eax
je 0x67955b5f
mov ecx, edi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPRibbonBar::RepositionContextHeaders_void_
mov esi, 0x67998cd8
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x64]
mov byte [esp + 0xc4], 3
test eax, eax
je 0x67955b81
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, 0x67995a40
mov dword [esp + 0x44], esi
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xc4], 4
test eax, eax
je 0x67955ba7
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x44], edi
mov dword [esp + 0xc4], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret 8