Function at 0x140164f80
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 [0x140353c70]
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 0x14016526c
test rbx, rbx
jne 0x140164fe4
mov rax, qword [rdi]
lea rdx, str.NULL_passed_to_CFB_decryptor
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x14016526e
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x14016500a
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 0x14016526e
xor edx, edx
mov eax, r14d
div ecx
mov r13d, eax
test edx, edx
je 0x14016502f
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 0x14016526e
test eax, eax
je 0x140164fdd
movzx eax, byte [0x140357081]
mov rcx, r8
mov byte [rbp - 0x49], al
call fcn.140042d30
mov rcx, qword [rbp - 0x41]
mov r12d, eax
add eax, r14d
mov dword [rbp - 0x45], eax
lea edx, [rax + 0x20]
call fcn.140042380
test al, al
jne 0x140165075
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 0x14016526e
mov rdi, qword [rbp - 0x41]
mov edx, r12d
mov rcx, rdi
call fcn.1400428a0
cmp byte [rbp - 0x49], 0
mov r14, rax
mov eax, dword [rsi + 0xa8]
je 0x1401651af
lea rcx, [r15 + 8]
mov qword [rbp - 0x31], rcx
test eax, eax
je 0x1401650b2
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 0x1401650fa
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 0x1401650e0
mov r12d, edi
mov edx, r15d
add r14, r12
test edi, edi
je 0x140165171
cmp edi, 0x10
jb 0x14016513a
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 0x140165129
cmp r8, rbx
jae 0x14016513a
mov r8, r12
lea rcx, [rbp - 0x21]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140165171
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 0x140165160
add rbx, r12
add r13d, 0xffffffff
jne 0x1401650c0
test edi, edi
je 0x1401651a6
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 0x140165190
mov rcx, qword [rbp - 0x41]
jmp 0x140165264
cmp eax, 0x10
jne 0x140165220
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 0x1401651d0
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rcx
jmp 0x140165261
cmp eax, 8
jne 0x14016526c
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 0x140165230
mov qword [r15 + 8], rax
mov rcx, rdi
mov edx, dword [rbp - 0x45]
call fcn.1400446b0
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret