Function at 0x14001a9b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, [0x14005cff0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001a9d6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14005d03c], 0x7fffffff
jne 0x14001a9f8
mov ecx, 6
mov dword [0x14005d03c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x70], rbx
xor ebx, ebx
cmp qword [0x14008e6d8], rbx
mov qword [rsp + 0x78], rdi
mov edi, dword [0x14005b088]
movaps xmmword [rsp + 0x50], xmm6
jne 0x14001abaf
cmp qword [0x14008e4a8], rbx
je 0x14001ad3a
cmp byte [0x140049ccd], bl
mov eax, dword [0x140049cc8]
movsd xmm0, qword [0x140049cc0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x140049ccc]
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm0
je 0x14001aba1
mov r8d, ebx
cmp edi, 2
jl 0x14001ab5b
movdqa xmm2, xmmword [0x140055670]
mov r8d, 8
movdqa xmm4, xmmword [0x140055740]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140055680]
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, xmmword [0x1400556a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x140049cc0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.33333333333333336666666666666666]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400556a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.33333333333333336666666666666666]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop word [rax + 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, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001ab70
lea rcx, [rbp - 0x40]
call fcn.14001a090
jmp 0x14001ad3a
cmp qword [0x14008e4a8], rbx
jne 0x14001ad3a
cmp byte [0x140049ccd], bl
mov eax, dword [0x140049cc8]
movsd xmm0, qword [0x140049cc0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x140049ccc]
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm0
je 0x14001ad31
mov r8d, ebx
cmp edi, 2
jl 0x14001acf4
movdqa xmm2, xmmword [0x140055670]
mov r8d, 8
movdqa xmm4, xmmword [0x140055740]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140055680]
movdqa xmm0, xmm2
mov eax, dword [str.33333333333333336666666666666666]
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, xmmword [0x1400556a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140049cc0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400556a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
movd xmm1, dword [rbp - 0x3c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop
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, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001ad00
lea rcx, [rbp - 0x40]
call fcn.14001a120
cmp qword [0x14008e6e0], rbx
jne 0x14001af00
cmp qword [0x14008e4b0], rbx
je 0x14001b0bb
cmp byte [0x140049c99], bl
movups xmm0, xmmword [0x140049c88]
movzx eax, word [0x140049c98]
mov word [rbp - 0x20], ax
movups xmmword [rbp - 0x30], xmm0
je 0x14001aef2
mov r8d, ebx
cmp edi, 2
jl 0x14001aeb7
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 8
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001adb0
cmp r8d, 0x12
jge 0x14001aef2
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, 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, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001aec1
lea rcx, [rbp - 0x30]
call fcn.14001a090
jmp 0x14001b0bb
cmp qword [0x14008e4b0], rbx
jne 0x14001b0bb
cmp byte [0x140049c99], bl
movups xmm0, xmmword [0x140049c88]
movzx eax, word [0x140049c98]
mov word [rbp - 0x20], ax
movups xmmword [rbp - 0x30], xmm0
je 0x14001b0b2
mov r8d, ebx
cmp edi, 2
jl 0x14001b077
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 8
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001af70
cmp r8d, 0x12
jge 0x14001b0b2
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, 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, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001b081
lea rcx, [rbp - 0x30]
call fcn.14001a120
cmp qword [0x14008e6e8], rbx
jne 0x14001b28b
cmp qword [0x14008e4b8], rbx
je 0x14001b446
cmp byte [0x140049cb5], bl
mov eax, dword [0x140049cb0]
movups xmm0, xmmword [0x140049ca0]
mov dword [rbp - 0x20], eax
movzx eax, word [0x140049cb4]
movups xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x1c], ax
je 0x14001b27d
cmp edi, 2
jl 0x14001b242
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 ebx, 8
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b140
cmp ebx, 0x16
jge 0x14001b27d
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b250
lea rcx, [rbp - 0x30]
call fcn.14001a090
jmp 0x14001b446
cmp qword [0x14008e4b8], rbx
jne 0x14001b446
cmp byte [0x140049cb5], bl
mov eax, dword [0x140049cb0]
movups xmm0, xmmword [0x140049ca0]
mov dword [rbp - 0x20], eax
movzx eax, word [0x140049cb4]
movups xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x1c], ax
je 0x14001b43d
cmp edi, 2
jl 0x14001b402
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 ebx, 8
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b300
cmp ebx, 0x16
jge 0x14001b43d
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b410
lea rcx, [rbp - 0x30]
call fcn.14001a120
movups xmm0, xmmword [0x14008e490]
lea rcx, [0x14005cff0]
movups xmm1, xmmword [0x14008e4a0]
movups xmmword [0x14008e6c0], xmm0
movups xmm0, xmmword [0x14008e4b0]
movups xmmword [0x14008e6d0], xmm1
movups xmmword [0x14008e6e0], xmm0
movaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]