Function at 0x140096b7c
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.14008b9fc
mov rcx, rdi
call fcn.140089d14
test eax, eax
je 0x140096f33
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
je 0x140096f33
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x280]
test eax, eax
je 0x140096bec
cmp ebx, 3
jne 0x140096f33
mov rcx, rsi
call sub.mfc140u.dll_Ordinal_6724
bt eax, 0xb
jae 0x140096c03
cmp ebx, 3
jne 0x140096f33
cmp ebx, 8
je 0x140096c1f
test r14d, r14d
jne 0x140096c1f
lea ecx, [r14 + 0x29]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140096f33
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.14003ad38
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 0x140096ca8
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
test r13d, r13d
je 0x140096d71
cmp ebx, 3
je 0x140096cf2
cmp ebx, 0x16
je 0x140096ce4
cmp ebx, 0x18
jne 0x140096d17
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 0x140096d14
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x200]
jmp 0x140096d14
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 0x140096d55
cmp ebx, 0xd
je 0x140096d33
cmp ebx, 0xa
jne 0x140096f1d
mov rax, qword [rsi + 0x108]
test byte [rax + 0x20], 0x10
je 0x140096d55
lea rdx, [0x140136f40]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
jmp 0x140096f1d
cmp ebx, 0xd
je 0x140096d63
cmp ebx, 0xa
jne 0x140096f1d
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
jmp 0x140096f2b
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.14008a690
test eax, eax
je 0x140096dfe
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ecx, 0x3ff
and ax, cx
mov ecx, dword [rbp - 0x40]
cmp ax, 0x12
jne 0x140096dc6
test ecx, ecx
jne 0x140096df3
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 0x140096df0
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140096f40
mov r13d, r12d
test r13d, r13d
je 0x140096f13
jmp 0x140096e14
cmp ebx, 0x20
jb 0x140096f13
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.140005730
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140005730
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 0x140096efc
mov rax, qword [rdi]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call qword [rax + 0x2f8]
test eax, eax
jne 0x140096f05
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 0x140096f2b
mov rax, qword [r14]
cmp dword [rax - 0x10], 0
je 0x140096f2e
xor r12d, r12d
mov eax, r12d
jmp 0x140096f42
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