Function at 0x180059718
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
call fcn.180058dd0
xor esi, esi
mov rbx, rax
test rax, rax
je 0x180059931
xor r8d, r8d
lea rcx, [rbp + 7]
mov rdx, rax
call fcn.180058b00
mov ecx, dword [rbp + 0xf]
lea rdx, [rbp - 9]
movsd xmm0, qword [rbp + 7]
mov dword [rbp - 1], ecx
lea rcx, [rbp + 0x67]
movsd qword [rbp - 9], xmm0
call fcn.180049144
mov rax, qword [0x18029cf28]
mov edi, esi
mov rcx, qword [rax]
test rcx, rcx
je 0x180059799
mov rdi, qword [rcx + 8]
movss xmm1, dword [0x18029cf9c]
mulss xmm1, dword [0x1800b8f70]
movss xmm0, dword [rbp + 0x6b]
movsd xmm8, qword [0x1800c07e8]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [0x18029cf98]
movaps xmm7, xmm0
mulss xmm1, dword [0x1800b8f70]
movss xmm0, dword [rbp + 0x67]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movsd xmm1, qword [rbx + 0x90]
movaps xmm9, xmm0
movsd qword [rbp + 7], xmm1
movsd xmm1, qword [rdi + 0x90]
movsd qword [rbp - 9], xmm1
movaps xmm1, xmm8
movss xmm3, dword [rbp - 9]
movss xmm2, dword [rbp - 5]
subss xmm3, dword [rbp + 7]
subss xmm2, dword [rbp + 0xb]
cvtps2pd xmm0, xmm3
cvtps2pd xmm7, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
movaps xmm1, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cmp byte [0x18029da5e], sil
movaps xmm6, xmm0
mulsd xmm6, qword [0x18013f9a0]
mov edi, 4
je 0x1800598aa
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x18029b260], rsi
mov byte [0x18029da5e], sil
movd xmm0, dword [section..data]
xorps xmm1, xmm1
cvtdq2pd xmm0, xmm0
cvtss2sd xmm1, xmm9
addsd xmm0, qword [0x1800c07a0]
comisd xmm0, xmm1
jb 0x180059931
movd xmm0, dword [0x18029ba5c]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jb 0x18005991c
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180059931
xor edx, edx
mov byte [0x18029da5e], 1
xor r9d, r9d
mov qword [0x18029b260], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov byte [0x18029da5e], 1
jmp 0x180059931
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret