Function at 0x1407a1310
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rax + 8], rsi
mov rdi, rcx
mov ecx, 0xfffffff5
mov qword [rax + 0x10], r15
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
mov r14, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [rdi + 0x18], 7
mov r10, rdi
movups xmm0, xmmword [0x14081c3c0]
movups xmm1, xmmword [0x14081c3d0]
movzx eax, word [0x14081c408]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x14081c3e0]
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [0x14081c400]
movups xmmword [rbp - 0x19], xmm1
movups xmm1, xmmword [0x14081c3f0]
movsd qword [rbp + 0x17], xmm0
mov word [rbp + 0x1f], ax
movups xmmword [rbp + 7], xmm1
jbe 0x1407a13a1
mov r10, qword [rdi]
mov r15d, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
movaps xmmword [rsp + 0x80], xmm6
mov r8d, ebx
movaps xmmword [rsp + 0x70], xmm7
cmp r15d, 2
jl 0x1407a14e1
movdqa xmm5, xmmword [0x14081dbd0]
lea rcx, [rbp - 0x29]
movdqa xmm4, xmmword [0x14081dc20]
movdqa xmm6, xmmword [0x14081dbf0]
movdqa xmm7, xmmword [0x14081dc00]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x1407a13f0
cmp r8d, 0x25
jge 0x1407a1524
movsxd rax, r8d
lea r9, [rbp - 0x29]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0x25
jl 0x1407a14f0
mov rdx, r10
lea rcx, [rbp - 0x29]
call fcn.1407acf50
mov edx, listen
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [rsi + 0x18], 0xf
mov r8, qword [rsi + 0x10]
jbe 0x1407a154c
mov rsi, qword [rsi]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rsi
call fcn.140795770
mov rcx, rax
mov dl, reloc.WLDAP32.dll_Ordinal_32
call fcn.140794dd0
mov edx, 7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [rdi + 0x18], 7
movups xmm0, xmmword [0x14081c410]
movups xmm1, xmmword [0x14081c420]
mov eax, dword [0x14081c450]
mov rsi, qword [rsp + 0xb0]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x14081c430]
movups xmmword [rbp - 0x19], xmm1
movups xmm1, xmmword [0x14081c440]
mov dword [rbp + 0x17], eax
movzx eax, word [0x14081c454]
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm1
mov word [rbp + 0x1b], ax
jbe 0x1407a15c5
mov rdi, qword [rdi]
cmp r15d, 2
mov r15, qword [rsp + 0xb8]
jl 0x1407a16ec
movdqa xmm5, xmmword [0x14081dbd0]
lea rcx, [rbp - 0x29]
movdqa xmm4, xmmword [0x14081dc20]
movdqa xmm6, xmmword [0x14081dbf0]
movdqa xmm7, xmmword [0x14081dc00]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x20
jl 0x1407a1600
cmp ebx, 0x23
jge 0x1407a1730
movsxd rax, ebx
lea r8, [rbp - 0x29]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 2]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x39
xor word [r8 - 2], ax
cmp ebx, 0x23
jl 0x1407a1700
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.1407acf50
mov edx, listen
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [0x140850ae0], 0xf
lea rdx, [0x140850ac8]
mov r8, qword [0x140850ad8]
cmova rdx, qword [0x140850ac8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140795770
mov rcx, rax
mov dl, reloc.WLDAP32.dll_Ordinal_32
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.140794dd0