Function at 0x14001a8f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
lea rcx, [0x14005ff80]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001a919
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14005ffcc], 0x7fffffff
jne 0x14001a93b
mov ecx, 6
mov dword [0x14005ffcc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp qword [0x140091668], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rdi
mov edi, dword [0x14005e018]
lea esi, [rbx + 4]
mov qword [rsp + 0xa8], r14
lea r14d, [rbx + 0x1f]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
jne 0x14001ab1f
cmp qword [0x140091438], rbx
je 0x14001acba
cmp byte [0x14004bc65], bl
mov eax, dword [0x14004bc60]
movsd xmm0, qword [0x14004bc58]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14004bc64]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001ab11
mov r8d, ebx
cmp edi, 2
jl 0x14001aacb
movdqa xmm2, xmmword [0x1400578d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400579a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400578e0]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14004bc58]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140057980]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x5c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140057980]
xorps xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001aae0
lea rcx, [rbp - 0x60]
call fcn.140019fd0
jmp 0x14001acba
cmp qword [0x140091438], rbx
jne 0x14001acba
cmp byte [0x14004bc65], bl
mov eax, dword [0x14004bc60]
movsd xmm0, qword [0x14004bc58]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14004bc64]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001acb1
mov r8d, ebx
cmp edi, 2
jl 0x14001ac69
movdqa xmm2, xmmword [0x1400578d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400579a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400578e0]
movdqa xmm0, xmm2
mov eax, dword [0x140057980]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14004bc58]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x60], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
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 dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001ac80
lea rcx, [rbp - 0x60]
call fcn.14001a060
cmp qword [0x140091670], rbx
jne 0x14001ae8f
cmp qword [0x140091440], rbx
je 0x14001b04a
cmp byte [0x14004bc79], bl
movups xmm0, xmmword [str.wtlplrhdal]
movzx eax, word [0x14004bc78]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001ae81
mov r8d, ebx
cmp edi, 2
jl 0x14001ae45
movdqa xmm0, xmmword [0x140057980]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400578d0]
movdqa xmm4, xmmword [0x1400579a0]
movdqa xmm7, xmmword [0x140057900]
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
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 [0x140057940]
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, 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 [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001ad40
cmp r8d, 0x12
jge 0x14001ae81
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001ae50
lea rcx, [rbp - 0x50]
call fcn.140019fd0
jmp 0x14001b04a
cmp qword [0x140091440], rbx
jne 0x14001b04a
cmp byte [0x14004bc79], bl
movups xmm0, xmmword [str.wtlplrhdal]
movzx eax, word [0x14004bc78]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001b041
mov r8d, ebx
cmp edi, 2
jl 0x14001b005
movdqa xmm0, xmmword [0x140057980]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400578d0]
movdqa xmm4, xmmword [0x1400579a0]
movdqa xmm7, xmmword [0x140057900]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
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, 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 [0x140057940]
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, 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 [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001af00
cmp r8d, 0x12
jge 0x14001b041
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001b010
lea rcx, [rbp - 0x50]
call fcn.14001a060
cmp qword [0x140091678], rbx
jne 0x14001b21b
cmp qword [0x140091448], rbx
je 0x14001b3e6
cmp byte [0x14004bcb5], bl
mov eax, dword [0x14004bcb0]
movups xmm0, xmmword [str.wtlplrhdau]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14004bcb4]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001b20d
cmp edi, 2
jl 0x14001b1d0
movdqa xmm0, xmmword [0x140057980]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400578d0]
movdqa xmm4, xmmword [0x1400579a0]
movdqa xmm7, xmmword [0x140057900]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
nop dword [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, 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 [0x140057940]
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, 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 [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b0d0
cmp ebx, 0x16
jge 0x14001b20d
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b1e0
lea rcx, [rbp - 0x50]
call fcn.140019fd0
jmp 0x14001b3e6
cmp qword [0x140091448], rbx
jne 0x14001b3e6
cmp byte [0x14004bcb5], bl
mov eax, dword [0x14004bcb0]
movups xmm0, xmmword [str.wtlplrhdau]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14004bcb4]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001b3dd
cmp edi, 2
jl 0x14001b3a0
movdqa xmm0, xmmword [0x140057980]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400578d0]
movdqa xmm4, xmmword [0x1400579a0]
movdqa xmm7, xmmword [0x140057900]
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
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 [0x140057940]
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, 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 [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b2a0
cmp ebx, 0x16
jge 0x14001b3dd
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b3b0
lea rcx, [rbp - 0x50]
call fcn.14001a060
movups xmm0, xmmword [0x140091420]
lea rcx, [0x14005ff80]
movups xmm1, xmmword [0x140091430]
movups xmmword [0x140091650], xmm0
movups xmm0, xmmword [0x140091440]
movups xmmword [0x140091660], xmm1
movups xmmword [0x140091670], xmm0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]