Function at 0x1400019f8
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 + 9]
lea rdi, [0x140000000]
movzx r11d, byte [rcx + 8]
mov rbx, r8
movzx r10d, byte [rcx + 4]
mov r14, rdx
movzx r9d, byte [rcx + 0xc]
shl r11, 8
xor r11, rax
shl r10, 8
movzx eax, byte [rcx + 0xa]
shl r9, 8
shl r11, 8
xor r11, rax
movzx eax, byte [rcx + 0xb]
shl r11, 8
xor r11, rax
mov eax, dword [r8 + 8]
xor r11, rax
movzx eax, byte [rcx + 5]
xor r10, rax
movzx eax, byte [rcx + 6]
shl r10, 8
xor r10, rax
movzx eax, byte [rcx + 7]
shl r10, 8
xor r10, rax
mov eax, dword [r8 + 4]
xor r10, rax
movzx eax, byte [rcx + 0xd]
xor r9, rax
movzx eax, byte [rcx + 0xe]
shl r9, 8
xor r9, rax
movzx eax, byte [rcx + 0xf]
shl r9, 8
xor r9, rax
mov eax, dword [r8 + 0xc]
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, 0x10
movzx edx, al
mov rax, r11
shr rax, 8
movzx ecx, al
mov rax, r8
shr rax, 0x18
mov ebp, dword [rdi + rdx*4 + 0x155c40]
xor ebp, dword [rdi + rcx*4 + 0x155840]
xor ebp, dword [rdi + rax*4 + 0x156040]
movzx eax, r9b
xor ebp, dword [rdi + rax*4 + 0x155440]
mov rax, r9
xor ebp, dword [rbx + 0x10]
shr rax, 8
movzx edx, al
mov rax, r11
shr rax, 0x10
movzx ecx, al
mov rax, r10
shr rax, 0x18
mov r15d, dword [rdi + rdx*4 + 0x155840]
xor r15d, dword [rdi + rcx*4 + 0x155c40]
xor r15d, dword [rdi + rax*4 + 0x156040]
movzx eax, r8b
xor r15d, dword [rdi + rax*4 + 0x155440]
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, r11
shr rax, 0x18
mov edx, dword [rdi + rdx*4 + 0x155840]
shr r8, 0x10
xor edx, dword [rdi + rcx*4 + 0x155c40]
xor edx, dword [rdi + rax*4 + 0x156040]
movzx eax, r10b
shr r10, 8
shr r9, 0x18
movzx ecx, r8b
xor edx, dword [rdi + rax*4 + 0x155440]
xor edx, dword [rbx + 0x18]
movzx eax, r10b
mov r10d, dword [rdi + rcx*4 + 0x155c40]
sar r13d, 1
xor r10d, dword [rdi + rax*4 + 0x155840]
xor r10d, dword [rdi + r9*4 + 0x156040]
movzx eax, r11b
xor r10d, dword [rdi + rax*4 + 0x155440]
xor r10d, dword [rbx + 0x1c]
sub r13d, 1
je 0x140001e4f
lea r14, [0x140000000]
mov r8d, edx
mov eax, ebp
shr rax, 8
movzx ecx, al
mov eax, r10d
shr rax, 0x10
mov r11d, r10d
mov esi, dword [r14 + rcx*4 + 0x155840]
movzx ecx, al
mov r9d, ebp
shr r9, 0x18
mov edx, r15d
mov eax, dword [r14 + rcx*4 + 0x155c40]
xor rsi, rax
shr rdx, 0x10
mov eax, r8d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0x156040]
xor rsi, rax
movzx eax, r15b
mov eax, dword [r14 + rax*4 + 0x155440]
xor rsi, rax
mov eax, dword [r12 + 8]
xor rsi, rax
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, r8d
shr rax, 0x10
mov edi, dword [r14 + rcx*4 + 0x155840]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0x155c40]
xor rdi, rax
mov eax, r15d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0x156040]
xor rdi, rax
movzx eax, bpl
mov eax, dword [r14 + rax*4 + 0x155440]
xor rdi, rax
mov eax, dword [r12 + 4]
xor rdi, rax
mov eax, ebp
shr rax, 0x10
movzx ecx, al
mov eax, r15d
shr rax, 8
mov ebx, dword [r14 + rcx*4 + 0x155c40]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0x155840]
xor rbx, rax
mov eax, r10d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0x156040]
xor rbx, rax
movzx eax, r8b
shr r8, 8
mov eax, dword [r14 + rax*4 + 0x155440]
xor rbx, rax
mov eax, dword [r12 + 0xc]
xor rbx, rax
movzx eax, dl
mov r10d, dword [r14 + rax*4 + 0x155c40]
movzx eax, r8b
mov eax, dword [r14 + rax*4 + 0x155840]
xor r10, rax
mov eax, dword [r14 + r9*4 + 0x156040]
xor r10, rax
movzx eax, r11b
mov eax, dword [r14 + rax*4 + 0x155440]
xor r10, rax
mov eax, dword [r12]
xor r10, rax
mov rax, rdi
shr rax, 0x10
movzx edx, al
mov rax, rsi
shr rax, 8
movzx ecx, al
mov ebp, dword [r14 + rdx*4 + 0x155c40]
xor ebp, dword [r14 + rcx*4 + 0x155840]
mov rax, r10
shr rax, 0x18
xor ebp, dword [r14 + rax*4 + 0x156040]
movzx eax, bl
xor ebp, dword [r14 + rax*4 + 0x155440]
mov rax, rbx
xor ebp, dword [r12 + 0x10]
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov r15d, dword [r14 + rdx*4 + 0x155840]
xor r15d, dword [r14 + rcx*4 + 0x155c40]
xor r15d, dword [r14 + rax*4 + 0x156040]
movzx eax, r10b
xor r15d, dword [r14 + rax*4 + 0x155440]
mov rax, r10
xor r15d, dword [r12 + 0x14]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, rsi
shr r10, 0x10
mov edx, dword [r14 + rdx*4 + 0x155840]
shr rax, 0x18
xor edx, dword [r14 + rcx*4 + 0x155c40]
movzx ecx, r10b
shr rbx, 0x18
xor edx, dword [r14 + rax*4 + 0x156040]
movzx eax, dil
mov r10d, dword [r14 + rcx*4 + 0x155c40]
shr rdi, 8
xor edx, dword [r14 + rax*4 + 0x155440]
xor edx, dword [r12 + 0x18]
movzx eax, dil
xor r10d, dword [r14 + rax*4 + 0x155840]
xor r10d, dword [r14 + rbx*4 + 0x156040]
movzx eax, sil
xor r10d, dword [r14 + rax*4 + 0x155440]
xor r10d, dword [r12 + 0x1c]
add r12, 0x20
sub r13d, 1
jne 0x140001bec
mov r14, qword [rsp + 0x38]
lea rdi, [0x140000000]
mov r11d, edx
mov esi, 0xff0000
mov ebx, 0xff00
mov eax, r15d
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 8
mov r8d, r15d
lea r15, [0x140000000]
mov r9d, ebp
mov edx, dword [rdi + rcx*4 + 0x155040]
movzx ecx, al
and edx, esi
mov eax, dword [rdi + rcx*4 + 0x155040]
and eax, ebx
xor edx, eax
mov eax, ebp
shr rax, 0x18
mov ecx, dword [rdi + rax*4 + 0x155040]
mov edi, 0xff000000
and ecx, edi
movzx eax, r10b
xor edx, ecx
movzx eax, byte [r15 + rax*4 + 0x155040]
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 rax, r10
shr rax, 8
movzx ecx, al
mov eax, r11d
shr rax, 0x10
mov edx, dword [r15 + rcx*4 + 0x155040]
movzx ecx, al
and edx, ebx
mov eax, dword [r15 + rcx*4 + 0x155040]
and eax, esi
xor edx, eax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r15 + rax*4 + 0x155040]
and eax, edi
xor edx, eax
movzx eax, bpl
movzx eax, byte [r15 + rax*4 + 0x155040]
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 rax, r10
shr rax, 0x10
mov edx, dword [r15 + rcx*4 + 0x155040]
movzx ecx, al
and edx, ebx
mov eax, dword [r15 + rcx*4 + 0x155040]
and eax, esi
xor edx, eax
mov eax, r11d
shr rax, 0x18
mov eax, dword [r15 + rax*4 + 0x155040]
mov rbp, qword [rsp + 0x40]
and eax, edi
xor edx, eax
shr r9, 0x10
movzx eax, r8b
shr r8, 8
shr r10, 0x18
movzx eax, byte [r15 + rax*4 + 0x155040]
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 + 0x155040]
and edx, ebx
movzx eax, r9b
mov rbx, qword [rsp + 0x30]
mov ecx, dword [r15 + rax*4 + 0x155040]
mov eax, dword [r15 + r10*4 + 0x155040]
and ecx, esi
mov rsi, qword [rsp + 0x48]
and eax, edi
xor edx, ecx
xor edx, eax
movzx eax, r11b
movzx eax, byte [r15 + rax*4 + 0x155040]
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