Function at 0x1402bc840
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx eax, byte [rdx + 1]
lea rsi, [0x140486df0]
movzx r9d, byte [rdx]
mov r10, rcx
movzx r8d, byte [rdx + 4]
mov edi, 8
shl r9d, 8
or r9d, eax
shl r8d, 8
movzx eax, byte [rdx + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + 5]
or r8d, eax
movzx eax, byte [rdx + 6]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 7]
shl r8d, 8
or r8d, eax
mov eax, r9d
shr eax, 4
xor eax, r8d
and eax, 0xf0f0f0f
xor r8d, eax
shl eax, 4
xor r9d, eax
mov eax, r9d
shr eax, 0x10
xor eax, r8d
movzx ecx, ax
xor r8d, ecx
shl ecx, 0x10
xor r9d, ecx
mov eax, r8d
shr eax, 2
xor eax, r9d
and eax, 0x33333333
xor r9d, eax
lea eax, [rax*4]
xor r8d, eax
mov eax, r8d
shr eax, 8
xor eax, r9d
and eax, 0xff00ff
xor r9d, eax
shl eax, 8
xor r8d, eax
mov eax, r9d
shr eax, 1
xor eax, r8d
and eax, 0x55555555
xor r8d, eax
add eax, eax
xor r9d, eax
mov ebx, r8d
shr ebx, 0x1f
mov r11d, r9d
shr r11d, 0x1f
lea eax, [r9 + r9]
or r11d, eax
lea eax, [r8 + r8]
or ebx, eax
add r10, 8
nop word [rax + rax]
mov r8d, ebx
xor r8d, dword [r10 - 8]
lea r10, [r10 + 0x10]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [rsi + rcx*4 + 0x100]
xor r9d, dword [rsi + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [rsi + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, ebx
shl r8d, 0x1c
xor r9d, dword [rsi + rax*4 + 0x700]
mov eax, ebx
shr eax, 4
xor r9d, r11d
or r8d, eax
xor r8d, dword [r10 - 0x14]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r11d, dword [rsi + rcx*4]
xor r11d, dword [rsi + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r11d, dword [rsi + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r11d, dword [rsi + rax*4 + 0x600]
xor r11d, r9d
mov r8d, r11d
xor r8d, dword [r10 - 0x10]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [rsi + rcx*4 + 0x100]
xor r9d, dword [rsi + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [rsi + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r11d
shl r8d, 0x1c
xor r9d, dword [rsi + rax*4 + 0x700]
mov eax, r11d
shr eax, 4
xor r9d, ebx
or r8d, eax
xor r8d, dword [r10 - 0xc]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov ebx, dword [rsi + rcx*4]
xor ebx, dword [rsi + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor ebx, dword [rsi + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor ebx, dword [rsi + rax*4 + 0x600]
xor ebx, r9d
sub rdi, 1
jne 0x1402bc940
mov rsi, qword [rsp + 0x10]
mov r8d, ebx
mov rdi, qword [rsp + 0x18]
mov r9d, r11d
shl r8d, 0x1f
shl r9d, 0x1f
shr ebx, 1
or r8d, ebx
shr r11d, 1
mov rbx, qword [rsp + 8]
mov eax, r8d
shr eax, 1
or r9d, r11d
xor eax, r9d
and eax, 0x55555555
xor r9d, eax
add eax, eax
xor r8d, eax
mov eax, r9d
shr eax, 8
xor eax, r8d
and eax, 0xff00ff
xor r8d, eax
shl eax, 8
xor r9d, eax
mov eax, r9d
shr eax, 2
xor eax, r8d
and eax, 0x33333333
xor r8d, eax
lea eax, [rax*4]
xor r9d, eax
mov eax, r8d
shr eax, 0x10
xor eax, r9d
movzx ecx, ax
xor r9d, ecx
shl ecx, 0x10
xor r8d, ecx
mov eax, r8d
shr eax, 4
xor eax, r9d
and eax, 0xf0f0f0f
xor r9d, eax
shl eax, 4
xor r8d, eax
mov byte [rdx + 7], r9b
mov eax, r8d
mov byte [rdx + 3], r8b
shr eax, 8
mov byte [rdx + 2], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 1], al
mov eax, r9d
shr eax, 8
mov byte [rdx + 6], al
mov eax, r9d
shr eax, 0x10
shr r8d, 0x18
shr r9d, 0x18
mov byte [rdx + 5], al
mov byte [rdx], r8b
mov byte [rdx + 4], r9b
ret