Function at 0x140003eb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 0x28]
xor r14d, r14d
mov qword [r11 + 8], rsi
mov rbp, rdx
mov qword [r11 + 0x18], r12
mov rdi, rcx
mov r15d, 1
test eax, eax
jne 0x140003ef3
mov ebx, r14d
jmp 0x140003efe
mov ebx, dword [rsp + 0x30]
cmp eax, r15d
cmove ebx, r15d
mov rax, qword gs:[0x58]
mov r12d, 4
movaps xmmword [rsp + 0x70], xmm6
mov rsi, qword [rax]
mov eax, dword [r12 + rsi]
cmp dword [0x1400a3200], eax
jle 0x140003f71
lea rcx, [0x1400a3200]
call fcn.14005c4c0
cmp dword [0x1400a3200], 0xffffffff
jne 0x140003f71
mov ecx, r15d
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, [0x1400a3200]
movss dword [0x1400a343c], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1400a3438], xmm0
call fcn.14005c454
mov r9d, ebx
lea rdx, [rsp + 0x30]
mov r8, rbp
call fcn.140059670
mov eax, dword [r12 + rsi]
cmp dword [0x1400a3200], eax
jle 0x140003fdd
lea rcx, [0x1400a3200]
call fcn.14005c4c0
cmp dword [0x1400a3200], 0xffffffff
jne 0x140003fdd
mov ecx, r15d
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, [0x1400a3200]
movss dword [0x1400a343c], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1400a3438], xmm0
call fcn.14005c454
movsd xmm0, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x38]
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.140059820
mov eax, dword [r12 + rsi]
cmp dword [0x1400a29c0], eax
jle 0x14000402d
lea rcx, [0x1400a29c0]
call fcn.14005c4c0
cmp dword [0x1400a29c0], 0xffffffff
jne 0x14000402d
lea rcx, [0x1400a29c0]
call fcn.14005c454
mov rdx, qword [0x1400a2998]
lea r8, [rsp + 0x50]
add rdx, qword [0x1400a29f0]
mov r9, r15
mov rcx, qword [0x1400a29e0]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [r12 + rsi]
cmp dword [0x1400a28c0], eax
movzx ebp, byte [rsp + 0x50]
mov r12, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb0]
jle 0x1400040b2
lea rcx, [0x1400a28c0]
call fcn.14005c4c0
cmp dword [0x1400a28c0], 0xffffffff
jne 0x1400040b2
lea rcx, [0x1400a28c0]
mov dword [0x1400a28a8], r15d
mov dword [0x1400a28ac], 2
mov dword [0x1400a28b0], 3
call fcn.14005c454
mov ecx, dword [0x1400a28b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400041ba
xor ecx, ecx
movaps xmmword [rsp + 0x60], xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm7, dword [rsp + 0x34]
mov ecx, r15d
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cvtps2pd xmm7, xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm7, xmm1
movsd xmm1, qword [0x140069088]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x140069088]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0x30]
movd xmm2, ebx
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
movaps xmm7, xmmword [rsp + 0x60]
ucomiss xmm1, xmm0
ja 0x140004154
xorps xmm1, xmm1
sqrtss xmm1, xmm0
jmp 0x14000415c
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
mov ecx, dword [0x1400a1e40]
test ecx, ecx
je 0x140004183
cmp ecx, r15d
jne 0x1400041e0
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x1400041e0
cmp byte [rdi + 0x1f], r14b
je 0x1400041c3
test rbp, rbp
jmp 0x1400041c1
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1400041e0
cmp byte [rdi + 0x1f], r14b
je 0x14000419b
test rbp, rbp
je 0x1400041e0
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1400a1e40], r15d
jmp 0x1400041e0
cmp dword [0x1400a1e40], r15d
jne 0x1400041e0
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1400a1e40], r14d
movaps xmm6, xmmword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005c070
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret