Function at 0x1400167c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movsd xmm0, qword [0x1400715e8]
xor ebx, ebx
cmp byte [0x1400715f5], bl
mov esi, dword [0x14008c098]
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
lea r15d, [rbx + 4]
movaps xmmword [rax - 0x58], xmm8
lea r12d, [rbx + 0x1f]
mov qword [rax + 0x10], rdi
mov eax, dword [0x1400715f0]
mov dword [rbp - 0x58], eax
movzx eax, word [0x1400715f4]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x140016983
mov r8d, ebx
cmp esi, 2
jl 0x14001693a
movdqa xmm2, xmmword [0x140082b80]
mov r8d, 8
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140082b90]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
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
movd xmm0, dword [0x1400715e8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140082bf0]
pxor 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 [0x140082bb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x5c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140082bf0]
pxor xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop dword [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, 0xe
jl 0x140016950
lea rcx, [rbp - 0x60]
call fcn.140015ba0
movsd xmm0, qword [0x1400717d8]
mov r8d, ebx
movzx r14d, al
mov eax, dword [0x1400717e0]
mov dword [rbp - 0x58], eax
movzx eax, byte [0x1400717e4]
mov byte [rbp - 0x54], al
movsd qword [rbp - 0x60], xmm0
cmp esi, 2
jl 0x140016ac5
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, r15d
movd xmm5, r12d
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 [0x1400717d8]
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 - 0x60], 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 - 0x5c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop
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, 0xd
jl 0x140016ad0
lea rcx, [rbp - 0x60]
call fcn.140015ba0
movsd xmm0, qword [str._XVU]
lea rcx, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm0
xor byte [rbp - 0x5f], 0x37
xor byte [rbp - 0x5e], 0x38
xor byte [rbp - 0x5d], 0x39
xor byte [rbp - 0x5c], 0x3a
xor byte [rbp - 0x5b], 0x3b
xor byte [rbp - 0x5a], 0x3c
xor byte [rbp - 0x59], 0x3d
movzx edi, al
movzx eax, byte [0x140071258]
add edi, r14d
xor al, 0x3e
mov byte [rbp - 0x60], 0x6d
mov byte [rbp - 0x58], al
call fcn.140015ba0
movzx ecx, byte [0x1400714da]
movsd xmm0, qword [0x1400714d0]
xor cl, 0x40
movsd qword [rbp - 0x60], xmm0
xor byte [rbp - 0x5f], 0x37
xor byte [rbp - 0x5e], 0x38
xor byte [rbp - 0x5d], 0x39
xor byte [rbp - 0x5c], 0x3a
xor byte [rbp - 0x5b], 0x3b
xor byte [rbp - 0x5a], 0x3c
xor byte [rbp - 0x59], 0x3d
movzx r14d, al
movzx eax, word [0x1400714d8]
add r14d, edi
mov word [rbp - 0x58], ax
xor al, 0x3e
xor byte [rbp - 0x57], 0x3f
mov byte [rbp - 0x56], cl
lea rcx, [rbp - 0x60]
mov byte [rbp - 0x58], al
mov byte [rbp - 0x60], 0x74
call fcn.140015ba0
mov rdi, qword [rsp + 0xb8]
movzx eax, al
add r14d, eax
jne 0x140016db2
cmp byte [0x140071675], bl
mov eax, dword [0x140071670]
movups xmm0, xmmword [0x140071658]
mov dword [rbp - 0x38], eax
movzx eax, word [0x140071674]
movsd xmm1, qword [0x140071668]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm1
je 0x140016d7f
cmp esi, 2
jl 0x140016d44
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140082b80]
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, r15d
movd xmm8, r12d
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, 0x18
jl 0x140016c40
cmp ebx, 0x1e
jge 0x140016d7f
movsxd rax, ebx
lea r8, [rbp - 0x50]
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, 0x1e
jl 0x140016d50
cmp byte [0x1400711dd], 0
movzx eax, word [0x1400711dc]
mov word [rbp + 0x30], ax
je 0x140016d9b
xor byte [rbp + 0x31], 0x37
mov byte [rbp + 0x30], 0x2b
lea r8, [rbp - 0x50]
mov ecx, 0xa
lea rdx, [rbp + 0x30]
call fcn.140001270
jmp 0x140016f80
mov eax, dword [0x140071328]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x14007132c]
mov byte [rbp - 0x3c], al
movups xmm0, xmmword [0x140071318]
movups xmmword [rbp - 0x50], xmm0
cmp esi, 2
jl 0x140016f14
movdqa xmm0, xmmword [0x140082bf0]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140082b80]
movdqa xmm4, xmmword [0x140082c10]
movdqa xmm7, xmmword [0x140082bb0]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, r15d
movd xmm8, r12d
nop
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 0x140016e10
cmp ebx, 0x15
jge 0x140016f4f
movsxd rax, ebx
lea r8, [rbp - 0x50]
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 0x140016f20
cmp byte [0x1400711dd], 0
movzx eax, word [0x1400711dc]
mov word [rbp + 0x30], ax
je 0x140016f6b
xor byte [rbp + 0x31], 0x37
mov byte [rbp + 0x30], 0x2b
mov r9d, r14d
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x30]
mov ecx, 0xa
call fcn.140001270
mov rbx, qword [rsp + 0xc0]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret