Function at 0x140032540
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], 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 [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x140073040]
mov r14, r8
mov rbx, rbp
mov rax, qword [rbp + 0x3ed0]
mov byte [rax + 0xb8], 1
mov rsi, qword [rbp + 0x3ed0]
cmp byte [rsi + 0xbb], 0
jne 0x14003291d
movsxd rax, dword [rsi + 0xf0]
xor edx, edx
mov r8, qword [rsi + 0xf8]
mov qword [r11 + 8], r15
lea r15, str.Player
mov rcx, r15
movaps xmmword [r11 - 0x38], xmm7
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002fb0
mov rcx, qword [rsi]
mov edi, eax
cmp dword [rcx + 0x3f18], eax
jne 0x1400325ee
mov r8, r15
mov edx, 0xb
mov ecx, eax
call fcn.14001a9d0
mov rbp, qword [0x140073040]
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x140032614
movzx edx, byte [rcx]
test dl, dl
je 0x140032614
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x14003260b
cmp byte [rax], dl
je 0x140032614
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400325f7
movss xmm1, dword [rbp + 0x3c08]
xorps xmm9, xmm9
cmp r15, rcx
jne 0x14003262a
xorps xmm0, xmm0
jmp 0x14003267d
movss xmm0, dword [0x140063964]
lea rdx, [rsp + 0x48]
movss xmm3, dword [0x140063944]
movaps xmm2, xmm1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x3c00]
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm0
call fcn.14002b1f0
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x140063704]
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 [r14]
addss xmm3, xmm3
movss xmm6, dword [rsi + 0x100]
movss xmm7, dword [rsi + 0x104]
addss xmm2, xmm0
addss xmm3, xmm1
call fcn.140012d80
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.140012880
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, edi
xor r9d, r9d
call fcn.1400129f0
movaps xmm7, xmmword [rsp + 0x80]
mov r15, qword [rsp + 0xc0]
test al, al
je 0x14003291d
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, edi
mov dword [rsp + 0x20], eax
call fcn.140030220
movd xmm6, dword [0x140073c54]
xor r8d, r8d
movss xmm1, dword [rbx + 0x3f74]
movzx esi, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x14003278f
mov rcx, qword [0x140073040]
mov dword [rbx + 0x3f74], r8d
mov edx, dword [rcx + 0x3f30]
cmp edx, edi
je 0x14003277f
test edx, edx
jne 0x140032788
mov word [rcx + 0x3f40], 0x101
or dword [rcx + 0x4774], 4
movss xmm0, dword [rbx + 0x3f74]
ucomiss xmm0, xmm9
jp 0x1400327b2
jne 0x1400327b2
cmp dword [rbx + 0x3f70], edi
jne 0x1400327fa
movss dword [rbx + 0x3f74], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f70], edi
jne 0x1400327fa
comiss xmm9, xmm0
movss xmm2, dword [0x14006370c]
jbe 0x1400327cd
xorps xmm1, xmm1
jmp 0x1400327d4
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x140073c54], eax
jae 0x1400327f0
comiss xmm9, xmm6
jb 0x1400327fa
mov dword [0x140073c54], r8d
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003290a
mov rcx, qword [0x140073040]
cmp byte [rcx + 0x48ef], 0
mov r8, qword [rcx + 0x3ed0]
je 0x140032857
cmp byte [rcx + 0x48ee], 0
jne 0x140032857
test byte [rcx + 0x4770], 4
jne 0x14003290a
mov eax, dword [rcx + 0x48b8]
movaps xmm1, xmm6
mov r8, qword [rsp + 0x50]
call fcn.140032320
movzx eax, sil
jmp 0x14003291f
mov eax, dword [rcx + 0x4774]
test al, 1
je 0x14003290a
cmp qword [rcx + 0x3ed8], r8
je 0x140032876
test al, al
jns 0x14003290a
mov eax, dword [rcx + 0x3f30]
test eax, eax
je 0x140032897
cmp eax, dword [rcx + 0x476c]
je 0x140032897
cmp byte [rcx + 0x3f3d], 0
jne 0x140032897
cmp eax, dword [r8 + 0x7c]
jne 0x14003290a
mov rdx, qword [rcx + 0x48b0]
test rdx, rdx
je 0x1400328fd
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x1400328fd
cmp byte [rdx + 0xb7], 0
je 0x1400328fd
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x1400328fd
mov r9d, dword [rdx + 0x14]
bt r9d, 0x1b
jb 0x1400328d6
bt r9d, 0x1a
jae 0x1400328fd
cmp qword [rax + 0x378], rdx
je 0x1400328fd
nop
cmp rax, rdx
je 0x1400328fd
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x1400328e0
test dword [rcx + 0x4770], 0x100
je 0x14003290a
test byte [rcx + 0x4770], 4
jne 0x14003290a
mov eax, dword [r8 + 0x7c]
mov r8, qword [rsp + 0x50]
movaps xmm1, xmm6
call fcn.140032320
movzx eax, sil
jmp 0x14003291f
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140059c90
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
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