Function at 0x180111fe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd8
mov r13, r9
mov r15, rdx
mov r12, rcx
mov r14, rdx
mov qword [rbp + 0x57], rdx
mov rdi, rdx
lea rsi, [r8 - 1]
mov qword [rbp - 0x69], rsi
mov rax, rsi
sar rax, 1
mov qword [rbp + 0x4f], rax
cmp rdx, rax
jge 0x180112155
mov r13, rax
nop dword [rax]
nop word [rax + rax]
add rdi, rdi
lea rax, [rdi + 2]
lea rax, [rax + rax*8]
lea rsi, [r12 + rax*8]
lea r14, [rsi - 0x48]
lea rax, [rsp + 0x20]
mov qword [rbp - 0x19], rax
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.180041fd0
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [r14 + 0x30]
movups xmmword [rsp + 0x50], xmm0
mov rax, qword [r14 + 0x40]
mov qword [rbp - 0x71], rax
mov rdx, rsi
lea rcx, [rbp - 0x61]
call fcn.180041fd0
movss xmm0, dword [rsi + 0x20]
movss dword [rbp - 0x41], xmm0
movss xmm2, dword [rsi + 0x24]
movss dword [rbp - 0x3d], xmm2
movss xmm0, dword [rsi + 0x28]
movss dword [rbp - 0x39], xmm0
movss xmm1, dword [rsi + 0x2c]
movss dword [rbp - 0x35], xmm1
movups xmm0, xmmword [rsi + 0x30]
movups xmmword [rbp - 0x31], xmm0
mov rax, qword [rsi + 0x40]
mov qword [rbp - 0x21], rax
movss xmm0, dword [rsp + 0x44]
comiss xmm0, xmm2
seta bl
lea rcx, [rbp - 0x61]
call fcn.18003f680
lea rcx, [rsp + 0x20]
call fcn.18003f680
movzx eax, bl
xor rax, 1
inc rax
add rdi, rax
test bl, bl
cmove r14, rsi
lea rax, [r15 + r15*8]
lea rbx, [r12 + rax*8]
mov rdx, r14
mov rcx, rbx
call fcn.180040640
movsd xmm0, qword [r14 + 0x20]
movsd qword [rbx + 0x20], xmm0
movsd xmm1, qword [r14 + 0x28]
movsd qword [rbx + 0x28], xmm1
movups xmm0, xmmword [r14 + 0x30]
movups xmmword [rbx + 0x30], xmm0
mov rax, qword [r14 + 0x40]
mov qword [rbx + 0x40], rax
mov r15, rdi
cmp rdi, r13
jl 0x180112040
mov r13, qword [rbp + 0x67]
mov rax, qword [rbp + 0x4f]
mov r8, qword [rbp + 0x5f]
mov r14, qword [rbp + 0x57]
mov rsi, qword [rbp - 0x69]
cmp rdi, rax
jne 0x1801121a3
test r8b, 1
jne 0x1801121a3
lea rax, [r8 + r8*8]
lea rdi, [r12 + rax*8]
lea rax, [r15 + r15*8]
lea rbx, [r12 + rax*8]
lea rdx, [rdi - 0x48]
mov rcx, rbx
call fcn.180040640
movsd xmm0, qword [rdi - 0x28]
movsd qword [rbx + 0x20], xmm0
movsd xmm1, qword [rdi - 0x20]
movsd qword [rbx + 0x28], xmm1
movups xmm0, xmmword [rdi - 0x18]
movups xmmword [rbx + 0x30], xmm0
mov rax, qword [rdi - 8]
mov qword [rbx + 0x40], rax
mov r15, rsi
cmp r14, r15
jge 0x18011229b
nop dword [rax]
lea rsi, [r15 - 1]
sar rsi, 1
lea rax, [rsi + rsi*8]
lea rdi, [r12 + rax*8]
lea rax, [rsp + 0x20]
mov qword [rbp + 0x67], rax
mov rdx, r13
lea rcx, [rsp + 0x20]
call fcn.180041fd0
movups xmm0, xmmword [r13 + 0x20]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [r13 + 0x30]
movups xmmword [rsp + 0x50], xmm0
mov rax, qword [r13 + 0x40]
mov qword [rbp - 0x71], rax
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.180041fd0
movss xmm0, dword [rdi + 0x20]
movss dword [rbp - 0x41], xmm0
movss xmm2, dword [rdi + 0x24]
movss dword [rbp - 0x3d], xmm2
movss xmm0, dword [rdi + 0x28]
movss dword [rbp - 0x39], xmm0
movss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x35], xmm1
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbp - 0x31], xmm0
mov rax, qword [rdi + 0x40]
mov qword [rbp - 0x21], rax
movss xmm0, dword [rsp + 0x44]
comiss xmm0, xmm2
seta bl
lea rcx, [rbp - 0x61]
call fcn.18003f680
lea rcx, [rsp + 0x20]
call fcn.18003f680
test bl, bl
je 0x18011229b
lea rax, [r15 + r15*8]
lea rbx, [r12 + rax*8]
mov rdx, rdi
mov rcx, rbx
call fcn.180040640
movsd xmm0, qword [rdi + 0x20]
movsd qword [rbx + 0x20], xmm0
movsd xmm1, qword [rdi + 0x28]
movsd qword [rbx + 0x28], xmm1
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm0
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x40], rax
mov r15, rsi
cmp r14, rsi
jl 0x1801121b0
lea rax, [r15 + r15*8]
lea rbx, [r12 + rax*8]
mov rdx, r13
mov rcx, rbx
call fcn.180040640
movsd xmm0, qword [r13 + 0x20]
movsd qword [rbx + 0x20], xmm0
movsd xmm1, qword [r13 + 0x28]
movsd qword [rbx + 0x28], xmm1
movups xmm0, xmmword [r13 + 0x30]
movups xmmword [rbx + 0x30], xmm0
mov rax, qword [r13 + 0x40]
mov qword [rbx + 0x40], rax
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret