Function at 0x14004b680
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, rdx
mov qword [rbp - 0x50], rdx
mov ecx, dword [0x1400a417c]
mov r13d, 2
cmp byte [0x1400a433f], 0
cmovne ecx, r13d
mov r12d, 1
cmp byte [0x1400a433d], 0
cmovne ecx, r12d
mov eax, 0x14
cmp byte [0x1400a4342], 0
cmovne ecx, eax
mov eax, 0xa0
cmp byte [0x1400a437d], 0
cmovne ecx, eax
mov dword [0x1400a417c], ecx
ucomisd xmm0, qword [0x140066cf8]
jp 0x14004b727
je 0x14004bba1
cmp byte [0x1400a4395], 0
je 0x14004bba1
mov rax, qword [0x1400a43e0]
cmp qword [rax + 0xc0], 0
je 0x14004bba1
lea r14, [rbp + 0x98]
mov rbx, qword [r14]
xor r15d, r15d
mov qword [r14], r15
movzx ecx, cl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
mov qword [r14], rbx
je 0x14004bba1
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm9, xmm9
movsd xmm6, qword [0x140066a20]
cmp byte [0x1400a436e], r15b
je 0x14004b7e2
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
mov qword [r14], r15
test rcx, rcx
jne 0x14004b7ac
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm8
jmp 0x14004b7c1
mov r8d, 0x6d
lea rdx, [rsp + 0x60]
call fcn.140047560
movups xmm0, xmmword [rsp + 0x60]
mov rax, r14
mov qword [rax], rbx
movaps xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x40]
jmp 0x14004b8e8
cmp byte [0x1400a434c], r15b
je 0x14004b81e
mov rax, qword [rsi]
mov r8d, 0x42
lea rdx, [rbp - 0x70]
mov rcx, qword [rax + 8]
call fcn.140047560
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
jmp 0x14004b8e8
cmp byte [0x1400a4386], r15b
je 0x14004b8b7
mov rax, qword [rsi]
mov r8d, 0x25
lea rdx, [rbp - 0x20]
mov rcx, qword [rax + 8]
call fcn.140047560
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140042840
mov rax, qword [rsi]
mov r8d, 8
lea rdx, [rbp - 0x38]
mov rcx, qword [rax + 8]
call fcn.140047560
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x60], xmm1
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.140042840
movsd xmm7, qword [rsp + 0x78]
subsd xmm7, qword [rsp + 0x60]
mulsd xmm7, xmm6
addsd xmm7, qword [rsp + 0x60]
movsd xmm9, qword [rsp + 0x68]
jmp 0x14004b8fc
cmp byte [0x1400a438c], r15b
je 0x14004b8fc
mov rax, qword [rsi]
mov r8d, r13d
lea rdx, [rbp - 0x38]
mov rcx, qword [rax + 8]
call fcn.140047560
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x60], xmm1
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.140042840
movsd xmm7, qword [rax]
movsd xmm9, qword [rax + 8]
cmp byte [0x1400a4375], r15b
je 0x14004b9b9
mov rax, qword [0x1400a33e0]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov rdx, r12
mov rcx, qword [rax]
call fcn.140007080
mov rbx, rax
movaps xmm0, xmmword [0x140066f80]
movups xmmword [rbp - 0x48], xmm0
lea rcx, [rbp - 0x48]
call fcn.1400037c0
mov edi, eax
cvtpd2ps xmm1, xmm9
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x38], xmm1
test eax, 0xff000000
je 0x14004b9b9
mov dword [rsp + 0x28], 0x31
movss xmm0, dword [0x140066b38]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
movss xmm2, dword [0x140066b1c]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.140025470
movss xmm0, dword [0x1400669f0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r12d
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140023ac0
mov dword [rbx + 0x78], r15d
movd xmm2, dword [0x1400a44fc]
cvtdq2pd xmm2, xmm2
mulsd xmm2, xmm6
movd xmm0, dword [0x1400a44f8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd xmm4, qword [0x140067150]
comisd xmm7, xmm0
jbe 0x14004b9f3
movaps xmm6, xmm0
subsd xmm6, xmm7
xorps xmm6, xmm4
jmp 0x14004b9fa
movaps xmm6, xmm7
subsd xmm6, xmm0
movss xmm3, dword [0x1400a2ab0]
cvtps2pd xmm3, xmm3
divsd xmm6, xmm3
movaps xmm1, xmm0
addsd xmm1, xmm6
addsd xmm0, xmm0
comisd xmm1, xmm0
ja 0x14004ba21
comisd xmm8, xmm1
jbe 0x14004ba24
xorps xmm6, xmm6
comisd xmm9, xmm2
jbe 0x14004ba38
movaps xmm1, xmm2
subsd xmm1, xmm9
xorps xmm1, xmm4
jmp 0x14004ba40
movaps xmm1, xmm9
subsd xmm1, xmm2
divsd xmm1, xmm3
movaps xmm0, xmm2
addsd xmm0, xmm1
addsd xmm2, xmm2
comisd xmm0, xmm2
ja 0x14004ba5c
comisd xmm8, xmm0
jbe 0x14004ba5f
xorps xmm1, xmm1
divsd xmm6, xmm3
xorps xmm1, xmm4
divsd xmm1, xmm3
mov rax, qword [0x1400a43e0]
mov rcx, qword [rax + 0x18]
add rcx, 0x520
call fcn.14005ae90
mov rax, qword [0x1400a43e0]
mov rcx, qword [rax + 0x18]
add rcx, 0x528
movaps xmm1, xmm6
call fcn.14005ae90
cmp byte [0x1400a4359], r15b
je 0x14004bba1
mov rax, qword [0x1400a43e0]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.14005abd0
mov rcx, rax
call fcn.14005abd0
mov rdi, rax
movzx ecx, byte [0x1400a417c]
mov rbx, qword [r14]
mov qword [r14], r15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
mov qword [r14], rbx
je 0x14004bb03
cmp byte [0x1400a33d9], r15b
je 0x14004bb15
mov rax, rdi
mov qword [0x1400a4130], rax
mov byte [0x1400a33d9], r15b
jmp 0x14004bb1c
cmp byte [0x1400a33d9], r15b
jne 0x14004bb15
mov byte [0x1400a33d9], r12b
jmp 0x14004bb7f
mov rax, qword [0x1400a4130]
test rax, rax
je 0x14004bb89
cmp rax, rdi
je 0x14004bba1
xorps xmm0, xmm0
movdqu xmmword [rbp - 4], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp - 8], r15d
mov dword [rbp + 0xc], r13d
mov r8d, 0x28
lea rdx, [rbp - 8]
mov ecx, r12d
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp - 4], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp - 8], r15d
mov dword [rbp + 0xc], 4
mov r8d, 0x28
lea rdx, [rbp - 8]
mov ecx, r12d
call qword [sym.imp.USER32.dll_SendInput]
mov rax, r15
mov qword [0x1400a4130], rax
cmp rax, rdi
je 0x14004bba1
test rax, rax
je 0x14004bba1
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14004bbd6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004bbd6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004bbd6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14005c560
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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 r13
pop r12
pop rbp
ret