Function at 0x140031ef0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x48], xmm9
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x140069b90]
mov r15, r8
mov rdi, rdx
mov rbx, rbp
mov rax, qword [rbp + 0x3ed8]
mov byte [rax + 0xb8], 1
mov r14, qword [rbp + 0x3ed8]
cmp byte [r14 + 0xbb], 0
jne 0x1400321cb
movsxd rcx, dword [r14 + 0xf0]
xor edx, edx
mov rax, qword [r14 + 0xf8]
movaps xmmword [r11 - 0x38], xmm7
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.1400033e0
mov rcx, qword [r14]
mov esi, eax
cmp dword [rcx + 0x3f20], eax
jne 0x140031f9c
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001abb0
mov rbp, qword [0x140069b90]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140031fbe
movzx eax, byte [rcx]
test al, al
je 0x140031fbe
cmp al, 0x23
jne 0x140031fb5
cmp byte [rcx + 1], al
je 0x140031fbe
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x140031fa5
movss xmm1, dword [rbp + 0x3c10]
xorps xmm9, xmm9
cmp rdi, rcx
jne 0x140031fd4
xorps xmm0, xmm0
jmp 0x140032027
movss xmm0, dword [0x140060c64]
lea rdx, [rsp + 0x48]
movss xmm3, dword [0x140060c40]
movaps xmm2, xmm1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x3c08]
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
call fcn.14002b260
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x140060a74]
movss xmm1, dword [rsp + 0x4c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm2, dword [rbx + 0x3804]
lea rcx, [rsp + 0x48]
movss xmm3, dword [rbx + 0x3808]
addss xmm2, xmm2
mov rdx, qword [r15]
addss xmm3, xmm3
movss xmm6, dword [r14 + 0x100]
movss xmm7, dword [r14 + 0x104]
addss xmm2, xmm0
addss xmm3, xmm1
call fcn.140012a60
movss xmm1, dword [rbx + 0x3808]
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.140012560
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, esi
xor r9d, r9d
call fcn.1400126d0
movaps xmm7, xmmword [rsp + 0x80]
test al, al
je 0x1400321cb
mov eax, dword [rbx + 0x477c]
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.140030b50
movd xmm6, dword [0x14006a7a4]
xor r8d, r8d
movss xmm1, dword [rbx + 0x3f7c]
movzx ebp, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x140032133
mov rcx, qword [0x140069b90]
mov dword [rbx + 0x3f7c], r8d
mov edx, dword [rcx + 0x3f38]
cmp edx, esi
je 0x140032123
test edx, edx
jne 0x14003212c
mov word [rcx + 0x3f48], 0x101
or dword [rcx + 0x4780], 4
movss xmm0, dword [rbx + 0x3f7c]
ucomiss xmm0, xmm9
jp 0x140032156
jne 0x140032156
cmp dword [rbx + 0x3f78], esi
jne 0x14003219e
movss dword [rbx + 0x3f7c], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f78], esi
jne 0x14003219e
comiss xmm9, xmm0
movss xmm2, dword [0x140060a7c]
jbe 0x140032171
xorps xmm1, xmm1
jmp 0x140032178
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x14006a7a4], eax
jae 0x140032194
comiss xmm9, xmm6
jb 0x14003219e
mov dword [0x14006a7a4], r8d
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400321b5
xor ecx, ecx
call fcn.140006dc0
mov r8, qword [rsp + 0x50]
mov r9, rdi
movaps xmm1, xmm6
call fcn.140031b10
movzx eax, bpl
jmp 0x1400321cd
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140056530
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm9, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret