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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
movzx eax, byte [rcx + 0xd]
lea rdi, [0x140000000]
movzx r11d, byte [rcx + 0xc]
mov rbx, r8
movzx r10d, byte [rcx + 8]
mov r14, rdx
movzx r9d, byte [rcx + 4]
shl r11, 8
xor r11, rax
shl r10, 8
movzx eax, byte [rcx + 0xe]
shl r9, 8
shl r11, 8
xor r11, rax
movzx eax, byte [rcx + 0xf]
shl r11, 8
xor r11, rax
mov eax, dword [r8 + 0xc]
xor r11, rax
movzx eax, byte [rcx + 9]
xor r10, rax
movzx eax, byte [rcx + 0xa]
shl r10, 8
xor r10, rax
movzx eax, byte [rcx + 0xb]
shl r10, 8
xor r10, rax
mov eax, dword [r8 + 8]
xor r10, rax
movzx eax, byte [rcx + 5]
xor r9, rax
movzx eax, byte [rcx + 6]
shl r9, 8
xor r9, rax
movzx eax, byte [rcx + 7]
shl r9, 8
xor r9, rax
mov eax, dword [r8 + 4]
movzx r8d, byte [rcx]
xor r9, rax
movzx eax, byte [rcx + 1]
shl r8, 8
xor r8, rax
movzx eax, byte [rcx + 2]
shl r8, 8
xor r8, rax
movzx eax, byte [rcx + 3]
shl r8, 8
xor r8, rax
mov eax, dword [rbx]
xor r8, rax
mov rax, r10
shr rax, 8
movzx edx, al
mov rax, r11
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
mov ebp, dword [rdi + rdx*4 + 0x1559d0]
xor ebp, dword [rdi + rcx*4 + 0x1555d0]
xor ebp, dword [rdi + rax*4 + 0x1551d0]
movzx eax, r9b
xor ebp, dword [rdi + rax*4 + 0x155dd0]
mov rax, r8
xor ebp, dword [rbx + 0x10]
shr rax, 0x10
movzx edx, al
mov rax, r11
shr rax, 8
movzx ecx, al
mov rax, r9
shr rax, 0x18
mov r15d, dword [rdi + rdx*4 + 0x1555d0]
xor r15d, dword [rdi + rcx*4 + 0x1559d0]
xor r15d, dword [rdi + rax*4 + 0x1551d0]
movzx eax, r10b
xor r15d, dword [rdi + rax*4 + 0x155dd0]
mov rax, r8
xor r15d, dword [rbx + 0x14]
shr rax, 8
mov r13d, dword [rbx + 0xf0]
lea r12, [rbx + 0x20]
movzx edx, al
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r10
shr r9, 8
mov edx, dword [rdi + rdx*4 + 0x1559d0]
shr rax, 0x18
xor edx, dword [rdi + rcx*4 + 0x1555d0]
movzx ecx, r9b
shr r10, 0x10
xor edx, dword [rdi + rax*4 + 0x1551d0]
movzx eax, r11b
mov r9d, dword [rdi + rcx*4 + 0x1559d0]
shr r11, 0x18
sar r13d, 1
xor edx, dword [rdi + rax*4 + 0x155dd0]
xor edx, dword [rbx + 0x18]
movzx eax, r10b
xor r9d, dword [rdi + rax*4 + 0x1555d0]
xor r9d, dword [rdi + r11*4 + 0x1551d0]
movzx eax, r8b
xor r9d, dword [rdi + rax*4 + 0x155dd0]
xor r9d, dword [rbx + 0x1c]
sub r13d, 1
je 0x140008df3
lea r14, [0x140000000]
mov r8d, r9d
mov eax, r15d
shr rax, 8
movzx ecx, al
mov rax, rdx
shr rax, 0x10
mov r9d, ebp
shr r9, 0x18
mov esi, dword [r14 + rcx*4 + 0x1559d0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0x1555d0]
xor rsi, rax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0x1551d0]
xor rsi, rax
movzx eax, bpl
mov eax, dword [r14 + rax*4 + 0x155dd0]
xor rsi, rax
mov eax, dword [r12 + 0xc]
xor rsi, rax
mov eax, ebp
shr rax, 8
movzx ecx, al
mov eax, r15d
shr rax, 0x10
mov edi, dword [r14 + rcx*4 + 0x1559d0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0x1555d0]
xor rdi, rax
mov rax, rdx
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0x1551d0]
xor rdi, rax
movzx eax, r8b
mov eax, dword [r14 + rax*4 + 0x155dd0]
xor rdi, rax
mov eax, dword [r12 + 8]
xor rdi, rax
mov eax, ebp
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
shr r8, 0x10
mov ebx, dword [r14 + rcx*4 + 0x1555d0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0x1559d0]
xor rbx, rax
mov eax, r15d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0x1551d0]
xor rbx, rax
movzx eax, dl
shr rdx, 8
mov eax, dword [r14 + rax*4 + 0x155dd0]
xor rbx, rax
mov eax, dword [r12 + 4]
xor rbx, rax
movzx eax, dl
mov r11d, dword [r14 + rax*4 + 0x1559d0]
movzx eax, r8b
mov eax, dword [r14 + rax*4 + 0x1555d0]
xor r11, rax
mov eax, dword [r14 + r9*4 + 0x1551d0]
xor r11, rax
movzx eax, r15b
mov eax, dword [r14 + rax*4 + 0x155dd0]
xor r11, rax
mov eax, dword [r12]
xor r11, rax
mov rax, rdi
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, r11
mov ebp, dword [r14 + rdx*4 + 0x1559d0]
xor ebp, dword [r14 + rcx*4 + 0x1555d0]
shr rax, 0x18
xor ebp, dword [r14 + rax*4 + 0x1551d0]
movzx eax, bl
xor ebp, dword [r14 + rax*4 + 0x155dd0]
mov rax, r11
xor ebp, dword [r12 + 0x10]
shr rax, 0x10
movzx edx, al
mov rax, rsi
shr rax, 8
movzx ecx, al
mov rax, rbx
shr rax, 0x18
mov r15d, dword [r14 + rdx*4 + 0x1555d0]
xor r15d, dword [r14 + rcx*4 + 0x1559d0]
xor r15d, dword [r14 + rax*4 + 0x1551d0]
movzx eax, dil
xor r15d, dword [r14 + rax*4 + 0x155dd0]
mov rax, r11
xor r15d, dword [r12 + 0x14]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov edx, dword [r14 + rdx*4 + 0x1559d0]
shr rbx, 8
xor edx, dword [r14 + rcx*4 + 0x1555d0]
xor edx, dword [r14 + rax*4 + 0x1551d0]
movzx eax, sil
shr rdi, 0x10
shr rsi, 0x18
movzx ecx, bl
xor edx, dword [r14 + rax*4 + 0x155dd0]
xor edx, dword [r12 + 0x18]
movzx eax, dil
mov r9d, dword [r14 + rcx*4 + 0x1559d0]
xor r9d, dword [r14 + rax*4 + 0x1555d0]
xor r9d, dword [r14 + rsi*4 + 0x1551d0]
movzx eax, r11b
xor r9d, dword [r14 + rax*4 + 0x155dd0]
xor r9d, dword [r12 + 0x1c]
add r12, 0x20
sub r13d, 1
jne 0x140008b98
mov r14, qword [rsp + 0x38]
lea rdi, [0x140000000]
mov r10d, r9d
mov esi, 0xff0000
mov r9d, edx
mov ebx, 0xff00
mov r8d, r15d
mov eax, r10d
shr rax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 8
mov edx, dword [rdi + rcx*4 + 0x1561d0]
movzx ecx, al
and edx, esi
mov eax, dword [rdi + rcx*4 + 0x1561d0]
and eax, ebx
xor edx, eax
mov eax, ebp
shr rax, 0x18
mov ecx, dword [rdi + rax*4 + 0x1561d0]
mov edi, 0xff000000
and ecx, edi
movzx eax, r15b
xor edx, ecx
lea r15, [0x140000000]
movzx eax, byte [r15 + rax*4 + 0x1561d0]
xor edx, eax
xor edx, dword [r12]
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, ebp
shr rax, 0x10
mov edx, dword [r15 + rcx*4 + 0x1561d0]
movzx ecx, al
and edx, ebx
mov eax, dword [r15 + rcx*4 + 0x1561d0]
and eax, esi
xor edx, eax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r15 + rax*4 + 0x1561d0]
and eax, edi
xor edx, eax
movzx eax, r9b
movzx eax, byte [r15 + rax*4 + 0x1561d0]
xor edx, eax
xor edx, dword [r12 + 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, ebp
shr rax, 8
movzx ecx, al
mov eax, r8d
shr rax, 0x10
mov edx, dword [r15 + rcx*4 + 0x1561d0]
movzx ecx, al
and edx, ebx
mov eax, dword [r15 + rcx*4 + 0x1561d0]
and eax, esi
xor edx, eax
mov eax, r9d
shr rax, 0x18
mov eax, dword [r15 + rax*4 + 0x1561d0]
and eax, edi
shr r8, 8
xor edx, eax
shr r9, 0x10
movzx eax, r10b
shr r10, 0x18
movzx eax, byte [r15 + rax*4 + 0x1561d0]
xor edx, eax
xor edx, dword [r12 + 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
movzx eax, r8b
mov edx, dword [r15 + rax*4 + 0x1561d0]
and edx, ebx
movzx eax, r9b
mov rbx, qword [rsp + 0x30]
mov ecx, dword [r15 + rax*4 + 0x1561d0]
mov eax, dword [r15 + r10*4 + 0x1561d0]
and ecx, esi
mov rsi, qword [rsp + 0x48]
and eax, edi
xor edx, ecx
xor edx, eax
movzx eax, bpl
mov rbp, qword [rsp + 0x40]
movzx eax, byte [r15 + rax*4 + 0x1561d0]
xor edx, eax
xor edx, dword [r12 + 0xc]
mov eax, edx
mov byte [r14 + 0xf], dl
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
pop r15
pop r14
pop r13
pop r12
pop rdi
ret