Function at 0x140059f90
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rax
jmp 0x140059f90
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x10
mov r9, rdx
cmp rdx, 0x20
ja 0x14005a0fe
movabs rax, 0x9ae16a3b2f90404f
cmp r9, 0x10
ja 0x14005a093
cmp r9, 8
jae 0x140059fef
cmp r9, 4
jb 0x14005a048
lea r8, [rax + r9*2]
mov eax, dword [rcx]
mov ecx, dword [rcx + r9 - 4]
lea rdx, [r9 + rax*8]
xor rdx, rcx
imul rdx, r8
xor rcx, rdx
shr rdx, 0x2f
xor rdx, rcx
jmp 0x14005a025
lea r8, [rax + r9*2]
add rax, qword [rcx]
mov rcx, qword [rcx + r9 - 8]
mov rdx, rcx
rol rdx, 0x1b
imul rdx, r8
add rdx, rax
rol rax, 0x27
add rax, rcx
imul rax, r8
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
add rsp, 0x10
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r9, r9
je 0x14005a037
movzx r8d, byte [rcx]
mov rdx, r9
shr r9, 1
movzx r9d, byte [rcx + r9]
movzx ecx, byte [rcx + rdx - 1]
shl r9d, 8
or r9, r8
shl ecx, 2
or rcx, rdx
imul r9, rax
movabs rdx, 0xc3a5c85c97cb3127
imul rdx, rcx
xor rdx, r9
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
imul rax, rcx
jmp 0x14005a037
movabs r10, 0xb492b66fbe98f273
imul r10, qword [rcx]
mov rdx, r9
lea r8, [rax + r9*2]
mov r11, qword [rcx + 8]
mov r9, qword [rcx + r9 - 8]
lea rsi, [r11 + rax]
imul rax, qword [rcx + rdx - 0x10]
rol rsi, 0x2e
imul r9, r8
add rsi, r10
add rsi, r9
add r10, r11
rol r10, 0x15
rol r9, 0x22
add r9, r10
add r9, rax
xor r9, rsi
imul r9, r8
xor rsi, r9
shr r9, 0x2f
xor r9, rsi
imul r9, r8
mov rax, r9
shr rax, 0x2f
xor rax, r9
jmp 0x14005a033
cmp r9, 0x40
jbe 0x14005a35a
movabs r13, 0xb492b66fbe98f273
movabs r14, 0x9ddfea08eb382d69
mov rdx, r9
mov rdi, qword [rcx + r9 - 0x28]
mov r8, qword [rcx + r9 - 0x10]
mov r10, qword [rcx + r9 - 0x38]
mov rbp, qword [rcx + r9 - 0x30]
lea rax, [r10 + r8]
mov rsi, qword [rcx + r9 - 0x18]
lea rbx, [r9 + rbp]
xor rbx, rsi
imul rbx, r14
mov r11, rsi
xor r11, rbx
shr rbx, 0x2f
xor rbx, r11
imul rbx, r14
mov r11, rbx
shr r11, 0x2f
xor r11, rbx
imul r11, r14
mov r14, qword [rcx + r9 - 0x40]
add r14, r9
lea r15, [r14 + rdi]
add r15, r11
rol r15, 0x2b
add rbp, r10
add rbp, r14
mov rbx, rbp
rol rbx, 0x14
add rbx, r14
add rbx, r15
add rbp, rdi
mov r10, qword [rcx + r9 - 0x20]
add r10, rax
mov r15, qword [rcx + r9 - 8]
add r10, r13
lea r12, [r15 + rdi]
add r12, r10
rol r12, 0x2b
add rsi, r8
add rsi, r10
mov r14, rsi
rol r14, 0x14
add r14, r10
add r14, r12
imul rdi, r13
add rdi, qword [rcx]
add rsi, r15
dec rdx
and rdx, 0xffffffffffffffc0
mov qword [rsp], rdx
xor r15d, r15d
nop word cs:[rax + rax]
mov r13, r11
add rdi, rbp
add rdi, rax
mov r10, qword [rcx + r15 + 8]
mov r12, qword [rcx + r15 + 0x10]
add rdi, r10
rol rdi, 0x1b
add rax, rbx
mov rdx, qword [rcx + r15 + 0x30]
mov qword [rsp + 8], rdx
add rax, rdx
rol rax, 0x16
mov rdx, rcx
movabs rcx, 0xb492b66fbe98f273
imul rdi, rcx
mov r9, rax
imul r9, rcx
mov r11, rdi
xor r11, r14
mov r8, qword [rdx + r15 + 0x28]
add rbp, r8
mov rax, rbp
add rax, r9
add r13, rsi
imul rbx, rcx
mov r9, qword [rdx + r15 + 0x18]
add rbx, qword [rdx + r15]
add rsi, r9
add rsi, rbx
add rsi, r11
rol rsi, 0x2b
add r10, r12
add r10, rbx
mov rdi, r10
rol rdi, 0x14
add rbx, rdi
add rbx, rsi
rol r13, 0x1f
mov rbp, r10
mov rdi, r13
imul rdi, rcx
mov rcx, rdx
add rbp, r9
add r14, rdi
mov r9, qword [rdx + r15 + 0x38]
add r14, qword [rdx + r15 + 0x20]
add r12, r9
add r12, rax
add r12, r14
add r8, qword [rsp + 8]
add r8, r14
mov rdx, r8
rol rdx, 0x14
add r14, rdx
rol r12, 0x2b
add r14, r12
mov rsi, r8
add rsi, r9
add r15, 0x40
cmp qword [rsp], r15
jne 0x14005a1e0
xor rbx, r14
movabs r9, 0x9ddfea08eb382d69
imul rbx, r9
xor r14, rbx
shr rbx, 0x2f
xor rbx, r14
imul rbx, r9
mov rcx, rbx
shr rcx, 0x2f
xor rcx, rbx
imul rcx, r9
add rcx, rdi
xor rbp, rsi
imul rbp, r9
xor rsi, rbp
shr rbp, 0x2f
xor rbp, rsi
imul rbp, r9
mov rdx, rbp
shr rdx, 0x2f
xor rdx, rbp
imul rdx, r9
mov r8, rax
shr r8, 0x2f
xor r8, rax
movabs rax, 0xb492b66fbe98f273
imul r8, rax
add r8, r11
add r8, rdx
xor r8, rcx
imul r8, r9
xor rcx, r8
shr r8, 0x2f
xor r8, rcx
imul r8, r9
mov rax, r8
shr rax, 0x2f
xor rax, r8
imul rax, r9
jmp 0x14005a037
movabs rax, 0x9ae16a3b2f90404f
mov rdx, r9
lea r8, [rax + r9*2]
mov rsi, qword [rcx]
imul rsi, rax
mov r9, qword [rcx + r9 - 0x20]
mov r11, qword [rcx + rdx - 0x18]
imul rax, qword [rcx + 0x10]
mov rbx, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
lea rdi, [r10 + r10*8]
mov r10, qword [rcx + rdx - 8]
mov rcx, qword [rcx + rdx - 0x10]
imul rcx, r8
add rsi, r10
mov r14, rsi
rol r14, 0x15
add rax, rdi
mov rdx, rax
add rax, r11
add r10, rax
add rax, rbx
rol rbx, 0x22
add rbx, r11
lea rbx, [rbx + rbx*8]
add rbx, r14
xor rsi, r9
lea r14, [rdi + rsi]
add rsi, rdi
inc rsi
add rsi, rbx
imul rsi, r8
bswap rsi
rol rdx, 0x16
add rdx, r11
lea r11, [rcx + r14]
inc r11
add r11, rsi
imul r11, r8
bswap r11
add r10, rdx
add r10, r11
imul r10, r8
bswap r10
add rax, r10
imul rax, r8
add rcx, r9
add rcx, rax
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, r8
add rax, rdx
jmp 0x14005a037