Function at 0x679688a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67993270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x38], ebp
call sym.MfcHlpr520.dll_public:_class_CWnd____thiscall_CMHPCommandBar::GetSite_void_const
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x1f0]
mov ecx, dword [ebx + 0x1f0]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsDwmEnabled_void_const
test eax, eax
jne 0x67968af1
push str.FRAMETOPLEFT
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Image____thiscall_CMHPOffice2007Theme::LoadImageA_char_const__
mov ebx, eax
test ebx, ebx
je 0x67968e80
mov esi, dword [esp + 0xac]
xor eax, eax
test esi, esi
sete al
mov edi, eax
push 2
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_class_CRect___thiscall_CMHPOffice2007Image::GetSource_int__int_
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
push 0xff00ff
add eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x30]
push eax
mov dword [esp + 0x48], esi
sub esp, 0x10
mov esi, dword [esp + 0xbc]
mov eax, esp
mov dword [esp + 0x68], 5
mov dword [esp + 0x70], 3
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
lea edx, [esp + 0x54]
push edx
push esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPOffice2007Image::DrawImage_class_CDC___class_CRect_const___class_CRect__class_CRect_const___unsigned_long_int_
push str.FRAMETOPRIGHT
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Image____thiscall_CMHPOffice2007Theme::LoadImageA_char_const__
mov ebp, eax
push 2
lea eax, [esp + 0x50]
push edi
push eax
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CRect___thiscall_CMHPOffice2007Image::GetSource_int__int_
mov ecx, dword [eax]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
sub esp, 0x10
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x2c], eax
mov eax, ebx
sub eax, edx
mov ebx, esp
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [ebx], eax
mov eax, 5
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
mov eax, 3
sub esp, 0x10
mov dword [ebx + 0xc], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x8c]
push eax
push esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPOffice2007Image::DrawImage_class_CDC___class_CRect_const___class_CRect__class_CRect_
mov ebp, dword [esp + 0x38]
push str.FRAMETOPCENTER
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Image____thiscall_CMHPOffice2007Theme::LoadImageA_char_const__
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x6c]
sub esp, 0x10
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov edx, esp
xor eax, eax
mov dword [esp + 0x78], ecx
mov dword [edx], eax
mov ecx, 5
push 2
push edi
mov dword [edx + 4], ecx
mov ecx, ebx
mov dword [edx + 8], eax
mov eax, 3
mov dword [edx + 0xc], eax
lea eax, [esp + 0x64]
push eax
call sym.MfcHlpr520.dll_public:_class_CRect___thiscall_CMHPOffice2007Image::GetSource_int__int_
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x7c]
push ecx
push esi
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPOffice2007Image::DrawImage_class_CDC___class_CRect_const___class_CRect__class_CRect_
mov ebx, dword [esp + 0xa8]
jmp 0x67968b06
mov esi, dword [esp + 0xa4]
lea edx, [esp + 0x28]
push 0
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsQuickAccessBelowRibbon_void_const
test eax, eax
jne 0x67968c5b
mov eax, dword [ebx + 0x240]
test eax, eax
je 0x67968c5b
mov ecx, dword [ebx + 0x258]
push 0
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPControls::GetVisibleCount_int_const
test eax, eax
jle 0x67968c5b
lea eax, [ebx + 0x220]
mov ecx, dword [ebx + 0x220]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::GetQuickAccessHeight_void_const
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add edx, 0xfffffff1
lea eax, [eax + ecx + 2]
add ecx, 2
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
test ebx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
je 0x67968bed
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x118]
test eax, eax
je 0x67968bed
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsDwmEnabled_void_const
test eax, eax
je 0x67968bed
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [ebx + 0x1f4]
mov edx, dword [ebx + 0x1f8]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
mov eax, str.RIBBONQUICKACCESSAREADWM
jne 0x67968bf2
mov eax, str.RIBBONQUICKACCESSAREA
push eax
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Image____thiscall_CMHPOffice2007Theme::LoadImageA_char_const__
mov edi, eax
test edi, edi
je 0x67968c5b
sub esp, 0x10
mov eax, 0x10
mov edx, esp
mov ecx, 3
push 1
push 0
mov dword [edx], eax
mov dword [edi + 0x2c], 1
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, ecx
mov ecx, edi
mov dword [edx + 0xc], eax
lea eax, [esp + 0x74]
push eax
call sym.MfcHlpr520.dll_public:_class_CRect___thiscall_CMHPOffice2007Image::GetSource_int__int_
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x6c]
push ecx
push esi
mov ecx, edi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPOffice2007Image::DrawImage_class_CDC___class_CRect_const___class_CRect__class_CRect_
mov eax, dword [ebx + 0x268]
test eax, eax
jne 0x67968cce
mov edx, dword [esp + 0x24]
mov ecx, ebp
push edx
call sym.MfcHlpr520.dll_protected:_struct_HICON______thiscall_CMHPOffice2007Theme::GetFrameSmallIcon_class_CWnd__
test eax, eax
mov dword [esp + 0x38], eax
je 0x67968cce
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x34]
sub eax, edi
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add edx, 0xa
test esi, esi
mov dword [esp + 0x3c], edx
jne 0x67968cb1
xor edx, edx
jmp 0x67968cb4
mov edx, dword [esi + 4]
push 3
push 0
push 0
push edi
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x58]
push eax
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
lea ecx, [ebx + 0x200]
mov edi, dword [ebx + 0x200]
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x278]
mov dword [esp + 0x3c], ecx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonTabContextHeaders::GetCount_void_const
test eax, eax
je 0x67968d14
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp]
push eax
push ebx
push esi
mov ecx, ebp
call dword [edx + 0x180]
lea ecx, [ebp + 0x5e4]
push ecx
push esi
lea ecx, [esp + 0x8c]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c], 0
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xa0], 1
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
jns 0x67968d81
xor eax, eax
jmp 0x67968daa
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x7c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x24]
add edi, eax
call sub.MFC42.DLL_CWnd::GetStyle
test eax, 0x1000000
je 0x67968dd4
mov eax, dword [ebx + 0x274]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x44]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonBar::IsDwmEnabled_void_const
test eax, eax
jne 0x67968e16
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp]
push esi
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, ebp
call dword [edx + 0x154]
jmp 0x67968e58
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call sub.MFC42.DLL_CString::CString_6
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov edx, dword [esp + 0x34]
mov eax, esp
push esi
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, ebp
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPRibbonTheme::DrawDwmCaptionText_class_CDC___class_CRect__class_CString__class_CWnd___int_
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 0xc