Function at 0x1400b7564
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r9d
mov r13d, r8d
mov r15d, edx
mov rdi, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
and ebx, 0x8000
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
and ebp, 0x8000
xor r14d, r14d
and dword [0x14016e320], r14d
mov ecx, r15d
sub ecx, 0x23
je 0x1400b7710
sub ecx, 1
je 0x1400b76c7
cmp ecx, 0xa
jne 0x1400b7697
mov rcx, rdi
call fcn.14003ad38
mov rcx, qword [rax + 0x7b8]
cmp qword [rcx + 0xc0], r14
jne 0x1400b768e
test ebx, ebx
jne 0x1400b768e
test ebp, ebp
jne 0x1400b768e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x280]
test eax, eax
jne 0x1400b768e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
test eax, eax
je 0x1400b768e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test eax, eax
je 0x1400b768e
mov rax, qword [rdi]
lea edx, [rbx + 1]
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xe0]
lea rdx, [0x140130d34]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rdi]
lea edx, [rbp + 1]
mov rcx, rdi
call qword [rax + 0x38]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VarBstrFromDisp]
lea r14d, [rbp + 1]
test r14d, r14d
jne 0x1400b776b
mov r9d, r12d
mov r8d, r13d
mov edx, r15d
mov rcx, rdi
call fcn.140007d00
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
test ebx, ebx
jne 0x1400b7697
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test eax, eax
je 0x1400b7697
mov rcx, rdi
call fcn.140089d14
test eax, eax
jne 0x1400b76f4
mov rax, qword [rdi]
mov r8d, dword [rdi + 0x1c]
mov edx, dword [rdi + 0x18]
mov rcx, rdi
call qword [rax + 0x48]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x20]
lea rcx, [rdi - 0xe8]
xor r8d, r8d
xor edx, edx
jmp 0x1400b7766
test ebx, ebx
jne 0x1400b7697
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test eax, eax
je 0x1400b7697
mov rcx, rdi
call fcn.140089d14
test eax, eax
jne 0x1400b7741
mov rax, qword [rdi]
mov r8d, dword [rdi + 0x1c]
mov edx, dword [rdi + 0x18]
mov rcx, rdi
call qword [rax + 0x48]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x20]
lea rbx, [rdi - 0xe8]
mov rcx, rbx
call sub.mfc140u.dll_CMFCMousePropertyPage::GetMessageMap
mov r8d, eax
mov edx, eax
mov rcx, rbx
call sub.mfc140u.dll_CFrameWnd::SetHelpCapture
mov rcx, rdi
call fcn.14003ad38
mov rcx, qword [rax]
mov r10, qword [rcx + 0x600]
and dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, dword [rdi + 0x1c]
mov edx, dword [rdi + 0x18]
mov rcx, rax
call r10
test eax, eax
jne 0x1400b77a5
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x138]
mov eax, 1
jmp 0x1400b76a8