Function at 0x14000cb10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x14004c990], 0
jne 0x14000cb38
call fcn.1400393f0
mov rcx, qword [0x14004c9b0]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x14004c8a0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
sub eax, dword [rsp + 0x48]
movd xmm1, eax
mov eax, dword [rsp + 0x54]
sub eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14004c9b8]
cvtsi2ss xmm0, qword [0x14004c9c0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14004c9b8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0xe14], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0xe15], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x14004c8a0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe17], 0
mov byte [rdi + 0xe16], al
cmp byte [rcx + 0xdb], 0
lea rbx, [rcx + 0xdfc]
je 0x14000cc4b
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0xe00]
mov rcx, qword [0x14004c9b0]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14004c9b0]
jne 0x14000cca7
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14000cca7
mov rcx, qword [0x14004c9b0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14000cca7
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x78], 0
je 0x14000ccb4
mov eax, 0xffffffff
jmp 0x14000ccc1
mov rax, qword [0x14004c8a0]
mov eax, dword [rax + 0x4a28]
cmp dword [0x14004c0cc], eax
je 0x14000ccd4
mov dword [0x14004c0cc], eax
call fcn.140039560
call fcn.140017370
call fcn.140009ee0
call fcn.14000b750
call fcn.140018ff0
mov rcx, qword [0x14004c960]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004c960]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004c960]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004c960]
xor edi, edi
movss xmm0, dword [0x1400455e8]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm0
xor edx, edx
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x14004c960]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000cdad
call fcn.1400193b0
mov rax, qword [0x14004c8a0]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140038ae0
mov rcx, qword [0x14004c960]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004c960]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14000ce68
mov rcx, qword [0x14004c960]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000ce68
cmp qword [0x14004c9a0], rdi
je 0x14000ce4c
mov rcx, qword [0x14004c9a8]
test rcx, rcx
je 0x14000ce0b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004c9a8], rdi
mov rcx, qword [0x14004c998]
test rcx, rcx
je 0x14000ce24
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004c998], rdi
mov rcx, qword [0x14004c990]
mov rbx, qword [0x14004c8a0]
test rcx, rcx
je 0x14000ce3d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004c990], rdi
mov rax, qword [rbx + 0x58]
mov qword [rax + 8], rdi
mov rcx, qword [0x14004c960]
lea rdx, [0x14004c7d0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400393f0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003cd80
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret