Function at 0x180066d20
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], rsi
mov qword [rsp + 0x18], rdi
movzx r9d, byte [rdx]
movzx eax, byte [rdx + 1]
mov rbx, r8
movzx r8d, byte [rdx + 4]
shl r9d, 8
mov rdi, rcx
or r9d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
shl r9d, 8
lea rsi, [0x180000000]
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
shl eax, 2
xor r8d, eax
mov r10d, r8d
shr r10d, 8
xor r10d, r9d
and r10d, 0xff00ff
xor r9d, r10d
shl r10d, 8
xor r10d, r8d
rol r10d, 1
mov r11d, r10d
xor r11d, r9d
and r11d, 0xaaaaaaaa
xor r10d, r11d
xor r11d, r9d
mov r9d, 8
rol r11d, 1
nop word [rax + rax]
mov eax, dword [rdi]
add rdi, 0x10
xor eax, r10d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rsi + rcx*4 + 0x122980]
xor edx, dword [rsi + rax*4 + 0x122b80]
mov rax, r8
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rsi + rax*4 + 0x122d80]
mov eax, r10d
xor edx, dword [rsi + r8*4 + 0x122f80]
xor r11d, edx
ror eax, 4
xor eax, dword [rdi - 0xc]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rsi + rcx*4 + 0x122880]
xor edx, dword [rsi + rax*4 + 0x122a80]
mov rax, r8
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rsi + rax*4 + 0x122c80]
mov eax, dword [rdi - 8]
xor edx, dword [rsi + r8*4 + 0x122e80]
xor r11d, edx
xor eax, r11d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rsi + rcx*4 + 0x122980]
xor edx, dword [rsi + rax*4 + 0x122b80]
mov rax, r8
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rsi + rax*4 + 0x122d80]
mov eax, r11d
xor edx, dword [rsi + r8*4 + 0x122f80]
xor r10d, edx
ror eax, 4
xor eax, dword [rdi - 4]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rsi + rcx*4 + 0x122880]
xor edx, dword [rsi + rax*4 + 0x122a80]
mov rax, r8
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rsi + rax*4 + 0x122c80]
xor edx, dword [rsi + r8*4 + 0x122e80]
xor r10d, edx
sub r9, 1
jne 0x180066e10
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ror r10d, 1
mov edx, r10d
xor edx, r11d
and edx, 0xaaaaaaaa
xor r10d, edx
xor edx, r11d
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, r10d
and eax, 0xff00ff
xor r10d, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, r10d
and eax, 0x33333333
xor r10d, eax
shl eax, 2
xor edx, eax
mov eax, r10d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r10d, ecx
mov eax, r10d
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor r10d, eax
mov byte [rbx + 7], dl
mov eax, r10d
mov byte [rbx + 3], r10b
shr eax, 0x18
mov byte [rbx], al
mov eax, r10d
shr eax, 0x10
mov byte [rbx + 1], al
mov eax, r10d
shr eax, 8
mov byte [rbx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [rbx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rbx + 5], al
mov eax, edx
shr eax, 8
mov byte [rbx + 6], al
mov rbx, qword [rsp + 8]
xor eax, eax
ret