Function at 0x140031d60
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 [0x140093040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x140147a20]
mov r15, r8
mov rdi, rdx
mov rbx, rbp
mov rax, qword [rbp + 0x3ed0]
mov byte [rax + 0xb8], 1
mov r14, qword [rbp + 0x3ed0]
cmp byte [r14 + 0xbb], 0
jne 0x140032126
movsxd rax, dword [r14 + 0xf0]
xor edx, edx
mov r8, qword [r14 + 0xf8]
mov rcx, rdi
movaps xmmword [r11 - 0x38], xmm7
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002f80
mov rcx, qword [r14]
mov esi, eax
cmp dword [rcx + 0x3f18], eax
jne 0x140031e0c
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001a8b0
mov rbp, qword [0x140147a20]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140031e32
movzx edx, byte [rcx]
test dl, dl
je 0x140031e32
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140031e29
cmp byte [rax], dl
je 0x140031e32
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140031e15
movss xmm1, dword [rbp + 0x3c08]
xorps xmm9, xmm9
cmp rdi, rcx
jne 0x140031e48
xorps xmm0, xmm0
jmp 0x140031e9b
movss xmm0, dword [0x1400894b4]
lea rdx, [rsp + 0x48]
movss xmm3, dword [0x140089494]
movaps xmm2, xmm1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x3c00]
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
call fcn.14002a8d0
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x140089194]
movss xmm1, dword [rsp + 0x4c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm2, dword [rbx + 0x380c]
lea rcx, [rsp + 0x48]
movss xmm3, dword [rbx + 0x3810]
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.140012d90
movss xmm1, dword [rbx + 0x3810]
lea rcx, [rsp + 0x48]
movaps xmm2, xmm6
movss dword [rsp + 0x50], xmm6
addss xmm2, dword [rsp + 0x48]
movaps xmm0, xmm7
movss dword [rsp + 0x54], xmm7
addss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x58], xmm2
movss dword [rsp + 0x5c], xmm0
call fcn.140012890
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, esi
xor r9d, r9d
call fcn.140012a00
movaps xmm7, xmmword [rsp + 0x80]
test al, al
je 0x140032126
mov eax, dword [rbx + 0x4770]
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.14002f8c0
movd xmm6, dword [0x140148634]
xor r8d, r8d
movss xmm1, dword [rbx + 0x3f74]
movzx ebp, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x140031fa7
mov rcx, qword [0x140147a20]
mov dword [rbx + 0x3f74], r8d
mov edx, dword [rcx + 0x3f30]
cmp edx, esi
je 0x140031f97
test edx, edx
jne 0x140031fa0
mov word [rcx + 0x3f40], 0x101
or dword [rcx + 0x4774], 4
movss xmm0, dword [rbx + 0x3f74]
ucomiss xmm0, xmm9
jp 0x140031fca
jne 0x140031fca
cmp dword [rbx + 0x3f70], esi
jne 0x140032012
movss dword [rbx + 0x3f74], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f70], esi
jne 0x140032012
comiss xmm9, xmm0
movss xmm2, dword [0x14008919c]
jbe 0x140031fe5
xorps xmm1, xmm1
jmp 0x140031fec
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x140148634], eax
jae 0x140032008
comiss xmm9, xmm6
jb 0x140032012
mov dword [0x140148634], r8d
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140032110
mov rcx, qword [0x140147a20]
cmp byte [rcx + 0x48ef], 0
mov r8, qword [rcx + 0x3ed0]
je 0x14003205e
cmp byte [rcx + 0x48ee], 0
jne 0x14003205e
test byte [rcx + 0x4770], 4
jne 0x140032110
mov eax, dword [rcx + 0x48b8]
jmp 0x140032110
mov eax, dword [rcx + 0x4774]
test al, 1
je 0x140032110
cmp qword [rcx + 0x3ed8], r8
je 0x14003207d
test al, al
jns 0x140032110
mov eax, dword [rcx + 0x3f30]
test eax, eax
je 0x14003209e
cmp eax, dword [rcx + 0x476c]
je 0x14003209e
cmp byte [rcx + 0x3f3d], 0
jne 0x14003209e
cmp eax, dword [r8 + 0x7c]
jne 0x140032110
mov rdx, qword [rcx + 0x48b0]
test rdx, rdx
je 0x140032103
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x140032103
cmp byte [rdx + 0xb7], 0
je 0x140032103
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x140032103
mov r9d, dword [rdx + 0x14]
bt r9d, 0x1b
jb 0x1400320dd
bt r9d, 0x1a
jae 0x140032103
cmp qword [rax + 0x378], rdx
je 0x140032103
cmp rax, rdx
je 0x140032103
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x1400320e6
test dword [rcx + 0x4770], 0x100
je 0x140032110
test byte [rcx + 0x4770], 4
jne 0x140032110
mov eax, dword [r8 + 0x7c]
mov r8, qword [rsp + 0x50]
mov r9, rdi
movaps xmm1, xmm6
call fcn.1400319d0
movzx eax, bpl
jmp 0x140032128
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400602b0
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