Function at 0x1401b7b00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x1402b87c0]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rsi, qword [rbp + 0x70]
mov rbx, r8
mov r8, qword [rbp + 0x68]
mov r12d, r9d
mov qword [rbp - 0x40], r8
mov r14, rdx
mov rdi, rcx
test r9d, r9d
je 0x1401b7da0
test rbx, rbx
jne 0x1401b7b5f
mov rax, qword [rsi]
lea rdx, str.NULL_passed_to_OFB_decryptor
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401b7da2
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1401b7b85
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 0x1401b7da2
xor edx, edx
mov eax, r12d
div ecx
test edx, edx
je 0x1401b7ba7
mov rax, qword [rsi]
lea rdx, str.OFB_decrypt_input_not_a_multiple_of_the_cipher_block_size.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401b7da2
xor edx, edx
mov eax, r12d
div ecx
mov r15d, eax
test eax, eax
je 0x1401b7b58
movzx eax, byte [0x1402bb550]
mov rcx, r8
mov byte [rbp - 0x48], al
call fcn.14003f010
mov r13d, eax
add eax, r12d
mov r12, qword [rbp - 0x40]
mov rcx, r12
mov dword [rbp - 0x44], eax
lea edx, [rax + 0x20]
call fcn.14003e7f0
test al, al
jne 0x1401b7bfa
mov rax, qword [rsi]
lea rdx, str.Unable_to_allocate_OFB_decrypt_output_buffer.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401b7da2
mov edx, r13d
mov rcx, r12
call fcn.14003ecb0
cmp byte [rbp - 0x48], 0
mov rsi, rax
mov eax, dword [rdi + 0xa8]
je 0x1401b7ce2
lea r12, [r14 + 8]
xor r14d, r14d
test eax, eax
je 0x1401b7c60
lea rcx, [rbp - 0x28]
mov r9, r12
sub r9, rcx
mov edx, r14d
mov r8d, eax
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x28]
add rax, rdx
movzx ecx, byte [rax + r9]
mov byte [rbp + rdx - 0x38], cl
inc rdx
mov byte [rax], cl
sub r8, 1
jne 0x1401b7c40
nop dword [rax + rax]
mov rax, qword [rdi]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call qword [rax + 0x20]
mov ecx, dword [rdi + 0xa8]
mov edx, r14d
test ecx, ecx
je 0x1401b7ca2
nop
mov ecx, edx
inc edx
movzx eax, byte [rcx + rbx]
xor al, byte [rbp + rcx - 0x38]
mov byte [rcx + rsi], al
movzx eax, byte [rbp + rcx - 0x38]
mov byte [rbp + rcx - 0x28], al
mov ecx, dword [rdi + 0xa8]
cmp edx, ecx
jb 0x1401b7c80
mov eax, ecx
add rbx, rax
add rsi, rax
add r15d, 0xffffffff
jne 0x1401b7c60
test ecx, ecx
je 0x1401b7cd9
nop dword [rax]
nop dword [rax + rax]
mov r8d, r14d
inc r14d
movzx eax, byte [rbp + r8 - 0x38]
mov byte [r8 + r12], al
cmp r14d, dword [rdi + 0xa8]
jb 0x1401b7cc0
mov rcx, qword [rbp - 0x40]
jmp 0x1401b7d98
cmp eax, 0x10
jne 0x1401b7d50
mov rax, qword [r14 + 8]
sub rsi, rbx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], rax
mov rax, qword [r14 + 0x10]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x30], rax
mov rax, qword [rdi]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x38]
lea rbx, [rbx + 0x10]
mov rdx, qword [rbp - 0x30]
mov rax, rcx
xor rax, qword [rbx - 0x10]
movaps xmm0, xmmword [rbp - 0x38]
mov qword [rsi + rbx - 0x10], rax
mov rax, rdx
xor rax, qword [rbx - 8]
mov qword [rsi + rbx - 8], rax
movdqa xmmword [rbp - 0x28], xmm0
add r15d, 0xffffffff
jne 0x1401b7d02
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
jmp 0x1401b7d95
cmp eax, 8
jne 0x1401b7da0
mov rax, qword [r14 + 8]
mov qword [rbp - 0x40], rax
nop dword [rax]
mov rax, qword [rdi]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x38]
lea rsi, [rsi + 8]
mov rax, rcx
mov qword [rbp - 0x40], rcx
xor rax, qword [rbx]
lea rbx, [rbx + 8]
mov qword [rsi - 8], rax
add r15d, 0xffffffff
jne 0x1401b7d60
mov qword [r14 + 8], rcx
mov rcx, r12
mov edx, dword [rbp - 0x44]
call fcn.140040cc0
mov al, 1
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1401d42a0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret