Function at 0x14003a4a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xd0
lea rbp, [rsp + 0x40]
mov rax, qword [0x1400f6858]
xor rax, rbp
mov qword [rbp + 0x80], rax
lea rax, [0x1400f7230]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
cmp dword [0x1400f7238], 0x12
je 0x14003a7d6
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400f8b18]
lea rcx, [0x1400f7230]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003a521
lea rcx, [0x1400f7230]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400f7230]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp], rax
mov rax, qword [0x1400f71d0]
cmp qword [rbp], rax
jne 0x14003a580
mov edx, 3
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rbp + 8], rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0xfffffffd
mov dword [rsp + 0x20], 0xfffffffd
mov r9d, 2
mov r8d, 2
mov rdx, qword [rbp + 8]
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rbp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400f71d0]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x20]
mov rcx, qword [0x1400f71d0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x20]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x14], eax
call fcn.14004da10
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [0x1400f71d0]
mov qword [rax + 0x118], rcx
mov rax, qword [rbp + 0x28]
movss xmm0, dword [0x1400ceaf0]
movss dword [rax + 0x10], xmm0
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x20]
mov ecx, dword [rbp + 0x30]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rbp + 0x28]
movss dword [rax + 0x128], xmm0
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x34]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rbp + 0x28]
movss dword [rax + 0x12c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14003a6b8
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov byte [rcx + rax + 0x130], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov byte [rcx + rax + 0x420], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x28]
movss xmm0, dword [rdx + 0x128]
movss dword [rcx + rax + 0x3cc], xmm0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x28]
movss xmm0, dword [rdx + 0x12c]
movss dword [rcx + rax + 0x3cc], xmm0
jmp 0x14003a6cd
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov byte [rcx + rax + 0x130], 0
mov eax, dword [0x1400f8b30]
cmp dword [rbp + 0x10], eax
jne 0x14003a6fd
mov eax, dword [0x1400f8b38]
cmp dword [rbp + 0x18], eax
jne 0x14003a6fd
mov eax, dword [0x1400f8b34]
cmp dword [rbp + 0x14], eax
jne 0x14003a6fd
mov eax, dword [0x1400f8b3c]
cmp dword [rbp + 0x1c], eax
je 0x14003a7cc
lea rax, [0x1400f8b30]
lea rcx, [rbp + 0x10]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [rbp + 0x18]
movss dword [0x1400f6eb8], xmm0
cvtsi2ss xmm0, dword [rbp + 0x1c]
movss dword [0x1400f6ebc], xmm0
cvttss2si rax, dword [0x1400f6eb8]
mov dword [0x1400f71f0], eax
cvttss2si rax, dword [0x1400f6ebc]
mov dword [0x1400f71f4], eax
movss xmm0, dword [0x1400f6ebc]
subss xmm0, dword [0x1400ceb94]
cvttss2si eax, xmm0
movss xmm0, dword [0x1400f6eb8]
subss xmm0, dword [0x1400ceb94]
cvttss2si ecx, xmm0
mov edx, dword [rbp + 0x24]
add edx, 2
mov edi, dword [rbp + 0x20]
add edi, 2
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov r8d, edi
xor edx, edx
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x78], rax
lea rdx, [0x1400f71f0]
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x78]
call fcn.14003a2b0
jmp 0x14003a4d4
call fcn.14008ab30
call fcn.14008af70
xor ecx, ecx
call fcn.140049f00
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x80]
xor rcx, rbp
call fcn.1400c78e0
lea rsp, [rbp + 0x90]
pop rdi
pop rsi
pop rbp
ret