Function at 0x14006e3f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbx, rcx
call fcn.14007b150
test rax, rax
je 0x14006e415
mov rcx, rax
call fcn.14007b160
mov rsi, qword [0x14013c680]
cmp rsi, 1
jbe 0x14006ea41
mov rcx, rsi
call fcn.140056910
mov r8, qword [0x14013c690]
test r8, r8
je 0x14006ea39
mov rdi, qword [rbx]
mov rbx, qword [rbx + 8]
cmp rbx, 0x20
mov qword [rsp + 0x28], rsi
ja 0x14006e539
cmp rbx, 0x10
jbe 0x14006e4e9
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [rdi]
mov rdx, qword [rdi + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [rdi + rbx - 8]
movabs r9, 0xc3a5c85c97cb3127
imul r9, qword [rdi + rbx - 0x10]
movabs r10, 0xc949d7c7509e6557
xor r10, rdx
rol r10, 0x2c
add r10, rcx
add r10, rbx
sub rcx, rdx
rol rcx, 0x15
sub r10, rax
rol rax, 0x22
add rax, r9
add rax, rcx
xor rax, r10
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor r10, rax
shr rax, 0x2f
xor rax, r10
imul rax, rcx
mov r14, rax
shr r14, 0x2f
xor r14, rax
jmp 0x14006e603
cmp rbx, 9
jb 0x14006e72a
mov rax, qword [rdi + rbx - 8]
lea rdx, [rax + rbx]
mov ecx, ebx
ror rdx, cl
mov rcx, qword [rdi]
xor rcx, rdx
movabs r9, 0x9ddfea08eb382d69
imul rcx, r9
xor rdx, rcx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, r9
mov r14, rcx
shr r14, 0x2f
xor r14, rcx
imul r14, r9
xor r14, rax
jmp 0x14006e607
cmp rbx, 0x40
ja 0x14006e7da
mov rcx, qword [rdi + 0x10]
mov r10, qword [rdi + 0x18]
mov rsi, qword [rdi + rbx - 0x10]
lea rdx, [rsi + rbx]
movabs rax, 0xc3a5c85c97cb3127
imul rdx, rax
add rdx, qword [rdi]
lea r9, [rdx + r10]
rol r9, 0xc
mov r15, rdx
rol r15, 0x1b
add rdx, qword [rdi + 8]
mov r11, rdx
rol r11, 0x39
add rdx, rcx
add rcx, qword [rdi + rbx - 0x20]
mov r14, qword [rdi + rbx - 8]
add r14, r10
lea r12, [r14 + rcx]
rol r12, 0xc
mov r13, rcx
rol r13, 0x1b
add rcx, qword [rdi + rbx - 0x18]
add r11, r15
mov r15, rcx
rol r15, 0x39
add rcx, rsi
add r14, rcx
rol rcx, 0x21
add r13, r10
add r13, r15
add r13, r12
add r13, rcx
add r13, rdx
rol rdx, 0x21
add r11, r9
add rdx, r11
movabs rcx, 0x9ae16a3b2f90404f
imul r13, rcx
add r14, rdx
imul r14, rax
add r14, r13
mov r9, r14
shr r9, 0x2f
xor r9, r14
imul r9, rax
add r9, rdx
mov r14, r9
shr r14, 0x2f
xor r14, r9
imul r14, rcx
mov r13, qword [r8 + 8]
test r13, r13
je 0x14006e725
mov rax, r13
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r13
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rbp, 0x101010101010101
imul rbp, rax
shr rbp, 0x38
cmp rbp, 1
jbe 0x14006e7ce
mov r12, r14
cmp r14, r13
jb 0x14006e68d
mov rax, r14
xor edx, edx
div r13
mov r12, rdx
mov rax, qword [r8]
mov rax, qword [rax + r12*8]
test rax, rax
je 0x14006e725
mov rsi, qword [rax]
test rsi, rsi
je 0x14006e725
lea rax, [r13 - 1]
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov rax, qword [rsi + 8]
cmp r14, rax
jne 0x14006e700
cmp qword [rsi + 0x18], rbx
jne 0x14006e71b
mov rcx, qword [rsi + 0x10]
mov rdx, rdi
mov r8, rbx
call fcn.14008dea0
test eax, eax
jne 0x14006e71b
mov r15, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140056970
mov rax, r15
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp ebp, 1
jbe 0x14006e7c4
cmp rax, r13
jb 0x14006e716
xor edx, edx
div r13
mov rax, rdx
cmp rax, r12
jne 0x14006e6db
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14006e6b5
jmp 0x14006e6db
xor r15d, r15d
jmp 0x14006e6db
cmp rbx, 4
jb 0x14006e76c
mov eax, dword [rdi]
mov ecx, dword [rdi + rbx - 4]
lea rax, [rbx + rax*8]
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
xor rcx, rax
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
mov r14, rax
shr r14, 0x2f
xor r14, rax
imul r14, rdx
jmp 0x14006e607
movabs r14, 0x9ae16a3b2f90404f
test rbx, rbx
je 0x14006e607
movzx eax, byte [rdi]
mov rcx, rbx
shr rcx, 1
movzx ecx, byte [rdi + rcx]
movzx edx, byte [rbx + rdi - 1]
shl rcx, 8
or rcx, rax
lea rax, [rbx + rdx*4]
imul rcx, r14
movabs rdx, 0xc949d7c7509e6557
imul rdx, rax
xor rdx, rcx
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
imul r14, rax
jmp 0x14006e607
and rax, qword [rsp + 0x30]
jmp 0x14006e716
lea r12, [r13 - 1]
and r12, r14
jmp 0x14006e68d
movabs rbp, 0xb492b66fbe98f273
movabs r15, 0x9ddfea08eb382d69
mov r14, qword [rdi + rbx - 0x28]
mov rax, qword [rdi + rbx - 0x10]
mov rcx, qword [rdi + rbx - 0x38]
mov r9, qword [rdi + rbx - 0x30]
lea rdx, [rcx + rax]
mov r11, qword [rdi + rbx - 0x18]
lea rsi, [r9 + rbx]
xor rsi, r11
imul rsi, r15
mov r10, r11
xor r10, rsi
shr rsi, 0x2f
xor rsi, r10
imul rsi, r15
mov r10, rsi
shr r10, 0x2f
xor r10, rsi
imul r10, r15
mov rsi, qword [rdi + rbx - 0x40]
add rsi, rbx
lea r12, [rsi + r14]
mov qword [rsp + 0x30], r10
add r12, r10
rol r12, 0x2b
add r9, rcx
add r9, rsi
mov r15, r9
rol r15, 0x14
add r15, rsi
add r15, r12
add r9, r14
mov rcx, qword [rdi + rbx - 0x20]
add rcx, rdx
mov rsi, qword [rdi + rbx - 8]
add rcx, rbp
lea r13, [rsi + r14]
add r13, rcx
rol r13, 0x2b
add r11, rax
add r11, rcx
mov r12, r11
rol r12, 0x14
add r12, rcx
add r12, r13
imul r14, rbp
add r14, qword [rdi]
add r11, rsi
lea rax, [rbx - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov rsi, qword [rsp + 0x30]
add r14, r9
add r14, rdx
mov rax, qword [rdi + rbp + 8]
mov rcx, qword [rdi + rbp + 0x10]
add r14, rax
rol r14, 0x1b
add rdx, r15
mov r10, qword [rdi + rbp + 0x30]
mov qword [rsp + 0x40], r10
add rdx, r10
rol rdx, 0x16
movabs r13, 0xb492b66fbe98f273
imul r14, r13
mov r10, rdx
imul r10, r13
xor r14, r12
mov r13, qword [rdi + rbp + 0x28]
add r9, r13
mov rdx, r9
add rdx, r10
add rsi, r11
movabs r9, 0xb492b66fbe98f273
imul r15, r9
mov r10, qword [rdi + rbp + 0x18]
add r15, qword [rdi + rbp]
add r11, r10
add r11, r15
mov qword [rsp + 0x30], r14
add r11, r14
rol r11, 0x2b
add rax, rcx
add rax, r15
mov r9, rax
rol r9, 0x14
add r15, r9
add r15, r11
rol rsi, 0x1f
mov r9, rax
mov r14, rsi
movabs rax, 0xb492b66fbe98f273
imul r14, rax
add r9, r10
add r12, r14
mov rax, qword [rdi + rbp + 0x38]
add r12, qword [rdi + rbp + 0x20]
add rcx, rax
add rcx, rdx
add rcx, r12
add r13, qword [rsp + 0x40]
add r13, r12
mov r10, r13
rol r10, 0x14
add r12, r10
rol rcx, 0x2b
add r12, rcx
mov r11, r13
add r11, rax
add rbp, 0x40
cmp qword [rsp + 0x38], rbp
jne 0x14006e8aa
xor r15, r12
movabs r10, 0x9ddfea08eb382d69
imul r15, r10
xor r12, r15
shr r15, 0x2f
xor r15, r12
imul r15, r10
mov rax, r15
shr rax, 0x2f
xor rax, r15
imul rax, r10
add rax, r14
xor r9, r11
imul r9, r10
xor r11, r9
shr r9, 0x2f
xor r9, r11
imul r9, r10
mov rcx, r9
shr rcx, 0x2f
xor rcx, r9
imul rcx, r10
mov r9, rdx
shr r9, 0x2f
xor r9, rdx
movabs rdx, 0xb492b66fbe98f273
imul r9, rdx
add r9, qword [rsp + 0x30]
add r9, rcx
xor r9, rax
imul r9, r10
xor rax, r9
shr r9, 0x2f
xor r9, rax
imul r9, r10
mov r14, r9
shr r14, 0x2f
xor r14, r9
imul r14, r10
jmp 0x14006e607
xor r15d, r15d
jmp 0x14006e6e0
lea rcx, [0x14013c680]
call fcn.1400439a0
test al, al
je 0x14006ea7d
mov qword [0x14013c688], 0
lea rsi, [0x14013c688]
lea rcx, [0x14013c680]
mov rdx, rsi
xor r8d, r8d
mov r9, rcx
call fcn.140043a60
jmp 0x14006e426
mov rsi, qword [0x14013c680]
jmp 0x14006e426