Function at 0x140274d90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x80
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + COleVariant::operator=]
and eax, 0x80
test eax, eax
je 0x140274dd7
mov dword [rsp + 0x60], 0xffffffff
jmp 0x140274de1
mov eax, dword [0x1404f09d0]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call qword [rax + ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::AppendFormat]
mov dword [rsp + 0x50], eax
call fcn.1402694a0
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x48], rax
je 0x140274e45
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x140274e4c
xor eax, eax
jmp 0x14027503f
cmp qword [rsp + 0x48], 0
je 0x140274e83
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rax + AfxCheckError]
mov rbx, rax
call fcn.140287c70
mov rdx, rbx
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x68], rax
jmp 0x140274e8c
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x50], 2
jne 0x140274f60
cmp qword [rsp + 0x40], 0
je 0x140274f26
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x358]
and eax, 0x40
test eax, eax
jne 0x140274ed2
xor eax, eax
jmp 0x14027503f
cmp qword [rsp + 0x38], 0
je 0x140274f26
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x458]
test eax, eax
jne 0x140274f03
mov dword [rsp + 0x70], 1
jmp 0x140274f0b
mov dword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0x70]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
jmp 0x14027503f
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov r9d, 5
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x3c8]
mov r11d, eax
mov rax, qword [rsp + 0x98]
mov dword [rax], r11d
jmp 0x14027503d
cmp dword [rsp + 0x50], 3
jne 0x14027503d
cmp qword [rsp + 0x48], 0
je 0x14027503d
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x2e0]
test eax, eax
je 0x14027503d
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + CPropertySet::~CPropertySet]
test eax, eax
je 0x14027503d
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x458]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 5
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call qword [rax + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140275020
mov dword [rsp + 0x74], 1
jmp 0x140275028
mov dword [rsp + 0x74], 0
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0x74]
mov dword [rcx], eax
mov rax, qword [rsp + 0x58]
jmp 0x14027503f
xor eax, eax
add rsp, 0x80
pop rbx
ret