Function at 0x180083b10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x180358080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rsi, rcx
xor edi, edi
mov dword [rbp + 0x3f], edi
mov edx, dword [0x18035ade8]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x18035dfac], eax
jle 0x180083bb8
lea rcx, [0x18035dfac]
call fcn.1800a15b0
cmp dword [0x18035dfac], 0xffffffff
jne 0x180083bb8
mov eax, 0x3e8
cdq
idiv dword [rsi + 0x30]
movsxd rbx, eax
mov qword [0x18035dfb0], rdi
lea rcx, [rbp + 0x47]
call fcn.1800911a0
mov rdx, qword [rax]
mov qword [0x18035dfb0], rdx
mov qword [0x18035dfb8], rbx
lea rcx, [0x18035dfac]
call fcn.1800a1544
cmp byte [rsi + 8], dil
je 0x180083bf7
cmp byte [0x18035c298], dil
jne 0x180083bf7
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180083bf7
lea rdx, [rbp - 0x29]
mov rcx, qword [0x18035de08]
call fcn.180062e20
mov edi, 1
cmp qword [rax + 8], 0
jne 0x180083bf7
xor bl, bl
jmp 0x180083bf9
mov bl, 1
test dil, 1
je 0x180083c2a
cmp byte [rbp - 0x19], 0
je 0x180083c2a
cmp qword [0x18035ba40], 0
je 0x180083c2a
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x180083c2a
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test bl, bl
jne 0x180083eab
lea rcx, [rbp + 0x47]
call fcn.1800911a0
mov r8, qword [rbp + 0x47]
mov rcx, r8
sub rcx, qword [0x18035dfb0]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x18035dfb8]
je 0x180083c84
mov ecx, 1
mov r9d, 0xff
cmovl ecx, r9d
test cl, cl
js 0x180083eab
mov qword [0x18035dfb0], r8
cmp byte [0x18035ba59], 0
je 0x180083e0d
lea rdx, [rbp + 0xf]
mov rcx, qword [0x18035de08]
call fcn.180062d30
nop
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.180065ca0
mov r14, rax
mov rdi, qword [0x18035ba40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 5
lea rdx, str.BLOCK
lea rcx, [rbp - 0x11]
call fcn.180009070
nop
lea rdx, [rbp - 0x11]
lea rcx, [0x18035db10]
call fcn.18006bf10
mov rbx, rax
mov rdx, rdi
lea rcx, [0x18035db10]
call fcn.18006bd30
mov rcx, qword [rdi]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call r9
mov r8, rax
mov qword [rbp + 0x27], rdi
mov byte [rbp + 0x37], 0
mov qword [rbp + 0x2f], rax
mov rdx, qword [r14 + 8]
cmp rdx, rax
jne 0x180083d39
mov bl, 1
jmp 0x180083d5c
test rdx, rdx
je 0x180083d5a
test r8, r8
je 0x180083d5a
mov rcx, qword [r14]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
sete bl
jmp 0x180083d5c
xor bl, bl
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x180083d97
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083d92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083ed4
call fcn.1800a1500
movdqa xmm0, xmmword [0x180340290]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
cmp byte [rbp - 0x19], 0
je 0x180083dda
cmp qword [0x18035ba40], 0
je 0x180083dda
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x180083dda
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rbp - 0x21], 0
cmp byte [rbp + 0x1f], 0
je 0x180083e05
cmp qword [0x18035ba40], 0
je 0x180083e05
mov rdx, qword [rbp + 0x17]
test rdx, rdx
je 0x180083e05
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test bl, bl
jne 0x180083eab
mov qword [rbp + 0x3f], 0
lea rcx, [rbp + 0x3f]
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rbp + 0x43]
shl r9d, 0x10
movzx eax, word [rbp + 0x3f]
or r9, rax
mov edx, 0x201
mov r8d, 1
mov rcx, qword [0x18035c290]
call qword [sym.imp.USER32.dll_PostMessageA]
movzx r9d, word [rbp + 0x43]
shl r9d, 0x10
movzx ecx, word [rbp + 0x3f]
or r9, rcx
mov edx, 0x202
mov r8d, 1
mov rcx, qword [0x18035c290]
call qword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [rsi + 0x30]
mov dword [rbp + 0x47], ecx
mov ecx, dword [rsi + 0x34]
mov dword [rbp + 0x4b], ecx
lea rcx, [rbp + 0x47]
call fcn.18007e140
mov ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
movsxd rbx, eax
lea rcx, [rbp + 0x47]
call fcn.1800911a0
mov rcx, qword [rax]
mov qword [0x18035dfb0], rcx
mov qword [0x18035dfb8], rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800a14e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800ac5a8
nop
int3