Function at 0x140052450
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 edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400ce398], eax
jle 0x1400524f6
lea rcx, [0x1400ce398]
call fcn.140058378
cmp dword [0x1400ce398], 0xffffffff
jne 0x1400524f6
mov qword [0x1400ce3a0], r15
movdqa xmm0, xmmword [0x1400bcea0]
movdqu xmmword [0x1400ce3b0], xmm0
lea r8d, [r15 + 0xd]
lea rdx, str.Click_to_bind
lea rcx, [0x1400ce3a0]
call fcn.140008bd0
lea rcx, [0x140085000]
call fcn.140058028
nop
lea rcx, [0x1400ce398]
call fcn.140058318
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x1400bcd80]
movss dword [rsp + 0x34], xmm1
lea rcx, [0x1400ce3a0]
cmp qword [0x1400ce3b8], 0x10
cmovae rcx, qword [0x1400ce3a0]
lea rdx, [rsp + 0x30]
call fcn.140038b80
test al, al
je 0x14005253f
mov byte [0x1400ce2fc], 1
jmp 0x140052548
cmp byte [0x1400ce2fc], 0
je 0x14005259e
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140052576
cmp ebx, 0xc
je 0x140052576
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r15d
mov dword [rdi], eax
mov byte [0x1400ce2fc], 0
inc ebx
cmp ebx, 0x100
jl 0x140052550
mov r8d, 0xb
lea rdx, str.Press_a_key
lea rcx, [0x1400ce3a0]
call fcn.140008bd0
jmp 0x140052728
mov r8d, dword [rdi]
test r8d, r8d
jne 0x1400525c4
mov r8d, 0xd
lea rdx, str.Click_to_bind
lea rcx, [0x1400ce3a0]
call fcn.140008bd0
jmp 0x140052728
lea rdx, [rsp + 0x38]
call fcn.140052760
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 9
jb 0x140052669
lea rax, [r8 + 9]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x1400525fd
mov rdi, qword [rbx]
lea rax, [0x1400bca11]
mov r14d, 9
lea rsi, str.Bound_to
cmp rax, rdi
jbe 0x140052631
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140052631
cmp rdi, rsi
ja 0x140052629
mov rbp, r15
jmp 0x140052634
mov rbp, rdi
sub rbp, rsi
jmp 0x140052634
mov rbp, r14
lea rcx, [rdi + 9]
inc r8
mov rdx, rdi
call fcn.14005a270
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.14005a270
lea rcx, [rdi + rbp]
sub r14, rbp
lea rdx, [rsi + 9]
add rdx, rbp
mov r8, r14
call fcn.14005a270
jmp 0x14005268e
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.1400550b0
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 [0x1400ce3b8]
cmp rdx, 0x10
jb 0x1400526e1
inc rdx
mov rcx, qword [0x1400ce3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400526dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052755
call fcn.140058040
movups xmmword [0x1400ce3a0], xmm6
movups xmmword [0x1400ce3b0], xmm7
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140052728
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005274f
call fcn.140058040
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.14005e9a8
nop
call fcn.14005e9a8
nop
int3