Function at 0x140035140
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
sub rsp, 0x20
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 + 0xd17b0]
xor ebp, dword [rdi + rcx*4 + 0xd1bb0]
xor ebp, dword [rdi + rax*4 + 0xd1fb0]
movzx eax, r9b
xor ebp, dword [rdi + rax*4 + 0xd13b0]
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 + 0xd1bb0]
xor r15d, dword [rdi + rcx*4 + 0xd17b0]
xor r15d, dword [rdi + rax*4 + 0xd1fb0]
movzx eax, r10b
xor r15d, dword [rdi + rax*4 + 0xd13b0]
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 + 0xd17b0]
shr rax, 0x18
xor edx, dword [rdi + rcx*4 + 0xd1bb0]
movzx ecx, r9b
shr r10, 0x10
xor edx, dword [rdi + rax*4 + 0xd1fb0]
movzx eax, r11b
mov r9d, dword [rdi + rcx*4 + 0xd17b0]
shr r11, 0x18
sar r13d, 1
xor edx, dword [rdi + rax*4 + 0xd13b0]
xor edx, dword [rbx + 0x18]
movzx eax, r10b
xor r9d, dword [rdi + rax*4 + 0xd1bb0]
xor r9d, dword [rdi + r11*4 + 0xd1fb0]
movzx eax, r8b
xor r9d, dword [rdi + rax*4 + 0xd13b0]
xor r9d, dword [rbx + 0x1c]
sub r13d, 1
je 0x140035593
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 + 0xd17b0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0xd1bb0]
xor rsi, rax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0xd1fb0]
xor rsi, rax
movzx eax, bpl
mov eax, dword [r14 + rax*4 + 0xd13b0]
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 + 0xd17b0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0xd1bb0]
xor rdi, rax
mov rax, rdx
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0xd1fb0]
xor rdi, rax
movzx eax, r8b
mov eax, dword [r14 + rax*4 + 0xd13b0]
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 + 0xd1bb0]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 0xd17b0]
xor rbx, rax
mov eax, r15d
shr rax, 0x18
mov eax, dword [r14 + rax*4 + 0xd1fb0]
xor rbx, rax
movzx eax, dl
shr rdx, 8
mov eax, dword [r14 + rax*4 + 0xd13b0]
xor rbx, rax
mov eax, dword [r12 + 4]
xor rbx, rax
movzx eax, dl
mov r11d, dword [r14 + rax*4 + 0xd17b0]
movzx eax, r8b
mov eax, dword [r14 + rax*4 + 0xd1bb0]
xor r11, rax
mov eax, dword [r14 + r9*4 + 0xd1fb0]
xor r11, rax
movzx eax, r15b
mov eax, dword [r14 + rax*4 + 0xd13b0]
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 + 0xd17b0]
xor ebp, dword [r14 + rcx*4 + 0xd1bb0]
shr rax, 0x18
xor ebp, dword [r14 + rax*4 + 0xd1fb0]
movzx eax, bl
xor ebp, dword [r14 + rax*4 + 0xd13b0]
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 + 0xd1bb0]
xor r15d, dword [r14 + rcx*4 + 0xd17b0]
xor r15d, dword [r14 + rax*4 + 0xd1fb0]
movzx eax, dil
xor r15d, dword [r14 + rax*4 + 0xd13b0]
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 + 0xd17b0]
shr rbx, 8
xor edx, dword [r14 + rcx*4 + 0xd1bb0]
xor edx, dword [r14 + rax*4 + 0xd1fb0]
movzx eax, sil
shr rdi, 0x10
shr rsi, 0x18
movzx ecx, bl
xor edx, dword [r14 + rax*4 + 0xd13b0]
xor edx, dword [r12 + 0x18]
movzx eax, dil
mov r9d, dword [r14 + rcx*4 + 0xd17b0]
xor r9d, dword [r14 + rax*4 + 0xd1bb0]
xor r9d, dword [r14 + rsi*4 + 0xd1fb0]
movzx eax, r11b
xor r9d, dword [r14 + rax*4 + 0xd13b0]
xor r9d, dword [r12 + 0x1c]
add r12, 0x20
sub r13d, 1
jne 0x140035338
mov r14, qword [rsp + 0x58]
lea rdi, [0x140000000]
mov r10d, ebp
mov r13d, 0xff0000
mov r8d, r15d
mov r11d, 0xff000000
mov r15d, 0xff00
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, rdx
shr rax, 8
mov ebp, dword [rdi + rcx*4 + 0xd0fb0]
movzx ecx, al
and ebp, r13d
mov eax, dword [rdi + rcx*4 + 0xd0fb0]
and eax, r15d
xor ebp, eax
mov eax, r10d
shr rax, 0x18
mov ecx, dword [rdi + rax*4 + 0xd0fb0]
and ecx, r11d
movzx eax, r8b
xor ebp, ecx
movzx eax, byte [rdi + rax*4 + 0xd0fb0]
xor ebp, eax
mov rax, r9
xor ebp, dword [r12]
shr rax, 8
movzx ecx, al
mov eax, r10d
shr rax, 0x10
mov esi, dword [rdi + rcx*4 + 0xd0fb0]
movzx ecx, al
and esi, r15d
mov eax, dword [rdi + rcx*4 + 0xd0fb0]
and eax, r13d
xor esi, eax
mov eax, r8d
shr rax, 0x18
mov eax, dword [rdi + rax*4 + 0xd0fb0]
and eax, r11d
xor esi, eax
movzx eax, dl
movzx eax, byte [rdi + rax*4 + 0xd0fb0]
xor esi, eax
mov eax, r8d
xor esi, dword [r12 + 4]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 8
shr r8, 8
mov edi, dword [rdi + rcx*4 + 0xd0fb0]
movzx ecx, al
and edi, r13d
lea rax, [0x140000000]
mov eax, dword [rax + rcx*4 + 0xd0fb0]
lea rcx, [0x140000000]
and eax, r15d
xor edi, eax
mov rax, rdx
shr rax, 0x18
shr rdx, 0x10
mov eax, dword [rcx + rax*4 + 0xd0fb0]
and eax, r11d
xor edi, eax
movzx eax, r9b
shr r9, 0x18
movzx eax, byte [rcx + rax*4 + 0xd0fb0]
xor edi, eax
movzx eax, dl
xor edi, dword [r12 + 8]
mov ebx, dword [rcx + rax*4 + 0xd0fb0]
movzx eax, r8b
and ebx, r13d
mov ecx, dword [rcx + rax*4 + 0xd0fb0]
and ecx, r15d
xor ebx, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + r9*4 + 0xd0fb0]
and eax, r11d
xor ebx, eax
movzx eax, r10b
movzx eax, byte [rcx + rax*4 + 0xd0fb0]
xor ebx, eax
xor ebx, dword [r12 + 0xc]
call fcn.140054d0c
mov eax, ebp
mov byte [r14 + 3], bpl
shr eax, 0x18
mov byte [r14], al
mov eax, ebp
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, ebp
mov rbp, qword [rsp + 0x60]
shr eax, 8
mov byte [r14 + 2], al
mov eax, esi
shr eax, 0x18
mov byte [r14 + 4], al
mov eax, esi
shr eax, 0x10
mov byte [r14 + 5], al
mov eax, esi
shr eax, 8
mov byte [r14 + 6], al
mov eax, edi
shr eax, 0x18
mov byte [r14 + 8], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 9], al
mov eax, edi
shr eax, 8
mov byte [r14 + 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [r14 + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [r14 + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [r14 + 7], sil
mov rsi, qword [rsp + 0x68]
mov byte [r14 + 0xf], bl
mov rbx, qword [rsp + 0x50]
mov byte [r14 + 0xe], al
mov byte [r14 + 0xb], dil
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret