Function at 0x140040c30
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 ebx, r8d
mov rdi, rdx
xor r15d, r15d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1400b1890], eax
jle 0x140040cd4
lea rcx, [0x1400b1890]
call fcn.14004925c
cmp dword [0x1400b1890], 0xffffffff
jne 0x140040cd4
xorps xmm0, xmm0
movups xmmword [0x1400b1898], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400b18a8], xmm1
lea r8d, [r15 + 0xd]
lea rdx, str.Click_to_bind
lea rcx, [0x1400b1898]
call fcn.14003f090
lea rcx, [0x14006e3e0]
call fcn.140049018
nop
lea rcx, [0x1400b1890]
call fcn.1400491f0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x34], 0x41b00000
lea rcx, [0x1400b1898]
cmp qword [0x1400b18b0], 0x10
cmovae rcx, qword [0x1400b1898]
lea rdx, [rsp + 0x30]
call fcn.14002e730
test al, al
je 0x140040d17
mov byte [0x1400b1768], 1
jmp 0x140040d20
cmp byte [0x1400b1768], 0
je 0x140040d71
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140040d49
cmp ebx, 0xc
je 0x140040d49
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r15d
mov dword [rdi], eax
mov byte [0x1400b1768], 0
inc ebx
cmp ebx, 0x100
jl 0x140040d25
mov r8d, 0xb
lea rdx, str.Press_a_key
lea rcx, [0x1400b1898]
call fcn.140043420
jmp 0x140040efb
mov r8d, dword [rdi]
test r8d, r8d
jne 0x140040d97
mov r8d, 0xd
lea rdx, str.Click_to_bind
lea rcx, [0x1400b1898]
call fcn.140043420
jmp 0x140040efb
lea rdx, [rsp + 0x38]
call fcn.140040f30
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 9
jb 0x140040e3c
lea rax, [r8 + 9]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x140040dd0
mov rdi, qword [rbx]
lea rax, [0x1400a06c1]
mov r14d, 9
lea rsi, str.Bound_to
cmp rax, rdi
jbe 0x140040e04
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140040e04
cmp rdi, rsi
ja 0x140040dfc
mov rbp, r15
jmp 0x140040e07
mov rbp, rdi
sub rbp, rsi
jmp 0x140040e07
mov rbp, r14
lea rcx, [rdi + 9]
inc r8
mov rdx, rdi
call fcn.14004b070
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.14004b070
lea rcx, [rdi + rbp]
sub r14, rbp
lea rdx, [rsi + 9]
add rdx, rbp
mov r8, r14
call fcn.14004b070
jmp 0x140040e61
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.140044050
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 [0x1400b18b0]
cmp rdx, 0x10
jb 0x140040eb4
inc rdx
mov rcx, qword [0x1400b1898]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040eaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f28
call fcn.140049030
movups xmmword [0x1400b1898], xmm6
movups xmmword [0x1400b18a8], xmm7
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140040efb
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040ef6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f22
call fcn.140049030
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
call fcn.14004f844
nop
call fcn.14004f844
nop
int3