Function at 0x1400b3d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12d, r9d
mov r13d, r8d
mov r14d, edx
mov rdi, rcx
cmp qword [rcx - 0xa8], 0
jne 0x1400b3da4
xor eax, eax
jmp 0x1400b3ea5
xor r15d, r15d
lea ecx, [r15 + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
lea ecx, [r15 + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
and ebp, 0x8000
bt ebx, 0xf
jb 0x1400b3e94
mov ecx, r14d
sub ecx, 0x23
je 0x1400b3f29
sub ecx, 1
je 0x1400b3ebd
cmp ecx, 0xa
jne 0x1400b3e94
mov rcx, rdi
call fcn.1400a7a84
mov rcx, qword [rax + 0x7b8]
cmp qword [rcx + 0xc0], r15
jne 0x1400b3e8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x280]
test eax, eax
jne 0x1400b3e8b
test ebp, ebp
jne 0x1400b3e8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
test eax, eax
je 0x1400b3e8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test eax, eax
je 0x1400b3e8b
mov rax, qword [rdi]
lea edx, [rbp + 1]
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rdi]
lea edx, [rbp + 1]
mov rcx, rdi
call qword [rax + 0x38]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xe0]
lea rdx, [0x140134658]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea r15d, [rbp + 1]
test r15d, r15d
jne 0x1400b3fc8
mov r9d, r12d
mov r8d, r13d
mov edx, r14d
mov rcx, rdi
call fcn.1400a8ad0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test eax, eax
je 0x1400b3e94
mov rcx, rdi
call fcn.1400a7e70
test eax, eax
jne 0x1400b3ee6
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]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb1
mov rcx, qword [rdi - 0xa8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, UnRegisterTypeLib
mov rcx, qword [rdi - 0xa8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400b3fc8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test eax, eax
je 0x1400b3e94
mov rcx, rdi
call fcn.1400a7e70
test eax, eax
jne 0x1400b3f56
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, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rdi - 0xe8]
lea rdx, [rsp + 0x60]
call sub.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
movsxd r8, eax
mov r9, r8
mov edx, 0xb1
mov rcx, qword [rdi - 0xa8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, UnRegisterTypeLib
mov rcx, qword [rdi - 0xa8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rdi - 0xe8]
call fcn.1400b5bac
mov rcx, rdi
call fcn.1400a7a84
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 0x1400b400e
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x138]
mov eax, 1
jmp 0x1400b3ea5