Function at 0x1400338a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movups xmm1, xmmword [0x14006db38]
mov r10d, dword [0x140081090]
xor r8d, r8d
movdqa xmm5, xmmword [0x14007a450]
xorps xmm0, xmm0
movdqa xmm3, xmmword [0x14007a3c0]
mov ecx, r8d
movdqa xmm4, xmmword [0x14007a4d0]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [str.222244445555]
movaps xmmword [rax - 0x28], xmm7
movzx eax, word [0x14006db48]
movdqa xmm7, xmmword [0x14007a480]
mov word [rsp + 0x70], ax
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
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [0x14006db28]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x50], xmm0
cmp r10d, 2
jl 0x140033a36
movdqa xmmword [rsp + 0x30], xmm7
lea rdx, [rsp + 0x54]
mov r9d, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm3
add ecx, 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, r9d
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm3
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movd xmm0, r9d
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140033950
cmp ecx, 0x22
jge 0x140033a7d
movsxd rax, ecx
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r9 - 1], al
cmp ecx, 0x22
jl 0x140033a50
cmp byte [0x14006db61], r8b
lea rax, [rsp + 0x50]
movups xmm2, xmmword [str.gPXR_]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
movzx eax, word [0x14006db60]
mov word [rsp + 0x40], ax
mov qword [rbp - 0x70], r8
movups xmmword [rsp + 0x30], xmm2
je 0x140033c91
cmp r10d, 2
jl 0x140033c52
movdqa xmm1, xmm3
movd eax, xmm2
movdqa xmm2, xmmword [0x14007a3d0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd ecx, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x30], xmm3
movdqa xmm3, xmmword [0x14007a3e0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x34], xmm2
movdqa xmm2, xmmword [0x14007a3f0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x38]
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x38], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
andps xmm2, xmm5
packuswb xmm2, xmm2
mov r8d, 0x10
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x140033c60
lea rax, [rsp + 0x30]
mov dword [rbp - 0x34], 5
mov qword [rbp - 0x60], rax
lea rcx, [0x140082500]
lea rax, str.MTI4NzM0OjFpMmhuZToxMjMxMjM
mov ebx, 1
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x38], ebx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140033cd1
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14008254c], 0x7fffffff
jne 0x140033cf3
mov ecx, 6
mov dword [0x14008254c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8d, dword [0x140082550]
lea rcx, [0x1400b4848]
lea eax, [r8 + 1]
mov dword [0x140082550], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.14003b7a0
mov qword [0x1400b4840], rax
lea rcx, [0x140082500]
xchg byte [0x1400841ea], bl
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x1400b4700]
test rcx, rcx
je 0x140033d49
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret