Function at 0x1400421a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x50
mov ecx, dword [0x1400acf00]
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400421c9
cmp byte [0x1400acce0], 0
sete byte [0x1400acce0]
cmp byte [0x1400aefce], 0
jne 0x1400421de
call fcn.1400414a0
mov byte [0x1400aefce], 1
mov rax, qword [0x1400aefd0]
xor edi, edi
test rax, rax
je 0x1400421f5
mov rcx, qword [rax + 0xf0]
jmp 0x1400421f8
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140042219
test rax, rax
je 0x140042219
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x140042219
cmp qword [rcx], rdi
je 0x140042219
call fcn.1400273b0
call fcn.140027a30
call fcn.1400062e0
mov rax, qword [0x1400aefd0]
movzx ecx, byte [0x1400acce0]
mov byte [rax + 0xc8], cl
call fcn.140041060
movss xmm1, dword [0x1400af11c]
xorps xmm0, xmm0
addss xmm1, dword [0x14009c3f4]
movss xmm6, dword [0x14009c2c4]
comiss xmm1, xmm0
movss dword [0x1400af11c], xmm1
jae 0x14004226e
mov dword [0x1400af11c], 0x3f800000
cmp byte [0x1400acf3c], dil
jne 0x14004227c
call fcn.140041ab0
mov eax, dword [0x1400af114]
inc eax
mov dword [0x1400af114], eax
cmp eax, 0x32
jle 0x140042295
mov dword [0x1400af114], edi
cmp byte [0x1400acce0], 1
jne 0x14004232d
mov rax, qword [0x1400aefd0]
mov ecx, 1
mov dword [rax + 0x130], edi
mov byte [rax + 0x134], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400422f4
mov rcx, qword [0x1400aefd0]
cmp byte [rcx + 0x130], dil
je 0x1400422ed
movss xmm0, dword [rcx + 0x38]
mulss xmm0, xmm0
comiss xmm0, dword [rcx + 0x4a0]
setbe al
test al, al
jne 0x1400422f4
mov byte [rcx + 0x130], 1
call fcn.14003ed10
mov rcx, qword [0x1400af030]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400af030]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400af030]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140042352
mov rcx, qword [0x1400af030]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400af030]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400084a0
mov rcx, qword [0x1400acc58]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400acc58]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x1400423cf
call fcn.140008860
mov rax, qword [0x1400aefd0]
mov rcx, qword [rax + 0x1e10]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140026e00
mov rcx, qword [0x1400acc58]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400acc58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400424bf
mov rcx, qword [0x1400acc58]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400424bf
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x1400aefd0]
test rbx, rbx
je 0x14004247c
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x14004247c
cmp qword [rbx], rdi
je 0x14004247c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140042444
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140042457
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004247c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400aefd0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400acc58]
lea rdx, [0x1400acc60]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400aefd0]
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x1400424bf
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x1400424bf
cmp qword [rax], rdi
je 0x1400424bf
add rsp, 0x50
pop rdi
jmp fcn.1400273b0
add rsp, 0x50
pop rdi
ret