Function at 0x1400e5690
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov rax, qword [0x140162340]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov eax, dword [0x1401b33e8]
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xfc]
mov rdx, rax
lea rcx, [0x140229590]
call fcn.1400279e0
movzx eax, al
test eax, eax
je 0x1400e56ea
cmp dword [rsp + 0xfc], 0xffffffff
jne 0x1400e56ef
jmp 0x1400e5a6d
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x33]
call fcn.1400097c0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xfc]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x48]
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xd0]
call fcn.1400096e0
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.140024d50
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rcx, [0x1402295d0]
call fcn.14002a1d0
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x140229590]
call fcn.14002fd40
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400e57e3
jmp 0x1400e5a6d
mov eax, dword [rsp + 0xfc]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x108]
mov rdx, rax
lea rcx, [0x140229590]
call fcn.14000a7e0
movzx eax, al
test eax, eax
jne 0x1400e5822
jmp 0x1400e5a6d
lea rdx, [rsp + 0x108]
lea rcx, [0x1402285c0]
call fcn.140030140
movzx eax, al
test eax, eax
jne 0x1400e5842
jmp 0x1400e5a6d
movzx eax, byte [0x140228fd9]
test eax, eax
jne 0x1400e5866
mov rax, qword [rsp + 0x140]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400e5866
jmp 0x1400e5a6d
movzx eax, byte [0x140228fd8]
test eax, eax
je 0x1400e58ab
mov eax, dword [0x1401b33b0]
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [0x140229590]
call fcn.140026ec0
movzx eax, byte [rsp + 0xf8]
test eax, eax
jne 0x1400e58ab
jmp 0x1400e5a6d
movzx eax, byte [0x1401623fd]
test eax, eax
je 0x1400e58f2
mov rax, qword [rsp + 0x140]
mov ecx, dword [0x1402286b0]
cmp dword [rax + 0xf0], ecx
je 0x1400e58df
cmp dword [0x1402286a0], 0
jle 0x1400e58df
mov dword [rsp + 0x34], 1
jmp 0x1400e58e7
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x1400e5916
cmp dword [0x1402286a0], 0
jle 0x1400e5905
mov dword [rsp + 0x38], 1
jmp 0x1400e590d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400e5924
jmp 0x1400e5a6d
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1402299d8], eax
jle 0x1400e596f
lea rcx, [0x1402299d8]
call fcn.140119da8
cmp dword [0x1402299d8], 0xffffffff
jne 0x1400e596f
lea rcx, [0x1402299e0]
call fcn.14000cd00
lea rcx, [0x1402299d8]
call fcn.140119d3c
lea rcx, [rsp + 0x100]
call fcn.14000cd00
lea rdx, [0x1401623b4]
lea rcx, [rsp + 0x98]
call fcn.140026f60
mov qword [rsp + 0x88], rax
lea r8, [0x1402299e0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.14002d9b0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400e5cc0
movzx eax, al
test eax, eax
je 0x1400e5a6d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400e59f3
mov byte [rsp + 0x31], 1
jmp 0x1400e59f8
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x1400e5a5e
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
lea rdx, [0x1401623b8]
lea rcx, [rsp + 0xa8]
call fcn.140026f60
mov rcx, rax
call fcn.140026f80
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0x100]
mov qword [0x1402299e0], rax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140119ce0
add rsp, 0x128
pop rdi
pop rsi
ret