Function at 0x1400cdf5c
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, rcx
xor esi, esi
cmp byte [rcx + 0x408], sil
je 0x1400cdfa4
mov byte [rcx + 0x408], sil
cmp dword [rcx + 0x4d4], esi
je 0x1400ce3ad
mov rax, qword [rcx]
call qword [rax + 0x338]
mov rdx, rax
lea rcx, vtable.CGlobalUtils.0
call fcn.14005839c
mov r13, rax
test rax, rax
jne 0x1400cdfde
cmp dword [0x140296600], esi
jne 0x1400cdfde
call fcn.14001461c
int3
mov ebx, dword [rdi + 0x4d0]
mov r15d, dword [rdi + 0x4d4]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x718]
mov rcx, rdi
call fcn.1400cd220
mov r14, rax
cmp ebx, r15d
jne 0x1400ce3a3
mov ecx, r15d
mov edx, 8
sub ecx, edx
je 0x1400ce2d1
sub ecx, 1
je 0x1400ce0fa
cmp ecx, 0xa
je 0x1400ce03d
mov rax, qword [rdi]
mov edx, r15d
mov rcx, rdi
call qword [rax + 0x6f8]
jmp 0x1400ce3a3
mov rbx, qword [0x1402a4b10]
test rbx, rbx
jne 0x1400ce05d
mov rcx, rdi
call fcn.140035688
mov rbx, rax
test rax, rax
je 0x1400ce0e9
mov rdx, rbx
lea rcx, str.CMDIFrameWndEx
call fcn.14003eb94
test rax, rax
je 0x1400ce083
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x430]
jmp 0x1400ce0e1
mov rdx, rbx
lea rcx, str.CFrameWndEx
call fcn.14003eb94
test rax, rax
je 0x1400ce0a9
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3f0]
jmp 0x1400ce0e1
mov rdx, rbx
lea rcx, str.COleIPFrameWndEx
call fcn.14003eb94
test rax, rax
jne 0x1400ce0d1
mov rdx, rbx
lea rcx, str.COleDocIPFrameWndEx
call fcn.14003eb94
test rax, rax
je 0x1400ce0e9
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x420]
test eax, eax
je 0x1400ce3a3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x5b8]
jmp 0x1400ce3a3
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400ce26d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x680]
test eax, eax
je 0x1400ce26d
mov rcx, qword [rdi + 0x110]
xor r9d, r9d
xor r8d, r8d
lea r13d, [r9 + 0xb]
mov edx, r13d
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rdi + 0x438], esi
jne 0x1400ce1d9
lea edx, [r13 - 1]
lea rcx, [rbp - 0x39]
call fcn.1400e0c0c
nop
lea rdx, [rbp - 0x39]
mov rcx, r14
call fcn.14010cadc
mov r15, qword [rbp - 0x31]
jmp 0x1400ce1c1
mov rdx, r15
test r15, r15
je 0x1400ce1c8
mov r15, qword [r15]
mov rdx, qword [rdx + 0x10]
lea rcx, str.CDockablePane
call fcn.14003eb94
mov r12, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x680]
test eax, eax
je 0x1400ce1c1
mov rbx, qword [r12]
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x328]
mov r8d, eax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea edx, [r9 + 1]
mov rcx, r12
call qword [rbx + 0x6d0]
test r15, r15
jne 0x1400ce16c
jmp 0x1400ce1ce
call fcn.14001461c
nop
lea rcx, [rbp - 0x39]
call fcn.1400e0c34
jmp 0x1400ce207
mov rcx, qword [rdi + 0x480]
mov rax, qword [rcx]
call qword [rax + 0x340]
mov rdx, rax
lea rcx, str.CAutoHideDockSite
call fcn.14003eb94
test rax, rax
je 0x1400ce207
xor edx, edx
mov rcx, rax
call fcn.140132a80
mov rcx, qword [rdi + 0x110]
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, r13d
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rdi + 0x110]
lea rcx, str.CFrameWnd
call fcn.14003eb94
test rax, rax
je 0x1400ce24c
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x2f0]
mov rcx, qword [rdi + 0x110]
mov r9d, 0x181
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x1400ce3b2
test r13, r13
je 0x1400ce3b2
test r14, r14
je 0x1400ce3b2
mov ebx, dword [r13 + 0x1ec]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x328]
test ebx, eax
je 0x1400ce3b2
mov rbx, qword [rdi]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x328]
mov r8d, eax
cmp dword [rdi + 0x438], esi
sete sil
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, esi
mov rcx, rdi
call qword [rbx + 0x6d0]
jmp 0x1400ce3b2
cmp dword [0x1402a47b8], esi
je 0x1400ce3b2
mov rcx, rdi
call fcn.1400cd144
mov r14, rax
test rax, rax
je 0x1400ce3b2
mov r8, qword [rax]
lea rdx, [rbp - 1]
mov rcx, rax
call qword [r8 + 0x18]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
lea rdx, [rbp + 0xf]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.14001744c
mov r8, qword [rbp + 0xf]
shr r8, 0x20
mov edx, dword [rbp + 0xf]
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.140016bfc
mov dword [r14 + 0x18], 1
mov ebx, dword [rbp - 1]
mov dword [rbp - 0x49], ebx
mov eax, dword [rbp + 0xb]
inc eax
mov dword [rbp - 0x45], eax
mov rcx, rdi
call fcn.14003b174
bt eax, 0x16
jae 0x1400ce371
mov eax, dword [rbp + 7]
sub eax, dword [rbp - 1]
add ebx, eax
mov dword [rbp - 0x49], ebx
mov rbx, qword [rdi + 0x40]
mov rax, qword [rdi]
mov rdx, qword [rbp - 0x49]
mov rcx, rdi
call qword [rax + 0x5c8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400ce3b2
mov dword [r14 + 0x18], esi
mov rdx, r14
mov rcx, rdi
call fcn.1400cfbec
jmp 0x1400ce3b2
mov rcx, rdi
call fcn.140034bb4
jmp 0x1400ce3b2
call fcn.140098d20
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401a61b0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret