Function at 0x14005ba90
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 - 0x1c8]
sub rsp, 0x2a0
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 + 0x1c8]
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 [0x1401773c8], r12b
je 0x14005bcd8
movups xmm0, xmmword [str.tYUVRRZ]
movups xmmword [rsp + 0x20], xmm0
movzx eax, byte [0x14013bc58]
mov byte [rsp + 0x30], al
mov ecx, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005bc72
movdqa xmm5, xmmword [0x1400eaa10]
movdqa xmm4, xmmword [0x14013d570]
movdqa xmm6, xmmword [0x14013d530]
movdqa xmm0, xmmword [0x14013d5b0]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x24]
mov r8d, dword [rsp + 0x50]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14013d550]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14013d550]
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 0x14005bb70
cmp ecx, 0x11
jge 0x14005bcad
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x14005bc80
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.140049cd0
lea rdx, [0x14004b550]
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 0x14005bced
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
jmp 0x14005bdec
lea rcx, [rsi + 0x658]
call fcn.14004b5d0
shl eax, 4
movsxd rcx, eax
add rcx, 0x610
add rcx, rsi
call fcn.14004b8b0
lea ecx, [r15 + r15*2]
shl ecx, 5
movsxd rdx, ecx
add rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14004b7b0
lea rdx, [rsi + 0x240]
lea rcx, [rbp - 0x20]
call fcn.14004b7b0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.140050ee0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x40]
call fcn.140050ee0
movaps xmmword [rbp - 0x60], xmm6
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm8
movaps xmmword [rbp - 0x30], 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 - 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x120]
call fcn.140050210
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 + 0x2a0]
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