Function at 0x14013b660
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rbp - 9], rax
mov rbx, qword [rbp + 0x7f]
mov rsi, r8
mov r8, qword [rbp + 0x77]
mov r12d, r9d
mov qword [rbp - 0x31], r8
mov r14, rdx
mov rdi, rcx
test r9d, r9d
jne 0x14013b6a7
mov al, 1
jmp 0x14013baa6
test rsi, rsi
jne 0x14013b6c3
mov rax, qword [rbx]
lea rdx, str.NULL_passed_to_CBC_encryptor
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x14013baa6
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x14013b6e9
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r8
mov r8, rsi
call qword [rax + 0x30]
jmp 0x14013baa6
xor edx, edx
mov qword [rsp + 0x78], r15
mov eax, r12d
div ecx
mov r15d, eax
test edx, edx
je 0x14013b713
mov rax, qword [rbx]
lea rdx, str.Input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x14013baa1
movzx eax, byte [0x1402703f0]
mov rcx, r8
mov byte [rbp - 0x39], al
mov qword [rsp + 0x80], r13
call fcn.1400372d0
mov r13d, eax
add eax, r12d
mov r12, qword [rbp - 0x31]
mov rcx, r12
mov dword [rbp - 0x35], eax
lea edx, [rax + 0x20]
call fcn.140036af0
test al, al
jne 0x14013b760
mov rax, qword [rbx]
lea rdx, str.Unable_to_allocate_CBC_encrypt_output_buffer.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x14013ba99
mov edx, r13d
mov rcx, r12
call fcn.140036f30
cmp byte [rbp - 0x39], 0
mov rbx, rax
je 0x14013b9ae
mov r8d, dword [rdi + 0xa8]
lea r12, [r14 + 8]
xor r14d, r14d
mov edx, r14d
test r8d, r8d
je 0x14013b845
cmp r8d, 0x20
jb 0x14013b807
lea eax, [r8 - 1]
mov ecx, eax
lea r9, [rbp - 0x29]
add r9, rcx
lea r10, [rbp - 0x29]
add rax, r12
cmp r10, rax
ja 0x14013b7b6
cmp r9, r12
jae 0x14013b807
lea rax, [rcx + rsi]
lea rcx, [rbp - 0x29]
cmp rcx, rax
ja 0x14013b7c8
cmp r9, rsi
jae 0x14013b807
mov r9d, r8d
and r9d, 0xffffffe0
nop
mov eax, edx
movdqu xmm0, xmmword [rax + r12]
movdqu xmm1, xmmword [rax + rsi]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x29], xmm1
lea eax, [rdx + 0x10]
add edx, 0x20
movdqu xmm1, xmmword [rax + rsi]
movdqu xmm0, xmmword [rax + r12]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x29], xmm1
cmp edx, r9d
jb 0x14013b7d0
cmp edx, r8d
jae 0x14013b845
mov ecx, edx
lea r10, [rbp - 0x29]
mov r9, rsi
add rcx, r12
sub r9, r12
sub r10, r12
sub r8d, edx
mov edx, r8d
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, byte [rcx]
mov byte [r10 + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14013b830
mov rax, qword [rdi]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [rax + 0x20]
mov r8d, dword [rdi + 0xa8]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14016a920
mov r8d, dword [rdi + 0xa8]
add rsi, r8
mov r11d, r8d
add r15d, 0xffffffff
je 0x14013b983
mov edx, r14d
test r8d, r8d
je 0x14013b945
cmp r8d, 0x20
jb 0x14013b905
lea eax, [r8 - 1]
mov ecx, eax
lea r9, [rbp - 0x29]
add r9, rcx
lea r10, [rbp - 0x29]
add rax, rsi
cmp r10, rax
ja 0x14013b8b0
cmp r9, rsi
jae 0x14013b905
lea rax, [rcx + rbx]
lea rcx, [rbp - 0x29]
cmp rcx, rax
ja 0x14013b8c2
cmp r9, rbx
jae 0x14013b905
mov r9d, r8d
and r9d, 0xffffffe0
nop dword [rax]
mov eax, edx
movdqu xmm0, xmmword [rax + rsi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x29], xmm1
lea eax, [rdx + 0x10]
add edx, 0x20
movdqu xmm1, xmmword [rax + rbx]
movdqu xmm0, xmmword [rax + rsi]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x29], xmm1
cmp edx, r9d
jb 0x14013b8d0
cmp edx, r8d
jae 0x14013b945
mov ecx, edx
lea r10, [rbp - 0x29]
mov r9, rbx
add rcx, rsi
sub r9, rsi
sub r10, rsi
sub r8d, edx
mov edx, r8d
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, byte [rcx]
mov byte [r10 + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14013b930
mov rax, qword [rdi]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
mov rcx, rdi
add rbx, r11
call qword [rax + 0x20]
mov r8d, dword [rdi + 0xa8]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14016a920
mov r8d, dword [rdi + 0xa8]
add rsi, r8
mov r11d, r8d
add r15d, 0xffffffff
jne 0x14013b880
cmp dword [rdi + 0xa8], r14d
jbe 0x14013b9a5
nop dword [rax]
movzx eax, byte [r14 + rbx]
mov byte [r14 + r12], al
inc r14d
cmp r14d, dword [rdi + 0xa8]
jb 0x14013b990
mov rcx, qword [rbp - 0x31]
jmp 0x14013ba8f
mov eax, dword [rdi + 0xa8]
cmp eax, 0x10
jne 0x14013ba33
mov rax, qword [r14 + 8]
lea rdx, [rbp - 0x29]
xor rax, qword [rsi]
mov r8, rbx
mov qword [rbp - 0x29], rax
mov rcx, rdi
mov rax, qword [rsi + 8]
xor rax, qword [r14 + 0x10]
mov qword [rbp - 0x21], rax
mov rax, qword [rdi]
call qword [rax + 0x20]
add rsi, 0x10
add r15d, 0xffffffff
je 0x14013ba22
sub rsi, rbx
nop dword [rax]
mov rax, qword [rsi + rbx]
lea rdx, [rbp - 0x29]
xor rax, qword [rbx]
mov rcx, rdi
mov qword [rbp - 0x29], rax
mov rax, qword [rsi + rbx + 8]
xor rax, qword [rbx + 8]
add rbx, 0x10
mov qword [rbp - 0x21], rax
mov r8, rbx
mov rax, qword [rdi]
call qword [rax + 0x20]
add r15d, 0xffffffff
jne 0x14013b9f0
mov rax, qword [rbx]
mov qword [r14 + 8], rax
mov rax, qword [rbx + 8]
mov qword [r14 + 0x10], rax
jmp 0x14013ba8c
cmp eax, 8
jne 0x14013ba97
mov rax, qword [r14 + 8]
lea rdx, [rbp - 0x31]
xor rax, qword [rsi]
mov r8, rbx
mov qword [rbp - 0x31], rax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0x20]
add rsi, 8
add r15d, 0xffffffff
je 0x14013ba85
sub rsi, rbx
mov rax, qword [rsi + rbx]
lea rdx, [rbp - 0x31]
xor rax, qword [rbx]
mov rcx, rdi
mov qword [rbp - 0x31], rax
add rbx, 8
mov rax, qword [rdi]
mov r8, rbx
call qword [rax + 0x20]
add r15d, 0xffffffff
jne 0x14013ba60
mov rax, qword [rbx]
mov qword [r14 + 8], rax
mov rcx, r12
mov edx, dword [rbp - 0x35]
call fcn.140038990
mov al, 1
mov r13, qword [rsp + 0x80]
mov r15, qword [rsp + 0x78]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140168e10
add rsp, 0x88
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret