Function at 0x42ba10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x80]
movaps xmmword [rbp - 0x20], xmm6
mov r14d, dword [rbp + 0x60]
mov qword [rbp + 0x40], rcx
mov ecx, r14d
mov rdi, rdx
mov qword [rbp + 0x50], r8
mov dword [rbp + 0x58], r9d
and ecx, 3
jne 0x42bd42
movsxd rax, r14d
lea rbx, [rax*4]
mov qword [rbp - 0x50], rax
lea rax, [rbx + 0xf]
and rax, 0xfffffffffffffff0
call fcn.004582d0
mov r9d, dword [rbp + 0x58]
add r9d, r14d
sub rsp, rax
movsxd rax, r9d
lea r15, [rsp + 0x20]
lea rax, [rax*4 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.004582d0
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x48], rax
test r14d, r14d
jle 0x42bd3b
lea r8d, [r14 - 1]
lea rdx, [rdx + rbx - 4]
mov rax, r15
lea r8, [r8*4 + 4]
lea rsi, [r15 + r8]
nop word [rax + rax]
movss xmm0, dword [rdx]
add rax, 4
sub rdx, 4
movss dword [rax - 4], xmm0
cmp rax, rsi
jne 0x42bac0
mov rsi, qword [rbp - 0x48]
mov rdx, qword [rbp + 0x68]
movss xmm6, dword [0x00473660]
add rdx, rbx
mov rax, rsi
add r8, rsi
nop
movss xmm0, dword [rdx - 4]
add rax, 4
sub rdx, 4
xorps xmm0, xmm6
movss dword [rax - 4], xmm0
cmp rax, r8
jne 0x42baf0
mov edx, r14d
cmp r9d, edx
jle 0x42bb3f
mov rsi, qword [rbp - 0x48]
sub r9d, 1
movsxd r8, edx
sub r9d, edx
lea rax, [rsi + r8*4]
add r8, r9
lea rdx, [rsi + r8*4 + 4]
nop dword [rax]
mov dword [rax], 0
add rax, 4
cmp rax, rdx
jne 0x42bb30
cmp dword [rbp + 0x58], 3
jle 0x42bc82
mov eax, dword [rbp + 0x58]
mov rsi, qword [rbp + 0x40]
mov qword [rbp + 0x48], rdi
movss xmm6, dword [0x00473660]
mov r13, qword [rbp + 0x50]
mov r12, qword [rbp - 0x50]
lea edx, [rax - 4]
add rbx, qword [rbp - 0x48]
shr edx, 2
neg r12
mov rdi, r13
mov r13, qword [rbp + 0x48]
mov dword [rbp - 0x54], edx
shl rdx, 4
shl r12, 2
lea rax, [rsi + rdx + 0x10]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
movss xmm0, dword [rsi]
mov r8, qword [rbp - 0x40]
lea rdx, [rbx + r12]
mov r9d, r14d
mov rcx, r15
add rsi, 0x10
add rbx, 0x10
add rdi, 0x10
movss dword [rbp - 0x30], xmm0
movss xmm0, dword [rsi - 0xc]
movss dword [rbp - 0x2c], xmm0
movss xmm0, dword [rsi - 8]
movss dword [rbp - 0x28], xmm0
movss xmm0, dword [rsi - 4]
movss dword [rbp - 0x24], xmm0
call fcn.0040bcd0
movss xmm0, dword [rbp - 0x30]
movss dword [rdi - 0x10], xmm0
movaps xmm2, xmm0
movss xmm0, dword [r13]
xorps xmm2, xmm6
mulss xmm0, xmm2
movss dword [rbx - 0x10], xmm2
addss xmm0, dword [rbp - 0x2c]
movss dword [rdi - 0xc], xmm0
movaps xmm4, xmm0
movss xmm0, dword [r13 + 4]
movss xmm3, dword [r13]
xorps xmm4, xmm6
mulss xmm0, xmm2
movss dword [rbx - 0xc], xmm4
mulss xmm3, xmm4
addss xmm3, dword [rbp - 0x28]
addss xmm3, xmm0
movss xmm0, dword [rbp - 0x24]
movaps xmm1, xmm3
movss dword [rdi - 8], xmm3
mulss xmm4, dword [r13 + 4]
xorps xmm1, xmm6
movss dword [rbx - 8], xmm1
mulss xmm1, dword [r13]
mulss xmm2, dword [r13 + 8]
addss xmm0, xmm1
addss xmm0, xmm4
addss xmm0, xmm2
movaps xmm1, xmm0
movss dword [rdi - 4], xmm0
xorps xmm1, xmm6
movss dword [rbx - 4], xmm1
cmp rsi, qword [rbp - 0x38]
jne 0x42bb94
mov eax, dword [rbp - 0x54]
lea ecx, [rax*4 + 4]
cmp dword [rbp + 0x58], ecx
jle 0x42bce7
mov rax, qword [rbp - 0x48]
movsxd rcx, ecx
mov r10, qword [rbp - 0x50]
lea r9d, [r14 - 1]
mov r11, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x50]
mov esi, dword [rbp + 0x58]
lea r8, [rax + rcx*4]
movss xmm1, dword [r11 + rcx*4]
test r14d, r14d
jle 0x42bcd0
xor eax, eax
jmp 0x42bcb7
mov rax, rdx
movss xmm0, dword [r15 + rax*4]
mulss xmm0, dword [r8 + rax*4]
lea rdx, [rax + 1]
subss xmm1, xmm0
cmp r9, rax
jne 0x42bcb4
movss dword [rbx + rcx*4], xmm1
add rcx, 1
movss dword [r8 + r10*4], xmm1
add r8, 4
cmp esi, ecx
jg 0x42bca5
test r14d, r14d
jle 0x42bd26
mov rax, qword [rbp + 0x50]
movsxd r13, dword [rbp + 0x58]
lea ecx, [r14 - 1]
lea rdx, [rax + r13*4 - 4]
mov rax, qword [rbp + 0x68]
lea rcx, [rax + rcx*4 + 4]
nop word cs:[rax + rax]
movss xmm0, dword [rdx]
add rax, 4
sub rdx, 4
movss dword [rax - 4], xmm0
cmp rcx, rax
jne 0x42bd10
movaps xmm6, xmmword [rbp - 0x20]
lea rsp, [rbp - 8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor edx, edx
jmp 0x42bb0d
mov r8d, 0xa0
lea rdx, str..._celt_celt_lpc.c
lea rcx, str.assertion_failed:__ord3_0
call fcn.0040b720
nop
nop dword [rax]