Function at 0x1400aeec0
Capabilities:
Encode data using xor

Disassembly:
xchg r13, rbx
mov qword [rsp + 8], r13
xchg r13, rbx
xchg rdx, rbp
mov qword [rsp + 0x10], rdx
xchg rdx, rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp - 0x40], ebp
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r13
mov dword [rsp - 0x28], esp
nop
sub rsp, 8
mov qword [rsp], r14
nop
sub rsp, 8
mov qword [rsp], r15
movsxd rax, r8d
mov r13, r13
xchg rcx, rdi
mov r13, rdi
xchg rcx, rdi
xor ecx, ecx
xchg r12, r9
mov r9, r12
xchg r9, r12
xchg r15, rbx
mov r15, rdx
xchg rbx, r15
mov r10d, ecx
lea r11, [rax + rax*2]
mov dword [rsp - 0x38], ebx
shl r11, 2
nop word [rax + rax]
movsxd rax, dword [r12 + r10*4]
mov edi, ecx
mov r14, r14
mov r9, qword [r13 + 8]
add r9, r11
mov dword [r9 + 8], ecx
mov dword [rsp - 0x14], 0x656d630f
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
and eax, 3
mov qword [r9], 0x4853a60f
sub qword [r9], 0x7f54192
add qword [r9], 0x2a4f3645
sub qword [r9], 0x6aad9ac2
lea rsi, [rbx + rax*2]
lea rax, [rcx + 1]
xchg rsi, rsi
and eax, 3
lea r14, [rbx + rax*2]
lea rax, [rcx - 2]
and eax, 3
mov dword [rsp - 0x14], 0x6590aaa9
lea r15, [rbx + rax*2]
lea rax, [rcx - 1]
and eax, 3
lea rbp, [rbx + rax*2]
mov dword [rsp - 0x34], ebx
mov eax, 0x5b6198e4
sub eax, 0x1655e69b
add eax, 0x3ac8ba59
xor eax, 0xc227c41
add eax, 0x36b499c8
mov ecx, edi
xchg rbx, rbx
mul edi
inc edi
shr edx, 1
mov dword [rsp - 0x44], ecx
lea eax, [rdx + rdx*2]
movzx edx, word [rsi]
sub ecx, eax
mov dword [rsp - 0x18], ebx
and dx, 1
movsxd rax, ecx
mov ecx, dword [r9 + rax*4]
lea r8, [r9 + rax*4]
mov dword [rsp - 0x10], edi
movzx eax, dx
add ecx, ecx
or ecx, eax
not dx
xchg rsi, rsi
mov dword [r8], ecx
movzx eax, word [rsi]
shl dx, 0xb
shl dx, 4
shr ax, 1
or dx, ax
mov word [rsi], dx
mov dword [rsp - 0x14], 0x7b67c9a3
movzx edx, word [r14]
mov ecx, dword [r8]
and dx, 1
mov dword [rsp - 0x24], edi
movzx eax, dx
add ecx, ecx
or ecx, eax
xchg r13, r13
not dx
mov dword [r8], ecx
movzx eax, word [r14]
mov dword [rsp - 0x44], 0x5a9fb861
shl dx, 0xf
shr ax, 1
or dx, ax
mov word [r14], dx
mov dword [rsp - 0x30], ebx
movzx edx, word [r15]
mov ecx, dword [r8]
and dx, 1
mov dword [rsp - 0x38], 0x21d08eec
movzx eax, dx
add ecx, ecx
or ecx, eax
not dx
mov rsi, rsi
mov dword [r8], ecx
movzx eax, word [r15]
shl dx, 6
shl dx, 2
shl dx, 4
shl dx, 1
shl dx, 1
shl dx, 1
shr ax, 1
mov dword [rsp - 0x30], 0x5753eec3
or dx, ax
mov word [r15], dx
movzx edx, word [rbp]
mov r14, r14
mov ecx, dword [r8]
and dx, 1
movzx eax, dx
mov dword [rsp - 0x3c], edi
add ecx, ecx
or ecx, eax
not dx
mov dword [r8], ecx
mov dword [rsp - 0x18], edx
movzx eax, word [rbp]
shr ax, 1
shl dx, 5
shl dx, 1
shl dx, 5
shl dx, 2
shl dx, 1
shl dx, 1
or dx, ax
mov word [rbp], dx
cmp edi, 0xf
mov dword [rsp - 0x2c], esi
jl 0x1400aefb9
inc r10
add r11, 0xc
mov ecx, 0x17e26673
xor ecx, 0x25c91c3
add ecx, 0x60b62f55
sub ecx, 0x76752705
cmp r10, 8
mov dword [rsp - 0x24], ecx
jl 0x1400aef43
xchg rbx, r15
mov r15, qword [rsp + 0x28]
xchg rbx, r15
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xchg r9, r9
xchg rdi, rbx
mov rbx, qword [rsp + 0x40]
xchg rdi, rbx
pop r15
mov r11, r11
nop
mov r14, qword [rsp]
add rsp, 8
pop r13
mov rbp, rbp
pop r12
ret