Function at 0x14001bab0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, [0x14004ffe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001bad6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14005002c], 0x7fffffff
jne 0x14001baf8
mov ecx, 6
mov dword [0x14005002c], 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 [0x1400816e8], rbx
mov qword [rsp + 0x78], rdi
mov edi, dword [0x14004e088]
movaps xmmword [rsp + 0x50], xmm6
jne 0x14001bcb2
cmp qword [0x1400814b8], rbx
je 0x14001be4d
cmp byte [0x14003db85], bl
mov eax, dword [0x14003db80]
movsd xmm0, qword [0x14003db78]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14003db84]
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm0
je 0x14001bca4
mov r8d, ebx
cmp edi, 2
jl 0x14001bc63
movdqa xmm2, xmmword [0x140048bc0]
mov r8d, 8
movdqa xmm3, xmmword [0x140048bd0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140048cd0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140048c10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14003db78]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140048c40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140048c60]
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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140048c10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140048c40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140048c60]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001bc70
lea rcx, [rbp - 0x40]
call fcn.14001b180
jmp 0x14001be4d
cmp qword [0x1400814b8], rbx
jne 0x14001be4d
cmp byte [0x14003db85], bl
mov eax, dword [0x14003db80]
movsd xmm0, qword [0x14003db78]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14003db84]
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm0
je 0x14001be44
mov r8d, ebx
cmp edi, 2
jl 0x14001bdff
movdqa xmm2, xmmword [0x140048bc0]
mov r8d, 8
movdqa xmm3, xmmword [0x140048bd0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140048cd0]
movdqa xmm0, xmm2
mov eax, dword [0x140048c60]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140048c10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140048c40]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14003db78]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x40], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140048c10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140048c40]
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 dword [rax]
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001be10
lea rcx, [rbp - 0x40]
call fcn.14001b210
cmp qword [0x1400816f0], rbx
jne 0x14001c022
cmp qword [0x1400814c0], rbx
je 0x14001c1ed
cmp byte [0x14003db69], bl
movups xmm0, xmmword [0x14003db58]
movzx eax, word [0x14003db68]
mov word [rbp - 0x20], ax
movups xmmword [rbp - 0x30], xmm0
je 0x14001c014
mov r8d, ebx
cmp edi, 2
jl 0x14001bfd0
movdqa xmm0, xmmword [0x140048c60]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140048bc0]
movdqa xmm4, xmmword [0x140048cd0]
movdqa xmm6, xmmword [0x140048c10]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
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, 5
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 [0x140048c40]
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, 5
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 [0x140048c40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001bec1
cmp r8d, 0x12
jge 0x14001c014
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001bfe0
lea rcx, [rbp - 0x30]
call fcn.14001b180
jmp 0x14001c1ed
cmp qword [0x1400814c0], rbx
jne 0x14001c1ed
cmp byte [0x14003db69], bl
movups xmm0, xmmword [0x14003db58]
movzx eax, word [0x14003db68]
mov word [rbp - 0x20], ax
movups xmmword [rbp - 0x30], xmm0
je 0x14001c1e4
mov r8d, ebx
cmp edi, 2
jl 0x14001c19f
movdqa xmm0, xmmword [0x140048c60]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140048bc0]
movdqa xmm4, xmmword [0x140048cd0]
movdqa xmm6, xmmword [0x140048c10]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop dword [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, 5
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 [0x140048c40]
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, 5
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 [0x140048c40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001c090
cmp r8d, 0x12
jge 0x14001c1e4
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001c1b0
lea rcx, [rbp - 0x30]
call fcn.14001b210
cmp qword [0x1400816f8], rbx
jne 0x14001c3cd
cmp qword [0x1400814c8], rbx
je 0x14001c598
cmp byte [0x14003dbad], bl
mov eax, dword [0x14003dba8]
movups xmm0, xmmword [str.pqgc]
mov dword [rbp - 0x20], eax
movzx eax, word [0x14003dbac]
movups xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x1c], ax
je 0x14001c3bf
cmp edi, 2
jl 0x14001c37a
movdqa xmm0, xmmword [0x140048c60]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140048bc0]
movdqa xmm4, xmmword [0x140048cd0]
movdqa xmm6, xmmword [0x140048c10]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x140048c40]
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, 5
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 [0x140048c40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001c270
cmp ebx, 0x16
jge 0x14001c3bf
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
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, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001c390
lea rcx, [rbp - 0x30]
call fcn.14001b180
jmp 0x14001c598
cmp qword [0x1400814c8], rbx
jne 0x14001c598
cmp byte [0x14003dbad], bl
mov eax, dword [0x14003dba8]
movups xmm0, xmmword [str.pqgc]
mov dword [rbp - 0x20], eax
movzx eax, word [0x14003dbac]
movups xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x1c], ax
je 0x14001c58f
cmp edi, 2
jl 0x14001c54a
movdqa xmm0, xmmword [0x140048c60]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140048bc0]
movdqa xmm4, xmmword [0x140048cd0]
movdqa xmm6, xmmword [0x140048c10]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x140048c40]
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, 5
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 [0x140048c40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001c440
cmp ebx, 0x16
jge 0x14001c58f
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
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, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001c560
lea rcx, [rbp - 0x30]
call fcn.14001b210
movups xmm0, xmmword [0x1400814a0]
lea rcx, [0x14004ffe0]
movups xmm1, xmmword [0x1400814b0]
movups xmmword [0x1400816d0], xmm0
movups xmm0, xmmword [0x1400814c0]
movups xmmword [0x1400816e0], xmm1
movups xmmword [0x1400816f0], 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]