Function at 0x180066a90
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xd8
mov rax, qword [0x180154940]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14d, r8d
mov esi, edx
mov rdi, rcx
test rcx, rcx
jne 0x180066acf
mov rax, qword [0x1801c5c68]
call qword [case.0x18006b415.0]
jmp 0x18006757f
cmp qword [0x1801a04e0], 0
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0xd0], r15
movaps xmmword [rsp + 0xc0], xmm6
jne 0x180066afe
mov rax, qword [0x1801c5c68]
call qword [case.0x18006b415.0]
mov rax, qword [rdi]
lea rdx, [rbp - 0x49]
mov rcx, rdi
mov rax, qword [rax + 0x60]
call qword [case.0x18006b415.0]
cmp byte [0x1801a054c], 0
jne 0x180066ba3
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp + 7]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x13]
mov ecx, dword [rbp + 0xf]
sub ecx, dword [rbp + 7]
sub eax, dword [rbp + 0xb]
movd xmm2, eax
mov rax, qword [0x1801a04a0]
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
mulss xmm2, dword [0x1800db8b0]
divss xmm1, dword [0x1800e2ce8]
movaps xmm0, xmm1
mulss xmm1, dword [0x1800e2cd8]
mulss xmm0, dword [0x1800dd628]
movss dword [rax + 0x66c], xmm0
mov rax, qword [0x1801a04a0]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rax + 0x670], xmm1
mulss xmm0, dword [0x1800db8b0]
movss dword [0x18017b9d4], xmm2
movss dword [0x18017b9d0], xmm0
mov rdx, qword [0x1801c5c58]
xor r8d, r8d
mov rcx, qword [0x1801c5c50]
movss xmm3, dword [0x1800e1378]
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call fcn.1800675a0
mov r15, rax
call fcn.18003dfa0
call fcn.18003e9c0
call fcn.180020fb0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180066bff
mov rdx, qword [0x1801a04a0]
cmp byte [rdx + 0x37e], 0
sete cl
mov byte [rdx + 0x37e], cl
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [0x180154990]
test al, 1
je 0x180066dcb
movups xmm0, xmmword [0x1800e1ed8]
movzx eax, byte [0x1800e1f00]
xor r8d, r8d
mov byte [rbp - 0x51], al
movups xmm1, xmmword [0x1800e1ee8]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x1800e1ef8]
movsd qword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x69], xmm1
cmp ebx, 2
jl 0x180066d87
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e2d50]
movdqa xmm6, xmmword [str.1111]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180066c80
cmp r8d, 0x29
jge 0x180066dc2
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x180066d91
lea rcx, [rbp - 0x79]
call fcn.180089350
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180066f9b
movups xmm0, xmmword [0x1800e1f08]
movzx eax, byte [0x1800e1f30]
xor r8d, r8d
mov byte [rbp - 0x51], al
movups xmm1, xmmword [0x1800e1f18]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x1800e1f28]
movsd qword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x69], xmm1
cmp ebx, 2
jl 0x180066f57
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e2d50]
movdqa xmm6, xmmword [str.1111]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180066e50
cmp r8d, 0x29
jge 0x180066f92
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x180066f61
lea rcx, [rbp - 0x79]
call fcn.180089350
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18006716b
movups xmm0, xmmword [str._aR_t_]
movzx eax, byte [0x1800e1f60]
xor r8d, r8d
mov byte [rbp - 0x51], al
movups xmm1, xmmword [0x1800e1f48]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x1800e1f58]
movsd qword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x69], xmm1
cmp ebx, 2
jl 0x180067127
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e2d50]
movdqa xmm6, xmmword [str.1111]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180067020
cmp r8d, 0x29
jge 0x180067162
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x180067131
lea rcx, [rbp - 0x79]
call fcn.180089350
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18006733b
movups xmm0, xmmword [0x1800e1f68]
movzx eax, byte [0x1800e1f90]
xor r8d, r8d
mov byte [rbp - 0x51], al
movups xmm1, xmmword [0x1800e1f78]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x1800e1f88]
movsd qword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x69], xmm1
cmp ebx, 2
jl 0x1800672f7
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e2d50]
movdqa xmm6, xmmword [str.1111]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x1800671f0
cmp r8d, 0x29
jge 0x180067332
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x180067301
lea rcx, [rbp - 0x79]
call fcn.180089350
mov ecx, 0x74
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18006750b
movups xmm0, xmmword [0x1800e1f98]
movzx eax, byte [0x1800e1fc0]
xor r8d, r8d
mov byte [rbp - 0x51], al
movups xmm1, xmmword [0x1800e1fa8]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x1800e1fb8]
movsd qword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x69], xmm1
cmp ebx, 2
jl 0x1800674c7
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e2d50]
movdqa xmm6, xmmword [str.1111]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x1800673c0
cmp r8d, 0x29
jge 0x180067502
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x1800674d1
lea rcx, [rbp - 0x79]
call fcn.180089350
mov rax, qword [0x1801a04a0]
cmp byte [rax + 0x37e], 0
je 0x18006752c
call fcn.180019d20
mov rcx, qword [0x1801a04c0]
call fcn.180072360
call fcn.18001a4f0
mov rcx, r15
mov rbx, rax
movss xmm6, dword [rax + 0x14]
mov dword [rax + 0x14], 0
call fcn.18000f200
movss dword [rbx + 0x14], xmm6
call fcn.180066130
mov rax, qword [0x1801c5c68]
mov r8d, r14d
mov edx, esi
mov rcx, rdi
call qword [case.0x18006b415.0]
movaps xmm6, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800a5c70
add rsp, 0xd8
pop r14
pop rdi
pop rsi
pop rbp
ret