Function at 0x1401f4460
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xe0
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x1401f448c
mov eax, 1
jmp 0x1401f4bae
mov dword [rsp + 0x50], 1
call fcn.1402086d0
mov rdx, qword [rsp + 0xf8]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x340], 0
je 0x1401f4522
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x340]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0xc], 0
je 0x1401f4500
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 8], 0
je 0x1401f4500
mov dword [rsp + 0xc8], 1
jmp 0x1401f450b
mov dword [rsp + 0xc8], 0
cmp dword [rsp + 0xc8], 0
je 0x1401f4522
mov dword [rsp + 0xcc], 1
jmp 0x1401f452d
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x48], 0
je 0x1401f45d6
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x2a0]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x64], eax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [0x1404f7d88]
call fcn.1400dc9c0
mov dword [rsp + 0x30], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sub.mfc90u.dll_CStatusCmdUI::SetCheck
cmp qword [rsp + 0x48], 0
je 0x1401f4baa
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + CToolBarCtrl::~CToolBarCtrl]
mov rbx, rax
call fcn.140128260
mov rdx, rbx
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1401f4675
cmp dword [rsp + 0x40], 0
jne 0x1401f4803
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
call qword [rax + 0x358]
and eax, 0x40
test eax, eax
je 0x1401f4803
call fcn.1402694a0
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
test eax, eax
je 0x1401f4803
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov r9d, 1
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call qword [rax + 0x38]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1401f4803
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x1e0]
call sub.mfc90u.dll_CWnd::ExecuteDlgInit
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x1e0]
call sub.mfc90u.dll_CWnd::ExecuteDlgInit
cmp qword [rsp + 0xc0], rax
jne 0x1401f4803
call fcn.140287c70
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x1401f4759
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x1f8], 0
jne 0x1401f4759
call qword [sym.imp.MSVCR90.dll_clock]
mov r11d, eax
mov rax, qword [rsp + 0xf0]
mov dword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], r11d
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x98]
mov qword [rcx + 0x1f8], rax
cmp qword [rsp + 0x98], 0
je 0x1401f47f9
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x98]
cmp qword [rcx + 0x1f8], rax
jne 0x1401f47f9
call qword [sym.imp.MSVCR90.dll_clock]
mov rcx, qword [rsp + 0xf0]
sub eax, dword [rcx + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp eax, dword [0x1404f09c4]
jle 0x1401f47f9
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov r8d, 1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
call qword [rax + 0x450]
mov dword [rsp + 0x50], eax
call qword [sym.imp.MSVCR90.dll_clock]
mov r11d, eax
mov rax, qword [rsp + 0xf0]
mov dword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], r11d
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x1f8], 0
mov eax, dword [rsp + 0x50]
jmp 0x1401f4bae
mov eax, 1
jmp 0x1401f4bae
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x1f8], 0
cmp qword [rsp + 0x88], 0
je 0x1401f4baa
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
call qword [rax + CSplitterWnd::~CSplitterWnd]
and eax, 0xf000
test eax, eax
jne 0x1401f4851
mov eax, 1
jmp 0x1401f4bae
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
lea r8, [rsp + 0xa0]
mov edx, dword [0x1404f09d0]
mov rcx, qword [rsp + 0x88]
call qword [rax + ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::AppendFormat]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x88], rax
jne 0x1401f48a8
mov dword [rsp + 0xa8], 0
cmp qword [rsp + 0xa0], 0
jne 0x1401f48c1
cmp dword [rsp + 0xa8], 2
jne 0x1401f4a48
cmp dword [rsp + 0x40], 0
jne 0x1401f4a48
cmp qword [rsp + 0xa0], 0
je 0x1401f48f5
call fcn.140265f70
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
mov dword [rsp + 0xd0], eax
jmp 0x1401f4900
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xb0], eax
cmp qword [rsp + 0xa0], 0
je 0x1401f4937
call fcn.1402694a0
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
mov dword [rsp + 0xd4], eax
jmp 0x1401f4942
mov dword [rsp + 0xd4], 1
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xb0], 0
jne 0x1401f4968
cmp dword [rsp + 0xac], 0
je 0x1401f4a48
cmp dword [rsp + 0xb0], 0
je 0x1401f4981
mov eax, dword [0x1404f09c0]
mov dword [rsp + 0xd8], eax
jmp 0x1401f498e
mov eax, dword [0x1404f09c4]
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0xb4], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xa0]
cmp qword [rcx + 0x1f0], rax
jne 0x1401f49cc
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x204]
cmp dword [rsp + 0xa8], eax
je 0x1401f4a21
call qword [sym.imp.MSVCR90.dll_clock]
mov r11d, eax
mov rax, qword [rsp + 0xf0]
mov dword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], r11d
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xa0]
mov qword [rcx + 0x1f0], rax
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rsp + 0xa8]
mov dword [rcx + 0x204], eax
mov edx, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x48]
call fcn.1402107a0
call qword [sym.imp.MSVCR90.dll_clock]
mov rcx, qword [rsp + 0xf0]
sub eax, dword [rcx + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp eax, dword [rsp + 0xb4]
jge 0x1401f4a48
mov eax, 1
jmp 0x1401f4bae
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x1f0], 0
call qword [sym.imp.MSVCR90.dll_clock]
mov r11d, eax
mov rax, qword [rsp + 0xf0]
mov dword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], r11d
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x204], 0
mov rcx, qword [rsp + 0x48]
call fcn.140210800
cmp dword [rsp + 0xa8], 1
jne 0x1401f4aee
cmp qword [rsp + 0xa0], 0
je 0x1401f4aee
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x2e0]
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
call qword [rax + 0x508]
test eax, eax
je 0x1401f4aee
xor eax, eax
jmp 0x1401f4bae
cmp dword [rsp + 0xa8], 2
jne 0x1401f4b2b
cmp dword [rsp + 0x40], 0
jne 0x1401f4b2b
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov r9d, 1
mov r8, qword [rsp + 0xa0]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x2e0]
mov dword [rsp + 0x50], eax
jmp 0x1401f4baa
cmp dword [rsp + 0xa8], 3
jne 0x1401f4b83
cmp dword [rsp + 0x40], 0
jne 0x1401f4b83
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov r9d, 1
mov r8, qword [rsp + 0xa0]
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x2e0]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [rax + 0x80]
jmp 0x1401f4baa
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov r9d, 1
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x2e0]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
add rsp, 0xe0
pop rbx
ret