Function at 0x14027bd20
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 0x14027bd67
mov dword [rsp + 0x60], 0xffffffff
jmp 0x14027bd71
mov eax, dword [0x1404dfb10]
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.140271b40
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 0x14027bdd5
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14027bddc
xor eax, eax
jmp 0x14027bfcf
cmp qword [rsp + 0x48], 0
je 0x14027be13
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.14028dbf0
mov rdx, rbx
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x68], rax
jmp 0x14027be1c
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x50], 2
jne 0x14027bef0
cmp qword [rsp + 0x40], 0
je 0x14027beb6
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 0x14027be62
xor eax, eax
jmp 0x14027bfcf
cmp qword [rsp + 0x38], 0
je 0x14027beb6
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 0x14027be93
mov dword [rsp + 0x70], 1
jmp 0x14027be9b
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 0x14027bfcf
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 0x14027bfcd
cmp dword [rsp + 0x50], 3
jne 0x14027bfcd
cmp qword [rsp + 0x48], 0
je 0x14027bfcd
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 0x14027bfcd
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + CPropertySet::~CPropertySet]
test eax, eax
je 0x14027bfcd
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 0x14027bfb0
mov dword [rsp + 0x74], 1
jmp 0x14027bfb8
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 0x14027bfcf
xor eax, eax
add rsp, 0x80
pop rbx
ret