Function at 0x14000a010
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, qword [rdx]
xor esi, esi
mov ebx, esi
mov r14, rdx
mov rbp, rcx
nop
test rdi, rdi
je 0x14000a061
mov edx, 0xffffffeb
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
test rax, rax
je 0x14000a053
cmp dword [rax], 0x11
je 0x14000a061
mov rbx, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
jmp 0x14000a030
test rbx, rbx
je 0x14000a3dc
mov eax, dword [r14 + 8]
cmp eax, 0x100
jne 0x14000a399
mov rax, qword [r14 + 0x10]
cmp rax, 9
jne 0x14000a199
cmp qword [rbx + 8], rbp
jne 0x14000a234
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xa1
movzx edi, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
or ax, di
mov ecx, send
bt ax, cx
jb 0x14000a129
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, qword [rbx + 0x88]
mov r14, rax
mov rcx, rdi
call fcn.1400171d0
mov ebp, eax
test eax, eax
je 0x14000a22a
mov rcx, rdi
call fcn.140016b10
mov r8, r14
mov edx, ebp
mov rcx, rax
mov rdi, rax
call fcn.14000ae50
cmp eax, 0xffffffff
lea edx, [rbp - 1]
cmove eax, esi
add rbx, 0x90
cmp eax, edx
mov qword [rsp + 0x20], rbx
mov edx, ebp
lea ecx, [rax + 1]
cmovne esi, ecx
xor r9d, r9d
mov r8d, esi
mov rcx, rdi
call fcn.14000afa0
mov eax, 1
jmp 0x14000a3de
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, qword [rbx + 0x88]
mov r14, rax
mov rcx, rdi
call fcn.1400171d0
mov ebp, eax
test eax, eax
je 0x14000a22a
mov rcx, rdi
call fcn.140016b10
mov r8, r14
mov edx, ebp
mov rcx, rax
mov rdi, rax
call fcn.14000ae50
cmp eax, 0xffffffff
lea r8d, [rbp - 1]
mov r9b, 1
mov edx, ebp
cmove eax, esi
add rbx, 0x90
test eax, eax
mov qword [rsp + 0x20], rbx
lea ecx, [rax - 1]
cmovne r8d, ecx
mov rcx, rdi
call fcn.14000afa0
mov eax, 1
jmp 0x14000a3de
cmp rax, 0xd
jne 0x14000a1c8
mov rcx, rbx
call fcn.14000ac20
test byte [rbx + 0x50], 0x40
je 0x14000a234
mov edx, 2
mov rcx, rbx
call fcn.14000aaa0
mov eax, 1
jmp 0x14000a3de
cmp rax, 0x1b
jne 0x14000a234
test byte [rbx + 0x50], 0x80
je 0x14000a234
mov rcx, qword [rbx + 0x78]
mov byte [rsp + 0x68], 1
test rcx, rcx
je 0x14000a22a
lea rax, str.bool_t
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, str.EvWinClose
mov r8, rbx
mov qword [rsp + 0x30], rax
mov edx, 0x41a
lea rax, str.OSWindow
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.1400159f0
mov eax, 1
jmp 0x14000a3de
cmp qword [rbx + 0x80], rsi
je 0x14000a3dc
mov rbp, qword [r14 + 0x10]
mov ecx, 0xa0
mov edi, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14000a26b
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000a270
mov edi, 1
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14000a294
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000a297
or edi, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14000a2bb
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000a2be
or edi, 4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14000a2e2
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000a2e5
or edi, 8
mov rcx, qword [rbx + 0x80]
call fcn.140016b10
mov rcx, qword [rbx + 0x80]
mov r14, rax
call fcn.1400171d0
mov r10d, eax
mov r8d, esi
test eax, eax
je 0x14000a3dc
lea rdx, [r14 + 8]
lea r11, [0x14003dc60]
nop dword [rax]
movsxd r9, dword [rdx - 8]
movzx ecx, word [r11 + r9*2]
cmp rbp, rcx
jne 0x14000a33d
mov eax, dword [rdx - 4]
cmp edi, eax
jne 0x14000a33d
mov rcx, qword [rdx]
test rcx, rcx
jne 0x14000a34e
inc r8d
add rdx, 0x10
cmp r8d, r10d
jb 0x14000a320
jmp 0x14000a3dc
mov dword [rsp + 0x6c], eax
mov r8, rbx
lea rax, str.void
mov dword [rsp + 0x68], r9d
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, str.EvKey
mov edx, 0x415
mov qword [rsp + 0x30], rax
lea rax, str.OSWindow
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.1400159f0
mov eax, 1
jmp 0x14000a3de
cmp eax, 7
jne 0x14000a3dc
mov rcx, qword [rbx + 0x88]
call fcn.140016b10
mov rcx, qword [rbx + 0x88]
mov rdi, rax
call fcn.1400171d0
test eax, eax
je 0x14000a3dc
mov rdx, qword [r14]
mov rcx, qword [rdi]
cmp qword [rcx + 8], rdx
je 0x14000a3d5
inc esi
add rdi, 8
cmp esi, eax
jb 0x14000a3c0
jmp 0x14000a3dc
mov qword [rbx + 0x90], rdx
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret