Function at 0x14013b300
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x90
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [rsp + 0xe8]
mov rdi, r8
mov r8, qword [rsp + 0xe0]
mov r12d, r9d
mov qword [rsp + 0x38], r8
mov r15, rdx
mov rbx, rcx
test r9d, r9d
jne 0x14013b34b
mov al, 1
jmp 0x14013b638
test rdi, rdi
jne 0x14013b367
mov rax, qword [rsi]
lea rdx, str.NULL_passed_to_CBC_decryptor
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x14013b638
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x14013b38d
mov rax, qword [rbx]
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r8
mov r8, rdi
call qword [rax + 0x38]
jmp 0x14013b638
xor edx, edx
mov qword [rsp + 0x78], r14
mov eax, r12d
div ecx
mov r14d, eax
test edx, edx
je 0x14013b3b7
mov rax, qword [rsi]
lea rdx, str.Input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x14013b633
mov qword [rsp + 0x88], rbp
mov rcx, r8
mov qword [rsp + 0x80], r13
movzx r13d, byte [0x1402703f0]
call fcn.1400372d0
mov ebp, eax
add eax, r12d
mov r12, qword [rsp + 0x38]
mov rcx, r12
mov dword [rsp + 0x30], eax
lea edx, [rax + 0x20]
call fcn.140036af0
test al, al
jne 0x14013b40b
mov rax, qword [rsi]
lea rdx, str.Unable_to_allocate_CBC_decrypt_output_buffer.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x14013b623
mov edx, ebp
mov rcx, r12
call fcn.140036f30
mov rsi, rax
test r13b, r13b
je 0x14013b512
mov r8d, dword [rbx + 0xa8]
lea rcx, [rsp + 0x48]
mov rdx, rdi
lea r12, [r15 + 8]
call fcn.14016a920
mov r9, qword [rbx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [r9 + 0x28]
xor ebp, ebp
mov edx, ebp
cmp dword [rbx + 0xa8], edx
jbe 0x14013b478
nop dword [rax]
mov ecx, edx
inc edx
movzx eax, byte [rcx + r12]
xor al, byte [rsp + rcx + 0x58]
mov byte [rcx + rsi], al
cmp edx, dword [rbx + 0xa8]
jb 0x14013b460
mov eax, dword [rbx + 0xa8]
add rsi, rax
lea r15, [rax + rdi]
add r14d, 0xffffffff
je 0x14013b4ec
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x48]
mov rdx, r15
call fcn.14016a920
mov rax, qword [rbx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [rax + 0x28]
mov edx, ebp
cmp dword [rbx + 0xa8], edx
jbe 0x14013b4d7
nop dword [rax]
mov ecx, edx
inc edx
movzx eax, byte [rcx + rdi]
xor al, byte [rsp + rcx + 0x58]
mov byte [rcx + rsi], al
cmp edx, dword [rbx + 0xa8]
jb 0x14013b4c0
mov eax, dword [rbx + 0xa8]
mov rdi, r15
add r15, rax
add rsi, rax
add r14d, 0xffffffff
jne 0x14013b490
cmp dword [rbx + 0xa8], ebp
jbe 0x14013b508
movzx eax, byte [rbp + rdi]
mov byte [rbp + r12], al
inc ebp
cmp ebp, dword [rbx + 0xa8]
jb 0x14013b4f4
mov rcx, qword [rsp + 0x38]
jmp 0x14013b618
mov eax, dword [rbx + 0xa8]
cmp eax, 0x10
jne 0x14013b5ac
mov rax, qword [rbx]
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [r15 + 8]
lea rbp, [rdi + 0x10]
xor rax, qword [rsp + 0x38]
mov qword [rsi], rax
mov rax, qword [rsp + 0x40]
xor rax, qword [r15 + 0x10]
mov qword [rsi + 8], rax
add rsi, 0x10
add r14d, 0xffffffff
je 0x14013b59b
nop dword [rax]
mov rax, qword [rbx]
lea r8, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [rdi]
lea rsi, [rsi + 0x10]
xor rax, qword [rsp + 0x38]
mov qword [rsi - 0x10], rax
mov rax, qword [rdi + 8]
mov rdi, rbp
xor rax, qword [rsp + 0x40]
add rbp, 0x10
mov qword [rsi - 8], rax
add r14d, 0xffffffff
jne 0x14013b560
mov rax, qword [rdi]
mov qword [r15 + 8], rax
mov rax, qword [rdi + 8]
mov qword [r15 + 0x10], rax
jmp 0x14013b615
cmp eax, 8
jne 0x14013b621
mov rax, qword [rbx]
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [r15 + 8]
lea rbp, [rdi + 8]
xor rax, qword [rsp + 0x38]
mov qword [rsi], rax
add rsi, 8
add r14d, 0xffffffff
je 0x14013b60e
nop dword [rax]
mov rax, qword [rbx]
lea r8, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [rdi]
lea rsi, [rsi + 8]
xor rax, qword [rsp + 0x38]
mov rdi, rbp
add rbp, 8
mov qword [rsi - 8], rax
add r14d, 0xffffffff
jne 0x14013b5e0
mov rax, qword [rdi]
mov qword [r15 + 8], rax
mov rcx, r12
mov edx, dword [rsp + 0x30]
call fcn.140038990
mov al, 1
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov r14, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140168e10
add rsp, 0x90
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret