Function at 0x14009f744
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebp, r9d
mov r15d, r8d
mov esi, edx
mov rdi, rcx
lea r14, [rcx + 0xe8]
mov rcx, r14
call fcn.14003ad38
mov r10, qword [rax]
and dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, dword [rdi + 0x104]
mov edx, dword [rdi + 0x100]
mov rcx, rax
call qword [r10 + COleCurrency::operator=]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x14009f8ab
cmp esi, 0x77
ja 0x14009f9c4
je 0x14009f8ab
cmp esi, 0x28
ja 0x14009f9ae
je 0x14009f988
mov eax, esi
sub eax, 9
je 0x14009f8ab
sub eax, 4
je 0x14009f94c
sub eax, 0xe
je 0x14009f8ab
sub eax, 6
je 0x14009f988
sub eax, 1
je 0x14009f988
sub eax, 3
je 0x14009f8f1
sub eax, 1
je 0x14009f988
cmp eax, 1
jne 0x14009fa26
cmp dword [rdi + reloc.mfc140u.dll_AFX_DDPDATA::AFX_DDPDATA], 0
jne 0x14009fa26
xor r9d, r9d
xor r8d, r8d
mov edx, CAppDestinations::CAppDestinations
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14009fa26
mov rcx, rdi
call sub.mfc140u.dll_Ordinal_6724
and eax, 3
cmp al, 3
je 0x14009f8ab
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14009e5ec
mov rax, qword [r14]
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [rax + 0xd8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
xor ebx, ebx
lea ecx, [rbx + 1]
cmp dword [rsp + 0x60], eax
cmovge ebx, ecx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x14009fa26
mov rcx, r14
call fcn.14003ad38
mov rcx, qword [rax]
mov r10, qword [rcx + 0x680]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r15d
mov r9d, esi
mov r8d, CMapStringToOb::HashKey
mov rdx, rdi
mov rcx, rax
call r10
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
cmp dword [rdi + reloc.mfc140u.dll_AFX_DDPDATA::AFX_DDPDATA], 0
jne 0x14009fa26
xor r9d, r9d
xor r8d, r8d
mov edx, CAppDestinations::CAppDestinations
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14009fa26
mov rcx, rdi
call sub.mfc140u.dll_Ordinal_6724
and eax, 3
cmp al, 3
je 0x14009f8ab
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14009e5ec
cmp dword [rsp + 0x60], 0
jne 0x14009fa26
jmp 0x14009f8ab
xor r9d, r9d
xor r8d, r8d
mov edx, CAppDestinations::CAppDestinations
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14009f8ab
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14f
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14009f8d8
cmp dword [rdi + reloc.mfc140u.dll_AFX_DDPDATA::AFX_DDPDATA], 0
jne 0x14009fa26
xor r9d, r9d
xor r8d, r8d
mov edx, CAppDestinations::CAppDestinations
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jmp 0x14009f941
mov eax, esi
sub eax, 0x2e
je 0x14009f9ba
sub eax, 0x42
jmp 0x14009f9ea
mov rcx, rdi
call sub.mfc140u.dll_Ordinal_6724
jmp 0x14009fa26
mov eax, 0x80
cmp esi, eax
ja 0x14009f9e3
je 0x14009f8ab
mov eax, esi
sub eax, 0x78
je 0x14009f8ab
sub eax, 1
jmp 0x14009f9ea
mov eax, esi
sub eax, 0x81
je 0x14009f8ab
sub eax, 1
je 0x14009f8ab
sub eax, 1
je 0x14009f8ab
sub eax, 1
je 0x14009f8ab
sub eax, 1
je 0x14009f8ab
sub eax, 1
je 0x14009f8ab
cmp eax, 1
je 0x14009f8ab
xor eax, eax
jmp 0x14009f8d8