Function at 0x1400e2d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x138
mov rax, qword [0x14015e340]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov eax, dword [0x1401a7edc]
mov rcx, qword [rsp + 0x150]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xfc]
mov rdx, rax
lea rcx, [0x14021d728]
call fcn.140026d00
movzx eax, al
test eax, eax
je 0x1400e2dca
cmp dword [rsp + 0xfc], 0xffffffff
jne 0x1400e2dcf
jmp 0x1400e316f
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x33]
call fcn.140008b20
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.140008a40
lea rcx, [rsp + 0xa8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
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.1400241a0
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, [0x14021d760]
call fcn.1400296c0
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x14021d728]
call fcn.14002f4c0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400e2ec3
jmp 0x1400e316f
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 + 0x110]
mov rdx, rax
lea rcx, [0x14021d728]
call fcn.140009b40
movzx eax, al
test eax, eax
jne 0x1400e2f02
jmp 0x1400e316f
lea rdx, [rsp + 0x110]
lea rcx, [0x14021c9f0]
call fcn.14002f8c0
movzx eax, al
test eax, eax
jne 0x1400e2f22
jmp 0x1400e316f
movzx eax, byte [0x14021d189]
test eax, eax
jne 0x1400e2f46
mov rax, qword [rsp + 0x150]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400e2f46
jmp 0x1400e316f
movzx eax, byte [0x14021d188]
test eax, eax
je 0x1400e2f8b
mov eax, dword [0x1401a7e9c]
mov rcx, qword [rsp + 0x150]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [0x14021d728]
call fcn.140026190
movzx eax, byte [rsp + 0xf8]
test eax, eax
jne 0x1400e2f8b
jmp 0x1400e316f
movzx eax, byte [0x14015e3f9]
test eax, eax
je 0x1400e2fd2
mov rax, qword [rsp + 0x150]
mov ecx, dword [0x14021cae0]
cmp dword [rax + 0xf0], ecx
je 0x1400e2fbf
cmp dword [0x14021cad0], 0
jle 0x1400e2fbf
mov dword [rsp + 0x34], 1
jmp 0x1400e2fc7
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x1400e2ff6
cmp dword [0x14021cad0], 0
jle 0x1400e2fe5
mov dword [rsp + 0x38], 1
jmp 0x1400e2fed
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400e3004
jmp 0x1400e316f
lea rcx, [rsp + 0x100]
call fcn.14000c020
lea r8, [0x14021db00]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x88]
call fcn.14002d160
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.1400e33c0
movzx eax, byte [0x14021d708]
test eax, eax
jne 0x1400e3081
lea rcx, [rsp + 0x108]
call fcn.14000c220
cvtsi2sd xmm1, dword [0x14015e3b8]
comisd xmm0, xmm1
jb 0x1400e3081
lea rcx, [rsp + 0x90]
call fcn.14000c020
mov rax, qword [rax]
mov qword [0x14021db08], rax
mov byte [0x14021d708], 1
lea r8, [0x14021db08]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x98]
call fcn.14002d160
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400e33c0
lea rcx, [rsp + 0x108]
call fcn.14000c220
cvtsi2sd xmm1, dword [0x14015e3b8]
comisd xmm0, xmm1
jb 0x1400e316f
lea rcx, [rsp + 0x118]
call fcn.14000c220
cvtsi2sd xmm1, dword [0x14015e3b4]
comisd xmm0, xmm1
jb 0x1400e316f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400e3102
mov byte [rsp + 0x31], 1
jmp 0x1400e3107
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x1400e316f
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]
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]
lea rcx, [rsp + 0xa0]
call fcn.14000c020
mov rax, qword [rax]
mov qword [0x14021db00], rax
mov byte [0x14021d708], 0
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140118390
add rsp, 0x138
pop rdi
pop rsi
ret