Function at 0x140001980
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1400e6080]
xor rax, rsp
mov qword [rbp + 7], rax
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 0x19]
mov rcx, qword [0x1400f9a90]
lea r8, [rbp - 0x29]
xor edi, edi
mov dword [rbp - 0x29], 0xc2b3fff3
add rdx, 0x2454
mov qword [rbp - 0x19], rdi
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 0x11]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x2458
mov dword [rbp - 0x21], 0x42b3fff3
lea r8, [rbp - 0x21]
mov qword [rbp - 0x11], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 0x19]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x245c
mov dword [rbp - 0x29], edi
lea r8, [rbp - 0x29]
mov qword [rbp - 0x19], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 0x11]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x2460
mov dword [rbp - 0x21], 0x43b3fffd
lea r8, [rbp - 0x21]
mov qword [rbp - 0x11], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [rdi + 2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001d00
cmp byte [reloc.WS2_32.dll_accept], dil
je 0x140001d00
movss xmm0, dword [0x1400f86f4]
ucomiss xmm0, dword [0x1400d3504]
je 0x140001d00
movss xmm4, dword [0x1400f86f0]
subss xmm4, dword [0x1400f8730]
movss xmm7, dword [0x1400f86ec]
subss xmm7, dword [0x1400f872c]
mov qword [rsp + 0xc0], rbx
movaps xmmword [rsp + 0xa0], xmm6
movaps xmm2, xmm4
movaps xmmword [rsp + 0x80], xmm8
movss xmm8, dword [0x1400f86e8]
subss xmm8, dword [0x1400f8728]
mulss xmm2, xmm4
movaps xmm3, xmm7
mulss xmm3, xmm7
movaps xmm0, xmm8
mulss xmm0, xmm8
addss xmm3, xmm0
addss xmm3, xmm2
xorps xmm2, xmm2
sqrtss xmm2, xmm3
divss xmm4, xmm2
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
mulss xmm0, dword [0x1400d34bc]
movaps xmm1, xmm8
movss xmm9, dword [0x1400d34cc]
subss xmm9, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mov rdx, qword [0x1400f86f8]
lea rax, [rbp - 0x11]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 8]
movaps xmm7, xmm0
mov qword [rbp - 0x19], rdi
mulss xmm7, dword [0x1400d34bc]
lea r8, [rbp - 0x19]
add rdx, 0x390
mov qword [rbp - 0x11], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea rax, [rbp - 1]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
lea r8, [rbp - 0x21]
mov dword [rbp - 0x21], edi
mov qword [rbp - 1], rdi
lea rdx, [rbx + 0x28c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400f9a90]
lea rax, [rbp - 9]
movss xmm6, dword [rbp - 0x21]
lea rdx, [rbx + 0x294]
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x29]
mov dword [rbp - 0x29], edi
mov qword [rbp - 9], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [rbp - 0x29]
addss xmm0, dword [0x1400d33d8]
movaps xmm8, xmmword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
comiss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0xa0]
jb 0x140001d00
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 0x11]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x2454
movss dword [rbp - 0x19], xmm9
lea r8, [rbp - 0x19]
mov qword [rbp - 0x11], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 9]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x2458
movss dword [rbp - 0x29], xmm9
lea r8, [rbp - 0x29]
mov qword [rbp - 9], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 1]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x245c
movss dword [rbp - 0x19], xmm7
lea r8, [rbp - 0x19]
mov qword [rbp - 1], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400f9a88]
lea rax, [rbp - 9]
mov rcx, qword [0x1400f9a90]
lea r9d, [rdi + 4]
add rdx, 0x2460
movss dword [rbp - 0x29], xmm7
lea r8, [rbp - 0x29]
mov qword [rbp - 9], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov al, 1
jmp 0x140001d02
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400b83a0
lea r11, [rsp + 0xb0]
mov rdi, qword [r11 + 0x18]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret