Function at 0x1400330f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0x290], rax
cmp byte [0x14013a971], 0
je 0x140033169
cmp byte [0x14013a973], 0
je 0x1400331af
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14021ee28]
lea rdx, [rsp + 0x70]
mov ecx, 0xa
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xd8], 0x11
call fcn.14002f050
mov byte [0x14013a973], 0
jmp 0x1400331af
cmp byte [0x14013a973], 0
jne 0x1400331af
xor edx, edx
lea rcx, [rsp + 0x180]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14021ee28]
lea rdx, [rsp + 0x180]
mov ecx, 0xa
mov qword [rsp + 0x1f0], rax
call fcn.14002f050
mov byte [0x14013a973], 1
cmp qword [0x14021edf0], 0
jne 0x1400331c8
cmp qword [0x14021ee00], 0
je 0x1400331c8
call fcn.1400223c0
mov rcx, qword [0x14021ee10]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x14021eb90]
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 rdx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rdx
xorps xmm0, xmm0
sub rax, qword [0x14021ee18]
mov ecx, 0x11
cvtsi2ss xmm0, qword [0x14021ee20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14021ee18], rdx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x14021eb90]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rbx + 0x3af], 0
je 0x1400332d8
cvttss2si eax, dword [rbx + 0x118]
mov rcx, qword [0x14021ee10]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rbx + 0x11c]
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 + 0x118], 0xff7fffff
mov dword [rbx + 0x11c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14021ee10]
jne 0x140033342
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140033342
mov rcx, qword [0x14021ee10]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140033342
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x118], xmm0
movss dword [rbx + 0x11c], xmm1
cmp byte [rdi + 0xd0], 0
je 0x140033352
mov eax, 0xffffffff
jmp 0x14003335f
mov rax, qword [0x14021eb90]
mov eax, dword [rax + 0x1d70]
cmp dword [0x14021e1b8], eax
je 0x140033372
mov dword [0x14021e1b8], eax
call fcn.1400226f0
call fcn.140005840
cmp byte [0x14013a972], 0
je 0x140033385
call fcn.1400375f0
call fcn.1400388b0
call fcn.140006b90
mov rcx, qword [0x14021ee30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14021ee30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14021ee30]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14021ee30]
xor edi, edi
movss xmm0, dword [0x140047eac]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x14021ee30]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140033449
call fcn.140007100
mov rcx, qword [0x14021eb90]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140021af0
mov rcx, qword [0x14021ee30]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14021ee30]
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 0x140033514
mov rcx, qword [0x14021ee30]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140033514
cmp qword [0x14021ee00], rdi
je 0x1400334ef
mov rcx, qword [0x14021ee08]
test rcx, rcx
je 0x1400334ab
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14021ee08], rdi
mov rcx, qword [0x14021edf8]
test rcx, rcx
je 0x1400334c4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14021edf8], rdi
mov rcx, qword [0x14021edf0]
mov rbx, qword [0x14021eb90]
test rcx, rcx
je 0x1400334dd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14021edf0], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x14021ee30]
lea rdx, [0x14021ece0]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x14021ee00], rdi
je 0x140033514
call fcn.1400223c0
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400403d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rdi
ret