Function at 0x180065de0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
movzx eax, byte [rdx + 1]
lea r15, [0x180000000]
movzx r9d, byte [rdx]
mov rbx, r8
movzx r8d, byte [rdx + 4]
mov rdi, rcx
shl r9d, 8
mov esi, 8
or r9d, eax
shl r8d, 8
movzx eax, byte [rdx + 2]
mov ebp, esi
shl r9d, 8
or r9d, eax
lea r14d, [rsi + 0x37]
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
rol r11d, 1
mov eax, dword [rdi]
mov r8d, r10d
xor eax, r10d
ror r8d, 4
xor r8d, dword [rdi + 4]
mov ecx, eax
mov r9d, eax
shr rax, 0x10
and rax, r14
shr rcx, 0x18
and rcx, r14
mov edx, dword [r15 + rcx*4 + 0x929f0]
xor edx, dword [r15 + rax*4 + 0x92bf0]
mov eax, r9d
shr rax, 8
and r9, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92df0]
mov eax, r8d
shr rax, 0x18
and rax, r14
xor edx, dword [r15 + rax*4 + 0x928f0]
mov eax, r8d
shr rax, 0x10
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92af0]
mov eax, r8d
shr rax, 8
and r8, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92cf0]
xor edx, dword [r15 + r9*4 + 0x92ff0]
xor edx, dword [r15 + r8*4 + 0x92ef0]
mov r9d, dword [rdi + 8]
xor r11d, edx
xor r9d, r11d
mov eax, r11d
ror eax, 4
xor eax, dword [rdi + 0xc]
add rdi, 0x10
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r14
shr rcx, 0x18
and rcx, r14
mov edx, dword [r15 + rcx*4 + 0x928f0]
xor edx, dword [r15 + rax*4 + 0x92af0]
mov eax, r8d
shr rax, 8
and r8, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92cf0]
mov eax, r9d
shr rax, 0x18
and rax, r14
xor edx, dword [r15 + rax*4 + 0x929f0]
mov eax, r9d
shr rax, 0x10
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92bf0]
mov eax, r9d
shr rax, 8
and r9, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92df0]
xor edx, dword [r15 + r8*4 + 0x92ef0]
xor edx, dword [r15 + r9*4 + 0x92ff0]
xor r10d, edx
sub rbp, 1
jne 0x180065ed1
mov rbp, rsi
mov r9d, dword [rdi]
mov eax, r11d
ror eax, 4
xor r9d, r11d
xor eax, dword [rdi + 4]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r14
shr rcx, 0x18
and rcx, r14
mov edx, dword [r15 + rcx*4 + 0x928f0]
xor edx, dword [r15 + rax*4 + 0x92af0]
mov eax, r8d
shr rax, 8
and r8, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92cf0]
mov eax, r9d
shr rax, 0x18
and rax, r14
xor edx, dword [r15 + rax*4 + 0x929f0]
mov eax, r9d
shr rax, 0x10
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92bf0]
mov eax, r9d
shr rax, 8
and r9, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92df0]
xor edx, dword [r15 + r8*4 + 0x92ef0]
xor edx, dword [r15 + r9*4 + 0x92ff0]
mov r9d, dword [rdi + 8]
xor r10d, edx
xor r9d, r10d
mov eax, r10d
ror eax, 4
xor eax, dword [rdi + 0xc]
add rdi, 0x10
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r14
shr rcx, 0x18
and rcx, r14
mov edx, dword [r15 + rcx*4 + 0x928f0]
xor edx, dword [r15 + rax*4 + 0x92af0]
mov eax, r8d
shr rax, 8
and r8, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92cf0]
mov eax, r9d
shr rax, 0x18
and rax, r14
xor edx, dword [r15 + rax*4 + 0x929f0]
mov eax, r9d
shr rax, 0x10
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92bf0]
mov eax, r9d
shr rax, 8
and r9, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92df0]
xor edx, dword [r15 + r8*4 + 0x92ef0]
xor edx, dword [r15 + r9*4 + 0x92ff0]
xor r11d, edx
sub rbp, 1
jne 0x18006600a
mov r9d, dword [rdi]
mov eax, r10d
ror eax, 4
xor r9d, r10d
xor eax, dword [rdi + 4]
lea rdi, [rdi + 0x10]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r14
shr rcx, 0x18
and rcx, r14
mov edx, dword [r15 + rcx*4 + 0x928f0]
xor edx, dword [r15 + rax*4 + 0x92af0]
mov eax, r8d
shr rax, 8
and r8, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92cf0]
mov eax, r9d
shr rax, 0x18
and rax, r14
xor edx, dword [r15 + rax*4 + 0x929f0]
mov eax, r9d
shr rax, 0x10
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92bf0]
mov eax, r9d
shr rax, 8
and r9, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92df0]
xor edx, dword [r15 + r8*4 + 0x92ef0]
xor edx, dword [r15 + r9*4 + 0x92ff0]
mov r9d, dword [rdi - 8]
xor r11d, edx
xor r9d, r11d
mov eax, r11d
ror eax, 4
xor eax, dword [rdi - 4]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r14
shr rcx, 0x18
and rcx, r14
mov edx, dword [r15 + rcx*4 + 0x928f0]
xor edx, dword [r15 + rax*4 + 0x92af0]
mov eax, r8d
shr rax, 8
and r8, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92cf0]
mov eax, r9d
shr rax, 0x18
and rax, r14
xor edx, dword [r15 + rax*4 + 0x929f0]
mov eax, r9d
shr rax, 0x10
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92bf0]
mov eax, r9d
shr rax, 8
and r9, r14
and rax, r14
xor edx, dword [r15 + rax*4 + 0x92df0]
xor edx, dword [r15 + r8*4 + 0x92ef0]
xor edx, dword [r15 + r9*4 + 0x92ff0]
xor r10d, edx
sub rsi, 1
jne 0x18006613f
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
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
xor eax, eax
mov rbx, qword [rsp + 0x18]
pop r15
pop r14
ret