Function at 0x140001e80
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor esi, esi
mov rcx, rdi
cdq
sub eax, edx
sar eax, 1
cmp dword [rdi + 0x20], esi
mov r15d, eax
setne sil
call fcn.1400011d0
mov rbp, rax
test rax, rax
je 0x1400020f2
mov rcx, qword gs:[0x58]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], r12
movaps xmmword [rsp + 0x60], xmm6
mov rbx, qword [rcx]
mov r12d, 4
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
mov ecx, dword [r12 + rbx]
cmp dword [0x14014e3d8], ecx
jle 0x140001f5f
lea rcx, [0x14014e3d8]
call fcn.140051710
cmp dword [0x14014e3d8], 0xffffffff
jne 0x140001f5f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [0x14014e3d8]
movss dword [0x14014e3e4], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14014e3e0], xmm0
call fcn.1400516a4
mov r9d, esi
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.1400511e0
mov eax, dword [r12 + rbx]
cmp dword [0x14014e3d8], eax
jle 0x140001fcd
lea rcx, [0x14014e3d8]
call fcn.140051710
cmp dword [0x14014e3d8], 0xffffffff
jne 0x140001fcd
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [0x14014e3d8]
movss dword [0x14014e3e4], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14014e3e0], xmm0
call fcn.1400516a4
movsd xmm8, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov esi, dword [rsp + 0x28]
lea rdx, [rsp + 0xa0]
movsd qword [rsp + 0x30], xmm8
mov dword [rsp + 0x38], esi
call fcn.140051320
movss xmm0, dword [rsp + 0xa4]
xorps xmm1, xmm1
cvtsi2sd xmm1, r15d
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x14005b1b8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x14005b1b8]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0xa0]
xorps xmm2, xmm2
cvtps2pd xmm0, xmm0
cvtsi2sd xmm2, r14d
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x50]
ucomiss xmm1, xmm0
ja 0x140002063
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x14000206b
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
mov eax, dword [r12 + rbx]
cmp dword [0x14014e130], eax
mov r12, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
jle 0x1400020b2
lea rcx, [0x14014e130]
call fcn.140051710
cmp dword [0x14014e130], 0xffffffff
jne 0x1400020b2
lea rcx, [0x14014e130]
mov dword [0x14014e128], 0
call fcn.1400516a4
mov ecx, dword [0x14014e12c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400020e7
movd xmm0, dword [rdi]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x1400020e7
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm8
mov rcx, rdi
mov dword [rsp + 0x38], esi
call fcn.140001b90
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret