Function at 0x1400d9910
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140309918]
xor rax, rsp
mov qword [rbp - 8], rax
mov r13, qword [rbp + 0x60]
mov r15, rcx
mov r12, qword [rbp + 0x68]
mov rcx, r9
mov rsi, r9
mov rbx, r8
mov r14, rdx
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
js 0x1400d9c5f
mov rax, qword [r15]
mov rdx, r14
mov dword [rbp - 0x1c], ecx
mov dword [rbp - 0x20], ecx
lea rcx, str.CPaneFrameWnd
mov rdi, qword [rax + 0x28]
call fcn.14009d928
mov r8, rax
mov r9d, 1
mov rax, rdi
mov rdx, rbx
mov rcx, r15
call qword [str._C__]
xor edi, edi
mov r10, rax
test rax, rax
je 0x1400d99dd
mov rcx, qword [rax]
mov r9, rsi
mov qword [rsp + 0x28], r12
mov r8, rbx
mov rdx, r14
mov qword [rsp + 0x20], r13
mov rax, qword [rcx + 0x380]
mov rcx, r10
call qword [str._C__]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1400d9c5f
mov rax, qword [r15 + 0x308]
test rax, rax
je 0x1400d9a2c
cmp dword [rax + 0xc], edi
je 0x1400d9a2c
cmp dword [rax + 8], edi
je 0x1400d9a2c
mov rdx, r14
lea rcx, str.CPaneFrameWnd
call fcn.14009d928
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x350]
mov rcx, rdx
call qword [str._C__]
mov rdx, rax
lea rcx, str.CBasePane
call fcn.14009d928
mov rcx, rax
jmp 0x1400d9a2f
mov rcx, rdi
mov rax, qword [r15]
mov r9b, 1
mov r8d, dword [0x1403087b4]
mov rdx, rbx
mov qword [rsp + 0x30], rcx
mov rcx, r15
mov dword [rsp + 0x28], 1
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rdi
call qword [str._C__]
mov rdx, rax
lea rcx, str.CDockablePane
call fcn.14009d928
mov rdi, rax
test rax, rax
je 0x1400d9aff
mov rcx, rax
call fcn.140126bb4
test rax, rax
je 0x1400d9aff
lea rdx, str.CPaneFrameWnd
mov rcx, r14
call fcn.14009d9c8
test eax, eax
je 0x1400d9ac9
mov rdx, r14
lea rcx, str.CPaneFrameWnd
call fcn.14009d928
mov rcx, qword [rdi]
mov rdx, rax
mov r8, qword [rcx + 0x670]
mov rcx, rdi
mov rax, r8
call qword [str._C__]
test eax, eax
je 0x1400d9c5f
mov rcx, rdi
call fcn.140126bb4
mov r10, rax
mov qword [rsp + 0x28], r12
mov r9, rsi
mov qword [rsp + 0x20], r13
mov r8, rbx
mov rdx, r14
mov rcx, qword [rax]
mov rax, qword [rcx + 0x538]
mov rcx, r10
call qword [str._C__]
jmp 0x1400d9c5f
lea r9, [rbp - 0x1c]
mov rdx, rbx
lea r8, [rbp - 0x20]
mov rcx, r15
call fcn.1400dac98
xor ebx, ebx
mov qword [r12], rbx
test eax, eax
je 0x1400d9c5f
lea rdx, str.CPaneFrameWnd
mov rcx, r14
call fcn.14009d9c8
test eax, eax
je 0x1400d9b71
mov rdx, r14
lea rcx, str.CPaneFrameWnd
call fcn.14009d928
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x350]
mov rcx, rdx
call qword [str._C__]
mov rdx, rax
lea rcx, str.CPane
call fcn.14009d928
mov rdx, rax
test rax, rax
je 0x1400d9bb2
jmp 0x1400d9b96
lea rdx, str.CDockablePane
mov rcx, r14
call fcn.14009d9c8
test eax, eax
je 0x1400d9bb2
mov rdx, r14
lea rcx, str.CDockablePane
call fcn.14009d928
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x330]
mov rcx, rdx
call qword [str._C__]
test dword [rbp - 0x20], eax
je 0x1400d9c5f
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x18]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x1c]
neg eax
sbb rcx, rcx
and ecx, 0x10
movups xmm0, xmmword [rcx + r15 + 0x1c8]
movdqu xmmword [rsi], xmm0
mov rcx, qword [r15 + 0x1b0]
call fcn.140096500
mov r8d, dword [rbp - 0x20]
and eax, 0x400000
cmp r8d, 0x1000
je 0x1400d9c91
cmp r8d, 0x2000
je 0x1400d9c83
cmp r8d, 0x4000
je 0x1400d9c2b
cmp r8d, 0x8000
jne 0x1400d9c3a
mov eax, dword [rsi + 0xc]
sub eax, dword [rbp - 0xc]
add eax, dword [rbp - 0x14]
mov dword [rsi + 4], eax
jmp 0x1400d9c3a
test eax, eax
je 0x1400d9c95
mov eax, dword [rbp - 0x10]
sub eax, dword [rbp - 0x18]
add eax, dword [rsi]
mov dword [rsi + 8], eax
mov rax, qword [r15]
mov rdx, rsi
mov rcx, r15
mov rax, qword [rax + 0xb8]
call qword [str._C__]
mov rcx, qword [r15 + 0x1b0]
mov rdx, rsi
call fcn.140097e18
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402113c0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsi + 4]
sub eax, dword [rbp - 0x14]
add eax, dword [rbp - 0xc]
mov dword [rsi + 0xc], eax
jmp 0x1400d9c3a
test eax, eax
je 0x1400d9c2f
mov eax, dword [rsi + 8]
sub eax, dword [rbp - 0x10]
add eax, dword [rbp - 0x18]
mov dword [rsi], eax
jmp 0x1400d9c3a