Function at 0x1400171c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov eax, dword [0x14004caac]
xorps xmm0, xmm0
mov r10d, dword [0x140060018]
mov ebx, 5
xor ecx, ecx
mov dword [rbp + 0x20], eax
cmp byte [0x14004caaf], cl
movups xmmword [rsp + 0x60], xmm0
lea r11d, [rbx + 0x1a]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
je 0x1400172f4
cmp r10d, 2
jl 0x1400172b1
movdqa xmm3, xmmword [0x140059640]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140059730]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140059730]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, ebx
psrad xmm2, xmm0
movd xmm0, r11d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140059690]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000001111111111111111]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x20], xmm2
jmp 0x1400172f4
lea r9, [rbp + 0x20]
mov r8d, ecx
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400172c0
movsd xmm0, qword [str.CRFE]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov r8d, ecx
mov eax, dword [str.OVU_YO_]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14004ca94]
movaps xmmword [rsp + 0x100], xmm6
mov word [rsp + 0x3c], ax
movzx eax, byte [0x14004ca96]
movaps xmmword [rsp + 0xf0], xmm7
mov byte [rsp + 0x3e], al
movaps xmmword [rsp + 0xe0], xmm8
mov qword [rsp + 0x70], rcx
movsd qword [rsp + 0x30], xmm0
cmp r10d, 2
jl 0x14001746a
movdqa xmm2, xmmword [0x140059640]
mov r8d, 8
movdqa xmm3, xmmword [0x140059650]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140059730]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, r11d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059690]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.CRFE]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000001111111111111111]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059690]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x34]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000001111111111111111]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x140017480
cmp byte [0x14004cacd], cl
lea rax, [rsp + 0x30]
movups xmm0, xmmword [0x14004cab0]
mov qword [rbp - 0x80], rax
mov eax, dword [0x14004cac8]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [str.m_2]
movzx eax, word [0x14004cacc]
movsd qword [rsp + 0x50], xmm0
mov word [rsp + 0x5c], ax
mov qword [rbp - 0x58], rcx
je 0x14001768f
cmp r10d, 2
jl 0x14001764c
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
lea rdx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059730]
movdqa xmm7, xmmword [0x140059690]
movdqa xmmword [rbp - 0x30], xmm0
mov r8d, dword [rbp - 0x30]
movd xmm6, ebx
movd xmm8, r11d
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
mov eax, ecx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140017540
cmp eax, 0x1e
jge 0x14001768f
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x140017660
lea rax, [rsp + 0x40]
lea rcx, [0x140062fe0]
mov qword [rbp - 0x48], rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
test eax, eax
je 0x1400176cb
mov ecx, ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14006302c], 0x7fffffff
jne 0x1400176ed
mov ecx, 6
mov dword [0x14006302c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8d, dword [0x140061440]
lea rcx, [0x140093688]
lea eax, [r8 + 1]
mov dword [0x140061440], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14001e560
mov qword [0x140093680], rax
lea rcx, [0x140062fe0]
mov eax, 1
xchg byte [0x140061f76], al
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x140093218]
test rcx, rcx
je 0x140017749
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rbp
ret