Function at 0x1800bb180
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x18017a408]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, qword [rbp + 0x7f]
mov rdi, r8
mov r8, qword [rbp + 0x77]
mov r12d, r9d
mov qword [rbp - 0x31], r8
mov r14, rdx
mov rbx, rcx
test r9d, r9d
jne 0x1800bb1c7
mov al, 1
jmp 0x1800bb43f
test rdi, rdi
jne 0x1800bb1e3
mov rax, qword [rsi]
lea rdx, str.NULL_passed_to_OFB_decryptor
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1800bb43f
mov ecx, dword [rcx + 0xa8]
cmp ecx, 1
ja 0x1800bb209
mov rax, qword [rbx]
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r8
mov r8, rdi
call qword [rax + 0x38]
jmp 0x1800bb43f
xor edx, edx
mov qword [rsp + 0x78], r15
mov eax, r12d
div ecx
mov r15d, eax
test edx, edx
je 0x1800bb233
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 0x1800bb43a
test eax, eax
je 0x1800bb22c
movzx eax, byte [0x18017fda8]
mov rcx, r8
mov byte [rbp - 0x39], al
mov qword [rsp + 0x80], r13
call fcn.180015e00
mov r13d, eax
add eax, r12d
mov r12, qword [rbp - 0x31]
mov rcx, r12
mov dword [rbp - 0x35], eax
lea edx, [rax + 0x20]
call fcn.1800157f0
test al, al
jne 0x1800bb284
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 0x1800bb432
mov edx, r13d
mov rcx, r12
call fcn.180015b00
cmp byte [rbp - 0x39], 0
mov rsi, rax
je 0x1800bb362
mov eax, dword [rbx + 0xa8]
lea r12, [r14 + 8]
xor r14d, r14d
test eax, eax
je 0x1800bb2e0
lea rcx, [rbp - 0x19]
mov r9, r12
sub r9, rcx
mov edx, r14d
mov r8d, eax
nop dword [rax]
lea rax, [rbp - 0x19]
add rax, rdx
movzx ecx, byte [r9 + rax]
mov byte [rbp + rdx - 0x29], cl
inc rdx
mov byte [rax], cl
sub r8, 1
jne 0x1800bb2c0
nop dword [rax + rax]
mov rax, qword [rbx]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [rax + 0x20]
mov edx, r14d
cmp dword [rbx + 0xa8], edx
jbe 0x1800bb320
nop dword [rax]
mov ecx, edx
inc edx
movzx eax, byte [rcx + rdi]
xor al, byte [rbp + rcx - 0x29]
mov byte [rcx + rsi], al
movzx eax, byte [rbp + rcx - 0x29]
mov byte [rbp + rcx - 0x19], al
cmp edx, dword [rbx + 0xa8]
jb 0x1800bb300
mov eax, dword [rbx + 0xa8]
add rdi, rax
add rsi, rax
add r15d, 0xffffffff
jne 0x1800bb2e0
cmp dword [rbx + 0xa8], r14d
jbe 0x1800bb359
nop dword [rax + rax]
mov r8d, r14d
inc r14d
movzx eax, byte [rbp + r8 - 0x29]
mov byte [r8 + r12], al
cmp r14d, dword [rbx + 0xa8]
jb 0x1800bb340
mov rcx, qword [rbp - 0x31]
jmp 0x1800bb428
mov eax, dword [rbx + 0xa8]
cmp eax, 0x10
jne 0x1800bb3dd
mov rax, qword [r14 + 8]
sub rsi, rdi
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x29], rax
mov rax, qword [r14 + 0x10]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x21], rax
nop dword [rax + rax]
mov rax, qword [rbx]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x29]
lea rdi, [rdi + 0x10]
mov rdx, qword [rbp - 0x21]
mov rax, rcx
xor rax, qword [rdi - 0x10]
movups xmm0, xmmword [rbp - 0x29]
mov qword [rsi + rdi - 0x10], rax
mov rax, qword [rdi - 8]
xor rax, rdx
mov qword [rsi + rdi - 8], rax
movups xmmword [rbp - 0x19], xmm0
add r15d, 0xffffffff
jne 0x1800bb390
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
jmp 0x1800bb425
cmp eax, 8
jne 0x1800bb430
mov rax, qword [r14 + 8]
mov qword [rbp - 0x31], rax
nop word [rax + rax]
mov rax, qword [rbx]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call qword [rax + 0x20]
mov rax, qword [rdi]
lea rsi, [rsi + 8]
mov rcx, qword [rbp - 0x29]
lea rdi, [rdi + 8]
xor rax, rcx
mov qword [rbp - 0x31], rcx
mov qword [rsi - 8], rax
add r15d, 0xffffffff
jne 0x1800bb3f0
mov qword [r14 + 8], rcx
mov rcx, r12
mov edx, dword [rbp - 0x35]
call fcn.180016ad0
mov al, 1
mov r13, qword [rsp + 0x80]
mov r15, qword [rsp + 0x78]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x88
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret