Function at 0x18001b8e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov r14, rdx
mov rax, rcx
lea r8, [rsp + 0x50]
mov ebx, 0x80
lea r9d, [rbx - 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r8 + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r8 + 0x60], xmm0
add r8, rbx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [r8 - 0x10], xmm1
add rax, rbx
sub r9, 1
jne 0x18001b919
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
mov rax, qword [rax + 0x10]
mov qword [r8 + 0x10], rax
mov rdx, qword [rcx + 0x100]
shr rdx, 3
lea rcx, [rsp + 0x20]
call fcn.18001dacc
nop
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x60]
lea rcx, [rax + rdx*8]
mov qword [rbp + 0x60], rcx
lea rax, [rdx + 1]
mov qword [rbp + 0x58], rax
mov byte [rbp + rdx - 0x30], bl
mov edi, 0x40
mov esi, edi
mov r13d, 0x100
cmp qword [rbp + 0x50], r13
cmova rsi, rbx
lea rax, [rsi - 0xc]
lea r12d, [rdi - 0x3f]
mov rdx, qword [rbp + 0x58]
cmp rdx, rax
jbe 0x18001ba02
cmp rsi, rdx
je 0x18001b9eb
lea rcx, [rbp - 0x30]
add rcx, rdx
mov r8, rsi
sub r8, rdx
xor edx, edx
call fcn.18002c230
mov r8, r12
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.180005fac
xor edx, edx
mov qword [rbp + 0x58], rdx
lea rcx, [rbp - 0x30]
add rcx, rdx
mov r8, rsi
sub r8, rdx
xor edx, edx
call fcn.18002c230
mov rax, qword [rbp + 0x60]
mov qword [rbp + rsi - 0x3c], rax
xor eax, eax
mov dword [rbp + rsi - 0x34], eax
mov r8, r12
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.180005fac
cmp qword [rbp + 0x50], r13
jbe 0x18001ba4b
lea rcx, [rsp + 0x50]
call fcn.18000cc08
jmp 0x18001bafb
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.18002bd80
xor edi, edi
lea r13d, [rdi + 8]
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8, r13
mov rax, rdx
shl rax, 4
xor rax, qword [rcx]
xor rax, rdi
mov qword [rcx], rax
add rdx, r12
add rcx, r13
sub r8, r12
jne 0x18001ba6b
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x70]
call fcn.18001e5f0
xor r8d, r8d
lea rdx, [rbp + 0xc0]
mov r9, r13
mov rcx, r8
shl rcx, 4
lea rax, [rdi + 1]
xor rcx, rax
xor qword [rdx], rcx
add r8, r12
add rdx, r13
sub r9, r12
jne 0x18001baa3
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xc0]
call fcn.18001e5f0
add rdi, 2
cmp rdi, 0xa
jb 0x18001ba62
xor eax, eax
movdqu xmm1, xmmword [rbp + rax + 0x70]
movdqu xmm0, xmmword [rsp + rax + 0x50]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x50], xmm1
add rax, 0x10
cmp rax, 0x40
jl 0x18001badb
mov r8, qword [rbp + 0x50]
shr r8, 3
sub rsi, r8
lea rdx, [rsp + 0x50]
add rdx, rsi
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.18002bd80
movups xmm0, xmmword [r14]
movdqa xmmword [rsp + 0x40], xmm0
mov r8, qword [rsp + 0x28]
mov qword [rbp + 0x130], r8
mov qword [rbp + 0x138], rdi
lea r9, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.18001e758
nop
test rdi, rdi
je 0x18001bb71
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
mov rcx, rdi
call fcn.180018498
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov rax, rbx
lea rcx, [rsp + 0x50]
mov byte [rcx], 0
add rcx, r12
sub rax, r12
jne 0x18001bb79
lea rax, [rbp - 0x30]
mov byte [rax], 0
add rax, r12
sub rbx, r12
jne 0x18001bb88
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret