Function at 0x1400040f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x60], xmm13
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0x56
mov rbx, r9
movaps xmm13, xmm2
movaps xmm12, xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400043a6
movzx eax, byte [0x140050128]
cmp byte [rbx + 0x98], al
je 0x1400043a6
movss xmm1, dword [rbx + 0xa8]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1400043a6
mov rdx, qword [0x1400568e0]
lea r8, [rsp + 0x40]
mov rcx, qword [0x140056970]
add rdx, 0x294
mov qword [rsp + 0xe0], rdi
xor edi, edi
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xa0], xmm9
lea r9d, [rdi + 4]
movaps xmmword [rsp + 0x90], xmm10
movaps xmmword [rsp + 0x80], xmm11
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1400568e0]
lea r9d, [rdi + 4]
mov rcx, qword [0x140056970]
lea r8, [rsp + 0x48]
movss xmm9, dword [rsp + 0x40]
add rdx, 0x290
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsd xmm1, qword [rbx + 0x40]
movss xmm3, dword [0x1400569c8]
movaps xmm0, xmm1
movss xmm2, dword [0x1400569cc]
movaps xmm8, xmm3
mov eax, dword [rbx + 0x48]
subss xmm8, xmm1
movss xmm1, dword [rbx + 0x40]
movaps xmm11, xmm2
movss xmm6, dword [0x1400569d0]
subss xmm1, xmm3
shufps xmm0, xmm0, 0x55
subss xmm11, xmm0
mov dword [rsp + 0x38], eax
movss xmm0, dword [rbx + 0x44]
subss xmm6, dword [rsp + 0x38]
subss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
xorps xmm1, xmm1
mulss xmm11, xmm11
cvtss2sd xmm1, xmm0
mulss xmm8, xmm8
xorps xmm0, xmm0
mulsd xmm1, qword [0x1400492f8]
addss xmm11, xmm8
mulss xmm6, xmm6
movaps xmm8, xmmword [rsp + 0xb0]
cvtpd2ps xmm10, xmm1
addss xmm11, xmm6
movaps xmm6, xmmword [rsp + 0xc0]
subss xmm10, xmm9
movss xmm9, dword [rbx + 0x48]
subss xmm9, dword [0x1400569d0]
ucomiss xmm0, xmm11
ja 0x1400042a7
xorps xmm0, xmm0
sqrtss xmm0, xmm11
jmp 0x1400042b0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm9, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_asinf
movss xmm3, dword [0x1400497f0]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0xa0]
cvtss2sd xmm1, xmm0
movaps xmm0, xmm10
mulsd xmm1, qword [0x1400492f8]
andps xmm0, xmm3
comiss xmm0, dword [0x140049364]
cvtpd2ps xmm2, xmm1
movss xmm1, dword [0x140049374]
subss xmm2, dword [rsp + 0x48]
jb 0x140004312
movaps xmm10, xmm1
subss xmm10, xmm0
movaps xmm0, xmm2
andps xmm0, xmm3
comiss xmm0, dword [0x14004936c]
jb 0x140004328
movaps xmm2, xmm1
subss xmm2, xmm0
mov rdx, qword [0x1400568e0]
lea r8, [rsp + 0x40]
mov rcx, qword [0x140056970]
add rdx, 0x428
divss xmm2, xmm12
mov r9d, 4
mov qword [rsp + 0x20], rdi
movss dword [rsp + 0x40], xmm2
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400568e0]
lea r8, [rsp + 0x48]
mov rcx, qword [0x140056970]
add rdx, 0x42c
divss xmm10, xmm13
mov r9d, 4
mov qword [rsp + 0x20], rdi
movss dword [rsp + 0x48], xmm10
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movaps xmm10, xmmword [rsp + 0x90]
mov rdi, qword [rsp + 0xe0]
mov rcx, rbx
call fcn.140003940
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003f9b0
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x60]
add rsp, 0xd0
pop rbx
ret