Function at 0x14005a640
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
push rax
cmp r8, 0x20
ja 0x14005a7d5
cmp r8, 0x10
ja 0x14005a71b
cmp r8, 9
jb 0x14005a6bc
mov r9, qword [rdx + r8 - 8]
mov rax, r8
add rax, r9
mov ecx, r8d
ror rax, cl
mov rcx, qword [rdx]
xor rcx, rax
movabs rdx, 0x9ddfea08eb382d69
imul rcx, rdx
xor rax, rcx
shr rcx, 0x2f
xor rcx, rax
imul rcx, rdx
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
xor rax, r9
add rsp, 8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r8, 4
jae 0x14005a7aa
movabs rax, 0x9ae16a3b2f90404f
test r8, r8
je 0x14005a6ab
movzx ecx, byte [rdx]
mov r9, r8
shr r9, 1
movzx r9d, byte [rdx + r9]
movzx edx, byte [rdx + r8 - 1]
shl r9d, 8
or r9, rcx
shl edx, 2
or rdx, r8
imul r9, rax
movabs rcx, 0xc949d7c7509e6557
imul rcx, rdx
xor rcx, r9
mov rdx, rcx
shr rdx, 0x2f
xor rdx, rcx
imul rax, rdx
jmp 0x14005a6ab
movabs rax, 0xb492b66fbe98f273
imul rax, qword [rdx]
mov r9, qword [rdx + 8]
movabs rcx, 0x9ae16a3b2f90404f
imul rcx, qword [rdx + r8 - 8]
movabs r10, 0xc3a5c85c97cb3127
imul r10, qword [rdx + r8 - 0x10]
movabs rdx, 0xc949d7c7509e6557
xor rdx, r9
rol rdx, 0x2c
add r8, rax
add r8, rdx
sub rax, r9
rol rax, 0x15
sub r8, rcx
rol rcx, 0x22
add rcx, r10
add rcx, rax
xor rcx, r8
movabs rdx, 0x9ddfea08eb382d69
imul rcx, rdx
xor r8, rcx
shr rcx, 0x2f
xor rcx, r8
imul rcx, rdx
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
jmp 0x14005a6ab
mov eax, dword [rdx]
mov ecx, dword [rdx + r8 - 4]
lea rdx, [r8 + rax*8]
xor rdx, rcx
movabs r8, 0x9ddfea08eb382d69
imul rdx, r8
xor rcx, rdx
shr rdx, 0x2f
xor rdx, rcx
jmp 0x14005aa13
cmp r8, 0x40
jbe 0x14005aa2a
movabs r13, 0xb492b66fbe98f273
movabs r14, 0x9ddfea08eb382d69
mov rdi, qword [rdx + r8 - 0x28]
mov rcx, qword [rdx + r8 - 0x10]
mov rax, qword [rdx + r8 - 0x38]
mov r10, qword [rdx + r8 - 0x30]
lea r9, [rax + rcx]
mov rsi, qword [rdx + r8 - 0x18]
lea rbx, [r10 + r8]
xor rbx, rsi
imul rbx, r14
mov r11, rsi
xor r11, rbx
shr rbx, 0x2f
xor rbx, r11
imul rbx, r14
mov rbp, rbx
shr rbp, 0x2f
xor rbp, rbx
imul rbp, r14
mov r14, qword [rdx + r8 - 0x40]
add r14, r8
lea r15, [r14 + rdi]
add r15, rbp
rol r15, 0x2b
add r10, rax
add r10, r14
mov rbx, r10
rol rbx, 0x14
add rbx, r14
add rbx, r15
add r10, rdi
mov rax, qword [rdx + r8 - 0x20]
add rax, r9
mov r15, qword [rdx + r8 - 8]
add rax, r13
lea r12, [r15 + rdi]
add r12, rax
rol r12, 0x2b
add rsi, rcx
add rsi, rax
mov r14, rsi
rol r14, 0x14
add r14, rax
add r14, r12
imul rdi, r13
add rdi, qword [rdx]
add rsi, r15
dec r8
and r8, 0xffffffffffffffc0
xor r15d, r15d
mov r13, rbp
add rdi, r10
add rdi, r9
mov rax, qword [rdx + r15 + 8]
mov r12, qword [rdx + r15 + 0x10]
add rdi, rax
rol rdi, 0x1b
add r9, rbx
mov rcx, qword [rdx + r15 + 0x30]
mov qword [rsp], rcx
add r9, rcx
rol r9, 0x16
movabs rcx, 0xb492b66fbe98f273
imul rdi, rcx
mov r11, r9
imul r11, rcx
mov rbp, rdi
xor rbp, r14
mov rcx, qword [rdx + r15 + 0x28]
add r10, rcx
mov r9, r10
add r9, r11
add r13, rsi
movabs r10, 0xb492b66fbe98f273
imul rbx, r10
mov r11, qword [rdx + r15 + 0x18]
add rbx, qword [rdx + r15]
add rsi, r11
add rsi, rbx
add rsi, rbp
rol rsi, 0x2b
add rax, r12
add rax, rbx
mov r10, rax
rol r10, 0x14
add rbx, r10
add rbx, rsi
rol r13, 0x1f
mov r10, rax
mov rdi, r13
movabs rax, 0xb492b66fbe98f273
imul rdi, rax
add r10, r11
add r14, rdi
mov rax, qword [rdx + r15 + 0x38]
add r14, qword [rdx + r15 + 0x20]
add r12, rax
add r12, r9
add r12, r14
add rcx, qword [rsp]
add rcx, r14
mov r11, rcx
rol r11, 0x14
add r14, r11
rol r12, 0x2b
add r14, r12
mov rsi, rcx
add rsi, rax
add r15, 0x40
cmp r8, r15
jne 0x14005a8a5
xor rbx, r14
movabs r8, 0x9ddfea08eb382d69
imul rbx, r8
xor r14, rbx
shr rbx, 0x2f
xor rbx, r14
imul rbx, r8
mov rax, rbx
shr rax, 0x2f
xor rax, rbx
imul rax, r8
add rax, rdi
xor r10, rsi
imul r10, r8
xor rsi, r10
shr r10, 0x2f
xor r10, rsi
imul r10, r8
mov rcx, r10
shr rcx, 0x2f
xor rcx, r10
imul rcx, r8
mov rdx, r9
shr rdx, 0x2f
xor rdx, r9
movabs r9, 0xb492b66fbe98f273
imul rdx, r9
add rdx, rbp
add rdx, rcx
xor rdx, rax
imul rdx, r8
xor rax, rdx
shr rdx, 0x2f
xor rdx, rax
imul rdx, r8
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
imul rax, r8
jmp 0x14005a6ab
mov r9, qword [rdx + 0x10]
mov r11, qword [rdx + 0x18]
mov rbx, qword [rdx + r8 - 0x10]
lea rcx, [rbx + r8]
movabs rax, 0xc3a5c85c97cb3127
imul rcx, rax
add rcx, qword [rdx]
lea r10, [rcx + r11]
mov r15, rcx
add rcx, qword [rdx + 8]
mov rsi, rcx
add rcx, r9
add r9, qword [rdx + r8 - 0x20]
mov rdi, qword [rdx + r8 - 8]
add rdi, r11
lea r12, [rdi + r9]
mov r14, r9
add r9, qword [rdx + r8 - 0x18]
rol r10, 0xc
rol r15, 0x1b
rol rsi, 0x39
rol r12, 0xc
rol r14, 0x1b
add rsi, r15
mov rdx, r9
rol rdx, 0x39
add r9, rbx
add rdi, r9
rol r9, 0x21
add r14, r11
add r14, rdx
add r14, r12
add r14, r9
add r14, rcx
rol rcx, 0x21
add rsi, r10
add rcx, rsi
movabs rdx, 0x9ae16a3b2f90404f
imul r14, rdx
add rdi, rcx
imul rdi, rax
add rdi, r14
mov r8, rdi
shr r8, 0x2f
xor r8, rdi
imul r8, rax
add r8, rcx
mov rax, r8
shr rax, 0x2f
xor rax, r8
imul rax, rdx
jmp 0x14005a6ab