Function at 0x140071c50
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
cmp byte [rax + 0x89], 0
jne 0x140071c89
lea rcx, [rsp + 0x20]
call fcn.140071ec0
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x58], rbx
mov rbx, qword [rax + 0x70]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x78]
mov qword [rsp + 0x30], r14
cmp rbx, rsi
je 0x140071cd3
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140071cbc
xor eax, eax
jmp 0x140071cc3
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x140071d05
add rbx, 0x28
cmp rbx, rsi
jne 0x140071cb0
mov r14b, 1
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov rcx, qword [rdi]
movsxd rsi, eax
mov qword [rsp + 0x20], rsi
mov byte [rsp + 0x28], r14b
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140071d0a
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x140071d14
xor r14b, r14b
jmp 0x140071cd6
lea r8, [rsp + 0x20]
call fcn.1400c0cc0
mov rdx, qword [rdi]
imul eax, dword [rdx + 0x8c], 0x7d
mov rcx, qword [rdx]
movsxd rbp, eax
mov rax, qword [rdx + 8]
sub rax, rcx
sar rax, 4
test rax, rax
je 0x140071d7c
mov rbx, rdx
nop word [rax + rax]
mov rax, rsi
mov rdx, rbx
sub rax, qword [rcx]
cmp rax, rbp
jle 0x140071d7c
mov r8, qword [rbx + 8]
lea rdx, [rcx + 0x10]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rbx + 8], 0xfffffffffffffff0
mov rdx, qword [rdi]
mov rbx, rdx
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
sub rax, rcx
sar rax, 4
test rax, rax
jne 0x140071d40
mov r11, qword [rdx + 8]
xor r10b, r10b
mov rbp, qword [rsp + 0x60]
xor r9d, r9d
mov rax, rcx
cmp rcx, r11
je 0x140071db2
movzx r8d, byte [rax + 8]
cmp r8b, r10b
je 0x140071da5
test r8b, r8b
je 0x140071da5
inc r9d
add rax, 0x10
movzx r10d, r8b
cmp rax, r11
jne 0x140071d93
mov eax, dword [rdx + 0x90]
test eax, eax
jne 0x140071e04
cmp byte [rdx + 0x68], al
je 0x140071df1
cmp rcx, r11
je 0x140071dca
mov qword [rdx + 8], rcx
test r14b, r14b
je 0x140071dd3
mov al, 1
jmp 0x140071ddc
mov rax, qword [rdi]
mov byte [rax + 0x68], 0
xor al, al
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
cmp r9d, dword [rdx + 0x8c]
jl 0x140071dda
mov byte [rdx + 0x68], 1
movzx eax, r14b
jmp 0x140071ddc
cmp eax, 1
jne 0x140071dda
cmp r9d, dword [rdx + 0x8c]
jl 0x140071e28
cmp rcx, r11
je 0x140071e1b
mov qword [rdx + 8], rcx
mov rcx, qword [rdi]
cmp byte [rcx + 0x68], 0
sete al
mov byte [rcx + 0x68], al
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax + 0x70]
mov rsi, qword [rax + 0x78]
cmp rbx, rsi
je 0x140071e95
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140071e4c
xor eax, eax
jmp 0x140071e53
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x140071e65
add rbx, 0x28
cmp rbx, rsi
jne 0x140071e40
jmp 0x140071e95
mov rax, qword [rdi]
cmp byte [rax + 0x95], 0
je 0x140071e95
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x140071e7e
mov qword [rax + 8], rcx
mov rax, qword [rdi]
mov byte [rax + 0x95], 0
mov rcx, qword [rdi]
movzx eax, byte [rcx + 0x68]
mov byte [rcx + 0x96], al
mov rcx, qword [rdi]
movzx eax, byte [rcx + 0x68]
cmp byte [rcx + 0x96], al
je 0x140071eab
mov byte [rcx + 0x95], 1
mov rax, qword [rdi]
movzx eax, byte [rax + 0x68]
jmp 0x140071ddc