Function at 0x1400014a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140006640]
test rax, rax
je 0x140001db5
mov edi, 1
mov dword [rcx + 4], edx
mov word [rcx + 2], di
call rax
test rax, rax
jne 0x1400016b5
cmp word [rbx + 2], di
jne 0x1400016b5
cmp byte [0x14000436b], 0
movups xmm0, xmmword [str.vA_CSE]
mov eax, dword [0x140004368]
mov dword [rbp + 7], eax
movups xmmword [rbp - 9], xmm0
je 0x1400016ac
xor ecx, ecx
cmp dword [0x140006018], 2
jl 0x140001672
movdqa xmm0, xmmword [0x1400045f0]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x1400045a0]
mov eax, 0x1f
movdqa xmm4, xmmword [0x1400045e0]
movdqa xmm7, xmmword [0x1400045c0]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movd xmm8, eax
movd xmm6, edi
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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 [0x1400045d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001570
cmp ecx, 0x14
jge 0x1400016ac
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x140001680
lea rcx, [rbp - 9]
jmp 0x140001db0
cmp byte [rbx], 0
movzx eax, word [rbx + 2]
je 0x1400016c9
test ax, ax
sete al
jmp 0x140001db7
mov ecx, eax
sub ecx, 2
je 0x140001bf5
sub ecx, edi
je 0x140001a35
sub ecx, edi
je 0x140001875
cmp ecx, edi
jne 0x140001db5
mov eax, dword [str.ZH_]
xor ecx, ecx
cmp dword [0x140006018], 2
movsd xmm0, qword [str._BTZ_]
mov dword [rbp - 0x11], eax
movzx eax, word [0x14000437c]
mov word [rbp - 0xd], ax
movzx eax, byte [0x14000437e]
mov byte [rbp - 0xb], al
movsd qword [rbp - 0x19], xmm0
jl 0x14000182d
movdqa xmm2, xmmword [0x1400045a0]
mov eax, 0x1f
movdqa xmm4, xmmword [0x1400045e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400045b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, eax
mov eax, dword [0x1400045f0]
movd xmm6, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400045c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str._BTZ_]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x19], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400045c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400045d0]
movd xmm1, dword [rbp - 0x15]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x15], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0xf
jl 0x140001840
lea rcx, [rbp - 0x19]
jmp 0x140001db0
movups xmm0, xmmword [0x140004310]
mov eax, dword [0x140004338]
xor ecx, ecx
cmp dword [0x140006018], 2
movups xmm1, xmmword [0x140004320]
mov dword [rbp + 0x1f], eax
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [0x140004330]
movsd qword [rbp + 0x17], xmm0
movups xmmword [rbp + 7], xmm1
jl 0x1400019f2
movdqa xmm0, xmmword [0x1400045f0]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x1400045a0]
mov eax, 0x1f
movdqa xmm4, xmmword [0x1400045e0]
movdqa xmm7, xmmword [0x1400045c0]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movd xmm8, eax
movd xmm6, edi
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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 [0x1400045d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x1400018f0
cmp ecx, 0x2c
jge 0x140001a2c
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x2c
jl 0x140001a00
lea rcx, [rbp - 9]
jmp 0x140001db0
movups xmm0, xmmword [str.aVW_DL_]
movzx eax, byte [0x1400043b8]
xor ecx, ecx
cmp dword [0x140006018], 2
movups xmmword [rbp - 9], xmm0
mov byte [rbp + 0xf], al
movsd xmm0, qword [0x1400043b0]
movsd qword [rbp + 7], xmm0
jl 0x140001bb2
movdqa xmm0, xmmword [0x1400045f0]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x1400045a0]
mov eax, 0x1f
movdqa xmm4, xmmword [0x1400045e0]
movdqa xmm7, xmmword [0x1400045c0]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movd xmm8, eax
movd xmm6, edi
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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 [0x1400045d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140001ab0
cmp ecx, 0x19
jge 0x140001bec
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140001bc0
lea rcx, [rbp - 9]
jmp 0x140001db0
cmp byte [0x140004351], 0
movups xmm0, xmmword [0x140004340]
movzx eax, word [0x140004350]
mov word [rbp + 7], ax
movups xmmword [rbp - 9], xmm0
je 0x140001dac
xor ecx, ecx
cmp dword [0x140006018], 2
jl 0x140001d72
movdqa xmm0, xmmword [0x1400045f0]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x1400045a0]
mov eax, 0x1f
movdqa xmm4, xmmword [0x1400045e0]
movdqa xmm7, xmmword [0x1400045c0]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movd xmm8, eax
movd xmm6, edi
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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 [0x1400045d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001c70
cmp ecx, 0x12
jge 0x140001dac
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x140001d80
lea rcx, [rbp - 9]
call fcn.140001020
xor al, al
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret