Function at 0x1401ca3c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x88
mov rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rbp - 1], rax
mov rdi, qword [rbp + 0x7f]
mov rbx, r8
mov r8, qword [rbp + 0x77]
mov r14d, r9d
mov qword [rbp - 0x41], r8
mov r15, rdx
mov rsi, rcx
test r9d, r9d
je 0x1401ca6ac
test rbx, rbx
jne 0x1401ca424
mov rax, qword [rdi]
lea rdx, str.NULL_passed_to_CFB_decryptor
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1401ca6ae
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1401ca44a
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r8
mov r8, rbx
call qword [rax + 0x38]
jmp 0x1401ca6ae
xor edx, edx
mov eax, r14d
div ecx
mov r13d, eax
test edx, edx
je 0x1401ca46f
mov rax, qword [rdi]
lea rdx, str.CFB_decrypt_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1401ca6ae
test eax, eax
je 0x1401ca41d
movzx eax, byte [0x1402cb9e0]
mov rcx, r8
mov byte [rbp - 0x49], al
call fcn.140043080
mov rcx, qword [rbp - 0x41]
mov r12d, eax
add eax, r14d
mov dword [rbp - 0x45], eax
lea edx, [rax + 0x20]
call fcn.140042800
test al, al
jne 0x1401ca4b5
mov rax, qword [rdi]
lea rdx, str.Unable_to_allocate_CFB_decrypt_output_buffer.
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1401ca6ae
mov rdi, qword [rbp - 0x41]
mov edx, r12d
mov rcx, rdi
call fcn.140042d20
cmp byte [rbp - 0x49], 0
mov r14, rax
mov eax, dword [rsi + 0xa8]
je 0x1401ca5ef
lea rcx, [r15 + 8]
mov qword [rbp - 0x31], rcx
test eax, eax
je 0x1401ca4f2
mov rdx, rcx
mov r8d, eax
lea rcx, [rbp - 0x21]
call sub.VCRUNTIME140.dll_memcpy
xor r15d, r15d
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call qword [rax + 0x20]
mov edi, dword [rsi + 0xa8]
mov edx, r15d
test edi, edi
je 0x1401ca53a
nop
mov ecx, edx
inc edx
movzx eax, byte [rcx + rbx]
xor al, byte [rbp + rcx - 0x11]
mov byte [r14 + rcx], al
mov edi, dword [rsi + 0xa8]
cmp edx, edi
jb 0x1401ca520
mov r12d, edi
mov edx, r15d
add r14, r12
test edi, edi
je 0x1401ca5b1
cmp edi, 0x10
jb 0x1401ca57a
lea eax, [rdi - 1]
mov ecx, eax
lea r8, [rbp - 0x21]
add r8, rcx
add rax, rbx
lea rcx, [rbp - 0x21]
cmp rcx, rax
ja 0x1401ca569
cmp r8, rbx
jae 0x1401ca57a
mov r8, r12
lea rcx, [rbp - 0x21]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1401ca5b1
mov eax, edx
lea rcx, [rbp - 0x21]
add rcx, rax
mov r8, rbx
lea rax, [rbp - 0x21]
sub r8, rax
mov eax, edi
sub eax, edx
mov edx, eax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1401ca5a0
add rbx, r12
add r13d, 0xffffffff
jne 0x1401ca500
test edi, edi
je 0x1401ca5e6
mov rdx, qword [rbp - 0x31]
nop word [rax + rax]
movzx eax, byte [rbp + r15 - 0x21]
mov byte [rdx + r15], al
inc r15d
cmp r15d, dword [rsi + 0xa8]
jb 0x1401ca5d0
mov rcx, qword [rbp - 0x41]
jmp 0x1401ca6a4
cmp eax, 0x10
jne 0x1401ca660
mov rax, qword [r15 + 8]
mov qword [rbp - 0x31], rax
mov rax, qword [r15 + 0x10]
mov qword [rbp - 0x29], rax
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x31]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rbp - 0x41]
lea r14, [r14 + 0x10]
xor rax, qword [rbx]
lea rbx, [rbx + 0x10]
mov qword [r14 - 0x10], rax
mov rax, qword [rbp - 0x39]
xor rax, qword [rbx - 8]
mov qword [r14 - 8], rax
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 8]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rcx
add r13d, 0xffffffff
jne 0x1401ca610
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rcx
jmp 0x1401ca6a1
cmp eax, 8
jne 0x1401ca6ac
mov rax, qword [r15 + 8]
sub r14, rbx
mov qword [rbp - 0x41], rax
mov rax, qword [rsi]
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rbp - 0x31]
xor rax, qword [rbx]
mov qword [r14 + rbx], rax
mov rax, qword [rbx]
lea rbx, [rbx + 8]
mov qword [rbp - 0x41], rax
add r13d, 0xffffffff
jne 0x1401ca670
mov qword [r15 + 8], rax
mov rcx, rdi
mov edx, dword [rbp - 0x45]
call fcn.140044dc0
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret