Function at 0x1800b7a20
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 [0x18017a408]
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 0x1800b7a67
mov al, 1
jmp 0x1800b7e66
test rsi, rsi
jne 0x1800b7a83
mov rax, qword [rbx]
lea rdx, str.NULL_passed_to_CBC_encryptor
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1800b7e66
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1800b7aa9
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 0x1800b7e66
xor edx, edx
mov qword [rsp + 0x78], r15
mov eax, r12d
div ecx
mov r15d, eax
test edx, edx
je 0x1800b7ad3
mov rax, qword [rbx]
lea rdx, str.CBC_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1800b7e61
movzx eax, byte [0x18017fda8]
mov rcx, r8
mov byte [rbp - 0x39], al
mov qword [rsp + 0x80], r13
call fcn.180015e00
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.1800157f0
test al, al
jne 0x1800b7b20
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 0x1800b7e59
mov edx, r13d
mov rcx, r12
call fcn.180015b00
cmp byte [rbp - 0x39], 0
mov rbx, rax
je 0x1800b7d6e
mov r8d, dword [rdi + 0xa8]
lea r12, [r14 + 8]
xor r14d, r14d
mov edx, r14d
test r8d, r8d
je 0x1800b7c05
cmp r8d, 0x20
jb 0x1800b7bc7
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 0x1800b7b76
cmp r9, r12
jae 0x1800b7bc7
lea rax, [rcx + rsi]
lea rcx, [rbp - 0x29]
cmp rcx, rax
ja 0x1800b7b88
cmp r9, rsi
jae 0x1800b7bc7
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 0x1800b7b90
cmp edx, r8d
jae 0x1800b7c05
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 0x1800b7bf0
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.1800caa00
mov r8d, dword [rdi + 0xa8]
add rsi, r8
mov r11d, r8d
add r15d, 0xffffffff
je 0x1800b7d43
mov edx, r14d
test r8d, r8d
je 0x1800b7d05
cmp r8d, 0x20
jb 0x1800b7cc5
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 0x1800b7c70
cmp r9, rsi
jae 0x1800b7cc5
lea rax, [rcx + rbx]
lea rcx, [rbp - 0x29]
cmp rcx, rax
ja 0x1800b7c82
cmp r9, rbx
jae 0x1800b7cc5
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 0x1800b7c90
cmp edx, r8d
jae 0x1800b7d05
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 0x1800b7cf0
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.1800caa00
mov r8d, dword [rdi + 0xa8]
add rsi, r8
mov r11d, r8d
add r15d, 0xffffffff
jne 0x1800b7c40
cmp dword [rdi + 0xa8], r14d
jbe 0x1800b7d65
nop dword [rax]
movzx eax, byte [r14 + rbx]
mov byte [r14 + r12], al
inc r14d
cmp r14d, dword [rdi + 0xa8]
jb 0x1800b7d50
mov rcx, qword [rbp - 0x31]
jmp 0x1800b7e4f
mov eax, dword [rdi + 0xa8]
cmp eax, 0x10
jne 0x1800b7df3
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 0x1800b7de2
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 0x1800b7db0
mov rax, qword [rbx]
mov qword [r14 + 8], rax
mov rax, qword [rbx + 8]
mov qword [r14 + 0x10], rax
jmp 0x1800b7e4c
cmp eax, 8
jne 0x1800b7e57
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 0x1800b7e45
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 0x1800b7e20
mov rax, qword [rbx]
mov qword [r14 + 8], rax
mov rcx, r12
mov edx, dword [rbp - 0x35]
call fcn.180016ad0
mov al, 1
mov r13, qword [rsp + 0x80]
mov r15, qword [rsp + 0x78]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x88
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret