Function at 0x1400aaa50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
movzx eax, byte [r8 + 9]
lea rdi, [0x140000000]
movzx ebx, byte [r8 + 8]
mov r14, r9
movzx r11d, byte [r8 + 4]
mov rbp, rcx
movzx r10d, byte [r8 + 0xc]
mov r13d, edx
movzx r9d, byte [r8]
shl rbx, 8
xor rbx, rax
shl r11, 8
movzx eax, byte [r8 + 0xa]
shl r10, 8
shl r9, 8
shl rbx, 8
xor rbx, rax
mov eax, dword [rcx + 8]
shl rbx, 8
xor rbx, rax
movzx eax, byte [r8 + 0xb]
xor rbx, rax
movzx eax, byte [r8 + 5]
xor r11, rax
movzx eax, byte [r8 + 6]
shl r11, 8
xor r11, rax
mov eax, dword [rcx + 4]
shl r11, 8
xor r11, rax
movzx eax, byte [r8 + 7]
xor r11, rax
movzx eax, byte [r8 + 0xd]
xor r10, rax
movzx eax, byte [r8 + 0xe]
shl r10, 8
xor r10, rax
mov eax, dword [rcx + 0xc]
shl r10, 8
xor r10, rax
movzx eax, byte [r8 + 0xf]
xor r10, rax
movzx eax, byte [r8 + 1]
xor r9, rax
movzx eax, byte [r8 + 2]
shl r9, 8
xor r9, rax
movzx eax, byte [r8 + 3]
shl r9, 8
xor r9, rax
mov eax, dword [rcx]
xor r9, rax
mov rax, r11
shr rax, 0x10
movzx edx, al
mov rax, rbx
shr rax, 8
movzx ecx, al
mov rax, r9
shr rax, 0x18
mov r15d, dword [rdi + rdx*4 + 0xd43a0]
xor r15d, dword [rdi + rcx*4 + 0xd47a0]
xor r15d, dword [rdi + rax*4 + 0xd3fa0]
movzx eax, r10b
xor r15d, dword [rdi + rax*4 + 0xd4ba0]
mov rax, r10
xor r15d, dword [rbp + 0x10]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, r11
shr rax, 0x18
mov r12d, dword [rdi + rdx*4 + 0xd47a0]
xor r12d, dword [rdi + rcx*4 + 0xd43a0]
xor r12d, dword [rdi + rax*4 + 0xd3fa0]
movzx eax, r9b
xor r12d, dword [rdi + rax*4 + 0xd4ba0]
mov rax, r9
xor r12d, dword [rbp + 0x14]
shr rax, 8
movzx edx, al
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov rax, rbx
shr r9, 0x10
mov edx, dword [rdi + rdx*4 + 0xd47a0]
shr rax, 0x18
xor edx, dword [rdi + rcx*4 + 0xd43a0]
movzx ecx, r9b
shr r10, 0x18
xor edx, dword [rdi + rax*4 + 0xd3fa0]
movzx eax, r11b
mov r9d, dword [rdi + rcx*4 + 0xd43a0]
shr r11, 8
sar r13d, 1
xor edx, dword [rdi + rax*4 + 0xd4ba0]
xor edx, dword [rbp + 0x18]
movzx eax, r11b
xor r9d, dword [rdi + rax*4 + 0xd47a0]
xor r9d, dword [rdi + r10*4 + 0xd3fa0]
movzx eax, bl
xor r9d, dword [rdi + rax*4 + 0xd4ba0]
xor r9d, dword [rbp + 0x1c]
add rbp, 0x20
sub r13d, 1
je 0x1400aaeae
mov qword [rsp + 0x30], rsi
lea r14, [0x140000000]
nop
mov r8d, edx
mov r11d, r9d
mov eax, r15d
shr rax, 8
movzx ecx, al
mov eax, r11d
shr rax, 0x10
mov r9d, r15d
shr r9, 0x18
mov esi, dword [r14 + rcx*4 + 0xd47a0]
movzx ecx, al
mov edx, r12d
shr rdx, 0x10
mov eax, dword [r14 + rcx*4 + 0xd43a0]
xor rsi, rax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0xd3fa0]
xor rsi, rax
movzx eax, r12b
mov eax, dword [r14 + rax*4 + 0xd4ba0]
xor rsi, rax
mov eax, dword [rbp + 8]
xor rsi, rax
mov eax, r11d
shr rax, 8
movzx ecx, al
mov eax, r8d
shr rax, 0x10
mov edi, dword [r14 + rcx*4 + 0xd47a0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0xd43a0]
xor rdi, rax
mov eax, r12d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0xd3fa0]
xor rdi, rax
movzx eax, r15b
mov eax, dword [r14 + rax*4 + 0xd4ba0]
xor rdi, rax
mov eax, dword [rbp + 4]
xor rdi, rax
mov eax, r15d
shr rax, 0x10
movzx ecx, al
mov eax, r12d
shr rax, 8
mov ebx, dword [r14 + rcx*4 + 0xd43a0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0xd47a0]
xor rbx, rax
mov eax, r11d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0xd3fa0]
xor rbx, rax
movzx eax, r8b
shr r8, 8
mov eax, dword [r14 + rax*4 + 0xd4ba0]
xor rbx, rax
mov eax, dword [rbp + 0xc]
xor rbx, rax
movzx eax, dl
mov r10d, dword [r14 + rax*4 + 0xd43a0]
movzx eax, r8b
mov eax, dword [r14 + rax*4 + 0xd47a0]
xor r10, rax
mov eax, dword [r14 + r9*4 + 0xd3fa0]
xor r10, rax
movzx eax, r11b
mov eax, dword [r14 + rax*4 + 0xd4ba0]
xor r10, rax
mov eax, dword [rbp]
xor r10, rax
mov rax, rdi
shr rax, 0x10
movzx edx, al
mov rax, rsi
shr rax, 8
movzx ecx, al
mov r15d, dword [r14 + rdx*4 + 0xd43a0]
xor r15d, dword [r14 + rcx*4 + 0xd47a0]
mov rax, r10
shr rax, 0x18
xor r15d, dword [r14 + rax*4 + 0xd3fa0]
movzx eax, bl
xor r15d, dword [r14 + rax*4 + 0xd4ba0]
mov rax, rbx
xor r15d, dword [rbp + 0x10]
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov r12d, dword [r14 + rdx*4 + 0xd47a0]
xor r12d, dword [r14 + rcx*4 + 0xd43a0]
xor r12d, dword [r14 + rax*4 + 0xd3fa0]
movzx eax, r10b
xor r12d, dword [r14 + rax*4 + 0xd4ba0]
mov rax, r10
xor r12d, dword [rbp + 0x14]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, rsi
shr rax, 0x18
mov edx, dword [r14 + rdx*4 + 0xd47a0]
shr r10, 0x10
xor edx, dword [r14 + rcx*4 + 0xd43a0]
xor edx, dword [r14 + rax*4 + 0xd3fa0]
movzx eax, dil
shr rdi, 8
shr rbx, 0x18
movzx ecx, r10b
xor edx, dword [r14 + rax*4 + 0xd4ba0]
xor edx, dword [rbp + 0x18]
movzx eax, dil
mov r9d, dword [r14 + rcx*4 + 0xd43a0]
xor r9d, dword [r14 + rax*4 + 0xd47a0]
xor r9d, dword [r14 + rbx*4 + 0xd3fa0]
movzx eax, sil
xor r9d, dword [r14 + rax*4 + 0xd4ba0]
xor r9d, dword [rbp + 0x1c]
add rbp, 0x20
sub r13d, 1
jne 0x1400aac50
mov r14, qword [rsp + 0x48]
lea rdi, [0x140000000]
mov rsi, qword [rsp + 0x30]
mov r11d, edx
mov r10d, r9d
mov eax, r12d
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 8
mov r8d, r12d
mov r9d, r15d
mov edx, dword [rdi + rcx*4 + 0xd4fa0]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [rdi + rcx*4 + 0xd4fa0]
and eax, 0xff00
xor edx, eax
mov eax, r15d
shr rax, 0x18
mov ecx, dword [rdi + rax*4 + 0xd4fa0]
and ecx, 0xff000000
movzx eax, r10b
xor edx, ecx
movzx eax, byte [rdi + rax*4 + 0xd4fa0]
xor edx, eax
xor edx, dword [rbp]
mov eax, edx
mov byte [r14 + 3], dl
shr eax, 0x18
mov byte [r14], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, edx
shr eax, 8
mov byte [r14 + 2], al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, r11d
shr rax, 0x10
mov edx, dword [rdi + rcx*4 + 0xd4fa0]
movzx ecx, al
and edx, 0xff00
mov eax, dword [rdi + rcx*4 + 0xd4fa0]
and eax, 0xff0000
xor edx, eax
mov eax, r12d
shr rax, 0x18
mov eax, dword [rdi + rax*4 + 0xd4fa0]
and eax, 0xff000000
xor edx, eax
movzx eax, r15b
movzx eax, byte [rdi + rax*4 + 0xd4fa0]
xor edx, eax
xor edx, dword [rbp + 4]
mov eax, edx
mov byte [r14 + 7], dl
shr eax, 0x18
mov byte [r14 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 5], al
mov eax, edx
shr eax, 8
mov byte [r14 + 6], al
mov eax, r15d
shr rax, 8
movzx ecx, al
mov eax, r10d
shr rax, 0x10
mov edx, dword [rdi + rcx*4 + 0xd4fa0]
movzx ecx, al
and edx, 0xff00
mov eax, dword [rdi + rcx*4 + 0xd4fa0]
and eax, 0xff0000
xor edx, eax
mov eax, r11d
shr rax, 0x18
mov eax, dword [rdi + rax*4 + 0xd4fa0]
and eax, 0xff000000
xor edx, eax
movzx eax, r12b
movzx eax, byte [rdi + rax*4 + 0xd4fa0]
mov rbx, qword [rsp + 0x38]
xor edx, eax
xor edx, dword [rbp + 8]
mov eax, edx
mov byte [r14 + 0xb], dl
shr eax, 0x18
mov byte [r14 + 8], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 9], al
mov eax, edx
shr eax, 8
mov byte [r14 + 0xa], al
shr r8, 8
movzx eax, r8b
shr r9, 0x10
shr r10, 0x18
mov edx, dword [rdi + rax*4 + 0xd4fa0]
and edx, 0xff00
movzx eax, r9b
mov ecx, dword [rdi + rax*4 + 0xd4fa0]
mov eax, dword [rdi + r10*4 + 0xd4fa0]
and ecx, 0xff0000
and eax, 0xff000000
xor edx, ecx
xor edx, eax
movzx eax, r11b
movzx eax, byte [rdi + rax*4 + 0xd4fa0]
xor edx, eax
xor edx, dword [rbp + 0xc]
mov rbp, qword [rsp + 0x40]
mov eax, edx
shr eax, 0x18
mov byte [r14 + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 0xd], al
mov eax, edx
shr eax, 8
mov byte [r14 + 0xe], al
mov byte [r14 + 0xf], dl
pop r15
pop r14
pop r13
pop r12
pop rdi
ret