Function at 0x14003a740
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x48], xmm9
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, qword [0x1400528c8]
mov r14, r8
mov rdi, rdx
mov rax, qword [rbx + 0x3ea8]
mov byte [rax + 0x90], 1
mov rbp, qword [rbx + 0x3ea8]
cmp byte [rbp + 0x93], 0
jne 0x14003aa8c
mov rcx, rbp
movaps xmmword [r11 - 0x38], xmm7
call fcn.1400148d0
mov esi, eax
mov rax, qword [0x1400528c8]
mov rdx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x14003a7e1
nop dword [rax]
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14003a7e1
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x14003a7d8
cmp byte [rcx], r8b
je 0x14003a7e1
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14003a7c0
movss xmm1, dword [rax + 0x3c18]
xorps xmm9, xmm9
cmp rdi, rdx
jne 0x14003a7f7
xorps xmm0, xmm0
jmp 0x14003a84a
movss xmm0, dword [0x14004a8cc]
movaps xmm2, xmm1
movss xmm3, dword [0x14004a8bc]
mov rcx, qword [rax + 0x3c10]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
call fcn.140035d00
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x14004a79c]
movss xmm1, dword [rsp + 0x4c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm2, dword [rbx + 0x3834]
lea rcx, [rsp + 0x48]
movss xmm3, dword [rbx + 0x3838]
addss xmm2, xmm2
mov rdx, qword [r14]
addss xmm3, xmm3
movss xmm6, dword [rbp + 0xd8]
movss xmm7, dword [rbp + 0xdc]
addss xmm2, xmm0
addss xmm3, xmm1
call fcn.14001f9c0
movss xmm1, dword [rbx + 0x3838]
lea rcx, [rsp + 0x48]
movaps xmm3, xmm6
movss dword [rsp + 0x50], xmm6
addss xmm3, dword [rsp + 0x48]
movaps xmm0, xmm7
movss dword [rsp + 0x54], xmm7
addss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x58], xmm3
movss dword [rsp + 0x5c], xmm0
call fcn.14001f5c0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, esi
xor r9d, r9d
call fcn.14001f710
movaps xmm7, xmmword [rsp + 0x80]
test al, al
je 0x14003aa8c
mov eax, dword [rbx + 0x3f74]
lea r9, [rsp + 0x40]
and eax, 2
lea r8, [rsp + 0x41]
shl eax, 9
lea rcx, [rsp + 0x50]
mov edx, esi
mov dword [rsp + 0x20], eax
call fcn.140039ce0
movd xmm6, dword [0x1400528d0]
xor edx, edx
movss xmm1, dword [rbx + 0x3f54]
movzx ebp, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x14003a944
mov rcx, qword [0x1400528c8]
mov dword [rbx + 0x3f54], edx
or dword [rcx + 0x3f78], 4
mov word [rcx + 0x3f04], 0x101
movss xmm0, dword [rbx + 0x3f54]
ucomiss xmm0, xmm9
jp 0x14003a967
jne 0x14003a967
cmp dword [rbx + 0x3f50], esi
jne 0x14003a9ae
movss dword [rbx + 0x3f54], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f50], esi
jne 0x14003a9ae
comiss xmm9, xmm0
movss xmm2, dword [0x14004a7a0]
jbe 0x14003a982
xorps xmm1, xmm1
jmp 0x14003a989
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x1400528d0], eax
jae 0x14003a9a5
comiss xmm9, xmm6
jb 0x14003a9ae
mov dword [0x1400528d0], edx
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003aa76
mov rcx, qword [0x1400528c8]
cmp byte [rcx + 0x40fb], 0
mov rdx, qword [rcx + 0x3ea8]
je 0x14003a9f7
cmp byte [rcx + 0x40fa], 0
jne 0x14003a9f7
test byte [rcx + 0x3f74], 4
jne 0x14003aa76
mov eax, dword [rcx + 0x40c0]
jmp 0x14003aa76
mov eax, dword [rcx + 0x3f78]
test al, 1
je 0x14003aa76
cmp qword [rcx + 0x3eb0], rdx
je 0x14003aa0e
test al, al
jns 0x14003aa76
mov eax, dword [rcx + 0x3ef4]
test eax, eax
je 0x14003aa2e
cmp eax, dword [rcx + 0x3f70]
je 0x14003aa2e
cmp byte [rcx + 0x3f01], 0
jne 0x14003aa2e
cmp eax, dword [rdx + 0x54]
jne 0x14003aa76
mov rax, qword [rcx + 0x40b8]
test rax, rax
je 0x14003aa6a
mov rax, qword [rax + 0x350]
test rax, rax
je 0x14003aa6a
cmp byte [rax + 0x8f], 0
je 0x14003aa6a
cmp rax, qword [rdx + 0x350]
je 0x14003aa6a
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x14003aa76
bt r8d, 0x1a
jb 0x14003aa76
test byte [rcx + 0x3f74], 4
jne 0x14003aa76
mov eax, dword [rdx + 0x54]
mov r8, qword [rsp + 0x50]
mov r9, rdi
movaps xmm1, xmm6
call fcn.140012bb0
movzx eax, bpl
jmp 0x14003aa8e
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140042d20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm9, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret