Function at 0x180091fe0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x80
mov rdi, qword [rdx]
xor r13d, r13d
mov r15d, dword [rdx + 8]
mov rbx, rcx
mov r12, qword [rcx + 0x10]
mov qword [rsp + 0xb0], rdi
test r15d, r15d
je 0x180092324
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r14
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movss xmm7, dword [0x1800eca14]
movaps xmmword [rax - 0x58], xmm8
movss xmm8, dword [0x1800ecb80]
movaps xmmword [rax - 0x68], xmm9
movaps xmm9, xmmword [0x1800ecbf0]
movaps xmmword [rax - 0x78], xmm10
movaps xmm10, xmmword [0x1800ecd10]
movaps xmmword [rsp + 0x20], xmm11
movss xmm11, dword [0x1800ecd00]
nop word [rax + rax]
cmp dword [rbx + 8], r15d
mov ebp, r15d
mov rcx, qword [rbx + 0x20]
cmovl ebp, dword [rbx + 8]
xor r8d, r8d
mov edx, ebp
call sym.FactoryGameEGS_SignalProcessing.dll_public:_float_const____ptr64___cdecl_Audio::FAlignedBlockBuffer::InspectSamples_int__int____ptr64
movsxd rcx, r13d
mov r14, rax
lea rsi, [rdi + rcx*4]
mov ecx, ebp
and ecx, 0x80000003
jge 0x1800920a4
dec ecx
or ecx, 0xfffffffc
inc ecx
movss xmm0, dword [rbx]
mov r9d, ebp
movaps xmm5, xmm0
movsxd r10, ebp
xorps xmm0, xmm11
shufps xmm5, xmm5, 0
sub r9d, ecx
movaps xmm6, xmm0
shufps xmm6, xmm6, 0
test ebp, ebp
jle 0x180092129
mov rdx, r14
lea rax, [r10 - 1]
mov r8, r12
shr rax, 2
sub rdx, rsi
sub r8, rsi
inc rax
mov rcx, rsi
movups xmm4, xmmword [rdx + rcx]
movaps xmm3, xmm10
movaps xmm2, xmm4
mulps xmm2, xmm5
addps xmm2, xmmword [rcx]
cmpltps xmm3, xmm2
movaps xmm0, xmm2
movaps xmm1, xmm2
xorps xmm1, xmmword [0x1800e74a0]
cmpltps xmm0, xmm9
andps xmm3, xmm0
andps xmm3, xmm1
xorps xmm3, xmm2
movups xmmword [r8 + rcx], xmm3
mulps xmm3, xmm6
addps xmm3, xmm4
movups xmmword [rcx], xmm3
add rcx, 0x10
sub rax, 1
jne 0x1800920e1
movsxd rdi, r9d
cmp rdi, r10
jge 0x1800922bc
mov rax, r10
mov r11, rsi
sub rax, rdi
sub r11, r12
cmp rax, 4
jl 0x180092268
lea rax, [rdi + 1]
mov r9, r10
sub r9, rdi
lea rax, [r14 + rax*4]
sub r9, 4
mov rcx, rsi
mov r8, r12
shr r9, 2
sub rcx, r14
sub r8, r14
inc r9
lea rdi, [rdi + r9*4]
nop dword [rax]
nop dword [rax + rax]
movss xmm1, dword [rbx]
mulss xmm1, dword [rax - 4]
addss xmm1, dword [rcx + rax - 4]
comiss xmm1, xmm8
jbe 0x18009219d
comiss xmm1, xmm7
jae 0x18009219d
xorps xmm1, xmm1
movss dword [r8 + rax - 4], xmm1
lea rdx, [r8 + rax]
mulss xmm1, dword [rbx]
movss xmm0, dword [rax - 4]
subss xmm0, xmm1
movss dword [rcx + rax - 4], xmm0
movss xmm1, dword [rbx]
mulss xmm1, dword [rax]
addss xmm1, dword [rdx + r11]
comiss xmm1, xmm8
jbe 0x1800921d7
comiss xmm1, xmm7
jae 0x1800921d7
xorps xmm1, xmm1
movss dword [rdx], xmm1
mulss xmm1, dword [rbx]
movss xmm0, dword [rax]
subss xmm0, xmm1
movss dword [rcx + rax], xmm0
movss xmm1, dword [rbx]
mulss xmm1, dword [rax + 4]
addss xmm1, dword [rcx + rax + 4]
comiss xmm1, xmm8
jbe 0x180092209
comiss xmm1, xmm7
jae 0x180092209
xorps xmm1, xmm1
movss dword [r8 + rax + 4], xmm1
mulss xmm1, dword [rbx]
movss xmm0, dword [rax + 4]
subss xmm0, xmm1
movss dword [rcx + rax + 4], xmm0
movss xmm1, dword [rbx]
mulss xmm1, dword [rax + 8]
addss xmm1, dword [rcx + rax + 8]
comiss xmm1, xmm8
jbe 0x180092240
comiss xmm1, xmm7
jae 0x180092240
xorps xmm1, xmm1
movss dword [r8 + rax + 8], xmm1
movss xmm0, dword [rax + 8]
mulss xmm1, dword [rbx]
subss xmm0, xmm1
movss dword [rcx + rax + 8], xmm0
add rax, 0x10
sub r9, 1
jne 0x180092180
cmp rdi, r10
jge 0x1800922bc
mov rdx, r12
lea rax, [r14 + rdi*4]
sub rdx, r14
sub rsi, r14
sub r10, rdi
movss xmm1, dword [rax]
lea rcx, [rax + rdx]
mulss xmm1, dword [rbx]
addss xmm1, dword [r11 + rcx]
comiss xmm1, xmm8
jbe 0x18009229d
comiss xmm1, xmm7
jae 0x18009229d
xorps xmm1, xmm1
movss dword [rcx], xmm1
movss xmm0, dword [rax]
mulss xmm1, dword [rbx]
subss xmm0, xmm1
movss dword [rax + rsi], xmm0
add rax, 4
sub r10, 1
jne 0x18009227d
mov rcx, qword [rbx + 0x20]
mov edx, ebp
call sym.FactoryGameEGS_SignalProcessing.dll_public:_void___cdecl_Audio::FAlignedBlockBuffer::RemoveSamples_int____ptr64
mov rcx, qword [rbx + 0x20]
mov r8d, ebp
mov rdx, r12
call sym.FactoryGameEGS_SignalProcessing.dll_public:_void___cdecl_Audio::FAlignedBlockBuffer::AddSamples_float_const____ptr64__int____ptr64
mov rdi, qword [rsp + 0xb0]
add r13d, ebp
sub r15d, ebp
jne 0x180092070
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret