Function at 0x140063860
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 0x140063899
lea rcx, [rsp + 0x20]
call fcn.140063ad0
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 0x1400638e3
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x1400638cc
xor eax, eax
jmp 0x1400638d3
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x140063915
add rbx, 0x28
cmp rbx, rsi
jne 0x1400638c0
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 0x14006391a
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x140063924
xor r14b, r14b
jmp 0x1400638e6
lea r8, [rsp + 0x20]
call fcn.1400a11c0
mov rcx, qword [rdi]
imul eax, dword [rcx + 0x8c], 0x7d
mov r9, qword [rcx]
movsxd rbp, eax
mov rax, qword [rcx + 8]
sub rax, r9
sar rax, 4
test rax, rax
je 0x14006398f
mov rbx, rcx
nop word [rax + rax]
mov rax, rsi
mov rcx, rbx
sub rax, qword [r9]
cmp rax, rbp
jle 0x14006398f
mov r8, qword [rbx + 8]
lea rdx, [r9 + 0x10]
sub r8, rdx
mov rcx, r9
call sub.VCRUNTIME140.dll_memmove
add qword [rbx + 8], 0xfffffffffffffff0
mov rcx, qword [rdi]
mov rbx, rcx
mov r9, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r9
sar rax, 4
test rax, rax
jne 0x140063950
mov r11, qword [rcx + 8]
xor r10b, r10b
mov rbp, qword [rsp + 0x60]
xor r8d, r8d
mov rax, r9
cmp r9, r11
je 0x1400639c3
movzx edx, byte [rax + 8]
cmp dl, r10b
je 0x1400639b6
test dl, dl
je 0x1400639b6
inc r8d
add rax, 0x10
movzx r10d, dl
cmp rax, r11
jne 0x1400639a6
mov eax, dword [rcx + 0x90]
test eax, eax
jne 0x140063a15
cmp byte [rcx + 0x68], al
je 0x140063a02
cmp r9, r11
je 0x1400639db
mov qword [rcx + 8], r9
test r14b, r14b
je 0x1400639e4
mov al, 1
jmp 0x1400639ed
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 r8d, dword [rcx + 0x8c]
jl 0x1400639eb
mov byte [rcx + 0x68], 1
movzx eax, r14b
jmp 0x1400639ed
cmp eax, 1
jne 0x1400639eb
cmp r8d, dword [rcx + 0x8c]
jl 0x140063a39
cmp r9, r11
je 0x140063a2c
mov qword [rcx + 8], r9
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 0x140063aa5
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140063a5c
xor eax, eax
jmp 0x140063a63
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x140063a75
add rbx, 0x28
cmp rbx, rsi
jne 0x140063a50
jmp 0x140063aa5
mov rax, qword [rdi]
cmp byte [rax + 0x95], 0
je 0x140063aa5
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x140063a8e
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 0x140063abb
mov byte [rcx + 0x95], 1
mov rax, qword [rdi]
movzx eax, byte [rax + 0x68]
jmp 0x1400639ed