Function at 0x1400fd880
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, 0x60
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x68]
mov r15, r8
mov r8, qword [rbp + 0x60]
mov r14, rdx
mov qword [rbp - 0x38], r8
mov rsi, rcx
mov dword [rbp - 0x40], r9d
test r9d, r9d
je 0x1400fdc9b
test r15, r15
jne 0x1400fd8e3
mov rax, qword [rdi]
lea rdx, str.NULL_passed_to_CBC_encryptor
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1400fdc9d
mov ecx, dword [rcx + 0xa8]
xor edx, edx
mov eax, r9d
div ecx
test edx, edx
je 0x1400fd90b
mov rax, qword [rdi]
lea rdx, str.AES_CBC_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1400fdc9d
xor edx, edx
mov eax, r9d
div ecx
cmp byte [0x1402bf760], 0
mov edx, r9d
mov r12d, eax
mov rcx, r8
je 0x1400fdbfa
lea r13, [r14 + 8]
call fcn.1400416c0
mov rbx, rax
test rax, rax
jne 0x1400fd950
mov rax, qword [rdi]
lea rdx, str.Unable_to_allocate_CBC_encrypt_output_buffer.
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1400fdc9d
mov edx, dword [rsi + 0xa8]
xor r14d, r14d
mov r8d, r14d
test edx, edx
je 0x1400fda55
cmp edx, 0x40
jb 0x1400fda29
lea eax, [rdx - 1]
mov ecx, eax
lea r9, [rbp - 0x30]
add r9, rcx
lea r10, [rbp - 0x30]
add rax, r13
cmp r10, rax
ja 0x1400fd98e
cmp r9, r13
jae 0x1400fda29
lea rax, [rcx + r15]
lea rcx, [rbp - 0x30]
cmp rcx, rax
ja 0x1400fd9a4
cmp r9, r15
jae 0x1400fda29
mov r10d, edx
and r10d, 0xffffffc0
mov r9d, 0x20
mov eax, r8d
add r8d, 0x40
movdqu xmm0, xmmword [rax + r15]
movdqu xmm1, xmmword [rax + r13]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
lea eax, [r9 - 0x10]
movdqu xmm0, xmmword [rax + r15]
movdqu xmm1, xmmword [rax + r13]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rax + r15]
movdqu xmm1, xmmword [rax + r13]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rax + r13]
movdqu xmm0, xmmword [rax + r15]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
cmp r8d, r10d
jb 0x1400fd9b1
cmp r8d, edx
jae 0x1400fda55
mov ecx, r8d
lea r10, [rbp - 0x30]
mov r9, r15
add rcx, r13
sub r9, r13
sub r10, r13
sub edx, r8d
nop
movzx eax, byte [r9 + rcx]
xor al, byte [rcx]
mov byte [r10 + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400fda40
mov rax, qword [rsi]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [rax + 0x20]
mov r8d, dword [rsi + 0xa8]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsi + 0xa8]
lea rdi, [r15 + r8]
add r12d, 0xffffffff
je 0x1400fdbd5
nop
mov edx, r14d
test r8d, r8d
je 0x1400fdb95
cmp r8d, 0x40
jb 0x1400fdb5e
lea eax, [r8 - 1]
mov ecx, eax
lea r9, [rbp - 0x30]
add r9, rcx
lea r10, [rbp - 0x30]
add rax, rdi
cmp r10, rax
ja 0x1400fdac8
cmp r9, rdi
jae 0x1400fdb5e
lea rax, [rcx + rbx]
lea rcx, [rbp - 0x30]
cmp rcx, rax
ja 0x1400fdade
cmp r9, rbx
jae 0x1400fdb5e
mov r9d, r8d
and r9d, 0xffffffc0
mov r10d, 0x20
nop dword [rax + rax]
mov eax, edx
add edx, 0x40
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
lea eax, [r10 - 0x10]
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
mov eax, r10d
movdqu xmm0, xmmword [rax + rdi]
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
lea eax, [r10 + 0x10]
add r10d, 0x40
movdqu xmm1, xmmword [rax + rbx]
movdqu xmm0, xmmword [rax + rdi]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
cmp edx, r9d
jb 0x1400fdaf0
cmp edx, r8d
jae 0x1400fdb95
mov eax, edx
lea r10, [rbp - 0x30]
mov r9, rbx
add rax, rdi
sub r9, rdi
sub r10, rdi
mov ecx, r8d
sub ecx, edx
mov edx, ecx
nop word [rax + rax]
movzx ecx, byte [r9 + rax]
xor cl, byte [rax]
mov byte [r10 + rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400fdb80
mov eax, r8d
lea rdx, [rbp - 0x30]
add rbx, rax
lea r8, [rbp - 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov r8d, dword [rsi + 0xa8]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi + 0xa8]
add rdi, rax
mov r8d, eax
add r12d, 0xffffffff
jne 0x1400fda90
test r8d, r8d
je 0x1400fdc8f
nop
movzx eax, byte [r14 + rbx]
mov byte [r14 + r13], al
inc r14d
cmp r14d, dword [rsi + 0xa8]
jb 0x1400fdbe0
jmp 0x1400fdc8f
call fcn.1400416c0
mov rbx, rax
test rax, rax
je 0x1400fd939
mov rax, qword [r15]
lea rdx, [rbp - 0x30]
xor rax, qword [r14 + 8]
mov r8, rbx
mov qword [rbp - 0x30], rax
mov rcx, rsi
mov rax, qword [r15 + 8]
xor rax, qword [r14 + 0x10]
mov qword [rbp - 0x28], rax
mov rax, qword [rsi]
call qword [rax + 0x20]
add r12d, 0xffffffff
je 0x1400fdc80
sub r15, rbx
nop dword [rax + rax]
mov rax, qword [r15 + rbx + 0x10]
lea rdx, [rbp - 0x30]
xor rax, qword [rbx]
mov rcx, rsi
mov qword [rbp - 0x30], rax
mov rax, qword [r15 + rbx + 0x18]
xor rax, qword [rbx + 8]
add rbx, 0x10
mov qword [rbp - 0x28], rax
mov r8, rbx
mov rax, qword [rsi]
call qword [rax + 0x20]
add r12d, 0xffffffff
jne 0x1400fdc40
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx]
mov qword [r14 + 8], rax
mov rax, qword [rbx + 8]
mov qword [r14 + 0x10], rax
mov edx, dword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
call fcn.14003d440
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret