Function at 0x140060b40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov esi, dword [0x1401dbe80]
xor ecx, ecx
mov ebp, dword [0x1401dbe84]
mov edi, r9d
mov r15d, dword [0x1401dbe8c]
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r14d, dword [0x1401b41a8]
mov ecx, eax
mov eax, dword [0x1401db844]
test eax, eax
jne 0x140060bab
movss xmm2, dword [0x140178974]
movss dword [0x1401da5b0], xmm2
jmp 0x140060be1
cmp eax, 1
jne 0x140060bc2
movss xmm2, dword [0x140178958]
movss dword [0x1401da5b0], xmm2
jmp 0x140060be1
cmp eax, 2
jne 0x140060bd9
movss xmm2, dword [0x140178928]
movss dword [0x1401da5b0], xmm2
jmp 0x140060be1
movss xmm2, dword [0x1401da5b0]
mov eax, ecx
movd xmm0, edi
cdq
lea ecx, [rbp - 0xaf]
cvtdq2ps xmm0, xmm0
sub eax, edx
sar eax, 1
add ecx, eax
mov ebx, eax
divss xmm0, xmm2
movd xmm1, ecx
lea rcx, [rsp + 0x30]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si edi, xmm1
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, esi
mov ecx, 2
cdq
lea esi, [r15 - 0xaa]
sub eax, edx
sub edi, ebx
sar eax, 1
add esi, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, reloc.WLDAP32.dll_Ordinal_26
test ax, ax
jns 0x140060c54
movdqa xmm0, xmmword [0x140178bc0]
lea ebx, [rcx + 0x40]
mov eax, dword [reloc.WS2_32.dll_accept]
lea ebp, [rcx + 0x18]
jmp 0x140060c6a
movdqa xmm0, xmmword [0x140178bd0]
mov ebx, reloc.WLDAP32.dll_Ordinal_60
mov eax, dword [reloc.WS2_32.dll_accept]
lea ebp, [rbx + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
mov eax, esi
imul eax, esi
movdqu xmmword [0x1401dbd88], xmm0
movd xmm6, ecx
xorps xmm0, xmm0
mov ecx, edi
imul ecx, edi
cvtdq2ps xmm6, xmm6
add ecx, eax
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
ja 0x140060ca7
sqrtpd xmm0, xmm1
jmp 0x140060caf
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
lea eax, [rsi + 0xaf]
xorps xmm3, xmm3
movd xmm2, eax
lea eax, [rdi + 0xaf]
cvtdq2ps xmm2, xmm2
cvtsd2ss xmm3, xmm0
xorps xmm0, xmm0
movd xmm1, eax
comiss xmm2, xmm0
cvtdq2ps xmm1, xmm1
jb 0x140060d01
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jb 0x140060d01
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x140060d01
movss xmm0, dword [0x140178a84]
comiss xmm0, xmm1
jae 0x140060dcc
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
jb 0x140060dcc
cvtps2pd xmm0, xmm6
mov dword [0x1401db8d8], esi
mov dword [0x1401db848], edi
movd xmm2, esi
movd xmm1, edi
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm0
divsd xmm1, xmm0
movss xmm0, dword [0x140178aac]
comiss xmm0, xmm3
jbe 0x140060dcc
movzx eax, word [0x1401b41c0]
movzx edx, byte [reloc.WS2_32.dll_accept]
cmp al, 1
jne 0x140060d67
cmp dl, al
jne 0x140060d67
cvttsd2si r8, xmm1
jmp 0x140060d84
test dl, dl
jne 0x140060d78
cmp al, 1
jne 0x140060d9f
cvttsd2si r8, xmm1
xor edx, edx
jmp 0x140060d89
cmp dl, 1
jne 0x140060d9f
test al, al
jne 0x140060d9f
xor r8d, r8d
cvttsd2si rdx, xmm2
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140060db8
cmp dword [reloc.WS2_32.dll_accept], 0x64
jne 0x140060dcc
cmp dword [reloc.WS2_32.dll_accept], 0x64
je 0x140060dcc
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret