Function at 0x1400e2860
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov rax, qword [0x140160340]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov eax, dword [0x14019c678]
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xfc]
mov rdx, rax
lea rcx, [0x140212808]
call fcn.1400273f0
movzx eax, al
test eax, eax
je 0x1400e28ba
cmp dword [rsp + 0xfc], 0xffffffff
jne 0x1400e28bf
jmp 0x1400e2c3d
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.140024920
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, [0x140212840]
call fcn.140029c30
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x140212808]
call fcn.14002f570
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400e29b3
jmp 0x1400e2c3d
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, [0x140212808]
call fcn.14000a7a0
movzx eax, al
test eax, eax
jne 0x1400e29f2
jmp 0x1400e2c3d
lea rdx, [rsp + 0x108]
lea rcx, [0x140211840]
call fcn.14002f970
movzx eax, al
test eax, eax
jne 0x1400e2a12
jmp 0x1400e2c3d
movzx eax, byte [0x140212259]
test eax, eax
jne 0x1400e2a36
mov rax, qword [rsp + 0x140]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400e2a36
jmp 0x1400e2c3d
movzx eax, byte [0x140212258]
test eax, eax
je 0x1400e2a7b
mov eax, dword [0x14019c640]
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [0x140212808]
call fcn.1400268d0
movzx eax, byte [rsp + 0xf8]
test eax, eax
jne 0x1400e2a7b
jmp 0x1400e2c3d
movzx eax, byte [0x1401603fd]
test eax, eax
je 0x1400e2ac2
mov rax, qword [rsp + 0x140]
mov ecx, dword [0x140211930]
cmp dword [rax + 0xf0], ecx
je 0x1400e2aaf
cmp dword [0x140211920], 0
jle 0x1400e2aaf
mov dword [rsp + 0x34], 1
jmp 0x1400e2ab7
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x1400e2ae6
cmp dword [0x140211920], 0
jle 0x1400e2ad5
mov dword [rsp + 0x38], 1
jmp 0x1400e2add
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400e2af4
jmp 0x1400e2c3d
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140212c48], eax
jle 0x1400e2b3f
lea rcx, [0x140212c48]
call fcn.1401177a8
cmp dword [0x140212c48], 0xffffffff
jne 0x1400e2b3f
lea rcx, [0x140212c50]
call fcn.14000cc70
lea rcx, [0x140212c48]
call fcn.14011773c
lea rcx, [rsp + 0x100]
call fcn.14000cc70
lea rdx, [0x1401603b4]
lea rcx, [rsp + 0x98]
call fcn.140026970
mov qword [rsp + 0x88], rax
lea r8, [0x140212c50]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.14002d450
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14002d4b0
movzx eax, al
test eax, eax
je 0x1400e2c3d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400e2bc3
mov byte [rsp + 0x31], 1
jmp 0x1400e2bc8
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x1400e2c2e
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, [0x1401603b8]
lea rcx, [rsp + 0xa8]
call fcn.140026970
mov rcx, rax
call fcn.140026990
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 [0x140212c50], rax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401176e0
add rsp, 0x128
pop rdi
pop rsi
ret