Function at 0x1400e2db0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rbp + 0x88]
call fcn.14006ba20
lea rcx, [rbp - 0x10]
call fcn.140068bf0
nop
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140068720
mov rcx, rdi
call fcn.140093fe0
mov r13d, eax
mov ecx, eax
call fcn.140094180
mov ecx, eax
mov dword [rsp + 0x40], eax
mov r9d, dword [rbp + 0x80]
lea eax, [rax + r9 - 1]
cdq
idiv ecx
mov r8d, eax
mov dword [rsp + 0x3c], eax
mov eax, r9d
cdq
idiv ecx
mov dword [rsp + 0x38], edx
mov esi, 1
mov dword [rsp + 0x34], esi
cmp r8d, esi
jl 0x1400e303f
mov rcx, r12
call fcn.140098650
mov edi, eax
mov rcx, r12
call fcn.140098640
mov rbx, rax
lea rcx, [rbp - 0x10]
call fcn.140067c00
mov r14d, eax
lea rcx, [rbp - 0x10]
call fcn.140098640
mov r15, rax
mov ecx, esi
shr ecx, 0x18
mov byte [rsp + 0x30], cl
mov ecx, esi
shr ecx, 0x10
mov byte [rsp + 0x31], cl
mov ecx, esi
shr ecx, 8
mov byte [rsp + 0x32], cl
mov byte [rsp + 0x33], sil
lea rcx, [rbp - 0x68]
call fcn.14006baf0
nop
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14006c950
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.14006c950
lea rcx, [rbp - 0x40]
call fcn.14006baf0
nop
lea rcx, [rsp + 0x70]
call fcn.14006baf0
nop
lea rcx, [rsp + 0x48]
call fcn.14006baf0
nop
lea rcx, [rbp - 0x68]
call fcn.140098650
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140098640
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9d, r14d
mov r8, r15
mov edx, ebx
call fcn.1400e3980
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14006d330
lea rcx, [rsp + 0x48]
call fcn.140098650
mov r12d, eax
mov eax, dword [rbp + 0x80]
cmp r12d, eax
cmova r12d, eax
lea rcx, [rsp + 0x48]
call fcn.140098640
mov rsi, rax
mov eax, dword [rbp + 0x78]
cmp eax, 1
jbe 0x1400e2fe4
lea edi, [rax - 1]
lea rcx, [rsp + 0x70]
call fcn.140098650
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140098640
mov rcx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9d, r14d
mov r8, r15
mov edx, ebx
call fcn.1400e3980
lea rcx, [rbp - 0x40]
call fcn.140098640
test r12d, r12d
je 0x1400e2fbe
mov rdx, rsi
sub rax, rsi
mov r8d, r12d
nop
movzx ecx, byte [rax + rdx]
xor byte [rdx], cl
inc rdx
dec r8
jne 0x1400e2fb0
lea rcx, [rsp + 0x70]
call fcn.14006ba20
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.14006d330
lea rcx, [rbp - 0x40]
call fcn.14006ba20
dec rdi
jne 0x1400e2f64
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp + 0x88]
call fcn.14006d330
nop
lea rcx, [rsp + 0x48]
call fcn.14006c370
nop
lea rcx, [rsp + 0x70]
call fcn.14006c370
nop
lea rcx, [rbp - 0x40]
call fcn.14006c370
nop
lea rcx, [rbp - 0x68]
call fcn.14006c370
mov esi, dword [rsp + 0x34]
inc esi
mov dword [rsp + 0x34], esi
cmp esi, dword [rsp + 0x3c]
mov r12, qword [rbp + 0x70]
jle 0x1400e2e52
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x38]
sub ecx, edx
mov edx, ecx
mov rcx, qword [rbp + 0x88]
call fcn.14006ba90
nop
lea rcx, [rbp - 0x10]
call fcn.140068e70
mov al, 1
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret