Function at 0x1400850a4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1402bf900]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, qword [rbp + 0x68]
mov r14, rcx
mov r15, qword [rbp + 0x70]
mov rcx, r9
mov rdi, r9
mov rsi, rdx
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
xor r13d, r13d
test ax, ax
js 0x1400853a1
mov rbx, qword [r14]
lea rcx, str.CPaneFrameWnd
mov rdx, rsi
mov dword [rbp - 0x24], r13d
mov dword [rbp - 0x28], r13d
call fcn.1400438b8
mov rdx, qword [rbp + 0x58]
lea r9d, [r13 + 1]
mov r8, rax
mov rcx, r14
call qword [rbx + 0x28]
test rax, rax
je 0x14008515d
mov r10, qword [rax]
mov r9, rdi
mov r8, qword [rbp + 0x58]
mov rdx, rsi
mov qword [rsp + 0x28], r15
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [r10 + 0x380]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1400853a1
mov rax, qword [r14 + 0x308]
test rax, rax
je 0x1400851a4
cmp dword [rax + 0xc], r13d
je 0x1400851a4
cmp dword [rax + 8], r13d
je 0x1400851a4
mov rdx, rsi
lea rcx, str.CPaneFrameWnd
call fcn.1400438b8
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x350]
mov rdx, rax
lea rcx, str.CBasePane
call fcn.1400438b8
mov rcx, rax
jmp 0x1400851a7
mov rcx, r13
mov rax, qword [r14]
mov r9b, 1
mov r8d, dword [0x1402be7bc]
mov rdx, qword [rbp + 0x58]
mov qword [rsp + 0x30], rcx
mov rcx, r14
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
call qword [rax + 0x20]
mov rdx, rax
lea rcx, str.CDockablePane
call fcn.1400438b8
mov rbx, rax
test rax, rax
je 0x14008525c
mov rcx, rax
call fcn.140046a64
test rax, rax
je 0x14008525c
lea rdx, str.CPaneFrameWnd
mov rcx, rsi
call fcn.140043968
test eax, eax
je 0x14008522e
mov rdx, rsi
lea rcx, str.CPaneFrameWnd
call fcn.1400438b8
mov r8, qword [rbx]
mov rdx, rax
mov rcx, rbx
call qword [r8 + 0x670]
test eax, eax
je 0x1400853a1
mov rcx, rbx
call fcn.140046a64
mov r8, qword [rbp + 0x58]
mov r9, rdi
mov qword [rsp + 0x28], r15
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], r12
mov r10, qword [rax]
call qword [r10 + 0x538]
jmp 0x1400853a1
mov rdx, qword [rbp + 0x58]
lea r9, [rbp - 0x24]
lea r8, [rbp - 0x28]
mov rcx, r14
call fcn.1400865d8
mov qword [r15], r13
test eax, eax
je 0x1400853a1
lea rdx, str.CPaneFrameWnd
mov rcx, rsi
call fcn.140043968
test eax, eax
je 0x1400852bf
mov rdx, rsi
lea rcx, str.CPaneFrameWnd
call fcn.1400438b8
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x350]
mov rdx, rax
lea rcx, str.CPane
call fcn.1400438b8
test rax, rax
je 0x1400852f6
jmp 0x1400852e1
lea rdx, str.CDockablePane
mov rcx, rsi
call fcn.140043968
test eax, eax
je 0x1400852f6
mov rdx, rsi
lea rcx, str.CDockablePane
call fcn.1400438b8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x330]
test dword [rbp - 0x28], eax
je 0x1400853a1
mov rcx, qword [rsi + 0x40]
lea rdx, [rbp - 0x20]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [rbp - 0x24], r13d
lea rax, [r14 + 0x1d8]
lea rcx, [r14 + 0x1c8]
cmovne rcx, rax
movups xmm0, xmmword [rcx]
movdqu xmmword [rdi], xmm0
mov rcx, qword [r14 + 0x1b0]
call fcn.140029650
mov r8d, dword [rbp - 0x28]
and eax, 0x400000
cmp r8d, 0x1000
je 0x1400853cc
cmp r8d, 0x2000
je 0x1400853be
cmp r8d, 0x4000
je 0x140085374
cmp r8d, 0x8000
jne 0x140085383
mov eax, dword [rdi + 0xc]
sub eax, dword [rbp - 0x14]
add eax, dword [rbp - 0x1c]
mov dword [rdi + 4], eax
jmp 0x140085383
test eax, eax
je 0x1400853d0
mov eax, dword [rdi]
sub eax, dword [rbp - 0x20]
add eax, dword [rbp - 0x18]
mov dword [rdi + 8], eax
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [r14 + 0x1b0]
mov rdx, rdi
call fcn.14005d9e0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401cedb0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rdi + 4]
sub eax, dword [rbp - 0x1c]
add eax, dword [rbp - 0x14]
mov dword [rdi + 0xc], eax
jmp 0x140085383
test eax, eax
je 0x140085378
mov eax, dword [rdi + 8]
sub eax, dword [rbp - 0x18]
add eax, dword [rbp - 0x20]
mov dword [rdi], eax
jmp 0x140085383