Function at 0x14003c680
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x140093fc0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, r8
mov qword [rbp - 0x49], rbx
mov r13, rdx
movsxd r15, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xor edi, edi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rdi
lea r8d, [rdi + 3]
lea rdx, [0x1400778a0]
lea rcx, [rbp - 1]
call fcn.14003e990
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], rdi
lea r8d, [rdi + 4]
lea rdx, str.hk
lea rcx, [rbp - 0x41]
call fcn.14003e990
nop
mov rcx, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x29]
cmp rcx, rdx
jae 0x14003c72e
lea rax, [rcx + 1]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x41]
mov byte [rax + rcx], r15b
mov byte [rax + rcx + 1], dil
jmp 0x14003c73b
movzx r9d, r15b
lea rcx, [rbp - 0x41]
call fcn.14003ea90
lea r9, [rbp - 0x41]
mov rsi, qword [rbp - 0x41]
mov r14, qword [rbp - 0x29]
cmp r14, 0xf
cmova r9, rsi
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rbp + 0x17]
mov rax, rdx
sub rax, rcx
mov rdi, qword [rbp - 0x31]
cmp rdi, rax
ja 0x14003c796
lea rax, [rcx + rdi]
mov qword [rbp + 0xf], rax
lea rbx, [rbp - 1]
cmp rdx, 0xf
cmova rbx, qword [rbp - 1]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
mov rbx, qword [rbp - 0x49]
jmp 0x14003c7af
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.14003ec00
mov r14, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x41]
lea rcx, [0x140000000]
lea r12, [rcx + 0x97edc]
movzx eax, byte [r12 + r15]
test al, al
jne 0x14003c91c
movsxd rax, dword [r13]
mov rdx, qword [rcx + rax*8 + 0x88170]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], al
jne 0x14003c7f1
lea rcx, [rbp - 0x21]
call fcn.14003e990
nop
lea r9, [rbp - 0x41]
cmp r14, 0xf
cmova r9, rsi
inc rdi
cmp byte [r9 + rdi], 0
jne 0x14003c810
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rbp - 9]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14003c859
lea rax, [rcx + rdi]
mov qword [rbp - 0x11], rax
lea rbx, [rbp - 0x21]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x21]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x14003c872
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.14003ec00
mov r14, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x41]
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x49]
call fcn.14002ed30
test al, al
je 0x14003c8a3
mov qword [rbp - 0x49], 5
lea rcx, [rbp - 0x49]
call fcn.14003e8c0
mov byte [r12 + r15], 1
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14003c8e2
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c8dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c8dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
nop
cmp r14, 0xf
jbe 0x14003c99d
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003c994
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c994
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp al, 1
jne 0x14003c8e2
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
mov rdx, rbx
call fcn.14002ed30
lea rbx, [0x140087ed0]
lea rdi, [0x140088168]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003c958
mov eax, dword [rbx]
cmp eax, 1
jne 0x14003c966
add rbx, 4
cmp rbx, rdi
jne 0x14003c944
jmp 0x14003c8e2
mov dword [r13], eax
cmp dword [rbx], 0x1b
jne 0x14003c975
xor eax, eax
mov dword [r13], eax
cmp r15, 5
jae 0x14003ca02
lea rcx, [0x140000000]
mov byte [r15 + rcx + 0x97edc], 0
jmp 0x14003c8e2
mov rcx, rsi
call fcn.140058540
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14003c9db
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c9d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c9d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140058450
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400587a4
nop
int3