Function at 0x67896f60
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67987930
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0x38]
cmp eax, esi
je 0x678972fb
cmp dword [eax + 0x5c], esi
jne 0x678972fb
mov eax, dword [eax + 0xa0]
cmp eax, esi
jne 0x67896fa4
mov dword [esp + 0x10], esi
jmp 0x67896fab
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x2c], esi
jg 0x678972fb
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x74]
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x18], ebp
je 0x678972fb
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonTabContextHeaders::GetCount_void_const
test eax, eax
je 0x678972fb
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
cmp eax, 0x100
je 0x67896fff
cmp eax, 0x104
je 0x67896fff
cmp eax, 0x102
je 0x67896fff
cmp eax, 0x106
jne 0x678972fb
mov ecx, edi
call sym.MfcHlpr520.dll_private:_int___thiscall_CMHPShortcutManager::GetAccelKeyState_void_const
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x20], esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPRibbonTabContextHeaders::GetCount_void_const
cmp eax, esi
mov dword [esp + 0x1c], eax
jle 0x678972f5
jmp 0x67897025
mov ebp, dword [esp + 0x18]
push esi
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CMHPShortcutManagerAccel____thiscall_CMHPShortcutManagerAccelTable::GetAt_int_const
mov ecx, dword [esp + 0x64]
mov ebp, eax
push ecx
push ebx
lea edx, [ebp + 4]
mov ecx, edi
push edx
call sym.MfcHlpr520.dll_private:_int___thiscall_CMHPShortcutManager::IsAccelMessage_struct_CMHPShortcutManagerAccel::SHORTCUTACCEL___int__struct_tagMSG__const
test eax, eax
jne 0x67897056
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x67897021
mov eax, dword [esp + 0x20]
jmp 0x678972fd
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], 1
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x678972f5
mov ebx, dword [sym.imp.USER32.dll_GetCapture]
call ebx
test eax, eax
jne 0x678972f5
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x678972f5
cmp dword [ebp], 0
je 0x678972f5
cmp word [ebp + 0xa], 0
je 0x678972e3
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0xa0]
mov edx, dword [ecx]
call dword [edx + 0xb8]
test eax, eax
je 0x67897183
push edi
push ebp
lea ecx, [esp + 0x30]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPShortcutManager::CKeyHelper::constructor_class_CMHPShortcutManagerAccel_const___class_CMHPShortcutManager__
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CString::CString_4
mov bl, 2
mov byte [esp + 0x5c], bl
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x64]
push 0x23e3
push ecx
mov ecx, eax
call dword [edx + 8]
lea edx, [ebp + 4]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPShortcutManager::CKeyHelper::Format_struct_CMHPShortcutManagerAccel::SHORTCUTACCEL_const__
mov eax, dword [eax]
mov ecx, dword [esp + 0x64]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x14]
push edx
mov ecx, dword [eax + 0xa0]
call sub.MFC42.DLL_CFrameWnd::SetMessageText_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPShortcutManager::CKeyHelper::destructor_void_
mov ebx, dword [sym.imp.USER32.dll_GetCapture]
mov eax, dword [edi + 0x2c]
push esi
inc eax
mov dword [esp + 0x68], 0
mov dword [edi + 0x2c], eax
call dword [sym.imp.USER32.dll_SetCapture]
call ebx
cmp eax, esi
jne 0x6789728b
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov eax, dword [esp + 0x3c]
cmp eax, 0x100
je 0x67897211
cmp eax, 0x104
je 0x67897211
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esp + 0x3c]
cmp eax, 0x111
je 0x6789728b
cmp eax, 6
je 0x6789728b
cmp eax, 0x201
je 0x6789728b
cmp eax, 0x86
je 0x6789728b
cmp eax, 0x10
je 0x6789728b
cmp eax, 0x112
je 0x6789728b
jmp 0x67897224
mov eax, dword [esp + 0x40]
cmp eax, 0x10
je 0x67897224
cmp eax, 0x11
je 0x67897224
cmp eax, 0x12
jne 0x67897230
call ebx
cmp eax, esi
je 0x678971a3
jmp 0x6789728b
mov ecx, edi
call sym.MfcHlpr520.dll_private:_int___thiscall_CMHPShortcutManager::GetAccelKeyState_void_const
mov dword [esp + 0x24], eax
xor ebx, ebx
mov ecx, dword [esp + 0x18]
push ebx
call sym.MfcHlpr520.dll_public:_class_CMHPShortcutManagerAccel____thiscall_CMHPShortcutManagerAccelTable::GetAt_int_const
mov esi, eax
mov al, byte [ebp + 4]
mov dl, byte [esi + 4]
cmp dl, al
jne 0x67897276
mov ax, word [esi + 6]
cmp ax, word [ebp + 6]
jne 0x67897276
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
lea eax, [esi + 8]
push edx
push eax
mov ecx, edi
call sym.MfcHlpr520.dll_private:_int___thiscall_CMHPShortcutManager::IsAccelMessage_struct_CMHPShortcutManagerAccel::SHORTCUTACCEL___int__struct_tagMSG__const
test eax, eax
jne 0x678972d7
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x6789723d
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov esi, dword [esp + 0x10]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ebx, dword [edi + 0x2c]
push esi
dec ebx
mov dword [edi + 0x2c], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x678972c8
mov ecx, dword [edi + 0x38]
mov ecx, dword [ecx + 0xa0]
mov edx, dword [ecx]
call dword [edx + 0xb8]
test eax, eax
je 0x678972c8
mov eax, dword [edi + 0x38]
push 0
mov ecx, dword [eax + 0xa0]
call sub.MFC42.DLL_CFrameWnd::SetMessageText
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x678972e3
mov eax, 1
jmp 0x678972fd
mov dword [esp + 0x64], 1
mov ebp, esi
jmp 0x67897287
mov ecx, dword [ebp]
push 0
push ecx
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x20]
jmp 0x678972fd
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4