Function at 0x14013af60
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
movzx eax, byte [rcx + 1]
lea r14, [0x140000000]
movzx r9d, byte [rcx]
mov rsi, rdx
movzx edx, byte [rcx + 4]
mov rdi, r8
shl r9d, 8
or r9d, eax
shl edx, 8
movzx eax, byte [rcx + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [rcx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rcx + 5]
or edx, eax
movzx eax, byte [rcx + 6]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 7]
shl edx, 8
or edx, eax
mov eax, r9d
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor r9d, eax
mov eax, r9d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r9d, ecx
mov eax, edx
shr eax, 2
xor eax, r9d
and eax, 0x33333333
xor r9d, eax
lea eax, [rax*4]
xor edx, eax
mov eax, edx
shr eax, 8
xor eax, r9d
and eax, 0xff00ff
xor r9d, eax
shl eax, 8
xor eax, edx
rol eax, 1
mov r11d, eax
xor r11d, r9d
and r11d, 0xaaaaaaaa
xor eax, r11d
xor r11d, r9d
rol r11d, 1
xor ebx, ebx
nop word [rax + rax]
mov ebp, 2
nop word [rax + rax]
mov r10d, eax
mov ecx, eax
xor ecx, dword [rdi + 4]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
ror r10d, 4
xor r10d, dword [rdi]
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor r11d, r8d
mov r10d, r11d
mov ecx, r11d
xor ecx, dword [rdi + 0xc]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
ror r10d, 4
xor r10d, dword [rdi + 8]
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor eax, r8d
mov ecx, eax
mov r10d, eax
xor ecx, dword [rdi + 0x14]
mov edx, ecx
shr rdx, 0x18
mov r9d, ecx
and edx, 0x3f
shr rcx, 0x10
ror r10d, 4
and ecx, 0x3f
xor r10d, dword [rdi + 0x10]
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
and r9d, 0x3f
shr rcx, 8
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor r11d, r8d
mov r10d, r11d
mov ecx, r11d
xor ecx, dword [rdi + 0x1c]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
ror r10d, 4
xor r10d, dword [rdi + 0x18]
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor eax, r8d
mov r10d, eax
mov ecx, eax
xor ecx, dword [rdi + 0x24]
mov edx, ecx
mov r9d, ecx
shr rcx, 0x10
and ecx, 0x3f
ror r10d, 4
xor r10d, dword [rdi + 0x20]
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
and r9d, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor r11d, r8d
mov r10d, r11d
mov ecx, r11d
xor ecx, dword [rdi + 0x2c]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
ror r10d, 4
xor r10d, dword [rdi + 0x28]
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor eax, r8d
mov r10d, eax
mov ecx, eax
xor ecx, dword [rdi + 0x34]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
ror r10d, 4
xor r10d, dword [rdi + 0x30]
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
and r10d, 0x3f
shr rcx, 8
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor r11d, r8d
mov r10d, r11d
mov ecx, r11d
ror r10d, 4
xor r10d, dword [rdi + 0x38]
xor ecx, dword [rdi + 0x3c]
mov r9d, ecx
add rdi, 0x40
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x277140]
or r8d, dword [r14 + rcx*4 + 0x277340]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277540]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277040]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277240]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
or r8d, dword [r14 + rcx*4 + 0x277440]
or r8d, dword [r14 + r9*4 + 0x277740]
or r8d, dword [r14 + r10*4 + 0x277640]
xor eax, r8d
sub rbp, 1
jne 0x14013b050
inc ebx
cmp ebx, 3
jge 0x14013b525
mov ecx, eax
mov eax, r11d
mov r11d, ecx
jmp 0x14013b040
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
ror eax, 1
mov r8d, eax
xor r8d, r11d
and r8d, 0xaaaaaaaa
xor eax, r8d
xor r8d, r11d
ror r8d, 1
mov ecx, r8d
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor r8d, ecx
mov ecx, r8d
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
lea ecx, [rcx*4]
xor r8d, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, r8d
movzx edx, cx
xor r8d, edx
shl edx, 0x10
xor eax, edx
mov ecx, eax
shr ecx, 4
xor ecx, r8d
and ecx, 0xf0f0f0f
xor r8d, ecx
shl ecx, 4
xor eax, ecx
mov byte [rsi + 7], r8b
mov ecx, eax
mov byte [rsi + 3], al
shr ecx, 0x18
mov byte [rsi], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 1], cl
mov ecx, eax
shr ecx, 8
mov eax, r8d
shr eax, 0x18
mov byte [rsi + 4], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 5], al
mov eax, r8d
shr eax, 8
mov byte [rsi + 6], al
mov byte [rsi + 2], cl
mov rsi, qword [rsp + 0x20]
pop r14
ret