Function at 0x14004c280
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 - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rbp - 9], rax
mov rdi, rdx
mov qword [rbp - 0x39], rdx
cmp byte [0x140078fd7], 0
je 0x14004c2dc
mov ecx, 2
mov dword [0x140078e48], ecx
jmp 0x14004c2e2
mov ecx, dword [0x140078e48]
cmp byte [0x140078fd5], 0
je 0x14004c2f6
mov ecx, 1
mov dword [0x140078e48], ecx
cmp byte [0x140078fda], 0
je 0x14004c30a
mov ecx, 0x14
mov dword [0x140078e48], ecx
cmp byte [0x140079019], 0
je 0x14004c31e
mov ecx, 0xa0
mov dword [0x140078e48], ecx
ucomisd xmm0, qword [0x140067dd8]
jp 0x14004c32e
je 0x14004c788
cmp byte [0x140079041], 0
je 0x14004c788
mov rax, qword [0x140079090]
cmp qword [rax + 0xc0], 0
je 0x14004c788
lea rbx, [rbp + 0x5f]
mov rsi, qword [rbx]
xor r15d, r15d
mov qword [rbx], r15
movzx ecx, cl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
mov qword [rbx], rsi
je 0x14004c788
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm9, xmm9
movsd xmm6, qword [0x140067b18]
cmp byte [0x140079006], r15b
je 0x14004c3dc
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0x5f]
mov qword [rbx], r15
test rcx, rcx
jne 0x14004c3b2
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
movsd qword [rbp - 0x59], xmm8
jmp 0x14004c3c5
mov r8d, 0x6e
lea rdx, [rbp - 0x69]
call fcn.1400481a0
movups xmm0, xmmword [rbp - 0x69]
mov qword [rbx], rsi
movaps xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rbp - 0x59]
movsd qword [rbp - 0x79], xmm0
jmp 0x14004c4b9
cmp byte [0x140078fe4], r15b
je 0x14004c3f4
mov r8d, 0x42
lea rdx, [rbp - 0x69]
jmp 0x14004c49b
cmp byte [0x140079030], r15b
je 0x14004c488
mov rax, qword [rdi]
mov r8d, 0x25
lea rdx, [rbp - 0x51]
mov rcx, qword [rax + 8]
call fcn.1400481a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x79], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x69]
call fcn.140042a90
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp - 0x31]
mov rcx, qword [rax + 8]
call fcn.1400481a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x79], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x51]
call fcn.140042a90
movsd xmm7, qword [rbp - 0x51]
subsd xmm7, qword [rbp - 0x69]
mulsd xmm7, xmm6
addsd xmm7, qword [rbp - 0x69]
movsd xmm9, qword [rbp - 0x61]
jmp 0x14004c4d1
cmp byte [0x140079036], r15b
je 0x14004c4d1
mov r8d, 2
lea rdx, [rbp - 0x31]
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
call fcn.1400481a0
movsd xmm1, qword [rax + 0x10]
movups xmm0, xmmword [rax]
movsd qword [rbp - 0x79], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x51]
call fcn.140042a90
movsd xmm7, qword [rax]
movsd xmm9, qword [rax + 8]
cmp byte [0x14007900e], r15b
je 0x14004c591
mov rax, qword [0x140078060]
mov rax, qword [rax + 0x48b8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007320
mov rbx, rax
movdqa xmm0, xmmword [0x140068050]
movups xmmword [rbp - 0x51], xmm0
lea rcx, [rbp - 0x51]
call fcn.140003510
mov esi, eax
cvtpd2ps xmm1, xmm9
cvtpd2ps xmm0, xmm7
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
test eax, 0xff000000
je 0x14004c591
mov dword [rsp + 0x28], 0x31
movss xmm0, dword [0x140067c30]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
movss xmm2, dword [0x140067c14]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.1400258f0
movss xmm0, dword [0x140067ae4]
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.140023e80
mov dword [rbx + 0x78], r15d
movd xmm2, dword [0x1400791b0]
cvtdq2pd xmm2, xmm2
mulsd xmm2, xmm6
movd xmm0, dword [0x1400791a8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd xmm4, qword [0x140068200]
comisd xmm7, xmm0
jbe 0x14004c5cb
movaps xmm6, xmm0
subsd xmm6, xmm7
xorps xmm6, xmm4
jmp 0x14004c5d2
movaps xmm6, xmm7
subsd xmm6, xmm0
movss xmm3, dword [0x140077834]
cvtps2pd xmm3, xmm3
divsd xmm6, xmm3
movaps xmm1, xmm0
addsd xmm1, xmm6
addsd xmm0, xmm0
comisd xmm1, xmm0
ja 0x14004c5f9
comisd xmm8, xmm1
jbe 0x14004c5fc
xorps xmm6, xmm6
comisd xmm9, xmm2
jbe 0x14004c610
movaps xmm1, xmm2
subsd xmm1, xmm9
xorps xmm1, xmm4
jmp 0x14004c618
movaps xmm1, xmm9
subsd xmm1, xmm2
divsd xmm1, xmm3
movaps xmm0, xmm2
addsd xmm0, xmm1
addsd xmm2, xmm2
comisd xmm0, xmm2
ja 0x14004c634
comisd xmm8, xmm0
jbe 0x14004c637
xorps xmm1, xmm1
divsd xmm6, xmm3
xorps xmm1, xmm4
divsd xmm1, xmm3
mov rax, qword [0x140079090]
mov rcx, qword [rax + 0x18]
add rcx, 0x520
call fcn.14005c0e0
mov rax, qword [0x140079090]
mov rcx, qword [rax + 0x18]
add rcx, 0x528
movaps xmm1, xmm6
call fcn.14005c0e0
cmp byte [0x140078ff1], r15b
je 0x14004c788
mov rax, qword [0x140079090]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.14005be90
mov rcx, rax
call fcn.14005be90
mov rsi, rax
movzx ecx, byte [0x140078e48]
lea r14, [rbp + 0x5f]
mov rbx, qword [r14]
mov qword [r14], r15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
mov qword [r14], rbx
je 0x14004c6df
cmp byte [0x140078059], r15b
je 0x14004c6f1
mov rax, rsi
mov qword [0x140078db0], rax
mov byte [0x140078059], r15b
jmp 0x14004c6f8
cmp byte [0x140078059], r15b
jne 0x14004c6f1
mov byte [0x140078059], 1
jmp 0x14004c766
mov rax, qword [0x140078db0]
test rax, rax
je 0x14004c770
cmp rax, rsi
je 0x14004c788
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x2d], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov dword [rbp - 0x31], r15d
mov dword [rbp - 0x1d], 2
mov r8d, 0x28
lea rdx, [rbp - 0x31]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x2d], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov dword [rbp - 0x31], r15d
mov dword [rbp - 0x1d], 4
mov r8d, 0x28
lea rdx, [rbp - 0x31]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov rax, r15
mov qword [0x140078db0], rax
cmp rax, rsi
je 0x14004c788
test rax, rax
je 0x14004c788
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14004c7bd
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004c7bd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004c7bd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14005da30
lea r11, [rsp + 0x100]
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