Function at 0x140053ac0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14007f010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
mov qword [rbp - 0x68], rdx
cmp byte [0x14010c4db], 0
je 0x140053b22
mov ecx, 2
mov dword [0x14010c3a0], ecx
jmp 0x140053b28
mov ecx, dword [0x14010c3a0]
cmp byte [0x14010c4d9], 0
je 0x140053b3c
mov ecx, 1
mov dword [0x14010c3a0], ecx
cmp byte [0x14010c4e8], 0
je 0x140053b50
mov ecx, 0x14
mov dword [0x14010c3a0], ecx
cmp byte [0x14010c5aa], 0
je 0x140053b64
mov ecx, 0xa0
mov dword [0x14010c3a0], ecx
ucomisd xmm0, qword [0x1400742f8]
jp 0x140053b74
je 0x140053fff
cmp byte [0x14010c5ed], 0
je 0x140053fff
mov rax, qword [0x14010c678]
cmp qword [rax + 0xc0], 0
je 0x140053fff
lea rbx, [rbp + 0xe8]
mov rsi, qword [rbx]
xor r15d, r15d
mov qword [rbx], r15
movzx ecx, cl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [rbx], rsi
jae 0x140053fff
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm9, xmm9
movsd xmm6, qword [0x140074028]
cmp byte [0x14010c582], r15b
je 0x140053c2d
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0xe8]
mov qword [rbx], r15
test rcx, rcx
jne 0x140053bfe
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movsd qword [rbp - 0x80], xmm8
jmp 0x140053c13
mov r8d, 0x6d
lea rdx, [rsp + 0x70]
call fcn.14004f8d0
movups xmm0, xmmword [rsp + 0x70]
mov qword [rbx], rsi
movaps xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x50]
jmp 0x140053d32
cmp byte [0x14010c511], r15b
je 0x140053c66
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rbp + 0x28]
mov rcx, qword [rax + 8]
call fcn.14004f8d0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x20], xmm1
lea rdx, [rbp - 0x30]
jmp 0x140053d32
cmp byte [0x14010c5d0], r15b
je 0x140053cfb
mov rax, qword [rdi]
mov r8d, 0x25
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14004f8d0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp], xmm1
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x78]
call fcn.140043b40
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp + 0x10]
mov rcx, qword [rax + 8]
call fcn.14004f8d0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140043b40
movsd xmm7, qword [rsp + 0x40]
subsd xmm7, qword [rbp - 0x78]
mulsd xmm7, xmm6
addsd xmm7, qword [rbp - 0x78]
movsd xmm9, qword [rbp - 0x70]
jmp 0x140053d46
cmp byte [0x14010c5e4], r15b
je 0x140053d46
mov rax, qword [rdi]
mov r8d, 2
lea rdx, [rbp + 0x10]
mov rcx, qword [rax + 8]
call fcn.14004f8d0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140043b40
movsd xmm7, qword [rax]
movsd xmm9, qword [rax + 8]
cmp byte [0x14010c589], r15b
je 0x140053e08
mov rax, qword [0x14010b5b0]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007790
mov rbx, rax
movaps xmm0, xmmword [0x140074550]
movups xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.1400037e0
mov esi, eax
cvtpd2ps xmm1, xmm9
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x38], xmm1
test eax, 0xff000000
je 0x140053e08
mov dword [rsp + 0x28], 0x31
movss xmm0, dword [0x140074148]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
movss xmm2, dword [0x14007412c]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.140026360
movss xmm0, dword [0x140073ffc]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1400248e0
mov dword [rbx + 0x78], r15d
movd xmm2, dword [0x14010c79c]
cvtdq2pd xmm2, xmm2
mulsd xmm2, xmm6
movd xmm0, dword [0x14010c798]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd xmm4, qword [0x140074890]
comisd xmm7, xmm0
jbe 0x140053e42
movaps xmm6, xmm0
subsd xmm6, xmm7
xorps xmm6, xmm4
jmp 0x140053e49
movaps xmm6, xmm7
subsd xmm6, xmm0
movss xmm3, dword [0x14010a9d4]
cvtps2pd xmm3, xmm3
divsd xmm6, xmm3
movaps xmm1, xmm0
addsd xmm1, xmm6
addsd xmm0, xmm0
comisd xmm1, xmm0
ja 0x140053e70
comisd xmm8, xmm1
jbe 0x140053e73
xorps xmm6, xmm6
comisd xmm9, xmm2
jbe 0x140053e87
movaps xmm1, xmm2
subsd xmm1, xmm9
xorps xmm1, xmm4
jmp 0x140053e8f
movaps xmm1, xmm9
subsd xmm1, xmm2
divsd xmm1, xmm3
movaps xmm0, xmm2
addsd xmm0, xmm1
addsd xmm2, xmm2
comisd xmm0, xmm2
ja 0x140053eab
comisd xmm8, xmm0
jbe 0x140053eae
xorps xmm1, xmm1
divsd xmm6, xmm3
xorps xmm1, xmm4
divsd xmm1, xmm3
mov rax, qword [0x14010c678]
mov rcx, qword [rax + 0x18]
add rcx, 0x520
call fcn.140067a70
mov rax, qword [0x14010c678]
mov rcx, qword [rax + 0x18]
add rcx, 0x528
movaps xmm1, xmm6
call fcn.140067a70
cmp byte [0x14010c535], r15b
je 0x140053fff
mov rax, qword [0x14010c678]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.140067790
mov rcx, rax
call fcn.140067790
mov rsi, rax
movzx ecx, byte [0x14010c3a0]
lea r14, [rbp + 0xe8]
mov rbx, qword [r14]
mov qword [r14], r15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [r14], rbx
jae 0x140053f58
cmp byte [0x14010b5a9], r15b
je 0x140053f6a
mov rax, rsi
mov qword [0x14010c318], rax
mov byte [0x14010b5a9], r15b
jmp 0x140053f71
cmp byte [0x14010b5a9], r15b
jne 0x140053f6a
mov byte [0x14010b5a9], 1
jmp 0x140053fdd
mov rax, qword [0x14010c318]
test rax, rax
je 0x140053fe7
cmp rax, rsi
je 0x140053fff
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x5c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov dword [rbp + 0x58], r15d
mov dword [rbp + 0x6c], 2
mov r8d, 0x28
lea rdx, [rbp + 0x58]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x5c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov dword [rbp + 0x58], r15d
mov dword [rbp + 0x6c], 4
mov r8d, 0x28
lea rdx, [rbp + 0x58]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov rax, r15
mov qword [0x14010c318], rax
cmp rax, rsi
je 0x140053fff
test rax, rax
je 0x140053fff
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140054034
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140054034
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140054034
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140069720
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret