Function at 0x140031d80
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 [0x140071040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x140078060]
mov r15, r8
mov rdi, rdx
mov rbx, rbp
mov rax, qword [rbp + 0x3ee0]
mov byte [rax + 0xb8], 1
mov r14, qword [rbp + 0x3ee0]
cmp byte [r14 + 0xbb], 0
jne 0x140032146
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 + 0x3f28], eax
jne 0x140031e2c
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001a8b0
mov rbp, qword [0x140078060]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140031e52
movzx edx, byte [rcx]
test dl, dl
je 0x140031e52
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140031e49
cmp byte [rax], dl
je 0x140031e52
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140031e35
movss xmm1, dword [rbp + 0x3c18]
xorps xmm9, xmm9
cmp rdi, rcx
jne 0x140031e68
xorps xmm0, xmm0
jmp 0x140031ebb
movss xmm0, dword [0x140067df4]
lea rdx, [rsp + 0x48]
movss xmm3, dword [0x140067dd4]
movaps xmm2, xmm1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x3c10]
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
call fcn.14002a8f0
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x140067adc]
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.140012da0
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.1400128a0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, esi
xor r9d, r9d
call fcn.140012a10
movaps xmm7, xmmword [rsp + 0x80]
test al, al
je 0x140032146
mov eax, dword [rbx + 0x4780]
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.14002f8e0
movd xmm6, dword [0x140078c74]
xor r8d, r8d
movss xmm1, dword [rbx + 0x3f84]
movzx ebp, al
cvtdq2ps xmm6, xmm6
test al, al
je 0x140031fc7
mov rcx, qword [0x140078060]
mov dword [rbx + 0x3f84], r8d
mov edx, dword [rcx + 0x3f40]
cmp edx, esi
je 0x140031fb7
test edx, edx
jne 0x140031fc0
mov word [rcx + 0x3f50], 0x101
or dword [rcx + 0x4784], 4
movss xmm0, dword [rbx + 0x3f84]
ucomiss xmm0, xmm9
jp 0x140031fea
jne 0x140031fea
cmp dword [rbx + 0x3f80], esi
jne 0x140032032
movss dword [rbx + 0x3f84], xmm1
movaps xmm0, xmm1
cmp dword [rbx + 0x3f80], esi
jne 0x140032032
comiss xmm9, xmm0
movss xmm2, dword [0x140067ae4]
jbe 0x140032005
xorps xmm1, xmm1
jmp 0x14003200c
movaps xmm1, xmm2
minss xmm1, xmm0
movaps xmm6, xmm2
subss xmm6, xmm1
comiss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [0x140078c74], eax
jae 0x140032028
comiss xmm9, xmm6
jb 0x140032032
mov dword [0x140078c74], r8d
xorps xmm6, xmm6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140032130
mov rcx, qword [0x140078060]
cmp byte [rcx + 0x48ff], 0
mov r8, qword [rcx + 0x3ee0]
je 0x14003207e
cmp byte [rcx + 0x48fe], 0
jne 0x14003207e
test byte [rcx + 0x4780], 4
jne 0x140032130
mov eax, dword [rcx + 0x48c8]
jmp 0x140032130
mov eax, dword [rcx + 0x4784]
test al, 1
je 0x140032130
cmp qword [rcx + 0x3ee8], r8
je 0x14003209d
test al, al
jns 0x140032130
mov eax, dword [rcx + 0x3f40]
test eax, eax
je 0x1400320be
cmp eax, dword [rcx + 0x477c]
je 0x1400320be
cmp byte [rcx + 0x3f4d], 0
jne 0x1400320be
cmp eax, dword [r8 + 0x7c]
jne 0x140032130
mov rdx, qword [rcx + 0x48c0]
test rdx, rdx
je 0x140032123
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x140032123
cmp byte [rdx + 0xb7], 0
je 0x140032123
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x140032123
mov r9d, dword [rdx + 0x14]
bt r9d, 0x1b
jb 0x1400320fd
bt r9d, 0x1a
jae 0x140032123
cmp qword [rax + 0x378], rdx
je 0x140032123
cmp rax, rdx
je 0x140032123
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140032106
test dword [rcx + 0x4780], 0x100
je 0x140032130
test byte [rcx + 0x4780], 4
jne 0x140032130
mov eax, dword [r8 + 0x7c]
mov r8, qword [rsp + 0x50]
mov r9, rdi
movaps xmm1, xmm6
call fcn.1400319f0
movzx eax, bpl
jmp 0x140032148
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005da30
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