Function at 0x14005db50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x140217900]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov r12, rcx
mov r15, r9
mov rcx, qword [0x14021b770]
mov rdi, r8
mov r13, rdx
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb8], 1
mov r14, qword [rcx + 0x3ed0]
cmp byte [r14 + 0xbb], 0
jne 0x14005df45
mov rbx, qword [0x14021b770]
xor r8d, r8d
mov rcx, r14
call fcn.140021ef0
movss xmm0, dword [0x1401afbdc]
lea rcx, [rsp + 0x68]
mov r9b, 1
movss dword [rsp + 0x20], xmm0
xor r8d, r8d
mov rdx, r13
mov esi, eax
call fcn.14001db50
movss xmm6, dword [rbx + 0x3810]
addss xmm6, xmm6
addss xmm6, dword [rsp + 0x6c]
call fcn.14001d7a0
movss xmm1, dword [r15 + 4]
lea rcx, [rsp + 0x58]
movaps xmm2, xmm0
movaps xmm3, xmm6
movss xmm0, dword [r15]
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.14001d680
movss xmm1, dword [r14 + 0x100]
lea rcx, [rsp + 0x40]
movss xmm2, dword [r14 + 0x104]
movaps xmm4, xmm1
addss xmm4, dword [rsp + 0x58]
movss xmm0, dword [rsp + 0x68]
movaps xmm3, xmm2
addss xmm0, dword [rbx + 0x3824]
addss xmm3, dword [rsp + 0x5c]
xorps xmm6, xmm6
movss dword [rsp + 0x50], xmm4
addss xmm2, xmm6
addss xmm0, xmm1
movss dword [rsp + 0x54], xmm3
movss dword [rsp + 0x4c], xmm2
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [r14 + 0x100]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [r14 + 0x104]
movss dword [rsp + 0x78], xmm4
subss xmm4, xmm0
movss dword [rsp + 0x7c], xmm3
subss xmm3, xmm1
movss dword [rsp + 0x74], xmm1
movss xmm1, dword [rbx + 0x3810]
movss dword [rsp + 0x40], xmm4
movss dword [rsp + 0x44], xmm3
call fcn.140024e40
xor r9d, r9d
lea rcx, [rsp + 0x70]
xor r8d, r8d
mov edx, esi
call fcn.140024a90
test al, al
je 0x14005df45
mov edx, esi
lea rcx, [rsp + 0x48]
call fcn.140024c50
movzx r15d, al
test al, al
je 0x14005dd42
mov ecx, esi
call fcn.14002ee40
mov dword [rbx + 0x4a50], 1
cmp byte [rbx + 0x3748], 0
je 0x14005dd42
cmp dword [rbx + 0x3f30], esi
je 0x14005dd2e
xor eax, eax
mov dword [rbx + 0xe10], eax
mov byte [rbx + 0xe14], al
mov qword [rdi], 0xffffffffffffffff
mov rdx, r14
mov ecx, esi
call fcn.14002ea30
xor edx, edx
mov rcx, r14
call fcn.140021610
mov rax, qword [rdi]
xor r14b, r14b
mov qword [rsp + 0x60], rax
cmp dword [rbx + 0x3f30], esi
jne 0x14005ddbc
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14005dd75
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005dd96
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r14b, 1
call fcn.14001e720
mov dl, 1
mov ecx, 0x20e
call fcn.140024460
test al, al
je 0x14005ddb4
mov qword [rdi], 0xffffffffffffffff
call fcn.14001e720
jmp 0x14005ddbc
mov rax, qword [rsp + 0x60]
mov qword [rdi], rax
movss xmm1, dword [0x1401afb7c]
lea ecx, [r15 + 7]
xorps xmm0, xmm0
movabs rax, 0x736f5020746553
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x28], rax
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
call fcn.140021c40
movss xmm0, dword [rbx + 0x3814]
mov r9b, 1
mov rdx, qword [rsp + 0x50]
mov r8d, eax
mov rcx, qword [rsp + 0x48]
movss dword [rsp + 0x20], xmm0
call fcn.14002b880
mov r8d, dword [rdi]
cmp r8d, 0xffffffff
je 0x14005de44
mov r9d, dword [rdi + 4]
cmp r9d, 0xffffffff
je 0x14005de44
cmp dword [rbx + 0x3f30], esi
je 0x14005de4c
lea rdx, str._d___d
lea rcx, [rbp - 0x70]
call fcn.140034b70
lea r8, [rbp - 0x70]
jmp 0x14005de53
cmp dword [rbx + 0x3f30], esi
jne 0x14005de61
lea r8, str._Right_click_to_set_
mov edx, 0x40
lea rcx, [rbp - 0x60]
call fcn.140178064
movss xmm4, dword [rsp + 0x48]
lea rcx, [rbp - 0x80]
movss xmm5, dword [rsp + 0x4c]
lea rax, [rbx + 0x3868]
movss xmm0, dword [rsp + 0x58]
lea r8, [rbp - 0x60]
movss xmm1, dword [rsp + 0x5c]
addss xmm0, xmm4
addss xmm1, xmm5
mov qword [rsp + 0x30], rcx
movss dword [rbp - 0x80], xmm4
lea rdx, [rsp + 0x40]
movss dword [rbp - 0x7c], xmm5
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
movss dword [rbp - 0x78], xmm0
movss xmm0, dword [rsp + 0x50]
movss dword [rbp - 0x74], xmm1
movss xmm3, dword [rbx + 0x380c]
movss xmm2, dword [rbx + 0x3810]
subss xmm0, xmm3
movss xmm1, dword [rsp + 0x54]
addss xmm3, xmm4
subss xmm1, xmm2
mov qword [rsp + 0x20], 0
addss xmm2, xmm5
movss dword [rsp + 0x40], xmm0
movss dword [rbp - 0x70], xmm3
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x6c], xmm2
call fcn.14002c510
movss xmm0, dword [rsp + 0x68]
comiss xmm0, xmm6
jbe 0x14005df3f
movss xmm1, dword [rsp + 0x4c]
mov r9b, 1
addss xmm1, dword [rbx + 0x3810]
movss xmm0, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, r13
unpcklps xmm0, xmm1
movq rcx, xmm0
call fcn.14002c250
movzx eax, r14b
jmp 0x14005df47
xor al, al
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.14015b7e0
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret