Function at 0x1400cde04
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rsi, qword [rsp + 0x100]
xor edi, edi
mov rbp, r8
mov rbx, rdx
mov r14, rcx
cmp rsi, rdi
jne 0x1400cde43
call fcn.14001505c
int3
mov r13, qword [rsp + 0xf8]
mov r15, qword [rsp + 0xf0]
mov dword [rsp + 0x44], 0x1000
mov dword [r13], edi
mov rcx, r15
mov dword [rsp + 0x100], edi
mov qword [rsi], rdi
mov dword [rsp + 0x40], edi
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, di
jl 0x1400ce143
mov r8, qword [rsp + 0xe8]
lea rax, [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x100]
mov rdx, rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1400cdb94
cmp eax, edi
je 0x1400ce143
cmp qword [rsi], rdi
je 0x1400ce143
lea rdx, str.CPaneFrameWnd
mov rcx, rbp
call fcn.14005a7b0
mov rdx, rbp
cmp eax, edi
je 0x1400cdf03
lea rcx, str.CPaneFrameWnd
call fcn.14005a7e4
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x308]
mov rdx, rax
lea rcx, str.CPane
call fcn.14005a7e4
mov rcx, qword [rsi]
mov r12, rax
cmp rcx, rdi
je 0x1400cdf95
mov rax, qword [rcx]
call qword [rax + 0x2e0]
mov rcx, qword [rsi]
mov rdx, qword [rcx]
mov edi, eax
call qword [rdx + 0x2d8]
mov rcx, qword [rsi]
xor edx, edx
mov r8, qword [rcx]
mov r15d, eax
call qword [r8 + 0x400]
xor ebx, ebx
test rax, rax
setne bl
test r12, r12
je 0x1400cdf8b
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + 0x2e0]
cmp eax, edi
je 0x1400cdf6d
xor edi, edi
cmp ebx, edi
jne 0x1400ce143
jmp 0x1400cdf6f
xor edi, edi
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x2e0]
test r15d, eax
jne 0x1400cdf8d
cmp ebx, edi
je 0x1400ce143
jmp 0x1400cdf8d
xor edi, edi
mov r15, qword [rsp + 0xf0]
cmp dword [rsp + 0x100], edi
jne 0x1400cdfa4
cmp dword [rsp + 0x40], edi
je 0x1400ce011
cmp qword [rsi], rdi
mov eax, edi
setne al
mov dword [r13], eax
cmp eax, edi
je 0x1400ce143
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x2c8]
cmp eax, edi
je 0x1400ce003
mov rdx, rbp
mov rcx, r14
call fcn.1400cd0ac
cmp eax, edi
je 0x1400ce003
cmp r12, rdi
je 0x1400ce003
mov rax, qword [r12]
mov rdi, qword [rsi]
mov rcx, r12
call qword [rax + 0x2e0]
mov rdx, qword [rdi]
mov rcx, rdi
mov ebx, eax
call qword [rdx + 0x2e0]
xor edi, edi
cmp eax, ebx
lea eax, [rdi + 1]
je 0x1400ce005
mov eax, edi
mov dword [r13], eax
cmp eax, edi
je 0x1400ce143
mov rcx, qword [rsi]
cmp rcx, rdi
je 0x1400ce06b
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x400]
cmp rax, rdi
je 0x1400ce03c
mov rdx, rbp
mov rcx, r14
call fcn.1400cd0fc
cmp eax, edi
je 0x1400ce13f
cmp qword [rsi], rdi
je 0x1400ce06b
lea rdx, str.CBasePane
mov rcx, rbp
call fcn.14005a7b0
cmp eax, edi
je 0x1400ce06b
mov rcx, qword [rsi]
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0x2b8]
cmp eax, edi
je 0x1400ce13f
mov rcx, qword [rsi]
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp qword [rsi], rbp
je 0x1400ce13f
lea rdx, str.CPaneFrameWnd
mov rcx, rbp
call fcn.14005a7b0
cmp eax, edi
je 0x1400ce0b0
mov rcx, qword [rsi]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x400]
cmp rax, rbp
je 0x1400ce13f
mov rcx, qword [rbp + 0x40]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], edi
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp r12, rdi
je 0x1400ce143
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x2e0]
mov ecx, dword [rsp + 0x44]
test ecx, eax
jne 0x1400ce0f1
cmp dword [0x140259090], edi
je 0x1400ce143
mov rax, qword [rsp + 0x50]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0xd8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14011d5bc
movdqu xmm5, xmmword [rsp + 0x60]
movdqu xmmword [r15], xmm5
jmp 0x1400ce143
mov dword [r13], edi
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret