Function at 0x1400e94f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
push r14
sub rsp, 0xc8
mov rax, qword [0x1404a90f8]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor dil, dil
mov qword [rsp + 0x50], r8
mov byte [rsp + 0x21], dil
mov r14, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov dword [rsp + 0x2c], eax
mov eax, dword [0x1404be418]
cmp ecx, eax
jae 0x1400e953c
add eax, 0xfffffc18
cmp ecx, eax
jae 0x1400e9542
mov dword [0x1404be418], ecx
mov eax, dword [r14 + 0x60]
sub eax, 1
movsxd rcx, eax
mov qword [rsp + 0x48], rcx
js 0x1400e9908
mov qword [rsp + 0xe8], rbx
mov r9d, 0x5b
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xb8], rsi
mov esi, 0xdd
mov qword [rsp + 0xb0], r12
xor r12d, r12d
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xa0], r15
lea r10d, [rsi - 2]
lea r11d, [rsi - 0x80]
nop dword [rax]
mov rax, qword [r14 + 0x50]
mov r8, qword [rax + rcx*8]
mov qword [rsp + 0x40], r8
cmp byte [r8 + 0x20], 0
je 0x1400e98c9
mov eax, dword [r8 + 0x18]
sub eax, 1
movsxd rdx, eax
mov qword [rsp + 0x30], rdx
js 0x1400e98c9
lea rcx, [rdx + rdx*2]
shl rcx, 2
mov qword [rsp + 0x38], rcx
nop word [rax + rax]
mov rax, qword [r8 + 8]
mov r13d, dword [rcx + rax]
movzx ebx, r13w
mov r15d, dword [rcx + rax + 4]
mov eax, dword [rcx + rax + 8]
movzx ecx, bx
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x28], eax
bt r13d, 0x10
jb 0x1400e9666
lea eax, [rbx - 0x61]
cmp ax, 0x19
ja 0x1400e9619
lea ecx, [rbx - 0x20]
movdqa xmm0, xmmword [0x140437a30]
mov rax, r12
movdqa xmm1, xmmword [0x140437a40]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x88], 0xdb005b
movdqu xmmword [rsp + 0x78], xmm1
mov dword [rsp + 0x8c], 0xdd005d
nop
cmp cx, word [rsp + rax*2 + 0x68]
jne 0x1400e965c
movzx ecx, word [rsp + rax*2 + 0x6a]
add rax, 2
cmp rax, 0x14
jl 0x1400e9650
movsx ecx, cx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rsp + 0x24]
shr eax, 0xf
test al, 1
je 0x1400e968b
mov eax, ecx
mov byte [rsp + 0x20], 1
xor eax, dword [0x1404be590]
test al, 7
je 0x1400e9690
mov byte [rsp + 0x20], 0
mov ebp, dword [r14 + 0x78]
mov r15d, r12d
xor r12b, r12b
sub ebp, 1
movsxd rsi, ebp
js 0x1400e9711
mov rax, qword [r14 + 0x68]
mov rdi, qword [rax + rsi*8]
cmp ecx, dword [rdi + 4]
jne 0x1400e9704
mov eax, dword [rdi + 8]
mov ecx, dword [rsp + 0x28]
cmp ecx, eax
je 0x1400e96c2
test ecx, ecx
je 0x1400e96c2
test eax, eax
jne 0x1400e9700
mov eax, dword [rdi]
cmp r13d, eax
je 0x1400e97a5
cmp r13d, 0x100
jge 0x1400e9700
cmp eax, 0x100
jge 0x1400e9700
movzx ecx, bx
call fcn.1400c346c
movzx ecx, word [rdi]
movzx ebx, ax
call fcn.1400c346c
movzx eax, ax
cmp ebx, eax
je 0x1400e97a5
movzx ebx, word [rsp + 0x58]
mov ecx, dword [rsp + 0x24]
dec ebp
sub rsi, 1
jns 0x1400e96a2
movzx edi, byte [rsp + 0x21]
movzx ebx, byte [rsp + 0x20]
cmp bl, r12b
je 0x1400e9885
xor r12d, r12d
mov esi, r12d
test bl, bl
je 0x1400e97f3
lea ecx, [r12 + 0x10]
call fcn.1400bd614
mov r15d, dword [rsp + 0x24]
mov rdi, rax
mov ebp, dword [rsp + 0x28]
xor eax, eax
mov qword [rdi + 8], rax
mov eax, dword [rsp + 0x2c]
mov qword [rdi], r12
mov dword [rdi], r13d
mov dword [rdi + 4], r15d
mov dword [rdi + 8], ebp
mov dword [rdi + 0xc], eax
mov ecx, dword [r14 + 0x78]
mov edx, dword [r14 + 0x70]
inc ecx
cmp ecx, edx
jle 0x1400e97de
mov eax, ecx
test ecx, ecx
jns 0x1400e9774
lea eax, [rcx + 1]
sar eax, 1
lea ebx, [rcx + 8]
add ebx, eax
and ebx, 0xfffffff8
cmp edx, ebx
je 0x1400e97d9
mov rcx, qword [r14 + 0x68]
test ebx, ebx
jle 0x1400e97cc
movsxd rdx, ebx
test rcx, rcx
jne 0x1400e97b9
lea rcx, [rdx*8]
call fcn.1400c1e7c
mov qword [r14 + 0x68], rax
jmp 0x1400e97d5
mov r12b, 1
mov r15d, ebp
movzx edi, r12b
mov byte [rsp + 0x21], r12b
jmp 0x1400e9711
lea rdx, [rdx*8]
call fcn.1400c1bc8
mov qword [r14 + 0x68], rax
jmp 0x1400e97d5
call fcn.1400c1bd0
mov qword [r14 + 0x68], r12
mov dword [r14 + 0x70], ebx
movzx ebx, byte [rsp + 0x20]
movsxd rcx, dword [r14 + 0x78]
lea eax, [rcx + 1]
mov dword [r14 + 0x78], eax
mov rax, qword [r14 + 0x68]
mov qword [rax + rcx*8], rdi
jmp 0x1400e9823
mov rax, qword [r14 + 0x68]
lea rcx, [r14 + 0x68]
mov edx, dword [rsp + 0x2c]
movsxd r8, r15d
mov r8, qword [rax + r8*8]
mov eax, dword [r8 + 0xc]
cmp edx, eax
jbe 0x1400e9812
mov esi, edx
sub esi, eax
mov edx, r15d
call fcn.14002de30
mov ebp, dword [rsp + 0x28]
mov r15d, dword [rsp + 0x24]
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov rcx, qword [r14 + 0x48]
xor r8d, r8d
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x70], 1
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x8c], bl
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x84], r15d
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x90], esi
call fcn.1400eaeb0
mov dil, 1
mov byte [rsp + 0x21], dil
jmp 0x1400e9888
xor r12d, r12d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
dec rdx
mov r8, qword [rsp + 0x40]
sub rcx, 0xc
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
test rdx, rdx
jns 0x1400e95e0
mov rcx, qword [rsp + 0x48]
mov esi, 0xdd
mov r9d, 0x5b
lea r10d, [rsi - 2]
lea r11d, [rsi - 0x80]
sub rcx, 1
mov qword [rsp + 0x48], rcx
jns 0x1400e95a0
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xe8]
movzx eax, dil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400bd5f0
add rsp, 0xc8
pop r14
pop rdi
ret