Function at 0x140266310
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x1403531c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
mov rbp, r9
mov r12, r8
mov r15, rdx
mov rsi, rcx
call qword [rax + 0x20]
test al, al
jne 0x140266353
mov rcx, rsi
call fcn.140251df0
mov r13, qword [rsi + 0x40]
mov r14, qword [rsi + 0x48]
mov rax, qword [rsi + 0x70]
sub r14, r13
test rax, rax
je 0x1402663d5
mov qword [rsp + 0xe8], rdi
lea r8, [rax + r13]
mov rdi, r14
mov rbx, rbp
sub rdi, rax
mov rdx, r15
cmp rdi, rbp
mov rcx, r12
cmovb rbx, rdi
mov r9, rbx
call fcn.1402642f0
add qword [rsi + 0x70], rbx
sub rbp, rbx
add r15, rbx
add r12, rbx
cmp rbx, rdi
mov rdi, qword [rsp + 0xe8]
jne 0x1402663d5
mov rdx, qword [rsi + 0x20]
mov rcx, rsi
call fcn.140265ea0
mov rcx, qword [rsi + 8]
mov r9, qword [rsi + 0x20]
mov r8, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov qword [rsi + 0x70], 0
mov rbx, rbp
cmp rbp, r14
jb 0x1402665b4
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r14
movaps xmmword [rsp + 0xd0], xmm6
movaps xmm6, xmmword [rsp + 0x20]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
movdqa xmm2, xmm6
movaps xmm0, xmmword [rsp + 0x60]
mov rax, r15
mov qword [rsp + 0x50], r12
mov r10, r12
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x20], xmm6
cmp r14, 0x20
jb 0x140266538
nop word [rax + rax]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe0
mov rax, qword [r8 + 8]
movups xmm1, xmmword [r9]
mov qword [rsp + 0x78], rdx
movups xmm3, xmmword [r9 + 0x10]
movups xmmword [rsp + 0xa0], xmm1
xor qword [rsp + 0xa8], rax
mov rax, qword [r8 + 0x18]
movq rcx, xmm1
xor rcx, qword [r8]
mov qword [rsp + 0xa0], rcx
movq rcx, xmm3
xor rcx, qword [r8 + 0x10]
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0xb0], xmm3
xor qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0xb0]
add rcx, 0xffffffffffffffe0
lea r10, [rax + 0x20]
mov qword [rsp + 0x88], rcx
lea rcx, [r8 + 0x20]
mov qword [rsp + 0x90], rcx
mov rcx, qword [rsp + 0x28]
movups xmmword [rax], xmm0
add rcx, 0xffffffffffffffe0
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x98], rcx
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
lea rax, [r9 + 0x20]
movaps xmm1, xmmword [rsp + 0x70]
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm0
cmp rdx, 0x20
jae 0x140266440
psrldq xmm1, 8
movq rdx, xmm1
test rdx, rdx
je 0x140266575
movq r8, xmm2
sub r8, rax
sub r10, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor cl, byte [rax]
mov byte [r10 + rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140266560
mov rdx, qword [rsi + 0x20]
sub rbp, r14
mov rcx, rsi
mov rbx, rbp
add r15, r14
add r12, r14
call fcn.140265ea0
mov rcx, qword [rsi + 8]
mov r9, qword [rsi + 0x20]
mov r8, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x48]
cmp rbp, r14
jae 0x140266402
movaps xmm6, xmmword [rsp + 0xd0]
mov r9, rbp
mov r8, r13
mov rdx, r15
mov rcx, r12
call fcn.1402642f0
add qword [rsi + 0x70], rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402d55d0
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret