Function at 0x180080d94
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
xor r12d, r12d
mov rdi, r9
cmp byte [0x18010b09b], r12b
mov rsi, r8
mov r14, rdx
mov r15, rcx
je 0x180080f69
lea rbx, [r9 + 0x20]
cmp qword [rbx], r12
je 0x180080f0e
lea rcx, [0x18010af88]
call fcn.180007dac
mov rdx, qword [0x18010af78]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], r12b
jne 0x180080e1b
mov r8, qword [rbx]
cmp qword [rax + 0x20], r8
jae 0x180080e0f
mov rax, qword [rax + 0x10]
jmp 0x180080e15
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x180080e03
cmp byte [rcx + 0x19], r12b
jne 0x180080e2a
mov rax, qword [rcx + 0x20]
cmp qword [rbx], rax
jae 0x180080e2d
mov rcx, rdx
cmp rcx, rdx
jne 0x180080efa
cmp byte [0x18010a364], r12b
je 0x180080e8b
lea rcx, [rbp - 0x29]
call fcn.18007dfe0
cmp byte [rax + 0x2d], r12b
je 0x180080e7b
mov r8, r12
movabs r10, 0xd993efbb19cfe32d
mov cl, r8b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0x2d
jb 0x180080e5b
mov byte [rax + 0x2d], r12b
mov r8, qword [rbx]
mov rdx, rax
mov ecx, 4
call fcn.18006a848
movups xmm0, xmmword [r14]
movzx eax, word [r14 + 0x18]
lea rdx, [rbp - 0x11]
movsd xmm1, qword [rsi + 0x10]
lea rcx, [0x18010af78]
movups xmmword [rbp - 0x21], xmm0
mov r8, rbx
mov word [rbp + 0x1f], ax
movsd xmm0, qword [r14 + 0x10]
movzx eax, word [rsi + 0x18]
movsd qword [rbp + 0x17], xmm0
movups xmm0, xmmword [rsi]
mov word [rbp + 0x39], ax
movsd qword [rbp + 0x31], xmm1
movups xmmword [rbp + 0x21], xmm0
mov qword [rbp + 0x3f], r15
call fcn.180079fa8
movups xmm0, xmmword [rbp - 0x21]
movaps xmm1, xmmword [rbp + 0x27]
mov rdx, qword [rax]
movups xmmword [rdx + 0x28], xmm0
movaps xmm0, xmmword [rbp + 0x17]
movups xmmword [rdx + 0x38], xmm0
movaps xmm0, xmmword [rbp + 0x37]
movups xmmword [rdx + 0x48], xmm1
movups xmmword [rdx + 0x58], xmm0
lea rcx, [0x18010af88]
call fcn.180007dc4
mov qword [rbx], r12
jmp 0x18008101f
cmp byte [0x18010a364], r12b
je 0x18008101f
lea rcx, [rbp - 0x29]
call fcn.18007e3f4
cmp byte [rax + 0x21], r12b
je 0x180080f57
mov r9, r12
movabs r10, 0xd993efbb19cfe32d
mov cl, r9b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r9 + rax], dl
inc r9
cmp r9, 0x21
jb 0x180080f37
mov byte [rax + 0x21], r12b
mov rdx, rax
mov ecx, 4
call fcn.18006a848
jmp 0x18008101f
mov rbx, qword [r9 + 0x18]
test rbx, rbx
je 0x18008101f
lea rcx, [0x18010af48]
call fcn.180007dac
mov rdx, qword [0x18010af38]
mov rcx, rdx
mov rax, qword [rdx + 8]
jmp 0x180080fa4
cmp qword [rax + 0x20], rbx
jae 0x180080f9e
mov rax, qword [rax + 0x10]
jmp 0x180080fa4
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x180080f92
cmp byte [rcx + 0x19], r12b
jne 0x180080fb6
cmp rbx, qword [rcx + 0x20]
jae 0x180080fb9
mov rcx, rdx
cmp rcx, rdx
je 0x18008100f
movsd xmm0, qword [r14 + 0x10]
movzx eax, word [r14 + 0x18]
movsd xmm1, qword [rsi + 0x10]
movups xmm2, xmmword [r14]
mov word [rbp + 0x1f], ax
movzx eax, word [rsi + 0x18]
movsd qword [rbp + 0x17], xmm0
movups xmm0, xmmword [rsi]
mov word [rbp + 0x39], ax
movups xmmword [rcx + 0x28], xmm2
mov qword [rbp + 0x3f], r15
movups xmmword [rbp + 0x21], xmm0
movaps xmm0, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x38], xmm0
movsd qword [rbp + 0x31], xmm1
movaps xmm1, xmmword [rbp + 0x27]
movaps xmm0, xmmword [rbp + 0x37]
movups xmmword [rcx + 0x48], xmm1
movups xmmword [rcx + 0x58], xmm0
lea rcx, [0x18010af48]
call fcn.180007dc4
mov qword [rdi + 0x18], r12
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret