Function at 0x1400566e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov r15d, r9d
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea r13, [rbp + 0x148]
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r13
mov rbx, qword [r13]
xor rbx, rax
mov qword [rsp + 0x38], rbx
xor r12d, r12d
mov qword [r13], r12
cmp byte [0x1400e2c30], r12b
je 0x140056916
movups xmm0, xmmword [str.uVTUSU_]
movups xmmword [rsp + 0x20], xmm0
movzx eax, byte [0x1400c13b8]
mov byte [rsp + 0x30], al
mov ecx, r12d
cmp dword [0x1400e2798], 2
jl 0x1400568b4
movdqa xmm4, xmmword [0x140070170]
movdqa xmm3, xmmword [0x1400c2190]
movdqa xmm5, xmmword [0x1400c2160]
movdqa xmm0, xmmword [0x1400c21c0]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x24]
movdqa xmm6, xmmword [0x1400c2170]
mov r8d, dword [rsp + 0x50]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400567d0
cmp ecx, 0x11
jge 0x1400568eb
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x1400568c0
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140048bb0
lea rdx, [0x140049660]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs rax, 0xff00ff00ff00ff00
test r14, r14
jne 0x14005692b
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
jmp 0x140056a26
lea rcx, [rsi + 0x600]
call fcn.1400496e0
shl eax, 4
movsxd rcx, eax
add rcx, 0x5b8
add rcx, rsi
call fcn.1400499e0
lea ecx, [r15 + r15*2]
shl ecx, 5
movsxd rdx, ecx
add rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400498e0
lea rdx, [rsi + 0x1c0]
lea rcx, [rsp + 0x60]
call fcn.1400498e0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004d710
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14004d710
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x20], xmm8
movaps xmmword [rbp - 0x10], xmm9
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x70], xmm1
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14004c9b0
movups xmm4, xmmword [rax + 0x30]
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movaps xmm1, xmm4
shufps xmm1, xmm4, 0x55
xorps xmm2, xmm2
cvtss2sd xmm2, xmm1
xorps xmm0, xmm0
cvtss2sd xmm0, xmm4
movsd qword [rdi], xmm0
movsd qword [rdi + 8], xmm2
movsd qword [rdi + 0x10], xmm3
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
mov rax, rdi
mov qword [r13], rbx
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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