Function at 0x1400e8180
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov rax, qword [0x140167340]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov eax, dword [0x140192d38]
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xfc]
mov rdx, rax
lea rcx, [0x140209078]
call fcn.140028cb0
movzx eax, al
test eax, eax
je 0x1400e81da
cmp dword [rsp + 0xfc], 0xffffffff
jne 0x1400e81df
jmp 0x1400e855d
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x33]
call fcn.140009ac0
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.1400099e0
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.140025fb0
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, [0x1402090b0]
call fcn.14002b520
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x140209078]
call fcn.140031090
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400e82d3
jmp 0x1400e855d
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, [0x140209078]
call fcn.14000aae0
movzx eax, al
test eax, eax
jne 0x1400e8312
jmp 0x1400e855d
lea rdx, [rsp + 0x108]
lea rcx, [0x1402080c0]
call fcn.140031490
movzx eax, al
test eax, eax
jne 0x1400e8332
jmp 0x1400e855d
movzx eax, byte [0x140208aa9]
test eax, eax
jne 0x1400e8356
mov rax, qword [rsp + 0x140]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400e8356
jmp 0x1400e855d
movzx eax, byte [0x140208aa8]
test eax, eax
je 0x1400e839b
mov eax, dword [0x140192d00]
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [0x140209078]
call fcn.140028100
movzx eax, byte [rsp + 0xf8]
test eax, eax
jne 0x1400e839b
jmp 0x1400e855d
movzx eax, byte [0x140167401]
test eax, eax
je 0x1400e83e2
mov rax, qword [rsp + 0x140]
mov ecx, dword [0x1402081b0]
cmp dword [rax + 0xf0], ecx
je 0x1400e83cf
cmp dword [0x1402081a0], 0
jle 0x1400e83cf
mov dword [rsp + 0x34], 1
jmp 0x1400e83d7
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x1400e8406
cmp dword [0x1402081a0], 0
jle 0x1400e83f5
mov dword [rsp + 0x38], 1
jmp 0x1400e83fd
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400e8414
jmp 0x1400e855d
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1402094b0], eax
jle 0x1400e845f
lea rcx, [0x1402094b0]
call fcn.14011d348
cmp dword [0x1402094b0], 0xffffffff
jne 0x1400e845f
lea rcx, [0x1402094b8]
call fcn.14000d000
lea rcx, [0x1402094b0]
call fcn.14011d2dc
lea rcx, [rsp + 0x100]
call fcn.14000d000
lea rdx, [0x1401673b4]
lea rcx, [rsp + 0x98]
call fcn.1400281a0
mov qword [rsp + 0x88], rax
lea r8, [0x1402094b8]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.14002ed00
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400e87b0
movzx eax, al
test eax, eax
je 0x1400e855d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400e84e3
mov byte [rsp + 0x31], 1
jmp 0x1400e84e8
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x1400e854e
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, [0x1401673b8]
lea rcx, [rsp + 0xa8]
call fcn.1400281a0
mov rcx, rax
call fcn.1400281c0
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 [0x1402094b8], rax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14011d280
add rsp, 0x128
pop rdi
pop rsi
ret