Function at 0x140031db0
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 [0x140071010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x140078130]
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 0x140032175
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.140003160
mov rcx, qword [r14]
mov esi, eax
cmp dword [rcx + 0x3f18], eax
jne 0x140031e5c
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001a740
mov rbp, qword [0x140078130]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140031e7e
movzx eax, byte [rcx]
test al, al
je 0x140031e7e
cmp al, 0x23
jne 0x140031e75
cmp byte [rcx + 1], al
je 0x140031e7e
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x140031e65
movss xmm1, dword [rbp + 0x3c08]
xorps xmm9, xmm9
cmp rdi, rcx
jne 0x140031e94
xorps xmm0, xmm0
jmp 0x140031ee7
movss xmm0, dword [0x140067dcc]
lea rdx, [rsp + 0x48]
movss xmm3, dword [0x140067dac]
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.14002a730
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x140067aa0]
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.140012ca0
movss xmm1, dword [rbx + 0x3810]
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.1400127a0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, esi
xor r9d, r9d
call fcn.140012910
movaps xmm7, xmmword [rsp + 0x80]
test al, al
je 0x140032175
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.14002f7f0
movd xmm6, dword [0x140078d44]
xor r8d, r8d
movss xmm1, dword [rbx + 0x3f74]
movzx ebp, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x140031ff3
mov rcx, qword [0x140078130]
mov dword [rbx + 0x3f74], r8d
mov edx, dword [rcx + 0x3f30]
cmp edx, esi
je 0x140031fe3
test edx, edx
jne 0x140031fec
mov word [rcx + 0x3f40], 0x101
or dword [rcx + 0x4774], 4
movss xmm0, dword [rbx + 0x3f74]
ucomiss xmm0, xmm9
jp 0x140032016
jne 0x140032016
cmp dword [rbx + 0x3f70], esi
jne 0x14003205e
movss dword [rbx + 0x3f74], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f70], esi
jne 0x14003205e
comiss xmm9, xmm0
movss xmm2, dword [0x140067aa8]
jbe 0x140032031
xorps xmm1, xmm1
jmp 0x140032038
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x140078d44], eax
jae 0x140032054
comiss xmm9, xmm6
jb 0x14003205e
mov dword [0x140078d44], r8d
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003215f
mov rcx, qword [0x140078130]
cmp byte [rcx + 0x48ef], 0
mov r8, qword [rcx + 0x3ed0]
je 0x1400320aa
cmp byte [rcx + 0x48ee], 0
jne 0x1400320aa
test byte [rcx + 0x4770], 4
jne 0x14003215f
mov eax, dword [rcx + 0x48b8]
jmp 0x14003215f
mov eax, dword [rcx + 0x4774]
test al, 1
je 0x14003215f
cmp qword [rcx + 0x3ed8], r8
je 0x1400320c9
test al, al
jns 0x14003215f
mov eax, dword [rcx + 0x3f30]
test eax, eax
je 0x1400320ea
cmp eax, dword [rcx + 0x476c]
je 0x1400320ea
cmp byte [rcx + 0x3f3d], 0
jne 0x1400320ea
cmp eax, dword [r8 + 0x7c]
jne 0x14003215f
mov rdx, qword [rcx + 0x48b0]
test rdx, rdx
je 0x140032151
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x140032151
cmp byte [rdx + 0xb7], 0
je 0x140032151
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x140032151
mov r9d, dword [rdx + 0x14]
bt r9d, 0x1b
jb 0x140032129
bt r9d, 0x1a
jae 0x140032151
cmp qword [rax + 0x378], rdx
je 0x140032151
cmp rax, rdx
je 0x140032151
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140032132
mov eax, dword [rcx + 0x4770]
bt eax, 8
jb 0x140032157
jmp 0x14003215f
mov eax, dword [rcx + 0x4770]
test al, 4
jne 0x14003215f
mov eax, dword [r8 + 0x7c]
mov r8, qword [rsp + 0x50]
mov r9, rdi
movaps xmm1, xmm6
call fcn.1400319d0
movzx eax, bpl
jmp 0x140032177
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005cef0
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