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

Disassembly:
mov qword [rsp + 0x10], 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 ebx, edx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
xor r15d, r15d
mov eax, dword [rcx + r8]
cmp dword [0x1400ec7c8], eax
jle 0x1400423e6
lea rcx, [0x1400ec7c8]
call fcn.14004b8a0
cmp dword [0x1400ec7c8], 0xffffffff
jne 0x1400423e6
mov qword [0x1400ec7a0], r15
movdqa xmm0, xmmword [0x140092540]
movdqu xmmword [0x1400ec7b0], xmm0
lea r8d, [r15 + 0xd]
lea rdx, str.Click_to_bind
lea rcx, [0x1400ec7a0]
call fcn.140042670
lea rcx, [0x14007c1c0]
call fcn.14004be84
nop
lea rcx, [0x1400ec7c8]
call fcn.14004b840
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x1400923e8]
movss dword [rsp + 0x34], xmm1
lea rcx, [0x1400ec7a0]
cmp qword [0x1400ec7b8], 0x10
cmovae rcx, qword [0x1400ec7a0]
lea rdx, [rsp + 0x30]
call fcn.14002f360
test al, al
je 0x14004242f
mov byte [0x1400ec708], 1
jmp 0x140042438
cmp byte [0x1400ec708], 0
je 0x14004248e
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140042466
cmp ebx, 0xc
je 0x140042466
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r15d
mov dword [rdi], eax
mov byte [0x1400ec708], 0
inc ebx
cmp ebx, 0x100
jl 0x140042440
mov r8d, 0xb
lea rdx, str.Press_a_key
lea rcx, [0x1400ec7a0]
call fcn.140042670
jmp 0x140042614
mov edx, dword [rdi]
test edx, edx
jne 0x1400424b0
lea r8d, [rdx + 0xd]
lea rdx, str.Click_to_bind
lea rcx, [0x1400ec7a0]
call fcn.140042670
jmp 0x140042614
lea rcx, [rsp + 0x38]
call fcn.140041750
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 9
jb 0x140042555
lea rax, [r8 + 9]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x1400424e9
mov rdi, qword [rbx]
lea rax, [0x140091e69]
mov r14d, 9
lea rsi, str.Bound_to
cmp rax, rdi
jbe 0x14004251d
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x14004251d
cmp rdi, rsi
ja 0x140042515
mov rbp, r15
jmp 0x140042520
mov rbp, rdi
sub rbp, rsi
jmp 0x140042520
mov rbp, r14
inc r8
lea rcx, [rdi + 9]
mov rdx, rdi
call fcn.14004da70
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.14004da70
sub r14, rbp
lea rdx, [rsi + 9]
add rdx, rbp
lea rcx, [rdi + rbp]
mov r8, r14
call fcn.14004da70
jmp 0x14004257a
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.140045a90
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 [0x1400ec7b8]
cmp rdx, 0x10
jb 0x1400425cd
inc rdx
mov rcx, qword [0x1400ec7a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400425c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042641
call fcn.14004b6a0
movups xmmword [0x1400ec7a0], xmm6
movups xmmword [0x1400ec7b0], xmm7
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140042614
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004260f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004263b
call fcn.14004b6a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
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
call fcn.14005d138
nop
call fcn.14005d138
nop
int3