Function at 0x1400a2b20
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.14009a2f0
test rax, rax
je 0x1400a2b45
mov rcx, rax
call fcn.14009a300
mov rsi, qword [0x1401b1f60]
cmp rsi, 1
jbe 0x1400a3172
mov rcx, rsi
call fcn.140072030
mov r8, qword [0x1401b1f70]
test r8, r8
je 0x1400a316a
mov rdi, qword [rbx]
mov rbx, qword [rbx + 8]
cmp rbx, 0x20
mov qword [rsp + 0x28], rsi
jbe 0x1400a2d7a
cmp rbx, 0x40
ja 0x1400a2eff
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 0x1400a2d75
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 0x1400a315e
mov r12, r14
cmp r14, r13
jb 0x1400a2cd8
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 0x1400a2d75
mov rsi, qword [rax]
test rsi, rsi
je 0x1400a2d75
lea rax, [r13 - 1]
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov rax, qword [rsi + 8]
cmp r14, rax
jne 0x1400a2d50
cmp qword [rsi + 0x18], rbx
jne 0x1400a2d6b
mov rcx, qword [rsi + 0x10]
mov rdx, rdi
mov r8, rbx
call fcn.1400bef60
test eax, eax
jne 0x1400a2d6b
mov r15, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140072090
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 0x1400a2ef5
cmp rax, r13
jb 0x1400a2d66
xor edx, edx
div r13
mov rax, rdx
cmp rax, r12
jne 0x1400a2d26
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400a2d00
jmp 0x1400a2d26
xor r15d, r15d
jmp 0x1400a2d26
cmp rbx, 0x10
jbe 0x1400a2e0f
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 0x1400a2c4e
cmp rbx, 9
jb 0x1400a2e5b
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 0x1400a2c52
cmp rbx, 4
jb 0x1400a2e9d
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 0x1400a2c52
movabs r14, 0x9ae16a3b2f90404f
test rbx, rbx
je 0x1400a2c52
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 0x1400a2c52
and rax, qword [rsp + 0x30]
jmp 0x1400a2d66
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 0x1400a2fcf
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 0x1400a2c52
lea r12, [r13 - 1]
and r12, r14
jmp 0x1400a2cd8
xor r15d, r15d
jmp 0x1400a2d2b
lea rcx, [0x1401b1f60]
call fcn.140057c20
test al, al
je 0x1400a31ae
mov qword [0x1401b1f68], 0
lea rsi, [0x1401b1f68]
lea rcx, [0x1401b1f60]
mov rdx, rsi
xor r8d, r8d
mov r9, rcx
call fcn.140057ce0
jmp 0x1400a2b56
mov rsi, qword [0x1401b1f60]
jmp 0x1400a2b56