Function at 0x1400c45c8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
cmp dword [rdx + 8], 0x20a
mov rbx, rcx
jne 0x1400c4641
mov rax, qword [rcx + 0xe8]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400c4641
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x1400c4641
mov rax, qword [rbx + 0xe8]
mov rcx, qword [rax + 0xd8]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov edx, dword [rdi + 8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
jmp 0x1400c4957
cmp dword [rdi + 8], 0x100
jne 0x1400c494c
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c47ae
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c47ae
mov rax, qword [rbx + 0xe8]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400c47ae
mov rax, qword [rdi + 0x10]
cmp rax, 0xd
je 0x1400c46d2
cmp rax, 0x28
ja 0x1400c47ae
movabs rdx, 0x15e00000000
bt rdx, rax
jae 0x1400c47ae
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x1400c47ae
mov rcx, rbx
call fcn.14001cb84
mov rax, qword [rbx + 0xe8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rax + 0xd8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov rax, qword [rbx + 0xe8]
jne 0x1400c461b
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rdx + 0xa0]
test rcx, rcx
jne 0x1400c472c
mov rcx, qword [rdx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140014908
test rax, rax
je 0x1400c4637
mov rdx, qword [rbx + 0xe8]
mov rcx, rbx
add rdx, 0xe0
call fcn.140015140
mov rax, qword [rbx + 0xe8]
mov rdi, rsi
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400c476a
mov rdi, qword [rcx + 0x40]
mov rax, qword [rcx + 0xa0]
test rax, rax
jne 0x1400c4780
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140014908
mov rcx, rax
mov r9, rdi
mov rax, qword [rbx + 0xe8]
mov edx, 0x111
mov rcx, qword [rcx + 0x40]
movzx r8d, word [rax + 0x24]
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x1400c4637
mov rax, qword [rdi + 0x10]
cmp rax, 9
je 0x1400c48fd
cmp rax, 0x1b
je 0x1400c48be
add rax, 0xffffffffffffffda
test rax, 0xfffffffffffffffd
jne 0x1400c494c
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c494c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c494c
mov rax, qword [rbx + 0xe8]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400c494c
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x1400c4637
mov rax, qword [rbx + 0xe8]
xor r9d, r9d
mov edx, 0x14f
mov rcx, qword [rax + 0xd8]
lea r8d, [r9 + 1]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rbx + 0xe8]
mov rcx, qword [rax + 0xd8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140014908
test rax, rax
je 0x1400c4637
mov rcx, qword [rbx + 0xe8]
lea rbx, [rcx + 0xb0]
mov rcx, qword [rcx + 0xd8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140014908
mov r8d, 1
mov rdx, rbx
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1400c4637
mov rax, qword [rbx + 0xe8]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400c48e6
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14f
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, rbx
call fcn.140014fb4
test rax, rax
je 0x1400c494c
mov rcx, rbx
call fcn.140014fb4
jmp 0x1400c493f
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140014908
test rax, rax
je 0x1400c494c
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140014908
mov rdx, qword [rbx + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.140014908
mov rcx, rax
call fcn.14001cb84
jmp 0x1400c4637
mov rdx, rdi
mov rcx, rbx
call fcn.140017d0c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret