Function at 0x1402d4510
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 [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0xe8]
mov rsi, r8
mov r8, qword [rsp + 0xe0]
mov r15d, r9d
mov qword [rsp + 0x48], r8
mov rbp, rdx
mov rdi, rcx
test r9d, r9d
je 0x1402d4792
test rsi, rsi
jne 0x1402d4576
mov rax, qword [rbx]
lea rdx, str.NULL_passed_to_CFB_encryptor
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402d4794
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1402d459c
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r8
mov r8, rsi
call qword [rax + 0x30]
jmp 0x1402d4794
xor edx, edx
mov eax, r15d
div ecx
mov r14d, eax
test edx, edx
je 0x1402d45c1
mov rax, qword [rbx]
lea rdx, str.CFB_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402d4794
test eax, eax
je 0x1402d456f
movzx r13d, byte [0x140549324]
mov rcx, r8
call fcn.14014b850
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.14014afd0
test al, al
jne 0x1402d460a
mov rax, qword [rbx]
lea rdx, str.Unable_to_allocate_CFB_encrypt_output_buffer.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402d4794
mov edx, r12d
mov rcx, r15
call fcn.14014b4f0
mov rbx, rax
mov eax, dword [rdi + 0xa8]
test r13b, r13b
je 0x1402d46ce
lea r12, [rbp + 8]
test eax, eax
je 0x1402d463f
mov r8d, eax
lea rcx, [rsp + 0x38]
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r15, rbx
call qword [rax + 0x20]
mov ecx, dword [rdi + 0xa8]
mov edx, ebp
test ecx, ecx
je 0x1402d469d
nop dword [rax]
nop word [rax + rax]
mov ecx, edx
inc edx
movzx eax, byte [rcx + rsi]
xor al, byte [rsp + rcx + 0x58]
mov byte [rbx + rcx], al
mov byte [rsp + rcx + 0x38], al
mov ecx, dword [rdi + 0xa8]
cmp edx, ecx
jb 0x1402d4680
mov eax, ecx
add rsi, rax
add rbx, rax
add r14d, 0xffffffff
jne 0x1402d4650
test ecx, ecx
je 0x1402d46c4
nop
movzx eax, byte [rbp + r15]
mov byte [r12 + rbp], al
inc ebp
cmp ebp, dword [rdi + 0xa8]
jb 0x1402d46b0
mov rcx, qword [rsp + 0x48]
jmp 0x1402d4789
cmp eax, 0x10
jne 0x1402d473f
mov rax, qword [rbp + 8]
sub rsi, rbx
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x40], rax
nop dword [rax + rax]
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, qword [rsi + rbx]
mov rax, qword [rsp + 0x50]
mov qword [rbx], rcx
xor rax, qword [rsi + rbx + 8]
mov qword [rbx + 8], rax
lea rbx, [rbx + 0x10]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
add r14d, 0xffffffff
jne 0x1402d46f0
mov qword [rbp + 8], rcx
mov rax, qword [rbx - 8]
mov qword [rbp + 0x10], rax
jmp 0x1402d4786
cmp eax, 8
jne 0x1402d4792
mov rax, qword [rbp + 8]
mov qword [rsp + 0x48], rax
nop dword [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]
lea rbx, [rbx + 8]
xor rax, qword [rsi]
lea rsi, [rsi + 8]
mov qword [rbx - 8], rax
mov qword [rsp + 0x48], rax
add r14d, 0xffffffff
jne 0x1402d4750
mov qword [rbp + 8], rax
mov rcx, r15
mov edx, dword [rsp + 0x30]
call fcn.14014d590
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140109210
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret