Function at 0x1402d75b0
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 + 0x60], rax
mov rbx, qword [rsp + 0xe8]
mov rdi, r8
mov r8, qword [rsp + 0xe0]
mov r14d, r9d
mov qword [rsp + 0x40], r8
mov r15, rdx
mov rsi, rcx
test r9d, r9d
je 0x1402d7854
test rdi, rdi
jne 0x1402d7616
mov rax, qword [rbx]
lea rdx, str.NULL_passed_to_OFB_decryptor
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402d7856
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1402d763c
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r8
mov r8, rdi
call qword [rax + 0x38]
jmp 0x1402d7856
xor edx, edx
mov eax, r14d
div ecx
mov ebp, eax
test edx, edx
je 0x1402d7660
mov rax, qword [rbx]
lea rdx, str.OFB_decrypt_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402d7856
test eax, eax
je 0x1402d760f
movzx r13d, byte [0x140549324]
mov rcx, r8
call fcn.14014b850
mov rcx, qword [rsp + 0x40]
mov r12d, eax
add eax, r14d
mov dword [rsp + 0x30], eax
lea edx, [rax + 0x20]
call fcn.14014afd0
test al, al
jne 0x1402d76a6
mov rax, qword [rbx]
lea rdx, str.Unable_to_allocate_OFB_decrypt_output_buffer.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402d7856
mov edx, r12d
mov r12, qword [rsp + 0x40]
mov rcx, r12
call fcn.14014b4f0
mov r14, rax
mov eax, dword [rsi + 0xa8]
test r13b, r13b
je 0x1402d7779
test eax, eax
je 0x1402d76f0
mov r8d, eax
lea rdx, [r15 + 8]
lea rcx, [rsp + 0x40]
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
mov r8d, ebx
lea rdx, [r15 + 8]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax + 0x20]
mov ecx, dword [rsi + 0xa8]
mov edx, ebx
test ecx, ecx
je 0x1402d7743
nop
mov ecx, edx
inc edx
movzx eax, byte [rcx + rdi]
xor al, byte [rsp + rcx + 0x50]
mov byte [r14 + rcx], al
movzx eax, byte [rsp + rcx + 0x50]
mov byte [rsp + rcx + 0x40], al
mov ecx, dword [rsi + 0xa8]
cmp edx, ecx
jb 0x1402d7720
mov eax, ecx
add rdi, rax
add r14, rax
add ebp, 0xffffffff
jne 0x1402d7700
test ecx, ecx
je 0x1402d7848
nop dword [rax + rax]
movzx eax, byte [rsp + rbx + 0x50]
mov byte [r15 + rbx + 8], al
inc ebx
cmp ebx, dword [rsi + 0xa8]
jb 0x1402d7760
jmp 0x1402d7848
cmp eax, 0x10
jne 0x1402d77f3
mov rax, qword [r15 + 8]
sub r14, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rax
nop dword [rax]
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
lea rdi, [rdi + 0x10]
mov rdx, qword [rsp + 0x58]
mov rax, rcx
xor rax, qword [rdi - 0x10]
movaps xmm0, xmmword [rsp + 0x50]
mov qword [r14 + rdi - 0x10], rax
mov rax, rdx
xor rax, qword [rdi - 8]
mov qword [r14 + rdi - 8], rax
movdqa xmmword [rsp + 0x40], xmm0
add ebp, 0xffffffff
jne 0x1402d77a0
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rdx
jmp 0x1402d7848
cmp eax, 8
jne 0x1402d7854
mov rax, qword [r15 + 8]
mov qword [rsp + 0x40], rax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
lea r14, [r14 + 8]
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor rax, qword [rdi]
lea rdi, [rdi + 8]
mov qword [r14 - 8], rax
add ebp, 0xffffffff
jne 0x1402d7810
mov qword [r15 + 8], rcx
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14014d590
mov al, 1
mov rcx, qword [rsp + 0x60]
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