Function at 0x1400419a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov r10, qword [0x14024ad10]
mov rsi, r9
movaps xmmword [rsp + 0x40], xmm6
mov rbx, r8
mov r11, rcx
test r10, r10
je case.0x140041e4b.527
mov r8, qword [r10 + 0x90]
lea rbp, [r10 + 8]
cmp edx, 0x200
ja 0x140041e1f
je 0x140041dec
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x140041e4b.527
lea r9, [0x140000000]
movzx eax, byte [r9 + rax + 0x42020]
mov ecx, dword [r9 + rax*4 + 0x4200c]
add rcx, r9
jmp rcx
lea eax, [rdx - 0x100]
mov r14d, 0x100
test eax, 0xfffffffb
sete dil
cmp rbx, r14
jae case.0x140041e4b.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400b5284]
shr eax, 0xf
and al, 1
je 0x140041a5d
movaps xmm3, xmm6
jmp 0x140041a60
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x281
mov rcx, rbp
call fcn.140019940
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x140041a88
movaps xmm3, xmm6
jmp 0x140041a8b
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x282
mov rcx, rbp
call fcn.140019940
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x140041ab3
movaps xmm3, xmm6
jmp 0x140041ab6
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x283
mov rcx, rbp
call fcn.140019940
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x140041ade
movaps xmm3, xmm6
jmp 0x140041ae1
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x284
mov rcx, rbp
call fcn.140019940
cmp rbx, 0xd
jne 0x140041b08
shr rsi, 0x10
mov eax, 0x10d
test r14w, si
cmovne ebx, eax
movsxd r14, ebx
mov rcx, r14
call fcn.140041450
movsxd rsi, eax
test eax, eax
je 0x140041b54
mov rbp, qword [0x14024ad10]
test dil, dil
je 0x140041b2b
movaps xmm3, xmm6
jmp 0x140041b2e
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbp + 8]
mov edx, esi
call fcn.140019940
cmp ebx, 0x1ff
ja 0x140041b54
mov dword [rbp + r14*4 + 0xf8], esi
mov dword [rbp + rsi*4 + 0xf8], ebx
cmp ebx, 0x10
jne 0x140041c02
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140041bac
mov rbx, qword [0x14024ad10]
test dil, dil
je 0x140041b83
movaps xmm3, xmm6
jmp 0x140041b86
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x210
call fcn.140019940
mov dword [rbx + 0x378], 0x210
mov dword [rbx + 0x938], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140041e4b.527
mov rbx, qword [0x14024ad10]
test dil, dil
jne 0x140041bd4
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x214
call fcn.140019940
mov dword [rbx + 0x37c], 0x214
mov dword [rbx + 0x948], 0xa1
jmp case.0x140041e4b.527
cmp ebx, 0x11
jne 0x140041cb0
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140041c5a
mov rbx, qword [0x14024ad10]
test dil, dil
je 0x140041c31
movaps xmm3, xmm6
jmp 0x140041c34
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x20f
call fcn.140019940
mov dword [rbx + 0x380], 0x20f
mov dword [rbx + 0x934], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140041e4b.527
mov rbx, qword [0x14024ad10]
test dil, dil
jne 0x140041c82
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x213
call fcn.140019940
mov dword [rbx + 0x384], 0x213
mov dword [rbx + 0x944], 0xa3
jmp case.0x140041e4b.527
cmp ebx, 0x12
jne case.0x140041e4b.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140041d08
mov rbx, qword [0x14024ad10]
test dil, dil
je 0x140041cdf
movaps xmm3, xmm6
jmp 0x140041ce2
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x211
call fcn.140019940
mov dword [rbx + 0x388], 0x211
mov dword [rbx + 0x93c], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140041e4b.527
mov rbx, qword [0x14024ad10]
test dil, dil
jne 0x140041d30
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x215
call fcn.140019940
mov dword [rbx + 0x38c], 0x215
mov dword [rbx + 0x94c], 0xa5
jmp case.0x140041e4b.527
xor eax, eax
lea rbx, [r10 + 0x37d8]
mov ecx, dword [rbx + 4]
cmp edx, 7
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov eax, dword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 6
sete byte [rsp + 0x28]
cmp eax, ecx
jne 0x140041ebe
lea r8d, [rax + 1]
test ecx, ecx
je 0x140041ea5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140041eaa
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja case.0x140041e4b.527
movzx edx, bx
mov rcx, rbp
call fcn.140019780
jmp case.0x140041e4b.527
cmp si, 1
jne case.0x140041e4b.527
call fcn.140040a90
test al, al
je case.0x140041e4b.527
mov eax, 1
jmp 0x140041fe9
cmp byte [r8 + 0x10], 0
mov qword [r8 + 8], r11
jne 0x140041dfc
mov byte [r8 + 0x10], 1
mov rax, rsi
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, si
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140019ab0
jmp case.0x140041e4b.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x140041e4b.527
lea r9, [0x140000000]
movzx eax, byte [r9 + rax + 0x4213c]
mov ecx, dword [r9 + rax*4 + 0x42120]
add rcx, r9
jmp rcx
xor ecx, ecx
cmp qword [r8 + 8], r11
jne 0x140041e59
mov qword [r8 + 8], rcx
lea rbx, [r10 + 0x37d8]
mov byte [r8 + 0x10], cl
mov eax, dword [rbx]
mov r9d, 1
mov qword [rsp + 0x30], rcx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x24], r9d
mov dword [rsp + 0x28], 0xff7fffff
mov dword [rsp + 0x2c], 0xff7fffff
cmp eax, ecx
jne 0x140041ebe
lea r8d, [rax + 1]
test ecx, ecx
je 0x140041ea5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140041eaa
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14002f4e0
mov eax, dword [rbx]
movups xmm0, xmmword [rsp + 0x20]
cdqe
movsd xmm1, qword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
jmp case.0x140041e4b.527
xor ecx, ecx
cmp edx, 0x204
je 0x140041ef9
mov r9d, ecx
cmp edx, 0x206
jne 0x140041eff
mov r9d, 1
lea eax, [rdx - 0x207]
mov r10d, 2
test eax, 0xfffffffd
lea eax, [rdx - 0x20b]
cmove r9d, r10d
test eax, 0xfffffffd
jne 0x140041f30
shr rbx, 0x10
cmp bx, 1
setne cl
lea r9d, [rcx + 3]
mov eax, dword [r8 + 0x14]
mov edx, r9d
bts eax, r9d
mov dword [r8 + 0x14], eax
mov r8b, 1
call fcn.140019b50
jmp case.0x140041e4b.527
xor ecx, ecx
cmp edx, 0x205
mov r10d, ecx
sete r10b
cmp edx, 0x208
jne 0x140041f69
lea r10d, [rcx + 2]
jmp 0x140041f84
cmp edx, 0x20c
jne 0x140041f84
shr rbx, 0x10
mov r10d, ecx
cmp bx, 1
setne r10b
add r10d, 3
mov eax, dword [r8 + 0x14]
mov edx, r10d
btr eax, r10d
mov dword [r8 + 0x14], eax
xor r8d, r8d
call fcn.140019b50
jmp case.0x140041e4b.527
shr rbx, 0x10
xorps xmm1, xmm1
movsx eax, bx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400b5344]
call fcn.140019bf0
jmp case.0x140041e4b.527
shr rbx, 0x10
xorps xmm2, xmm2
movsx eax, bx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1400b5344]
call fcn.140019bf0
jmp case.0x140041e4b.527
cmp ebx, 7
jne case.0x140041e4b.527
mov byte [r8 + 0x2d], 1
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret