Function at 0x140154a18
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
mov r14, rax
xor r12d, r12d
cmp dword [rdi + 0x4a8], r12d
je 0x140154a82
lea rcx, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call fcn.140151f38
test rax, rax
je 0x140154a82
lea rdx, [rdi + 0x4d0]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap]
mov ecx, dword [rbx + 8]
mov r13d, 2
sub ecx, 0x100
je 0x140154ca7
lea esi, [r13 - 1]
sub ecx, 4
je 0x140154c34
sub ecx, 0xfd
je 0x140154ab5
cmp ecx, 3
jne 0x140154d38
mov rcx, qword [rdi + 0x9a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154b41
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
mov rcx, qword [rdi + 0x9a8]
call qword [sym.imp.USER32.dll_GetWindowRect]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 0x24]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140154d38
mov rdx, qword [rbx + 0x24]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140154d38
mov rcx, rdi
call fcn.14015685c
test eax, eax
je 0x140155136
jmp 0x140154d38
mov rcx, qword [rdi + 0x600]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154bbd
mov rcx, qword [rdi + 0x600]
xorps xmm0, xmm0
lea rdx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 0x24]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140154d38
mov rdx, qword [rbx + 0x24]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140154d38
jmp 0x140154c97
mov rcx, qword [rdi + 0x6e8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154bd8
mov rcx, qword [rdi + 0x6e8]
jmp 0x140154b5a
cmp dword [rdi + 0x4a8], r12d
je 0x140154d38
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea r15, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
mov rcx, r15
call fcn.140151f38
lea rdx, [rbp - 0x20]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 0x24]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140154d38
mov rcx, r15
call fcn.1401565a0
cmp eax, esi
jne 0x140155136
jmp 0x140154d38
mov rcx, qword [rdi + 0x9a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154c5d
movzx ecx, word [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x140154d38
jmp 0x140154b2c
mov rcx, qword [rdi + 0x600]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
je 0x140154c85
mov rcx, qword [rdi + 0x6e8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154d38
movzx ecx, word [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x140154d38
mov rdx, r14
mov rcx, rdi
call fcn.140156a3c
jmp 0x140154b34
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, CMFCToolBarsCustomizeDialog::FillCategoriesListBox
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
lea rdx, [rbx + 0x10]
cmp qword [rdx], 0xd
jne 0x140154e04
mov esi, 1
cmp dword [rdi + 0x4a8], esi
jne 0x140154ced
lea rcx, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call fcn.1401565a0
jmp 0x14015512c
mov rcx, qword [rdi + 0x9a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154d09
mov rcx, rdi
call fcn.14015685c
jmp 0x140154d26
mov rcx, qword [rdi + 0x600]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154d8a
mov rdx, r14
mov rcx, rdi
call fcn.140156a3c
test eax, eax
je 0x14015512c
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.adui24.dll_public_virtual:_int___cdecl_CAdUiBaseDialog::PreTranslateMessage_struct_tagMSG____ptr64____ptr64]
mov r15d, eax
lea rsi, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
cmp dword [rdi + 0x4a8], r12d
je 0x140155187
mov rcx, rsi
call fcn.140151f38
mov rbx, rax
test rax, rax
jne 0x14015513d
mov dword [rsi + 0x2c0], r12d
lea rdx, [rsi + 0x2e8]
mov rcx, rsi
call fcn.14015663c
jmp 0x1401552ff
mov rcx, qword [rdi + 0x6e8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
je 0x140154d1b
xor r9d, r9d
xor r8d, r8d
mov r15d, CAppDestinations::CAppDestinations
mov edx, r15d
mov rcx, qword [rdi + 0x518]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
test eax, eax
je 0x140154dcf
mov rcx, qword [rdi + 0x518]
jmp 0x140154df4
mov edx, r15d
mov rcx, qword [rdi + 0x7d0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140154d2e
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rdi + 0x7d0]
mov edx, 0x14f
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14015512c
cmp qword [rdx], 0x1b
jne 0x140154e34
mov esi, 1
cmp dword [rdi + 0x4a8], esi
jne 0x140154d2e
mov dword [rdi + 0x4ac], esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.adui24.dll_public_virtual:_int___cdecl_CAdUiBaseDialog::PreTranslateMessage_struct_tagMSG____ptr64____ptr64]
mov esi, eax
jmp 0x14015512c
cmp qword [rdx], 0x2e
jne 0x140154e6a
mov rcx, qword [rdi + 0x228]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154d2e
cmp dword [rdi + 0x4a8], r12d
jne 0x140154d2e
mov rcx, rdi
call fcn.140150d58
jmp 0x140154d2e
cmp qword [rdx], 9
jne 0x140155068
mov rcx, qword [rdi + 0x228]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154f15
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140154d2e
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 1
test ax, ax
jns 0x140154ec0
call qword [sym.imp.USER32.dll_GetFocus]
mov edx, COleControlSiteOrWnd::COleControlSiteOrWnd
jmp 0x140154ed4
cmp dword [rdi + 0x960], r12d
jne 0x140154ef1
call qword [sym.imp.USER32.dll_GetFocus]
mov edx, COleControlSiteOrWnd::COleControlSiteOrWnd
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
call qword [sym.imp.USER32.dll_GetFocus]
jmp 0x14015512c
lea rbx, [rdi + 0x968]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_8043]
test eax, eax
jne 0x140154fce
lea rbx, [rdi + 0x5c0]
jmp 0x140154fce
mov rcx, qword [rdi + 0xae8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154f6e
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140154d2e
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140154f54
add rdi, 0x968
jmp 0x140154f5b
add rdi, 0x5c0
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
mov esi, 1
mov rcx, rdi
jmp 0x140154fda
mov rcx, qword [rdi + 0x9a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154fed
mov rcx, rdi
call fcn.14015685c
mov esi, 1
cmp eax, esi
jne 0x14015512c
lea ecx, [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140154d2e
lea ecx, [rsi + 0xf]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140154fc7
lea rcx, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
jmp 0x14015512c
lea rbx, [rdi + 0xaa8]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
mov rcx, rbx
or r8d, 0xffffffff
xor edx, edx
mov r9d, esi
call fcn.1400d6b14
jmp 0x14015512c
mov rcx, qword [rdi + 0x600]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140155017
mov rdx, r14
mov rcx, rdi
call fcn.140156a3c
test eax, eax
jne 0x140154d2e
jmp 0x140155127
mov rcx, qword [rdi + 0x6e8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
je 0x140154fff
cmp dword [rdi + 0x4a8], r12d
je 0x140154d2e
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140154d2e
lea rcx, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call fcn.1401565a0
mov esi, 1
cmp eax, esi
je 0x140154d2e
jmp 0x14015512c
cmp qword [rdx], 0x71
jne 0x1401550e3
cmp dword [rdi + 0x4a8], r12d
jne 0x140154d2e
mov rcx, qword [rdi + 0x228]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154d2e
lea rbx, [rdi + reloc.mfc140u.dll_CEnumArray::CEnumArray]
mov esi, 1
mov r9d, esi
or r8, 0xffffffffffffffff
mov edx, CScrollView::DoMouseWheel
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
cmp eax, 0xffffffff
je 0x14015512c
mov rcx, rdi
call fcn.1401532c0
lea r9d, [rsi + 2]
mov r8d, r9d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCEditBrowseCtrl::SetBrowseButtonImage_1]
mov edx, r14d
mov rcx, rbx
call fcn.140151e48
jmp 0x14015512c
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
jne 0x140154d2e
mov rcx, qword [rdi + 0x228]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140154d2e
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140154d2e
mov rcx, rdi
call fcn.1401548a0
mov esi, 1
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, esi
jmp 0x140155302
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap]
mov edx, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov rbx, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCToolBar::SetOrigButtons]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rdi + 0x9a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x140155251
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_8043]
test eax, eax
je 0x140155251
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x968]
lea rdx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap]
mov r9, r13
or r8, 0xffffffffffffffff
mov edx, CScrollView::DoMouseWheel
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp eax, 0xffffffff
jne 0x1401551ed
jmp 0x1401552f5
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CPaneContainerManager::GetFirstPane]
mov r13, rax
lea rcx, [rax + 8]
lea rdx, [rbp - 0x30]
call fcn.140075374
test al, al
je 0x140155241
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
mov rdx, rax
mov rcx, r13
call fcn.1401576c0
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov r9, rax
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CTagManager::SetBuffer]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov r13d, 2
mov rcx, qword [rdi + 0xae8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp r14, rax
jne 0x1401552ff
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0xaa8]
lea rdx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap]
mov r9, r13
or r8, 0xffffffffffffffff
mov edx, CScrollView::DoMouseWheel
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp eax, 0xffffffff
je 0x1401552f5
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CPaneContainerManager::GetFirstPane]
mov rdi, rax
lea rcx, [rax + 0x18]
lea rdx, [rbp - 0x30]
call fcn.140075374
test al, al
je 0x1401552f5
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
mov rdx, rax
mov rcx, rdi
call fcn.140157664
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov r9, rax
mov r8d, r13d
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CTagManager::SetBuffer]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, r15d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret