Function at 0x1400ad660
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14018a080]
xor rax, rsp
mov qword [rbp + 0x37], rax
call fcn.1400b2330
cmp byte [0x141683f28], 0
je 0x1400ad9f9
call fcn.1400b1090
cmp byte [0x141683f3a], 0
je 0x1400ad6d3
lea rcx, [rbp - 9]
call fcn.1400ab080
nop
lea rcx, [rbp + 0x17]
call fcn.1400a88a0
lea rcx, [rbp + 0x17]
call fcn.14003d4b0
nop
lea rcx, [rbp - 9]
call fcn.14003d4b0
cmp byte [0x141683f39], 0
je 0x1400ad6ee
lea rcx, [rbp + 0x17]
call fcn.1400ab080
lea rcx, [rbp + 0x17]
call fcn.14003d4b0
movups xmm0, xmmword [0x14016f868]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x14016f878]
movsd qword [rbp + 0x27], xmm0
xor r10d, r10d
cmp byte [0x14016f87f], r10b
je 0x1400ad8a3
cmp dword [0x14018a0d8], 2
jl 0x1400ad85a
movdqa xmm5, xmmword [0x140174030]
mov edx, r10d
movdqa xmm4, xmmword [0x1401743e0]
movdqa xmm6, xmmword [0x1401740b0]
movdqa xmm0, xmmword [0x1401741c0]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0x1b]
mov r8d, dword [rbp - 9]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x1400ad753
jmp 0x1400ad8a3
lea r9, [rbp + 0x17]
mov r8d, r10d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x1400ad870
lea rax, [rbp + 0x17]
mov qword [rbp - 9], rax
mov rax, qword [0x141683fb8]
cmp rax, qword [0x141683fc0]
je 0x1400ad8fd
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r10
mov qword [rax + 0x18], r10
lea rcx, [rbp + 0x17]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], r10b
jne 0x1400ad8d4
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.140058ef0
mov rsi, qword [0x141683fb8]
add rsi, 0x20
mov qword [0x141683fb8], rsi
jmp 0x1400ad910
lea r8, [rbp - 9]
mov rdx, rax
call fcn.140088050
mov rsi, qword [0x141683fb8]
mov rbx, qword [0x141683fb0]
cmp rbx, rsi
je 0x1400ad9f9
mov eax, dword [0x14016fab8]
mov dword [rbp - 9], eax
movzx eax, word [0x14016fabc]
mov word [rbp - 5], ax
mov byte [rbp - 9], 0x5b
xor byte [rbp - 8], 0x32
xor byte [rbp - 7], 0x33
xor byte [rbp - 6], 0x34
xor al, 0x35
mov byte [rbp - 5], al
xor byte [rbp - 4], 0x36
lea rcx, [rbp - 9]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ad960
mov rcx, rbx
mov rdi, qword [rbx + 0x18]
cmp rdi, 0xf
jbe 0x1400ad979
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 9]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.14005f460
cmp rax, 0xffffffffffffffff
je 0x1400ad9b6
mov rdx, rbx
cmp rdi, 0xf
jbe 0x1400ad9a0
mov rdx, qword [rbx]
movaps xmm0, xmmword [0x1401742d0]
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call fcn.140051010
jmp 0x1400ad9ec
movzx eax, word [0x14016f948]
mov word [rbp - 0x19], ax
movzx eax, byte [0x14016f94a]
cmp rdi, 0xf
jbe 0x1400ad9d3
mov rdx, qword [rbx]
jmp 0x1400ad9d6
mov rdx, rbx
mov byte [rbp - 0x19], 0x25
xor byte [rbp - 0x18], 0x32
xor al, 0x33
mov byte [rbp - 0x17], al
lea rcx, [rbp - 0x19]
call fcn.140050ea0
add rbx, 0x20
cmp rbx, rsi
jne 0x1400ad920
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140144da0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret