Function at 0x1400b0420
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r14, qword [rcx + 0x70]
mov r15, rdx
mov edx, dword [r14 + 0x70]
mov r13, r8
mov rsi, r9
test edx, edx
jne 0x1400b0550
mov r12d, dword [r14 + 0x20]
mov eax, esi
mov dword [rsp + 0x3c], esi
and eax, 0x3f
sub rsi, rax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
cmp rsi, 0x3f
jbe 0x1400b0528
movabs rdi, 0x40000003f
lea rbp, [r14 + 0x20]
nop word [rax + rax]
cmp rdi, rsi
jb 0x1400b04de
mov r8, rsi
shr r8, 6
mov edx, r8d
add edx, r12d
mov r12, rdx
cmp rdx, r8
jae 0x1400b04f4
sub r8, rdx
mov qword [rsp + 0x20], rbp
mov rdx, r13
mov rcx, r15
mov rbx, r8
mov r9, r14
shl rbx, 6
mov r8, rbx
sub rsi, rbx
add r13, rbx
add r15, rbx
call fcn.14017bb80
add dword [r14 + 0x24], 1
mov dword [r14 + 0x20], 0
cmp rsi, 0x3f
jbe 0x1400b0528
xor r12d, r12d
cmp rdi, rsi
jae 0x1400b0485
mov edx, 0x10000000
mov r8d, 0x10000000
add edx, r12d
mov r12, rdx
cmp rdx, r8
jb 0x1400b049a
mov rbx, r8
mov qword [rsp + 0x20], rbp
mov rdx, r13
mov rcx, r15
shl rbx, 6
mov r9, r14
mov r8, rbx
sub rsi, rbx
add r13, rbx
add r15, rbx
call fcn.14017bb80
mov dword [r14 + 0x20], r12d
cmp rsi, 0x3f
ja 0x1400b0480
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x1400b05c0
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r9, r9
jne 0x1400b05b2
nop dword [rax]
mov dword [r14 + 0x70], edx
test rsi, rsi
je 0x1400b0534
mov r12d, dword [r14 + 0x20]
cmp edx, 0x40
jne 0x1400b044d
add r12d, 1
mov dword [r14 + 0x70], 0
mov dword [r14 + 0x20], r12d
jne 0x1400b044d
add dword [r14 + 0x24], 1
jmp 0x1400b044d
mov r8d, edx
movzx ecx, byte [r13]
add r15, 1
add r13, 1
xor cl, byte [r14 + r8 + 0x30]
add edx, 1
mov byte [r15 - 1], cl
sub rsi, 1
je 0x1400b0558
cmp edx, 0x3f
jbe 0x1400b0590
jmp 0x1400b0558
lea rcx, [r14 + 0x30]
pxor xmm0, xmm0
lea rdx, [r14 + 0x20]
mov r9, r14
movups xmmword [r14 + 0x30], xmm0
mov r8d, 0x40
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rsp + 0x20], rdx
mov rdx, rcx
call fcn.14017bb80
mov eax, dword [rsp + 0x38]
lea edx, [rax - 1]
cmp edx, 6
jbe 0x1400b0770
lea r8, [r13 + 1]
mov rcx, r15
sub rcx, r8
cmp rcx, 0xe
jbe 0x1400b0770
lea r8, [r14 + 0x31]
mov rcx, r15
sub rcx, r8
cmp rcx, 0xe
jbe 0x1400b0770
cmp edx, 0xe
jbe 0x1400b079f
movdqu xmm0, xmmword [r13]
movdqu xmm2, xmmword [r14 + 0x30]
shr eax, 4
pxor xmm0, xmm2
movups xmmword [r15], xmm0
cmp eax, 1
je 0x1400b067f
movdqu xmm0, xmmword [r13 + 0x10]
movdqu xmm3, xmmword [r14 + 0x40]
pxor xmm0, xmm3
movups xmmword [r15 + 0x10], xmm0
cmp eax, 3
jne 0x1400b067f
movdqu xmm0, xmmword [r13 + 0x20]
movdqu xmm4, xmmword [r14 + 0x50]
pxor xmm0, xmm4
movups xmmword [r15 + 0x20], xmm0
mov eax, dword [rsp + 0x3c]
mov edi, dword [rsp + 0x38]
and eax, 0x30
cmp eax, edi
je 0x1400b0763
mov ecx, edi
sub ecx, eax
lea edx, [rcx - 1]
cmp edx, 6
jbe 0x1400b06c8
mov edx, eax
movq xmm0, qword [r13 + rdx]
movq xmm1, qword [r14 + rdx + 0x30]
pxor xmm0, xmm1
movq qword [r15 + rdx], xmm0
mov edx, ecx
and edx, 0xfffffff8
add eax, edx
and ecx, 7
je 0x1400b0763
mov edx, eax
mov edi, dword [rsp + 0x38]
movzx ecx, byte [r13 + rdx]
xor cl, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], cl
lea edx, [rax + 1]
cmp edx, edi
jae 0x1400b0763
movzx ecx, byte [r13 + rdx]
xor cl, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], cl
lea edx, [rax + 2]
cmp edx, edi
jae 0x1400b0763
movzx ecx, byte [r13 + rdx]
xor cl, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], cl
lea edx, [rax + 3]
cmp edx, edi
jae 0x1400b0763
movzx ecx, byte [r13 + rdx]
xor cl, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], cl
lea edx, [rax + 4]
cmp edx, edi
jae 0x1400b0763
movzx ecx, byte [r13 + rdx]
xor cl, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], cl
lea edx, [rax + 5]
cmp edx, edi
jae 0x1400b0763
movzx ecx, byte [r13 + rdx]
add eax, 6
xor cl, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], cl
cmp eax, edi
jae 0x1400b0763
mov edx, eax
movzx eax, byte [r13 + rdx]
xor al, byte [r14 + rdx + 0x30]
mov byte [r15 + rdx], al
mov eax, dword [rsp + 0x38]
mov dword [r14 + 0x70], eax
jmp 0x1400b0534
xor edx, edx
nop word [rax + rax]
movzx ecx, byte [r14 + rdx + 0x30]
xor cl, byte [r13 + rdx]
mov byte [r15 + rdx], cl
add rdx, 1
cmp qword [rsp + 0x30], rdx
jne 0x1400b0778
mov eax, dword [rsp + 0x38]
mov dword [r14 + 0x70], eax
jmp 0x1400b0534
mov ecx, eax
xor eax, eax
jmp 0x1400b069e