Function at 0x1402d4200
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 [0x14040f040]
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 0x1402d44ec
test rbx, rbx
jne 0x1402d4264
mov rax, qword [rdi]
lea rdx, str.NULL_passed_to_CFB_decryptor
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1402d44ee
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1402d428a
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 0x1402d44ee
xor edx, edx
mov eax, r14d
div ecx
mov r13d, eax
test edx, edx
je 0x1402d42af
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 0x1402d44ee
test eax, eax
je 0x1402d425d
movzx eax, byte [0x140549324]
mov rcx, r8
mov byte [rbp - 0x49], al
call fcn.14014b850
mov rcx, qword [rbp - 0x41]
mov r12d, eax
add eax, r14d
mov dword [rbp - 0x45], eax
lea edx, [rax + 0x20]
call fcn.14014afd0
test al, al
jne 0x1402d42f5
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 0x1402d44ee
mov rdi, qword [rbp - 0x41]
mov edx, r12d
mov rcx, rdi
call fcn.14014b4f0
cmp byte [rbp - 0x49], 0
mov r14, rax
mov eax, dword [rsi + 0xa8]
je 0x1402d442f
lea rcx, [r15 + 8]
mov qword [rbp - 0x31], rcx
test eax, eax
je 0x1402d4332
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 0x1402d437a
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 0x1402d4360
mov r12d, edi
mov edx, r15d
add r14, r12
test edi, edi
je 0x1402d43f1
cmp edi, 0x10
jb 0x1402d43ba
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 0x1402d43a9
cmp r8, rbx
jae 0x1402d43ba
mov r8, r12
lea rcx, [rbp - 0x21]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1402d43f1
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 0x1402d43e0
add rbx, r12
add r13d, 0xffffffff
jne 0x1402d4340
test edi, edi
je 0x1402d4426
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 0x1402d4410
mov rcx, qword [rbp - 0x41]
jmp 0x1402d44e4
cmp eax, 0x10
jne 0x1402d44a0
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 0x1402d4450
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rcx
jmp 0x1402d44e1
cmp eax, 8
jne 0x1402d44ec
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 0x1402d44b0
mov qword [r15 + 8], rax
mov rcx, rdi
mov edx, dword [rbp - 0x45]
call fcn.14014d590
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140109210
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret