Function at 0x14001aa30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x80
lea rcx, [0x14005ef80]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001aa5d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14005efcc], 0x7fffffff
jne 0x14001aa7f
mov ecx, 6
mov dword [0x14005efcc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x90], rbx
mov esi, 5
mov qword [rsp + 0x98], rdi
xor ebx, ebx
cmp qword [0x140090668], rbx
mov edi, dword [0x14005d018]
mov qword [rsp + 0xa0], r14
lea r14d, [rsi + 0x1a]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
jne 0x14001ac62
cmp qword [0x140090438], rbx
je 0x14001adfd
cmp byte [0x14004ac65], bl
mov eax, dword [0x14004ac60]
movsd xmm0, qword [0x14004ac58]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14004ac64]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001ac54
mov r8d, ebx
cmp edi, 2
jl 0x14001ac11
movdqa xmm2, xmmword [0x140056760]
mov r8d, 8
movdqa xmm3, xmmword [0x140056770]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140056810]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400567a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14004ac58]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x60], 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 [0x1400567a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x5c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
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 ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001ac20
lea rcx, [rbp - 0x60]
call fcn.14001a0f0
jmp 0x14001adfd
cmp qword [0x140090438], rbx
jne 0x14001adfd
cmp byte [0x14004ac65], bl
mov eax, dword [0x14004ac60]
movsd xmm0, qword [0x14004ac58]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14004ac64]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001adf4
mov r8d, ebx
cmp edi, 2
jl 0x14001adb4
movdqa xmm2, xmmword [0x140056760]
mov r8d, 8
movdqa xmm3, xmmword [0x140056770]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140056810]
movdqa xmm0, xmm2
mov eax, dword [str.3333333333333333]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400567a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14004ac58]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x60], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400567a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400567c0]
movd xmm1, dword [rbp - 0x5c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop
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 ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001adc0
lea rcx, [rbp - 0x60]
call fcn.14001a180
cmp qword [0x140090670], rbx
jne 0x14001afe2
cmp qword [0x140090440], rbx
je 0x14001b1ad
cmp byte [0x14004ac81], bl
movups xmm0, xmmword [0x14004ac70]
movzx eax, word [0x14004ac80]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001afd4
mov r8d, ebx
cmp edi, 2
jl 0x14001af8d
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140056760]
movdqa xmm4, xmmword [0x140056810]
movdqa xmm7, xmmword [0x1400567a0]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
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
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 [0x1400567c0]
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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001ae80
cmp r8d, 0x12
jge 0x14001afd4
movsxd rax, r8d
lea r9, [rbp - 0x50]
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 ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001afa0
lea rcx, [rbp - 0x50]
call fcn.14001a0f0
jmp 0x14001b1ad
cmp qword [0x140090440], rbx
jne 0x14001b1ad
cmp byte [0x14004ac81], bl
movups xmm0, xmmword [0x14004ac70]
movzx eax, word [0x14004ac80]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001b1a4
mov r8d, ebx
cmp edi, 2
jl 0x14001b15f
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140056760]
movdqa xmm4, xmmword [0x140056810]
movdqa xmm7, xmmword [0x1400567a0]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
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
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 [0x1400567c0]
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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001b052
cmp r8d, 0x12
jge 0x14001b1a4
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [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 ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001b170
lea rcx, [rbp - 0x50]
call fcn.14001a180
cmp qword [0x140090678], rbx
jne 0x14001b38d
cmp qword [0x140090448], rbx
je 0x14001b568
cmp byte [0x14004acad], bl
mov eax, dword [0x14004aca8]
movups xmm0, xmmword [0x14004ac98]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14004acac]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001b37f
cmp edi, 2
jl 0x14001b338
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140056760]
movdqa xmm4, xmmword [0x140056810]
movdqa xmm7, xmmword [0x1400567a0]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
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
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 [0x1400567c0]
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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b230
cmp ebx, 0x16
jge 0x14001b37f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b350
lea rcx, [rbp - 0x50]
call fcn.14001a0f0
jmp 0x14001b568
cmp qword [0x140090448], rbx
jne 0x14001b568
cmp byte [0x14004acad], bl
mov eax, dword [0x14004aca8]
movups xmm0, xmmword [0x14004ac98]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14004acac]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001b55f
cmp edi, 2
jl 0x14001b518
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140056760]
movdqa xmm4, xmmword [0x140056810]
movdqa xmm7, xmmword [0x1400567a0]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
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
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 [0x1400567c0]
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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400567c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b410
cmp ebx, 0x16
jge 0x14001b55f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b530
lea rcx, [rbp - 0x50]
call fcn.14001a180
movups xmm0, xmmword [0x140090420]
lea rcx, [0x14005ef80]
movups xmm1, xmmword [0x140090430]
movups xmmword [0x140090650], xmm0
movups xmm0, xmmword [0x140090440]
movups xmmword [0x140090660], xmm1
movups xmmword [0x140090670], xmm0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]