Function at 0x140059090
Capabilities:
Encode data using xor

Disassembly:
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
jmp 0x140059090
movabs rax, 0x9ae16a3b2f90404f
cmp rdx, 8
jb 0x1400373a9
lea r8, [rax + rdx*2]
add rax, qword [rcx]
mov rcx, qword [rcx + rdx - 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
ret
cmp rdx, 4
jb 0x1400373d0
lea r8, [rax + rdx*2]
mov eax, dword [rcx]
mov ecx, dword [rcx + rdx - 4]
lea rdx, [rdx + rax*8]
xor rdx, rcx
imul rdx, r8
xor rcx, rdx
shr rdx, 0x2f
xor rdx, rcx
jmp 0x140037396
test rdx, rdx
je 0x140037417
movzx r8d, byte [rcx]
mov r9, rdx
shr r9, 1
movzx r9d, byte [rcx + r9]
movzx ecx, byte [rdx + rcx - 1]
shl r9, 8
or r9, r8
lea rcx, [rdx + rcx*4]
imul r9, rax
movabs rdx, 0xc3a5c85c97cb3127
imul rdx, rcx
xor rdx, r9
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
imul rax, rcx
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x10
mov rax, rdx
cmp rdx, 0x20
ja 0x1400590c8
cmp rdx, 0x10
ja 0x1400593f3
add rsp, 0x10
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140037350
cmp rdx, 0x40
jbe 0x14005932d
movabs r12, 0xb492b66fbe98f273
movabs r9, 0x9ddfea08eb382d69
mov r8, rdx
mov rdi, qword [rcx + rdx - 0x28]
mov r13, qword [rcx + rdx - 0x10]
mov rsi, qword [rcx + rdx - 0x38]
mov rdx, qword [rcx + rdx - 0x30]
lea rax, [rsi + r13]
mov r11, qword [rcx + r8 - 0x18]
lea rbx, [rdx + r8]
xor rbx, r11
imul rbx, r9
mov r10, r11
xor r10, rbx
shr rbx, 0x2f
xor rbx, r10
imul rbx, r9
mov r10, rbx
shr r10, 0x2f
xor r10, rbx
imul r10, r9
mov rbp, rcx
mov r14, qword [rcx + r8 - 0x40]
add r14, r8
lea r15, [r14 + rdi]
add r15, r10
rol r15, 0x2b
add rdx, rsi
add rdx, r14
mov rbx, rdx
rol rbx, 0x14
add rbx, r14
add rbx, r15
add rdx, rdi
mov rsi, qword [rcx + r8 - 0x20]
add rsi, rax
mov r15, qword [rcx + r8 - 8]
mov rcx, r12
add rsi, r12
lea r12, [r15 + rdi]
add r12, rsi
rol r12, 0x2b
add r11, r13
add r11, rsi
mov r14, r11
rol r14, 0x14
add r14, rsi
add r14, r12
imul rdi, rcx
add rdi, qword [rbp]
add r11, r15
dec r8
and r8, 0xffffffffffffffc0
mov qword [rsp], r8
xor r15d, r15d
mov r13, r10
add rdi, rdx
add rdi, rax
mov rsi, qword [rbp + r15 + 8]
mov r12, qword [rbp + r15 + 0x10]
add rdi, rsi
rol rdi, 0x1b
add rax, rbx
mov rcx, qword [rbp + r15 + 0x30]
mov qword [rsp + 8], rcx
add rax, rcx
rol rax, 0x16
movabs rcx, 0xb492b66fbe98f273
imul rdi, rcx
mov r9, rax
imul r9, rcx
mov r10, rdi
xor r10, r14
mov r8, qword [rbp + r15 + 0x28]
add rdx, r8
mov rax, rdx
add rax, r9
add r13, r11
imul rbx, rcx
mov r9, qword [rbp + r15 + 0x18]
add rbx, qword [rbp + r15]
add r11, r9
add r11, r10
add r11, rbx
rol r11, 0x2b
add rsi, r12
add rsi, rbx
mov rdx, rsi
rol rdx, 0x14
add rbx, rdx
add rbx, r11
rol r13, 0x1f
mov rdx, rsi
mov rdi, r13
imul rdi, rcx
add rdx, r9
add r12, rax
add r14, rdi
add r14, qword [rbp + r15 + 0x20]
mov r9, qword [rbp + r15 + 0x38]
add r12, r9
add r12, r14
add r8, qword [rsp + 8]
add r8, r14
mov r11, r8
rol r11, 0x14
add r14, r11
rol r12, 0x2b
add r14, r12
mov r11, r8
add r11, r9
add r15, 0x40
cmp qword [rsp], r15
jne 0x1400591a6
xor rbx, r14
movabs r9, 0x9ddfea08eb382d69
imul rbx, r9
mov r8, rbx
shr r8, 0x2f
xor r8, r14
xor r8, rbx
imul r8, r9
mov rcx, r8
shr rcx, 0x2f
xor rcx, r8
imul rcx, r9
add rcx, rdi
xor rdx, r11
imul rdx, r9
mov r8, rdx
shr r8, 0x2f
xor r8, r11
xor r8, rdx
imul r8, r9
mov rdx, r8
shr rdx, 0x2f
xor rdx, r8
imul rdx, r9
mov r8, rax
shr r8, 0x2f
xor r8, rax
movabs rax, 0xb492b66fbe98f273
imul r8, rax
add r8, r10
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
add rsp, 0x10
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rax, 0x9ae16a3b2f90404f
mov r14, rdx
lea r8, [rax + rdx*2]
mov r10, qword [rcx]
imul r10, rax
mov r9, qword [rcx + rdx - 0x20]
mov r11, qword [rcx + rdx - 0x18]
imul rax, qword [rcx + 0x10]
mov rbx, qword [rcx + 8]
mov rdx, qword [rcx + 0x18]
lea rdi, [rdx + rdx*8]
mov rsi, qword [rcx + r14 - 8]
mov rcx, qword [rcx + r14 - 0x10]
imul rcx, r8
add r10, rsi
mov rdx, r10
rol rdx, 0x15
add rax, rdi
mov r14, rax
add rax, r11
add rsi, rax
add rax, rbx
rol rbx, 0x22
add rbx, r11
lea rbx, [rbx + rbx*8]
add rbx, rdx
xor r10, r9
lea rdx, [rdi + r10]
add r10, rdi
inc r10
add r10, rbx
imul r10, r8
bswap r10
rol r14, 0x16
add r14, r11
add rdx, rcx
inc rdx
add rdx, r10
imul rdx, r8
bswap rdx
add rsi, r14
add rsi, rdx
imul rsi, r8
bswap rsi
add rax, rsi
imul rax, r8
add rcx, r9
add rcx, rax
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, r8
add rax, r14
jmp 0x14005931c
movabs rax, 0x9ae16a3b2f90404f
movabs r9, 0xb492b66fbe98f273
imul r9, qword [rcx]
mov rsi, rdx
lea rdx, [rax + rdx*2]
mov r10, qword [rcx + 8]
mov r8, qword [rcx + rsi - 8]
lea r11, [r10 + rax]
imul rax, qword [rcx + rsi - 0x10]
rol r11, 0x2e
imul r8, rdx
add r11, r9
add r11, r8
add r9, r10
rol r9, 0x15
rol r8, 0x22
add r8, r9
add r8, rax
xor r8, r11
imul r8, rdx
xor r11, r8
shr r8, 0x2f
xor r8, r11
imul r8, rdx
mov rax, r8
shr rax, 0x2f
xor rax, r8
imul rax, rdx
jmp 0x14005931c