Function at 0x180086380
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], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800eb040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xor r12d, r12d
mov edx, dword [0x1800ec3dc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1800ee010], eax
jle 0x180086428
lea rcx, [0x1800ee010]
call fcn.18009047c
cmp dword [0x1800ee010], 0xffffffff
jne 0x180086428
mov eax, 0x3e8
cdq
idiv dword [rsi + 0x10]
movsxd rbx, eax
mov qword [0x1800ee018], r12
lea rcx, [rbp - 0x18]
call fcn.180090300
mov rdx, qword [rax]
mov qword [0x1800ee018], rdx
mov qword [0x1800ee020], rbx
lea rcx, [0x1800ee010]
call fcn.180090410
cmp byte [rsi + 8], r12b
je 0x1800867c1
cmp byte [0x1800ec7b8], r12b
jne 0x1800867c1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800867c1
lea rcx, [rbp - 0x18]
call fcn.180090300
mov r8, qword [rbp - 0x18]
mov rcx, r8
sub rcx, qword [0x1800ee018]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1800ee020]
je 0x1800864a5
mov ecx, 1
mov r9d, 0xff
cmovl ecx, r9d
test cl, cl
js 0x1800867c1
mov qword [0x1800ee018], r8
lea rdx, [rbp - 0x30]
mov rcx, qword [0x1800ecb90]
call fcn.180064a60
nop
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.180066bc0
mov r15, rax
mov rdi, qword [0x1800ec798]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 5
lea rdx, str.BLOCK
lea rcx, [rbp - 0x60]
call fcn.1800636e0
nop
lea rdx, [rbp - 0x60]
lea rcx, [0x1800ecb70]
call fcn.18006d1e0
mov rbx, rax
mov rdx, qword [0x1800ec798]
lea rcx, [0x1800ecb70]
call fcn.18006d0e0
mov rcx, qword [rdi]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, qword [rax]
mov rcx, rdi
call r9
mov r14, rax
test rax, rax
je 0x180086584
mov rcx, qword [rdi]
mov r8, qword [rcx + 0xa8]
mov rdx, rax
mov rcx, rdi
call r8
mov rbx, rax
mov qword [rbp - 0x38], rax
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x740]
mov rdx, r14
mov rcx, rdi
call r8
cmp eax, 1
jne 0x18008658b
mov rcx, qword [rdi]
mov r8, qword [rcx + 0xb8]
mov rdx, r14
mov rcx, rdi
call r8
jmp 0x18008658b
mov rbx, r12
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x40], rdi
mov rdx, qword [r15 + 8]
cmp rdx, rbx
jne 0x18008659d
mov r14b, 1
jmp 0x1800865c5
test rdx, rdx
je 0x1800865c2
test rbx, rbx
je 0x1800865c2
mov rcx, qword [r15]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
mov r8, rbx
call r9
cmp al, 1
sete r14b
jmp 0x1800865c5
xor r14b, r14b
cmp qword [0x1800ec798], 0
je 0x1800865e8
test rbx, rbx
je 0x1800865e8
mov rax, qword [rdi]
mov r8, qword [rax + 0xb0]
mov rdx, rbx
mov rcx, rdi
call r8
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180086626
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180086621
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180086621
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180090ab0
movdqa xmm0, xmmword [0x1800dc1f0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
cmp qword [0x1800ec798], 0
je 0x18008665f
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x18008665f
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rbp - 0x10], r12
cmp qword [0x1800ec798], 0
je 0x180086684
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x180086684
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test r14b, r14b
jne 0x1800867c1
mov qword [rbp - 0x20], r12
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rbp - 0x1c]
shl r9d, 0x10
movzx eax, word [rbp - 0x20]
or r9, rax
mov edx, 0x201
mov r8d, 1
mov rcx, qword [0x1800ec7b0]
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rbp - 0x1c]
shl r9d, 0x10
movzx eax, word [rbp - 0x20]
or r9, rax
mov edx, 0x202
mov r8d, 1
mov rcx, qword [0x1800ec7b0]
call qword [sym.imp.USER32.dll_SendMessageA]
movd xmm0, dword [rsi + 0x14]
cvtdq2pd xmm0, xmm0
cmp byte [rsi + 0x18], r14b
je 0x180086719
mulsd xmm0, qword [0x1800dc058]
cvttsd2si eax, xmm0
movd xmm0, dword [rsi + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1800dc048]
jmp 0x180086726
cvttsd2si eax, xmm0
movd xmm0, dword [rsi + 0x10]
cvtdq2pd xmm0, xmm0
cvttsd2si ecx, xmm0
mov dword [rbp - 0x18], ecx
mov dword [rbp - 0x14], eax
lea rcx, [rbp - 0x18]
call fcn.180082f10
mov ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
movsxd rbx, eax
lea rcx, [rbp - 0x18]
call fcn.180090300
mov rcx, qword [rax]
mov qword [0x1800ee018], rcx
mov qword [0x1800ee020], rbx
cmp byte [rsi + 0x19], 0
je 0x1800867c1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xb
sub r8d, ecx
mov ebx, dword [rbp - 0x20]
add ebx, r8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x2e8ba2e9
imul r9d
sar edx, 1
mov r8d, edx
shr r8d, 0x1f
add edx, r8d
imul edx, edx, 0xb
sub r9d, edx
mov edx, dword [rbp - 0x1c]
add edx, 0xfffffffb
add edx, r9d
lea ecx, [rbx - 5]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800903f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret