Function at 0x1400bd950
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.1400a7a84
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 0x1400bdab7
cmp esi, 0x77
ja 0x1400bdbd0
je 0x1400bdab7
cmp esi, 0x28
ja 0x1400bdbba
je 0x1400bdb94
mov eax, esi
sub eax, 9
je 0x1400bdab7
sub eax, 4
je 0x1400bdb58
sub eax, 0xe
je 0x1400bdab7
sub eax, 6
je 0x1400bdb94
sub eax, 1
je 0x1400bdb94
sub eax, 3
je 0x1400bdafd
sub eax, 1
je 0x1400bdb94
cmp eax, 1
jne 0x1400bdc32
cmp dword [rdi + reloc.mfc140u.dll_AFX_DDPDATA::AFX_DDPDATA], 0
jne 0x1400bdc32
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 0x1400bdc32
mov rcx, rdi
call sub.mfc140u.dll_Ordinal_6724
and eax, 3
cmp al, 3
je 0x1400bdab7
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.1400bc61c
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 0x1400bdc32
mov rcx, r14
call fcn.1400a7a84
mov rcx, qword [rax]
mov r10, qword [rcx + 0x680]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r15d
mov r9d, esi
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
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 0x1400bdc32
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 0x1400bdc32
mov rcx, rdi
call sub.mfc140u.dll_Ordinal_6724
and eax, 3
cmp al, 3
je 0x1400bdab7
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400bc61c
cmp dword [rsp + 0x60], 0
jne 0x1400bdc32
jmp 0x1400bdab7
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 0x1400bdab7
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 0x1400bdae4
cmp dword [rdi + reloc.mfc140u.dll_AFX_DDPDATA::AFX_DDPDATA], 0
jne 0x1400bdc32
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 0x1400bdb4d
mov eax, esi
sub eax, 0x2e
je 0x1400bdbc6
sub eax, 0x42
jmp 0x1400bdbf6
mov rcx, rdi
call sub.mfc140u.dll_Ordinal_6724
jmp 0x1400bdc32
mov eax, 0x80
cmp esi, eax
ja 0x1400bdbef
je 0x1400bdab7
mov eax, esi
sub eax, 0x78
je 0x1400bdab7
sub eax, 1
jmp 0x1400bdbf6
mov eax, esi
sub eax, 0x81
je 0x1400bdab7
sub eax, 1
je 0x1400bdab7
sub eax, 1
je 0x1400bdab7
sub eax, 1
je 0x1400bdab7
sub eax, 1
je 0x1400bdab7
sub eax, 1
je 0x1400bdab7
cmp eax, 1
je 0x1400bdab7
xor eax, eax
jmp 0x1400bdae4