Function at 0x18018cbb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, qword [rbp + 0x68]
mov rsi, rcx
mov rcx, qword [rbp + 0x60]
mov r12d, r9d
mov qword [rbp - 0x30], rcx
mov rdi, r8
mov r13, rdx
test r9d, r9d
je 0x18018cfbb
test r8, r8
jne 0x18018cc12
mov rax, qword [r14]
lea rdx, str.NULL_passed_to_CBC_encryptor
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x18018cfbd
xor edx, edx
mov eax, r12d
div dword [rsi + 0xa8]
mov r15d, eax
test edx, edx
je 0x18018cc3b
mov rax, qword [r14]
lea rdx, str.AES_CBC_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x18018cfbd
cmp byte [0x1803883a0], 0
mov edx, r12d
je 0x18018cf1a
add r13, 8
call fcn.1800bdf30
mov rbx, rax
test rax, rax
jne 0x18018cc73
mov rax, qword [r14]
lea rdx, str.Unable_to_allocate_CBC_encrypt_output_buffer.
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x18018cfbd
mov edx, dword [rsi + 0xa8]
xor r14d, r14d
mov r8d, r14d
test edx, edx
je 0x18018cd75
cmp edx, 0x40
jb 0x18018cd3f
lea eax, [rdx - 1]
mov ecx, eax
lea r9, [rbp - 0x28]
add r9, rcx
lea r10, [rbp - 0x28]
add rax, r13
cmp r10, rax
ja 0x18018ccb1
cmp r9, r13
jae 0x18018cd3f
lea rax, [rcx + rdi]
lea rcx, [rbp - 0x28]
cmp rcx, rax
ja 0x18018ccc3
cmp r9, rdi
jae 0x18018cd3f
mov r10d, edx
and r10d, 0xffffffc0
mov r9d, 0x20
mov eax, r8d
add r8d, 0x40
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + r13]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
lea eax, [r9 - 0x10]
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + r13]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + r13]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rax + r13]
movdqu xmm0, xmmword [rax + rdi]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
cmp r8d, r10d
jb 0x18018ccd0
cmp r8d, edx
jae 0x18018cd75
mov ecx, r8d
lea r10, [rbp - 0x28]
mov r9, rdi
add rcx, r13
sub r9, r13
sub r10, r13
sub edx, r8d
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 0x18018cd60
mov rax, qword [rsi]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
mov rcx, rsi
call qword [rax + 0x20]
mov r8d, dword [rsi + 0xa8]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.180210e90
mov r11d, dword [rsi + 0xa8]
add rdi, r11
add r15d, 0xffffffff
je 0x18018cef3
mov edx, r11d
mov r10d, r14d
test edx, edx
je 0x18018ceb5
cmp edx, 0x40
jb 0x18018ce7b
lea eax, [rdx - 1]
mov ecx, eax
lea r8, [rbp - 0x28]
add r8, rcx
lea r9, [rbp - 0x28]
add rax, rdi
cmp r9, rax
ja 0x18018cde5
cmp r8, rdi
jae 0x18018ce7b
lea rax, [rcx + rbx]
lea rcx, [rbp - 0x28]
cmp rcx, rax
ja 0x18018cdfb
cmp r8, rbx
jae 0x18018ce7b
mov r8d, edx
and r8d, 0xffffffc0
mov r9d, 0x20
nop dword [rax + rax]
mov eax, r10d
add r10d, 0x40
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
lea eax, [r9 - 0x10]
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rax + rbx]
movdqu xmm0, xmmword [rax + rdi]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x28], xmm1
cmp r10d, r8d
jb 0x18018ce10
cmp r10d, edx
jae 0x18018ceb5
mov eax, r10d
lea r9, [rbp - 0x28]
mov r8, rbx
add rax, rdi
sub r8, rdi
sub r9, rdi
sub edx, r10d
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor cl, byte [rax]
mov byte [rax + r9], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x18018cea0
mov rax, qword [rsi]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
mov rcx, rsi
add rbx, r11
call qword [rax + 0x20]
mov r8d, dword [rsi + 0xa8]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.180210e90
mov r11d, dword [rsi + 0xa8]
add rdi, r11
mov edx, r11d
add r15d, 0xffffffff
jne 0x18018cdb0
test r11d, r11d
je 0x18018cfaf
nop dword [rax]
movzx eax, byte [r14 + rbx]
mov byte [r14 + r13], al
inc r14d
cmp r14d, dword [rsi + 0xa8]
jb 0x18018cf00
jmp 0x18018cfaf
call fcn.1800bdf30
mov rbx, rax
test rax, rax
je 0x18018cc5c
mov rax, qword [rdi]
lea rdx, [rbp - 0x28]
xor rax, qword [r13 + 8]
mov r8, rbx
mov qword [rbp - 0x28], rax
mov rcx, rsi
mov rax, qword [rdi + 8]
xor rax, qword [r13 + 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [rsi]
call qword [rax + 0x20]
add r15d, 0xffffffff
je 0x18018cfa0
sub rdi, rbx
nop dword [rax + rax]
mov rax, qword [rdi + rbx + 0x10]
lea rdx, [rbp - 0x28]
xor rax, qword [rbx]
mov rcx, rsi
mov qword [rbp - 0x28], rax
mov rax, qword [rdi + rbx + 0x18]
xor rax, qword [rbx + 8]
add rbx, 0x10
mov qword [rbp - 0x20], rax
mov r8, rbx
mov rax, qword [rsi]
call qword [rax + 0x20]
add r15d, 0xffffffff
jne 0x18018cf60
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx]
mov qword [r13 + 8], rax
mov rax, qword [rbx + 8]
mov qword [r13 + 0x10], rax
mov rcx, qword [rbp - 0x30]
mov edx, r12d
call fcn.1800badc0
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret