Function at 0x1402bc130
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
mov qword [rsp + 0x20], r14
movzx eax, byte [rdx + 1]
lea r14, [0x140486df0]
movzx r9d, byte [rdx]
mov rdi, rcx
movzx r8d, byte [rdx + 4]
mov esi, 2
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 r11d, r8d
shr r11d, 0x1f
mov ebx, r9d
shr ebx, 0x1f
lea eax, [r9 + r9]
or ebx, eax
lea eax, [r8 + r8]
or r11d, eax
add rdi, 0x7c
nop
mov r8d, r11d
xor r8d, dword [rdi - 4]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r11d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r11d
shr eax, 4
xor r9d, ebx
or r8d, eax
xor r8d, dword [rdi]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r10d, dword [r14 + rcx*4]
xor r10d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r10d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r10d, dword [r14 + rax*4 + 0x600]
xor r10d, r9d
mov r8d, r10d
xor r8d, dword [rdi - 0xc]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r10d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r10d
shr eax, 4
xor r9d, r11d
or r8d, eax
xor r8d, dword [rdi - 8]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r11d, dword [r14 + rcx*4]
xor r11d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x600]
xor r11d, r9d
mov r8d, r11d
xor r8d, dword [rdi - 0x14]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r11d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r11d
shr eax, 4
xor r9d, r10d
or r8d, eax
xor r8d, dword [rdi - 0x10]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r10d, dword [r14 + rcx*4]
xor r10d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r10d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r10d, dword [r14 + rax*4 + 0x600]
xor r10d, r9d
mov r8d, r10d
xor r8d, dword [rdi - 0x1c]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r10d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r10d
shr eax, 4
xor r9d, r11d
or r8d, eax
xor r8d, dword [rdi - 0x18]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r11d, dword [r14 + rcx*4]
xor r11d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x600]
xor r11d, r9d
mov r8d, r11d
xor r8d, dword [rdi - 0x24]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r11d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r11d
shr eax, 4
xor r9d, r10d
or r8d, eax
xor r8d, dword [rdi - 0x20]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r10d, dword [r14 + rcx*4]
xor r10d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r10d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r10d, dword [r14 + rax*4 + 0x600]
xor r10d, r9d
mov r8d, r10d
xor r8d, dword [rdi - 0x2c]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r10d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r10d
shr eax, 4
xor r9d, r11d
or r8d, eax
xor r8d, dword [rdi - 0x28]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r11d, dword [r14 + rcx*4]
xor r11d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x600]
xor r11d, r9d
mov r8d, r11d
xor r8d, dword [rdi - 0x34]
mov ecx, r8d
shr rcx, 0x18
lea rdi, [rdi - 0x40]
mov eax, r8d
and ecx, 0x3f
shr rax, 0x10
and eax, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, r11d
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, r11d
shr eax, 4
xor r9d, r10d
or r8d, eax
xor r8d, dword [rdi + 0x10]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov ebx, dword [r14 + rcx*4]
xor ebx, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor ebx, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor ebx, dword [r14 + rax*4 + 0x600]
xor ebx, r9d
mov r8d, ebx
xor r8d, dword [rdi + 4]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [r14 + rcx*4 + 0x100]
xor r9d, dword [r14 + rax*4 + 0x300]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r9d, dword [r14 + rax*4 + 0x500]
mov eax, r8d
and eax, 0x3f
mov r8d, ebx
shl r8d, 0x1c
xor r9d, dword [r14 + rax*4 + 0x700]
mov eax, ebx
shr eax, 4
xor r9d, r11d
or r8d, eax
xor r8d, dword [rdi + 8]
mov ecx, r8d
mov eax, r8d
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r11d, dword [r14 + rcx*4]
xor r11d, dword [r14 + rax*4 + 0x200]
mov eax, r8d
shr rax, 8
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x400]
mov eax, r8d
and eax, 0x3f
xor r11d, dword [r14 + rax*4 + 0x600]
xor r11d, r9d
sub rsi, 1
jne 0x1402bc230
mov rsi, qword [rsp + 0x10]
mov r9d, ebx
mov rdi, qword [rsp + 0x18]
mov r8d, r11d
mov r14, qword [rsp + 0x20]
shl r8d, 0x1f
shl r9d, 0x1f
shr ebx, 1
or r9d, ebx
shr r11d, 1
mov rbx, qword [rsp + 8]
or r8d, r11d
mov eax, r8d
shr eax, 1
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