Function at 0x14004ab60
Capabilities:
Access peb ldr_data
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rdi, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r15d, r15d
mov eax, dword [rdx + rcx]
cmp dword [0x140084308], eax
jle 0x14004ac05
lea rcx, [0x140084308]
call fcn.14004c20c
cmp dword [0x140084308], 0xffffffff
jne 0x14004ac05
mov qword [0x1400842f8], r15
mov qword [0x140084300], 0xf
mov byte [0x1400842e8], r15b
lea r8d, [r15 + 0xd]
lea rdx, str.Click_to_bind
lea rcx, [0x1400842e8]
call fcn.1400078c0
lea rcx, [0x14004e060]
call fcn.14004bec4
nop
lea rcx, [0x140084308]
call fcn.14004c1ac
movss xmm0, dword [0x140077ff8]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x140077fd4]
movss dword [rsp + 0x34], xmm1
lea rcx, [0x1400842e8]
cmp qword [0x140084300], 0x10
cmovae rcx, qword [0x1400842e8]
lea rdx, [rsp + 0x30]
call fcn.140030d60
test al, al
je 0x14004ac4f
mov byte [0x140082f18], 1
jmp 0x14004ac58
cmp byte [0x140082f18], 0
je 0x14004acae
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14004ac86
cmp ebx, 0xc
je 0x14004ac86
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r15d
mov dword [rdi], eax
mov byte [0x140082f18], 0
inc ebx
cmp ebx, 0x100
jl 0x14004ac60
mov r8d, 0xb
lea rdx, str.Press_a_key
lea rcx, [0x1400842e8]
call fcn.1400078c0
jmp 0x14004ae47
mov r8d, dword [rdi]
test r8d, r8d
jne 0x14004acd4
mov r8d, 0xd
lea rdx, str.Click_to_bind
lea rcx, [0x1400842e8]
call fcn.1400078c0
jmp 0x14004ae47
lea rdx, [rsp + 0x38]
call fcn.140049d70
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
sub rax, r8
lfence
cmp rax, 9
jb 0x14004ad7a
lea rax, [r8 + 9]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004ad0e
mov rdi, qword [rbx]
lea rax, [0x140077ed1]
mov r14d, 9
lea rsi, str.Bound_to
cmp rax, rdi
jbe 0x14004ad42
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x14004ad42
cmp rdi, rsi
ja 0x14004ad3a
mov rbp, r15
jmp 0x14004ad45
mov rbp, rdi
sub rbp, rsi
jmp 0x14004ad45
mov rbp, r14
lea rcx, [rdi + 9]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbp]
sub r14, rbp
lea rdx, [rsi + 9]
add rdx, rbp
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14004ad9f
mov r14d, 9
mov qword [rsp + 0x28], r14
lea rsi, str.Bound_to
mov qword [rsp + 0x20], rsi
mov edx, r14d
mov rcx, rbx
call fcn.140049310
mov rbx, rax
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [0x140084300]
cmp rdx, 0x10
jb 0x14004adf2
mov rcx, qword [0x1400842e8]
inc rdx
cmp rdx, 0x1000
jb 0x14004aded
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004ae3b
mov rcx, r8
call fcn.14004bc84
movups xmmword [0x1400842e8], xmm6
movups xmmword [0x1400842f8], xmm7
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14004ae47
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ae42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ae42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004bc84
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop rdi
ret