Function at 0x1400b45a4
Capabilities:
Log keystrokes via polling
Open clipboard

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r14d, r8d
mov ebx, edx
mov rsi, rcx
lea rdi, [rcx + 0xe8]
mov rcx, rdi
call fcn.1400a8918
mov rcx, rdi
call fcn.1400a7e70
test eax, eax
je 0x1400b495b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
je 0x1400b495b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x280]
test eax, eax
je 0x1400b4614
cmp ebx, 3
jne 0x1400b495b
mov rcx, rsi
call sub.mfc140u.dll_Ordinal_6724
bt eax, 0xb
jae 0x1400b462b
cmp ebx, 3
jne 0x1400b495b
cmp ebx, 8
je 0x1400b4647
test r14d, r14d
jne 0x1400b4647
lea ecx, [r14 + 0x29]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1400b495b
mov r12d, 1
mov r15d, r12d
lea ecx, [r12 + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r13d, ax
and r13d, 0x8000
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb0
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, ax
mov dword [rbp - 0x3c], ecx
shr eax, 0x10
mov qword [rbp - 0x28], rax
mov rcx, rdi
call fcn.1400a7a84
mov rcx, qword [rax]
mov r10, qword [rcx + 0x600]
and dword [rsp + 0x20], 0
lea r9d, [r12 + 1]
mov r8d, dword [rsi + 0x104]
mov edx, dword [rsi + 0x100]
mov rcx, rax
call r10
lea r14, [rsi + 0x190]
cmp dword [rsi + 0x198], 0
jne 0x1400b46d0
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
test r13d, r13d
je 0x1400b4799
cmp ebx, 3
je 0x1400b471a
cmp ebx, 0x16
je 0x1400b470c
cmp ebx, 0x18
jne 0x1400b473f
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x208]
jmp 0x1400b473c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x200]
jmp 0x1400b473c
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1f8]
xor r15d, r15d
mov rcx, rsi
call sub.mfc140u.dll_Ordinal_6724
bt eax, 0xc
jae 0x1400b477d
cmp ebx, 0xd
je 0x1400b475b
cmp ebx, 0xa
jne 0x1400b4945
mov rax, qword [rsi + 0x108]
test byte [rax + 0x20], 0x10
je 0x1400b477d
lea rdx, [0x14014398c]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
jmp 0x1400b4945
cmp ebx, 0xd
je 0x1400b478b
cmp ebx, 0xa
jne 0x1400b4945
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
jmp 0x1400b4953
xor r13d, r13d
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov eax, dword [rsi + 0x128]
mov dword [rbp - 0x40], eax
movzx eax, word [rsi + 0x12c]
mov word [rbp + 0x30], ax
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
movzx ecx, bx
call fcn.1400a7534
test eax, eax
je 0x1400b4826
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ecx, 0x3ff
and ax, cx
mov ecx, dword [rbp - 0x40]
cmp ax, 0x12
jne 0x1400b47ee
test ecx, ecx
jne 0x1400b481b
mov dword [rsi + 0x128], ecx
movzx eax, word [rbp + 0x30]
mov word [rsi + 0x12c], ax
mov rax, qword [rbp - 0x30]
cmp dword [rax - 0x10], 0
jne 0x1400b4818
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400b4968
mov r13d, r12d
test r13d, r13d
je 0x1400b493b
jmp 0x1400b483c
cmp ebx, 0x20
jb 0x1400b493b
movzx edx, bx
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementSlider::XElementSlider]
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rbp - 0x38]
mov rcx, rsi
call sub.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap
mov r8d, dword [rbp - 0x28]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
mov rbx, rax
mov r8d, dword [rbp - 0x3c]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14001da40
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14001da40
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rbp - 0x38]
mov ebx, dword [rax - 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xd5
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
ja 0x1400b4924
mov rax, qword [rdi]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call qword [rax + 0x2f8]
test eax, eax
jne 0x1400b492d
mov rax, qword [rdi]
mov rdx, qword [r14]
mov rcx, rdi
call qword [rax + 0x308]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
xor r15d, r15d
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test r15d, r15d
je 0x1400b4953
mov rax, qword [r14]
cmp dword [rax - 0x10], 0
je 0x1400b4956
xor r12d, r12d
mov eax, r12d
jmp 0x1400b496a
lea rcx, [rsi + 0x190]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret