Function at 0x140260290
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rbp, qword [rsp + 0x110]
cmp qword [rsp + 0x120], 0
sete al
cmp rbp, 1
mov rdi, rdx
setbe dl
mov rbx, rcx
mov rsi, r8
or al, dl
jne 0x140260708
cmp qword [rsp + 0x118], 0
je 0x140260708
lea r12, [rbp - 1]
test r12, rbp
jne 0x140260708
mov eax, 0x3fffffff
xor edx, edx
div qword [rsp + 0x118]
cmp rax, qword [rsp + 0x120]
jb 0x1402606f3
mov rax, qword [rsp + 0x118]
shl rax, 4
cmp rax, 0x3f
ja 0x140260335
mov ecx, dword [rsp + 0x118]
mov eax, 1
shl ecx, 4
shl rax, cl
cmp rbp, rax
jae 0x1402606f3
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x108], r9
imul rax, qword [rsp + 0x120]
shl rax, 7
mov r10, rax
cmp rax, 0x7fffffff
ja 0x1402606f3
movabs rax, 0x1ffffffffffffff
xor edx, edx
lea rcx, [rbp + 2]
div qword [rsp + 0x118]
cmp rax, rcx
jb 0x1402606f3
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x48], r10
imul rax, rcx
shl rax, 7
add rax, r10
mov qword [rsp + 0x88], rax
mov rcx, rax
jb 0x1402606f3
cmp qword [rsp + 0x128], 0
mov eax, 0x2000000
cmovne rax, qword [rsp + 0x128]
mov qword [rsp + 0x128], rax
cmp rax, rcx
jb 0x1402606f3
cmp qword [rsp + 0x130], 0
mov eax, 1
je 0x14026070a
xor r8d, r8d
lea rdx, [0x140450e20]
call fcn.1402003e0
mov r10, qword [rsp + 0x48]
mov r9, qword [rsp + 0x108]
test rax, rax
mov qword [rsp + 0x80], rax
je 0x140260741
mov rax, qword [rsp + 0x80]
mov edx, edi
mov r8, rsi
mov rcx, rbx
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x38], rax
mov rax, qword [0x14048f190]
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x94], edi
call fcn.1401fcc00
mov r10, qword [rsp + 0x48]
test eax, eax
je 0x14026071e
mov rax, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x48], 0
mov r14, qword [rsp + 0x118]
mov r11, qword [rsp + 0x118]
mov qword [rsp + 0x98], r10
imul rax, r12
lea rsi, [rdx + r10]
mov qword [rsp + 0xf0], rbx
mov r9, rdx
shl r14, 7
shl r11, 5
lea rdi, [rsi + r14]
mov qword [rsp + 0x50], r11
lea r13, [rdi + r14]
shl rax, 7
add rax, r13
mov qword [rsp + 0x68], rax
lea rax, [rsi + r14 - 0x40]
mov qword [rsp + 0x70], rax
lea rax, [r13 + r14]
mov qword [rsp + 0x78], rax
nop dword [rax]
mov r10, qword [rsp + 0x50]
test r10, r10
je 0x140260737
xor eax, eax
movzx edx, byte [r9 + rax*4]
mov dword [r13 + rax*4], edx
movzx ecx, byte [r9 + rax*4 + 1]
shl ecx, 8
or ecx, edx
mov dword [r13 + rax*4], ecx
movzx edx, byte [r9 + rax*4 + 2]
shl edx, 0x10
or edx, ecx
mov dword [r13 + rax*4], edx
movzx ecx, byte [r9 + rax*4 + 3]
shl ecx, 0x18
or edx, ecx
mov dword [r13 + rax*4], edx
add rax, 1
cmp rax, r10
jne 0x1402604f0
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x78]
mov r12d, 1
mov rax, rbx
mov qword [rsp + 0x58], rsi
mov rbx, r14
mov rsi, r12
mov r12, qword [rsp + 0x118]
mov qword [rsp + 0x60], rdi
mov r14, rax
mov rdi, r15
mov r15, r9
nop word [rax + rax]
mov rdx, rdi
mov rcx, rdi
mov r8, r12
add rsi, 1
sub rdx, rbx
add rdi, rbx
call fcn.14025bd10
cmp rsi, rbp
jb 0x140260570
mov rsi, qword [rsp + 0x58]
mov rax, r14
mov rdx, qword [rsp + 0x68]
xor r12d, r12d
mov r8, qword [rsp + 0x118]
mov r14, rbx
mov rbx, rax
mov qword [rsp + 0x58], r15
mov rcx, rsi
mov rdi, qword [rsp + 0x60]
call fcn.14025bd10
mov qword [rsp + 0x110], rbp
mov r15, qword [rsp + 0x70]
mov rbp, rbx
mov rbx, rsi
mov rsi, r12
mov r12, qword [rsp + 0x110]
nop dword [rax + rax]
mov eax, dword [r15]
xor edx, edx
div r12
xor eax, eax
imul rdx, r14
add rdx, r13
test rbp, rbp
je 0x140260612
nop word cs:[rax + rax]
mov ecx, dword [rbx + rax*4]
xor ecx, dword [rdx + rax*4]
mov dword [rdi + rax*4], ecx
add rax, 1
cmp rax, rbp
jne 0x140260600
mov r8, qword [rsp + 0x118]
mov rdx, rdi
mov rcx, rbx
add rsi, 1
call fcn.14025bd10
cmp rsi, r12
jb 0x1402605e0
mov rsi, rbx
mov rbx, rbp
mov r9, qword [rsp + 0x58]
mov rbp, r12
xor eax, eax
test rbx, rbx
je 0x140260658
nop dword [rax + rax]
mov edx, dword [rsi + rax*4]
mov dword [r9 + rax*4], edx
add rax, 1
cmp rax, rbx
jne 0x140260648
add qword [rsp + 0x48], 1
add r9, r14
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x120]
jb 0x1402604e0
mov rax, qword [rsp + 0x130]
mov r10, qword [rsp + 0x98]
mov dword [rsp + 0x20], 1
mov rbx, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x138]
mov r9d, r10d
mov edx, dword [rsp + 0x94]
mov rcx, rbx
mov dword [rsp + 0x30], eax
mov rax, qword [0x14048f190]
mov qword [rsp + 0x28], rax
call fcn.1401fcc00
test eax, eax
je 0x14026071e
mov eax, 1
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x48], eax
call fcn.14027a930
mov eax, dword [rsp + 0x48]
jmp 0x14026070a
mov r8d, 0xac
mov edx, 0xb5
mov ecx, 6
call fcn.1402750a0
xor eax, eax
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 0xb5
mov edx, 0xb5
mov ecx, 6
call fcn.1402750a0
xor eax, eax
jmp 0x1402606d4
xor ebx, ebx
mov r15, r13
jmp 0x14026053d
mov r8d, 0x41
mov edx, 0xb5
mov ecx, 6
call fcn.1402750a0
jmp 0x140260708