Function at 0x140026a30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r13
push r14
sub rsp, 0xb8
mov rax, qword [0x1403687c8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x100]
mov r13d, r9d
mov esi, dword [rsp + 0x118]
mov r9, rcx
mov ecx, dword [rsp + 0x108]
mov r14, r8
mov r10d, edx
mov qword [rsp + 0x30], rax
call fcn.14000a4c0
mov ebp, eax
test eax, eax
js 0x140026d8b
mov eax, dword [rsp + 0x120]
mov qword [rsp + 0xa0], r12
lea r12d, [rax - 1]
and r12d, 7
jne 0x140026aa8
mov byte [r14], r12b
inc r14
dec r13d
mov qword [rsp + 0x98], r15
cmp esi, 0xffffffff
jne 0x140026ac8
mov esi, ebp
cmp eax, 0x400
jne 0x140026ad9
cmp ebp, 0x40
jne 0x140026ad9
lea esi, [rbp - 2]
jmp 0x140026ad9
cmp esi, ebp
jg 0x140026d76
cmp esi, 0xffffffff
jl 0x140026d76
mov r15d, r13d
lea eax, [rsi + 2]
sub r15d, ebp
cmp r15d, eax
jl 0x140026d76
mov qword [rsp + 0xb0], rbx
xor eax, eax
mov qword [rsp + 0xa8], rdi
mov r8, r10
lea rdi, [r14 + 8]
mov qword [r14], rax
mov rcx, rdi
mov rdx, r9
dec r15d
mov rbx, r10
call fcn.140097850
add rdi, rbx
test esi, esi
jle 0x140026b51
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, esi
call fcn.140035b60
mov r10d, eax
test eax, eax
jne 0x140026d61
movsxd rbx, esi
lea rdx, [rsp + 0x40]
mov r8, rbx
mov rcx, rdi
call fcn.140097850
add edi, ebx
mov ecx, dword [rsp + 0x108]
sub edi, r14d
movsxd rbx, r15d
mov r8d, edi
mov rdx, r14
mov dword [rsp + 0x20], ebp
lea r9, [rbx + r14]
call fcn.14000a5e0
mov r10d, eax
test eax, eax
jne 0x140026d61
mov ecx, dword [rsp + 0x110]
lea eax, [r13 - 1]
mov byte [rax + r14], 0xbc
lea rdx, [rbx + r14]
sub ecx, 1
je 0x140026bc4
sub ecx, 1
je 0x140026bbd
sub ecx, 1
je 0x140026bb6
cmp ecx, 0x17
je 0x140026baf
mov r10d, 0xffffff53
jmp 0x140026d61
mov ecx, 4
jmp 0x140026bc9
mov ecx, 8
jmp 0x140026bc9
mov ecx, 7
jmp 0x140026bc9
mov ecx, 6
mov r9, r14
mov dword [rsp + 0x20], r15d
mov r8d, ebp
call fcn.1400264f0
mov r10d, eax
test eax, eax
jne 0x140026d61
movsxd r8, esi
mov ecx, r12d
sub rbx, r8
mov eax, 1
shl al, cl
lea rdx, [rbx + r14]
dec al
xor r9d, r9d
and byte [r14], al
xor byte [rdx - 1], 1
test esi, esi
jle 0x140026d35
cmp esi, 8
jb 0x140026d35
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x40]
add rax, rcx
lea r11, [rdx + rcx]
cmp rdx, rax
ja 0x140026c3a
lea rax, [rsp + 0x40]
cmp r11, rax
jae 0x140026d35
cmp esi, 0x40
jb 0x140026cea
mov ecx, esi
and ecx, 0x8000003f
jge 0x140026c54
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
sub eax, ecx
lea r11, [rsp + 0x40]
movsxd rbp, eax
lea rbx, [rsp + 0x50]
sub r11, rdx
sub rbx, rdx
lea rcx, [rdx + 0x20]
mov rdi, 0xffffffffffffffe0
sub rdi, rdx
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x20]
add r9d, 0x40
movdqu xmm1, xmmword [rcx + r11 - 0x20]
movdqu xmm2, xmmword [rcx + r11]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + rdi]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [rcx + rbx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rbx - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, rbp
jl 0x140026c80
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x140026d35
mov eax, esi
and eax, 0x80000007
jge 0x140026cfa
dec eax
or eax, 0xfffffff8
inc eax
sub esi, eax
movsxd rcx, r9d
lea r11, [rsp + 0x40]
add rcx, rdx
movsxd rbx, esi
sub r11, rdx
nop dword [rax]
movq xmm0, qword [rcx]
add r9d, 8
movq xmm1, qword [rcx + r11]
pxor xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rdx
cmp rax, rbx
jl 0x140026d10
movsxd rcx, r9d
cmp rcx, r8
jge 0x140026d61
lea r9, [rsp + 0x40]
sub r9, rdx
lea rax, [rcx + rdx]
sub r8, rcx
nop dword [rax]
movzx ecx, byte [rax + r9]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140026d50
mov rdi, qword [rsp + 0xa8]
mov eax, r10d
mov rbx, qword [rsp + 0xb0]
jmp 0x140026d7b
mov eax, 0xffffff06
mov r15, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140095720
add rsp, 0xb8
pop r14
pop r13
pop rsi
pop rbp
ret