Function at 0x140031dd0
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 [0x140070010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x1400a33e0]
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 0x140032195
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.140003180
mov rcx, qword [r14]
mov esi, eax
cmp dword [rcx + 0x3f18], eax
jne 0x140031e7c
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001a760
mov rbp, qword [0x1400a33e0]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140031e9e
movzx eax, byte [rcx]
test al, al
je 0x140031e9e
cmp al, 0x23
jne 0x140031e95
cmp byte [rcx + 1], al
je 0x140031e9e
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x140031e85
movss xmm1, dword [rbp + 0x3c08]
xorps xmm9, xmm9
cmp rdi, rcx
jne 0x140031eb4
xorps xmm0, xmm0
jmp 0x140031f07
movss xmm0, dword [0x140066d14]
lea rdx, [rsp + 0x48]
movss xmm3, dword [0x140066cf4]
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.14002a750
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x1400669e8]
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.140012cc0
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.1400127c0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, esi
xor r9d, r9d
call fcn.140012930
movaps xmm7, xmmword [rsp + 0x80]
test al, al
je 0x140032195
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.14002f810
movd xmm6, dword [0x1400a3ff4]
xor r8d, r8d
movss xmm1, dword [rbx + 0x3f74]
movzx ebp, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x140032013
mov rcx, qword [0x1400a33e0]
mov dword [rbx + 0x3f74], r8d
mov edx, dword [rcx + 0x3f30]
cmp edx, esi
je 0x140032003
test edx, edx
jne 0x14003200c
mov word [rcx + 0x3f40], 0x101
or dword [rcx + 0x4774], 4
movss xmm0, dword [rbx + 0x3f74]
ucomiss xmm0, xmm9
jp 0x140032036
jne 0x140032036
cmp dword [rbx + 0x3f70], esi
jne 0x14003207e
movss dword [rbx + 0x3f74], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f70], esi
jne 0x14003207e
comiss xmm9, xmm0
movss xmm2, dword [0x1400669f0]
jbe 0x140032051
xorps xmm1, xmm1
jmp 0x140032058
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x1400a3ff4], eax
jae 0x140032074
comiss xmm9, xmm6
jb 0x14003207e
mov dword [0x1400a3ff4], r8d
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003217f
mov rcx, qword [0x1400a33e0]
cmp byte [rcx + 0x48ef], 0
mov r8, qword [rcx + 0x3ed0]
je 0x1400320ca
cmp byte [rcx + 0x48ee], 0
jne 0x1400320ca
test byte [rcx + 0x4770], 4
jne 0x14003217f
mov eax, dword [rcx + 0x48b8]
jmp 0x14003217f
mov eax, dword [rcx + 0x4774]
test al, 1
je 0x14003217f
cmp qword [rcx + 0x3ed8], r8
je 0x1400320e9
test al, al
jns 0x14003217f
mov eax, dword [rcx + 0x3f30]
test eax, eax
je 0x14003210a
cmp eax, dword [rcx + 0x476c]
je 0x14003210a
cmp byte [rcx + 0x3f3d], 0
jne 0x14003210a
cmp eax, dword [r8 + 0x7c]
jne 0x14003217f
mov rdx, qword [rcx + 0x48b0]
test rdx, rdx
je 0x140032171
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x140032171
cmp byte [rdx + 0xb7], 0
je 0x140032171
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x140032171
mov r9d, dword [rdx + 0x14]
bt r9d, 0x1b
jb 0x140032149
bt r9d, 0x1a
jae 0x140032171
cmp qword [rax + 0x378], rdx
je 0x140032171
cmp rax, rdx
je 0x140032171
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140032152
mov eax, dword [rcx + 0x4770]
bt eax, 8
jb 0x140032177
jmp 0x14003217f
mov eax, dword [rcx + 0x4770]
test al, 4
jne 0x14003217f
mov eax, dword [r8 + 0x7c]
mov r8, qword [rsp + 0x50]
mov r9, rdi
movaps xmm1, xmm6
call fcn.1400319f0
movzx eax, bpl
jmp 0x140032197
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005c560
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