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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x679860ca
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebx, ecx
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x67872795
mov ecx, dword [ebx + 0x1b0]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBarList::GetCount_void_const
test eax, eax
jle 0x67872795
mov eax, dword [ebx + 0x1a8]
mov edx, dword [ebx]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x19c]
mov dword [ebx + 0x1b4], 1
push edi
mov ecx, ebx
call sym.MfcHlpr520.dll_protected_virtual:_void___thiscall_CMHPToolBar::DoPropExchange_class_CMHPPropExchange__
lea eax, [ebx + 0x1a8]
push 0
push eax
push str.ResourceId
push edi
call sym.MfcHlpr520.dll_int___cdecl_PX_DWord_class_CMHPPropExchange___char_const___unsigned_long_int___unsigned_long_int_
mov eax, dword [edi + 0x28]
add esp, 0x10
test eax, eax
jne 0x678728e0
mov ecx, dword [ebx + 0x1b0]
xor esi, esi
call sym.MfcHlpr520.dll_public:_struct___POSITION____thiscall_CMHPMenuBarMDIMenus::GetStartPosition_void_const
test eax, eax
mov dword [esp + 0x34], eax
je 0x678727fd
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [ebx + 0x1b0]
push edx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPMenuBarMDIMenus::GetNextMenu_struct___POSITION____class_CMHPMenuBarMDIMenuInfo___const
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x678727f5
inc esi
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x678727d4
mov edx, dword [edi]
push esi
mov ecx, edi
xor ebp, ebp
call dword [edx + 0x78]
mov ecx, dword [ebx + 0x1b0]
call sym.MfcHlpr520.dll_public:_struct___POSITION____thiscall_CMHPMenuBarMDIMenus::GetStartPosition_void_const
test eax, eax
mov dword [esp + 0x34], eax
je 0x67872a05
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [ebx + 0x1b0]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPMenuBarMDIMenus::GetNextMenu_struct___POSITION____class_CMHPMenuBarMDIMenuInfo___const
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x678728cf
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CString::CString_4
mov eax, ebp
mov dword [esp + 0x2c], 0
push eax
push str.MDIMenu
lea eax, [esp + 0x1c]
push str._s_i
push eax
inc ebp
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
add esp, 0x10
mov ecx, edi
push eax
call dword [edx + 0x70]
mov esi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x20]
push 0
push ecx
push 0x67a72458
push esi
mov byte [esp + 0x3c], 1
call sym.MfcHlpr520.dll_int___cdecl_PX_DWord_class_CMHPPropExchange___char_const___unsigned_long_int___unsigned_long_int_
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [edx + 0x20]
push esi
mov eax, dword [ecx]
call dword [eax + 0x60]
test esi, esi
mov byte [esp + 0x2c], 0
je 0x678728be
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::InternalRelease
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x6787281e
jmp 0x67872a05
mov eax, dword [edi + 0x2c]
cmp eax, 4
jbe 0x67872a05
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x7c]
xor esi, esi
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x34], esi
jbe 0x67872a05
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_4
push esi
push str.MDIMenu
lea eax, [esp + 0x20]
push str._s_i
push eax
mov dword [esp + 0x3c], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x28]
mov edx, dword [edi]
add esp, 0x10
mov ecx, edi
push eax
call dword [edx + 0x70]
mov esi, eax
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x67a72458
push esi
mov byte [esp + 0x3c], 3
call sym.MfcHlpr520.dll_int___cdecl_PX_DWord_class_CMHPPropExchange___char_const___unsigned_long_int___unsigned_long_int_
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x1b0]
add esp, 0x10
push edx
call sym.MfcHlpr520.dll_public:_class_CMHPMenuBarMDIMenuInfo____thiscall_CMHPMenuBarMDIMenus::Lookup_unsigned_int_const
test eax, eax
jne 0x678729cf
push 0x38
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
test ebp, ebp
mov byte [esp + 0x2c], 4
je 0x678729a7
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call sym.MfcHlpr520.dll_public:_class_CMHPCommandBars____thiscall_CMHPCommandBar::GetCommandBars_void_const
push eax
mov ecx, ebp
call fcn.67878290
mov ebp, eax
jmp 0x678729a9
xor ebp, ebp
mov ecx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, dword [ebx + 0x1b0]
mov byte [esp + 0x34], 3
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPMenuBarMDIMenus::SetAt_unsigned_int__class_CMHPMenuBarMDIMenuInfo__
test ebp, ebp
je 0x678729cf
mov ebp, dword [ebp + 0x20]
push esi
mov ecx, ebp
mov edx, dword [ebp]
call dword [edx + 0x60]
test esi, esi
mov byte [esp + 0x2c], 2
je 0x678729df
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::InternalRelease
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
mov dword [esp + 0x34], esi
jb 0x67872905
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4