Function at 0x18016f7b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 8]
mov eax, 0x108
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor edi, edi
mov rax, r8
mov qword [rsp + 0x40], r8
shl rax, 7
mov rbx, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rdi
movups xmm0, xmmword [rax + rdx - 0x40]
movups xmm1, xmmword [rax + rdx - 0x30]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax + rdx - 0x20]
movups xmm1, xmmword [rax + rdx - 0x10]
lea rax, [r8 + r8]
mov qword [rsp + 0x48], rax
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm1
test rax, rax
je 0x18016fb8d
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x100], r13
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0xf0], r15
nop word [rax + rax]
xor ecx, ecx
mov eax, dword [rbx]
add rcx, 4
add rbx, 0x10
xor dword [rbp + rcx*4 - 0x70], eax
mov eax, dword [rbx - 0xc]
xor dword [rbp + rcx*4 - 0x6c], eax
mov eax, dword [rbx - 8]
xor dword [rbp + rcx*4 - 0x68], eax
mov eax, dword [rbx - 4]
xor dword [rbp + rcx*4 - 0x64], eax
cmp rcx, 0x10
jb 0x18016f852
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x60]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x38], 4
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x74]
mov r14d, dword [rsp + 0x7c]
mov r15d, dword [rsp + 0x78]
mov edi, dword [rsp + 0x70]
mov ebx, dword [rsp + 0x6c]
mov dword [rsp + 0x2c], eax
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x68]
mov ecx, dword [rbp - 0x64]
mov edx, dword [rbp - 0x68]
mov r8d, dword [rbp - 0x6c]
mov r9d, dword [rbp - 0x70]
mov r10d, dword [rbp - 0x74]
mov r11d, dword [rbp - 0x78]
mov r12d, dword [rbp - 0x7c]
mov r13d, dword [rbp - 0x80]
mov esi, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
nop
add eax, r9d
rol eax, 7
xor edi, eax
mov eax, dword [rsp + 0x28]
add eax, edi
rol eax, 9
xor r13d, eax
lea eax, [r13 + rdi]
rol eax, 0xd
xor r9d, eax
mov dword [rsp + 0x2c], r9d
lea eax, [r13 + r9]
mov r9d, dword [rsp + 0x28]
ror eax, 0xe
xor r9d, eax
mov eax, dword [rsp + 0x24]
add eax, esi
mov dword [rsp + 0x28], r9d
rol eax, 7
xor r12d, eax
lea eax, [r12 + rsi]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r12]
rol eax, 0xd
xor dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add eax, r8d
ror eax, 0xe
xor esi, eax
lea eax, [r15 + r11]
rol eax, 7
xor edx, eax
lea eax, [rdx + r11]
rol eax, 9
xor dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add eax, edx
rol eax, 0xd
xor r15d, eax
mov eax, dword [rsp + 0x20]
add eax, r15d
ror eax, 0xe
xor r11d, eax
lea eax, [r10 + rcx]
rol eax, 7
xor ebx, eax
lea eax, [rbx + rcx]
rol eax, 9
xor r14d, eax
lea eax, [r14 + rbx]
rol eax, 0xd
xor r10d, eax
lea eax, [r14 + r10]
ror eax, 0xe
xor ecx, eax
lea eax, [rbx + r9]
mov r9d, dword [rsp + 0x24]
rol eax, 7
xor r9d, eax
mov eax, r9d
mov dword [rsp + 0x24], r9d
mov dword [rsp + 0x64], eax
add eax, dword [rsp + 0x28]
rol eax, 9
xor dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
add eax, r9d
mov r9d, dword [rsp + 0x28]
rol eax, 0xd
xor ebx, eax
mov eax, dword [rsp + 0x20]
add eax, ebx
ror eax, 0xe
xor r9d, eax
lea eax, [rsi + rdi]
rol eax, 7
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x60], r9d
xor r15d, eax
mov r9d, dword [rsp + 0x2c]
lea eax, [r15 + rsi]
rol eax, 9
xor r14d, eax
lea eax, [r14 + r15]
rol eax, 0xd
xor edi, eax
lea eax, [r14 + rdi]
ror eax, 0xe
xor esi, eax
lea eax, [r11 + r12]
rol eax, 7
xor r10d, eax
lea eax, [r10 + r11]
rol eax, 9
xor r13d, eax
lea eax, [r10 + r13]
rol eax, 0xd
xor r12d, eax
lea eax, [r12 + r13]
ror eax, 0xe
xor r11d, eax
lea eax, [rcx + rdx]
rol eax, 7
xor r9d, eax
mov dword [rbp - 0x70], r9d
lea eax, [rcx + r9]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r9]
rol eax, 0xd
xor edx, eax
lea eax, [rdx + r8]
ror eax, 0xe
xor ecx, eax
dec qword [rsp + 0x38]
mov eax, dword [rsp + 0x28]
jne 0x18016f900
mov dword [rbp - 0x64], ecx
mov dword [rsp + 0x74], esi
mov rsi, qword [rsp + 0x50]
mov dword [rsp + 0x70], edi
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0x6c], ebx
mov rbx, qword [rsp + 0x58]
xor ecx, ecx
mov dword [rbp - 0x68], edx
mov dword [rbp - 0x6c], r8d
mov dword [rbp - 0x74], r10d
mov dword [rbp - 0x78], r11d
mov dword [rbp - 0x7c], r12d
mov dword [rbp - 0x80], r13d
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x78], r15d
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x60]
add rcx, 0x10
add dword [rbp + rcx - 0x70], eax
mov eax, dword [rsp + rcx + 0x54]
add dword [rbp + rcx - 0x6c], eax
mov eax, dword [rsp + rcx + 0x58]
add dword [rbp + rcx - 0x68], eax
mov eax, dword [rsp + rcx + 0x5c]
add dword [rbp + rcx - 0x64], eax
cmp rcx, 0x40
jl 0x18016fae0
lea rcx, [rsp + 0x60]
mov edx, 0x40
call fcn.1800ca7c0
mov r11, rdi
mov rax, rdi
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
and r11d, 1
shr rax, 1
inc rdi
mov qword [rsp + 0x30], rdi
imul r11, qword [rsp + 0x40]
add r11, rax
shl r11, 6
movups xmmword [r11 + rsi], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [r11 + rsi + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [r11 + rsi + 0x20], xmm0
movups xmmword [r11 + rsi + 0x30], xmm1
cmp rdi, qword [rsp + 0x48]
jb 0x18016f850
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
mov r13, qword [rsp + 0x100]
mov r12, qword [rsp + 0x148]
lea rcx, [rbp - 0x60]
mov edx, 0x40
call fcn.1800ca7c0
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x108
pop rdi
pop rsi
pop rbx
pop rbp
ret