Function at 0x14001ac30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
call fcn.140002420
xor ebx, ebx
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14001ae57
cmp dword [0x14008c098], 2
movups xmm0, xmmword [0x140071228]
movzx eax, byte [0x140071248]
movups xmm1, xmmword [0x140071238]
mov byte [rbp + 7], al
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm1
jl 0x14001ade4
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140082b80]
mov edi, 4
movdqa xmm4, xmmword [0x140082c10]
mov esi, 0x1f
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, edi
movd xmm8, esi
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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x20
jl 0x14001ace0
cmp ebx, 0x21
jge 0x14001ae1f
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x21
jl 0x14001adf0
cmp byte [0x140071189], 0
movzx eax, word [0x140071188]
mov word [rbp + 0x67], ax
je 0x14001ae3b
xor byte [rbp + 0x68], 0x37
mov byte [rbp + 0x67], 0x2d
lea r8, [rbp - 0x19]
mov ecx, 0xc
lea rdx, [rbp + 0x67]
call fcn.140001270
mov eax, 0xc0000001
jmp 0x14001b7e7
movups xmm0, xmmword [str.zXY___]
mov edi, 4
movzx eax, byte [0x14007a0d8]
movsd xmm1, qword [0x14007a0d0]
mov r8d, ebx
mov qword [rsp + 0xe8], r14
mov r14d, dword [0x14008c098]
movsd qword [rbp - 9], xmm1
lea esi, [rdi + 0x1b]
mov byte [rbp - 1], al
movups xmmword [rbp - 0x19], xmm0
cmp r14d, 2
jl 0x14001afdb
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140082b80]
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, edi
movd xmm8, esi
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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x14001aed2
cmp r8d, 0x19
jge 0x14001b023
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x19
jl 0x14001aff0
cmp byte [0x1400711dd], bl
movzx eax, word [0x1400711dc]
mov word [rbp + 0x67], ax
je 0x14001b03e
xor byte [rbp + 0x68], 0x37
mov byte [rbp + 0x67], 0x2b
lea r8, [rbp - 0x19]
mov ecx, 0xa
lea rdx, [rbp + 0x67]
call fcn.140001270
lea rax, [rbp + 0x67]
mov dword [rbp + 0x67], ebx
mov rcx, r15
mov qword [rsp + 0x48], rax
call fcn.140009d80
test rax, rax
jne 0x14001b24f
mov eax, dword [0x140071548]
mov dword [rbp - 9], eax
movzx eax, byte [0x14007154c]
mov byte [rbp - 5], al
movups xmm0, xmmword [0x140071538]
movups xmmword [rbp - 0x19], xmm0
cmp r14d, 2
jl 0x14001b1d4
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140082b80]
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, edi
movd xmm8, esi
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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b0d0
cmp ebx, 0x15
jge 0x14001b20f
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x15
jl 0x14001b1e0
cmp byte [0x140071189], 0
movzx eax, word [0x140071188]
mov word [rbp + 0x67], ax
je 0x14001b22b
xor byte [rbp + 0x68], 0x37
mov byte [rbp + 0x67], 0x2d
lea r8, [rbp - 0x19]
mov ecx, 0xc
lea rdx, [rbp + 0x67]
call fcn.140001270
mov rcx, r15
call fcn.140002fa0
mov eax, 0xc0000001
jmp 0x14001b7df
mov eax, dword [0x140071618]
mov r8d, ebx
movsd xmm0, qword [str.VHI__]
mov dword [rbp - 0x21], eax
movzx eax, word [0x14007161c]
mov word [rbp - 0x1d], ax
movzx eax, byte [0x14007161e]
mov byte [rbp - 0x1b], al
movsd qword [rbp - 0x29], xmm0
cmp r14d, 2
jl 0x14001b38e
movdqa xmm2, xmmword [0x140082b80]
mov r8d, 8
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140082b90]
movdqa xmm0, xmm2
mov eax, dword [0x140082bf0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, edi
movd xmm5, esi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140082bb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
movd xmm1, dword [str.VHI__]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x29], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140082bb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
movd xmm1, dword [rbp - 0x25]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x25], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xf
jl 0x14001b3a0
cmp byte [0x1400711dd], bl
movzx eax, word [0x1400711dc]
mov word [rbp + 0x67], ax
je 0x14001b3ee
xor byte [rbp + 0x68], 0x37
mov byte [rbp + 0x67], 0x2b
lea r8, [rbp - 0x29]
mov ecx, 0xa
lea rdx, [rbp + 0x67]
call fcn.140001270
mov rcx, r15
call fcn.140002fa0
test al, al
jne 0x14001b5f7
movzx eax, byte [0x140071740]
mov byte [rbp + 0xf], al
movups xmm0, xmmword [str.pVQU__]
movups xmm1, xmmword [0x140071728]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x140071738]
movsd qword [rbp + 7], xmm0
movups xmmword [rbp - 9], xmm1
cmp r14d, 2
jl 0x14001b584
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140082b80]
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, edi
movd xmm8, esi
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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x14001b480
cmp ebx, 0x29
jge 0x14001b5bf
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x29
jl 0x14001b590
cmp byte [0x140071189], 0
movzx eax, word [0x140071188]
mov word [rbp + 0x67], ax
je 0x14001b5db
xor byte [rbp + 0x68], 0x37
mov byte [rbp + 0x67], 0x2d
lea r8, [rbp - 0x19]
mov ecx, 0xc
lea rdx, [rbp + 0x67]
call fcn.140001270
mov eax, 0xc0000001
jmp 0x14001b7df
movzx eax, word [0x1400711a8]
movsd xmm1, qword [0x1400711a0]
mov word [rbp - 1], ax
movzx eax, byte [0x1400711aa]
mov byte [rbp + 1], al
movsd qword [rbp - 9], xmm1
movups xmm0, xmmword [str.cYTV__YY]
movups xmmword [rbp - 0x19], xmm0
cmp r14d, 2
jl 0x14001b774
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140082b80]
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, edi
movd xmm8, esi
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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x14001b670
cmp ebx, 0x1b
jge 0x14001b7af
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x1b
jl 0x14001b780
cmp byte [0x1400711dd], 0
movzx eax, word [0x1400711dc]
mov word [rbp + 0x67], ax
je 0x14001b7cb
xor byte [rbp + 0x68], 0x37
mov byte [rbp + 0x67], 0x2b
lea r8, [rbp - 0x19]
mov ecx, 0xa
lea rdx, [rbp + 0x67]
call fcn.140001270
xor eax, eax
mov r14, qword [rsp + 0xe8]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret