Function at 0x1401badb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1402bf7c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [rsp + 0xe8]
mov rbx, r8
mov r8, qword [rsp + 0xe0]
mov r15d, r9d
mov qword [rsp + 0x48], r8
mov rbp, rdx
mov rdi, rcx
test r9d, r9d
je 0x1401bb061
test rbx, rbx
jne 0x1401bae16
mov rax, qword [rsi]
lea rdx, str.NULL_passed_to_CFB_decryptor
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401bb063
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1401bae3c
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r8
mov r8, rbx
call qword [rax + 0x38]
jmp 0x1401bb063
xor edx, edx
mov eax, r15d
div ecx
test edx, edx
je 0x1401bae5e
mov rax, qword [rsi]
lea rdx, str.CFB_decrypt_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401bb063
xor edx, edx
mov eax, r15d
div ecx
mov r14d, eax
test eax, eax
je 0x1401bae0f
movzx r13d, byte [0x1402c27a0]
mov rcx, r8
call fcn.140044dc0
mov r12d, eax
add eax, r15d
mov r15, qword [rsp + 0x48]
mov rcx, r15
mov dword [rsp + 0x30], eax
lea edx, [rax + 0x20]
call fcn.1400445a0
test al, al
jne 0x1401baeb1
mov rax, qword [rsi]
lea rdx, str.Unable_to_allocate_CFB_decrypt_output_buffer.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401bb063
mov edx, r12d
mov rcx, r15
call fcn.140044a60
mov rsi, rax
mov eax, dword [rdi + 0xa8]
test r13b, r13b
je 0x1401baf8e
lea r15, [rbp + 8]
test eax, eax
je 0x1401baee6
mov r8d, eax
lea rcx, [rsp + 0x38]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
nop dword [rax + rax]
mov rax, qword [rdi]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x20]
mov r8d, dword [rdi + 0xa8]
mov edx, ebp
test r8d, r8d
je 0x1401baf2c
mov ecx, edx
inc edx
movzx eax, byte [rcx + rbx]
xor al, byte [rsp + rcx + 0x58]
mov byte [rcx + rsi], al
mov r8d, dword [rdi + 0xa8]
cmp edx, r8d
jb 0x1401baf11
mov r10d, r8d
add rsi, r10
test r8d, r8d
je 0x1401baf61
lea rax, [rsp + 0x38]
mov r9, rbx
sub r9, rax
lea rcx, [rsp + 0x38]
mov edx, r10d
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1401baf50
add rbx, r10
add r14d, 0xffffffff
jne 0x1401baef0
test r8d, r8d
je 0x1401baf84
nop
movzx eax, byte [rsp + rbp + 0x38]
mov byte [rbp + r15], al
inc ebp
cmp ebp, dword [rdi + 0xa8]
jb 0x1401baf70
mov rcx, qword [rsp + 0x48]
jmp 0x1401bb058
cmp eax, 0x10
jne 0x1401bb006
mov rax, qword [rbp + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x40], rax
nop word [rax + rax]
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rsp + 0x48]
lea rsi, [rsi + 0x10]
xor rax, qword [rbx]
lea rbx, [rbx + 0x10]
mov qword [rsi - 0x10], rax
mov rax, qword [rsp + 0x50]
xor rax, qword [rbx - 8]
mov qword [rsi - 8], rax
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
add r14d, 0xffffffff
jne 0x1401bafb0
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rcx
jmp 0x1401bb055
cmp eax, 8
jne 0x1401bb061
mov rax, qword [rbp + 8]
sub rsi, rbx
mov qword [rsp + 0x48], rax
nop word [rax + rax]
mov rax, qword [rdi]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rsp + 0x38]
xor rax, qword [rbx]
mov qword [rsi + rbx], rax
mov rax, qword [rbx]
lea rbx, [rbx + 8]
mov qword [rsp + 0x48], rax
add r14d, 0xffffffff
jne 0x1401bb020
mov qword [rbp + 8], rax
mov rcx, r15
mov edx, dword [rsp + 0x30]
call fcn.140046a70
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401da8c0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret