Function at 0x140001e50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
movaps xmmword [rsp + 0x50], xmm7
xor ecx, ecx
movaps xmmword [rsp + 0x40], xmm8
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]
mov ecx, dword [rsi + 0x18]
xor r13d, r13d
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
lea eax, [r13 + 5]
test ecx, ecx
jne 0x140001eb5
mov edi, r13d
jmp 0x140001ee0
cmp ecx, 1
jne 0x140001ebf
lea edi, [rcx + 6]
jmp 0x140001ee0
mov edi, dword [rsp + 0xa0]
cmp ecx, 2
jne 0x140001ed0
lea edi, [rcx + 6]
jmp 0x140001ee0
cmp ecx, 3
jne 0x140001eda
lea edi, [rcx + 3]
jmp 0x140001ee0
cmp ecx, 4
cmove edi, eax
mov rcx, rsi
call fcn.140001490
mov rcx, qword gs:[0x58]
mov rbp, rax
mov r12d, 4
mov rbx, qword [rcx]
mov ecx, dword [r12 + rbx]
cmp dword [0x14024d7d0], ecx
jle 0x140001f5b
lea rcx, [0x14024d7d0]
call fcn.14009f050
cmp dword [0x14024d7d0], 0xffffffff
jne 0x140001f5b
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, [0x14024d7d0]
movss dword [0x14024d7dc], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14024d7d8], xmm0
call fcn.14009efe4
mov r9d, edi
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.140053850
mov eax, dword [r12 + rbx]
cmp dword [0x14024d7d0], eax
jle 0x140001fc9
lea rcx, [0x14024d7d0]
call fcn.14009f050
cmp dword [0x14024d7d0], 0xffffffff
jne 0x140001fc9
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, [0x14024d7d0]
movss dword [0x14024d7dc], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14024d7d8], xmm0
call fcn.14009efe4
movsd xmm8, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov edi, dword [rsp + 0x28]
lea rdx, [rsp + 0xa0]
movsd qword [rsp + 0x30], xmm8
mov dword [rsp + 0x38], edi
call fcn.140053990
movss xmm0, dword [rsp + 0xa4]
movd xmm1, r15d
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1400b4478]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1400b4478]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0xa0]
movd xmm2, r14d
cvtps2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
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
ucomiss xmm1, xmm0
ja 0x14000205c
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x140002064
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
mov eax, dword [rsi + 0x1c]
test eax, eax
jne 0x1400020ae
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x14000209f
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x14000209f
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 2
jmp 0x1400022e6
cmp eax, 1
jne 0x1400020f6
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x1400020e7
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x1400020e7
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 1
jmp 0x1400022e6
cmp eax, 2
jne 0x14000213e
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x14000212f
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x14000212f
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 4
jmp 0x1400022e6
cmp eax, 3
jne 0x140002186
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x140002177
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x140002177
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 5
jmp 0x1400022e6
cmp eax, 4
jne 0x1400021ce
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x1400021bf
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x1400021bf
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 6
jmp 0x1400022e6
cmp eax, 5
jne 0x140002216
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x140002207
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x140002207
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 9
jmp 0x1400022e6
cmp eax, 6
jne 0x14000225e
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x14000224f
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x14000224f
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 0x10
jmp 0x1400022e6
cmp eax, 7
jne 0x1400022a3
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x140002297
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x140002297
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 0x11
jmp 0x1400022e6
cmp eax, 8
jne 0x1400022e6
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x1400022dc
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x1400022dc
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov dword [0x14024d524], 0x45
mov eax, dword [r12 + rbx]
cmp dword [0x14024d528], eax
jle 0x14000231a
lea rcx, [0x14024d528]
call fcn.14009f050
cmp dword [0x14024d528], 0xffffffff
jne 0x14000231a
lea rcx, [0x14024d528]
mov dword [0x14024d520], r13d
call fcn.14009efe4
mov ecx, dword [0x14024d524]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140002350
movd xmm0, dword [rsi + 8]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x140002350
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm8
mov rcx, rsi
mov dword [rsp + 0x38], edi
call fcn.140001b40
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret