Function at 0x1800db420
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 [0x1802cd010]
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 0x1800db83b
test r8, r8
jne 0x1800db482
mov rax, qword [r14]
lea rdx, str.NULL_passed_to_CBC_encryptor
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1800db83d
xor edx, edx
mov eax, r12d
div dword [rsi + 0xa8]
mov r15d, eax
test edx, edx
je 0x1800db4ab
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 0x1800db83d
cmp byte [0x1802e1921], 0
mov edx, r12d
je 0x1800db79a
add r13, 8
call fcn.18001f8a0
mov rbx, rax
test rax, rax
jne 0x1800db4e3
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 0x1800db83d
mov r8d, dword [rsi + 0xa8]
xor r14d, r14d
mov edx, r14d
test r8d, r8d
je 0x1800db5f5
cmp r8d, 0x40
jb 0x1800db5c2
lea eax, [r8 - 1]
mov ecx, eax
lea r9, [rbp - 0x28]
add r9, rcx
lea r10, [rbp - 0x28]
add rax, r13
cmp r10, rax
ja 0x1800db525
cmp r9, r13
jae 0x1800db5c2
lea rax, [rcx + rdi]
lea rcx, [rbp - 0x28]
cmp rcx, rax
ja 0x1800db53b
cmp r9, rdi
jae 0x1800db5c2
mov r10d, r8d
and r10d, 0xffffffc0
mov r9d, 0x20
nop dword [rax + rax]
mov eax, edx
add edx, 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 edx, r10d
jb 0x1800db550
cmp edx, r8d
jae 0x1800db5f5
mov ecx, edx
lea r10, [rbp - 0x28]
mov r9, rdi
add rcx, r13
sub r9, r13
sub r10, r13
sub r8d, edx
mov 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 0x1800db5e0
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 sub.VCRUNTIME140.dll_memcpy
mov r11d, dword [rsi + 0xa8]
add rdi, r11
add r15d, 0xffffffff
je 0x1800db773
mov edx, r11d
mov r10d, r14d
test edx, edx
je 0x1800db735
cmp edx, 0x40
jb 0x1800db700
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 0x1800db665
cmp r8, rdi
jae 0x1800db700
lea rax, [rcx + rbx]
lea rcx, [rbp - 0x28]
cmp rcx, rax
ja 0x1800db67b
cmp r8, rbx
jae 0x1800db700
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 0x1800db690
cmp r10d, edx
jae 0x1800db735
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 0x1800db720
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 sub.VCRUNTIME140.dll_memcpy
mov r11d, dword [rsi + 0xa8]
add rdi, r11
mov edx, r11d
add r15d, 0xffffffff
jne 0x1800db630
test r11d, r11d
je 0x1800db82f
nop dword [rax]
movzx eax, byte [r14 + rbx]
mov byte [r14 + r13], al
inc r14d
cmp r14d, dword [rsi + 0xa8]
jb 0x1800db780
jmp 0x1800db82f
call fcn.18001f8a0
mov rbx, rax
test rax, rax
je 0x1800db4cc
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 0x1800db820
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 0x1800db7e0
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.18001b700
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180009610
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret