Function at 0x14001ea90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebp, r9d
mov rdi, r8
mov r12d, dword [rsp + 0x118]
mov ecx, dword [0x14006a318]
xor r13d, r13d
cmp ecx, r9d
jl 0x14001eb1a
lea eax, [r9 + 0x64]
cmp ecx, eax
jg 0x14001eb1a
mov eax, dword [0x14006a31c]
add eax, 0xfffffdda
cmp eax, 0x14
ja 0x14001eb1a
lea ecx, [r13 + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001eb1a
cmp byte [0x14006a648], r13b
jne 0x14001eb1a
mov byte [0x14006a648], 1
cmp byte [rdi + 0x18], r13b
sete al
mov byte [rdi + 0x18], al
jmp 0x14001eb39
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, byte [0x14006a648]
test ax, ax
cmove ecx, r13d
mov byte [0x14006a648], cl
cmp byte [rdi + 0x18], r13b
je 0x14001ec19
mov rsi, r13
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14001ec19
lea r15d, [rbp + 0x64]
mov r14, r13
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x80], ebp
imul eax, esi, 0x19
lea ebx, [rax + 0x244]
mov dword [rsp + 0x84], ebx
mov dword [rsp + 0x88], r15d
add eax, 0x25d
mov dword [rsp + 0x8c], eax
lea rdx, [r14 + rcx]
lea rcx, [rsp + 0x60]
call fcn.140016e40
lea edx, [rsi + 0x64]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x64
mov r9d, ebx
mov r8d, ebp
call fcn.14001ede0
mov rdx, qword [0x14006a318]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14001ebfb
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001ebfb
mov dword [rdi + 0x1c], esi
mov byte [rdi + 0x18], r13b
inc rsi
add r14, 0x20
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rcx
sar rax, 5
cmp rsi, rax
jb 0x14001eb70
movsxd rax, dword [rdi + 0x1c]
mov rcx, qword [rdi]
test eax, eax
js 0x14001ece7
mov rdx, rax
shl rdx, 5
add rdx, rcx
lea rcx, [rsp + 0x80]
call fcn.140016e40
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140016e40
mov edx, dword [rdi + 0x1c]
add edx, 0x64
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x64
mov r9d, 0x226
mov r8d, ebp
call fcn.14001ede0
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14001ecbc
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ecb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ed7e
call fcn.140023dd8
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140023710
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd rdx, r12d
shl rdx, 5
add rdx, rcx
lea rcx, [rsp + 0x80]
call fcn.140016e40
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140016e40
mov edx, dword [rdi + 0x1c]
add edx, 0x64
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x64
mov r9d, 0x226
mov r8d, ebp
call fcn.14001ede0
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14001ecbc
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ecb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ecb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3