Function at 0x101e28d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov ebx, dword [esi + 0x50]
mov edi, dword [esi + 0x30e8]
mov dword [ebp - 0x18], ebx
mov dword [ebp + 8], edi
mov dword [esi + 0x144f0], ecx
cmp dword [esi + 0x2b80], ecx
jne 0x101e290c
push esi
call fcn.101e02a0
pop ecx
test eax, eax
jne 0x101e2c5e
xor ecx, ecx
mov eax, dword [esi + 0x2ec8]
xorps xmm0, xmm0
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [0x10299d20]
movsd qword [ebp - 0x34], xmm0
cmp eax, 6
jne 0x101e2aa0
mov eax, edi
mov dword [ebp - 4], ecx
imul eax, ebx
push 4
push eax
call fcn.101d0520
push 4
mov dword [esi + 0xf490], eax
call fcn.101d0768
add esp, 0xc
mov dword [esi + 0xf494], eax
cmp dword [esi + 0xf490], 0
je 0x101e2c5b
test eax, eax
je 0x101e2c5b
mov ecx, dword [ebp - 4]
test edi, edi
jle 0x101e2a58
movsd xmm0, qword [ebp - 0x2c]
lea eax, [esi + 0x3490]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], edx
xor eax, eax
movaps xmm1, xmm0
movsd qword [ebp - 0x3c], xmm1
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x101e2a2b
mov eax, dword [ebp - 0x10]
mov edi, edx
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
movsd xmm0, qword [eax]
mulsd xmm0, qword [ebp - 0x34]
push ecx
addsd xmm0, xmm1
movsd qword [ebp - 0xc], xmm0
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10233292
movsd xmm1, qword [ebp - 0xc]
pop ecx
mov ecx, dword [esi + 0xf490]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0xf490]
mov eax, dword [edi + eax]
add edi, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [ebp - 0x1c]
add eax, 8
sub dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], eax
subsd xmm1, xmm0
addsd xmm1, qword [ebp - 0x3c]
movsd qword [ebp - 0x3c], xmm1
jne 0x101e29ac
movsd xmm0, qword [ebp - 0x2c]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp ecx, eax
cmovg eax, ecx
add dword [ebp - 0x10], 0x200
mov ecx, eax
mov eax, ebx
shl eax, 2
add edx, eax
mov dword [ebp - 4], ecx
sub edi, 1
mov dword [ebp - 0x24], edx
mov dword [ebp + 8], edi
jne 0x101e2989
mov eax, dword [esi + 0xf494]
mov edx, 0x8000
mov dword [eax], edx
push esi
cmp ecx, edx
jg 0x101e2a82
mov dword [esi + 0x144e0], 0x101e04e3
mov dword [esi + 0x144e8], 0x101e169a
call fcn.101e09d4
jmp 0x101e2d73
mov dword [esi + 0x144e0], 0x101e0424
mov dword [esi + 0x144e8], 0x101e1588
call fcn.101e059c
jmp 0x101e2d73
cmp eax, 8
jne 0x101e2b6c
mov eax, edi
imul eax, ebx
push 4
push eax
call fcn.101d0520
push 4
mov dword [esi + 0xf490], eax
call fcn.101d0768
add esp, 0xc
mov dword [esi + 0xf494], eax
cmp dword [esi + 0xf490], 0
je 0x101e2c5b
test eax, eax
je 0x101e2c5b
test edi, edi
jle 0x101e2b47
xor ecx, ecx
lea eax, [esi + 0x3490]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
xor edx, edx
test ebx, ebx
jle 0x101e2b2c
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
movsd xmm0, qword [eax]
lea ecx, [edi + edx]
mov eax, dword [esi + 0xf490]
inc edx
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx*4], xmm0
mov eax, dword [ebp - 0x24]
add eax, 8
mov dword [ebp - 0x24], eax
cmp edx, ebx
jl 0x101e2aff
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, ebx
add eax, 0x200
sub edi, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp + 8], edi
jne 0x101e2af3
mov eax, dword [esi + 0xf494]
mov dword [eax], 0x3f800000
push esi
mov dword [esi + 0x144e0], 0x101e04af
mov dword [esi + 0x144e8], 0x101e164b
call fcn.101e086c
jmp 0x101e2d73
cmp eax, 9
jne 0x101e2c3b
mov eax, edi
imul eax, ebx
push 8
push eax
call fcn.101d0520
push 8
mov dword [esi + 0xf490], eax
call fcn.101d0768
add esp, 0xc
mov dword [esi + 0xf494], eax
cmp dword [esi + 0xf490], 0
je 0x101e2c5b
test eax, eax
je 0x101e2c5b
test edi, edi
jle 0x101e2c10
xor ecx, ecx
lea eax, [esi + 0x3490]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], eax
xor edx, edx
test ebx, ebx
jle 0x101e2bf5
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
lea ecx, [edi + edx]
mov eax, dword [esi + 0xf490]
inc edx
add dword [ebp - 0x10], 8
movsd xmm0, qword [ebx]
mov ebx, dword [ebp - 0x18]
movsd qword [eax + ecx*8], xmm0
cmp edx, ebx
jl 0x101e2bcb
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
add ecx, ebx
add eax, 0x200
sub edi, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp + 8], edi
jne 0x101e2bbf
mov eax, dword [esi + 0xf494]
movsd xmm0, qword [0x102d0c08]
movsd qword [eax], xmm0
push esi
mov dword [esi + 0x144e0], 0x101e047b
mov dword [esi + 0x144e8], 0x101e15fc
call fcn.101e0704
jmp 0x101e2d73
cmp eax, 7
jne 0x101e2e09
push 4
call fcn.101d0768
pop ecx
lea ecx, [esi + 0xf494]
mov dword [ebp - 0x24], ecx
mov dword [ecx], eax
test eax, eax
jne 0x101e2c63
push 0xfffffffffffffff4
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, edi
imul eax, ebx
push 4
push eax
call fcn.101d0520
mov dword [esi + 0xf490], eax
pop ecx
pop ecx
test eax, eax
jne 0x101e2c88
mov eax, dword [ebp - 0x24]
push eax
call fcn.101d06dd
pop ecx
jmp 0x101e2c5b
test edi, edi
jle 0x101e2d4d
movsd xmm0, qword [ebp - 0x2c]
mov ecx, ebx
shl ecx, 2
xor eax, eax
mov dword [ebp - 8], ecx
mov edx, ebx
lea ecx, [esi + 0x3490]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
shl edx, 2
movaps xmm1, xmm0
movsd qword [ebp - 0x3c], xmm1
test ebx, ebx
jle 0x101e2d33
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov dword [ebp - 0x10], eax
mov ebx, eax
movsd xmm0, qword [edi]
mulsd xmm0, qword [ebp - 0x34]
push ecx
addsd xmm0, xmm1
movsd qword [ebp - 0x14], xmm0
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10233292
movsd xmm1, qword [ebp - 0x14]
add edi, 8
pop ecx
mov ecx, dword [esi + 0xf490]
mov dword [ebx + ecx], eax
mov eax, dword [esi + 0xf490]
movd xmm0, dword [eax + ebx]
add ebx, 4
sub dword [ebp - 0x24], 1
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
addsd xmm1, qword [ebp - 0x3c]
movsd qword [ebp - 0x3c], xmm1
jne 0x101e2cc6
movsd xmm0, qword [ebp - 0x2c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add eax, edx
add ecx, 0x200
sub edi, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 8], edi
jne 0x101e2cb0
mov eax, dword [esi + 0xf494]
push esi
mov dword [eax], 0x8000
mov dword [esi + 0x144e0], 0x101e051e
mov dword [esi + 0x144e8], 0x101e16f5
call fcn.101e0b3c
pop ecx
mov dword [esi + 0x144f0], eax
lea ecx, [esi + 0xf4a0]
xor ebx, ebx
lea edi, [esi + 0x3490]
xor eax, eax
mov dword [ebp - 0x24], ecx
and dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
movsd xmm0, qword [edi]
mulsd xmm0, qword [ebp - 0x34]
push ecx
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10233292
pop ecx
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
movsd xmm0, qword [edi]
ucomisd xmm0, qword [ebp - 0x2c]
lahf
test ah, 0x44
jnp 0x101e2dd3
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
add eax, ebx
mov byte [eax + esi + 0x134a0], dl
mov eax, dword [ebp + 8]
add ecx, 4
inc eax
mov dword [ebp - 0x24], ecx
add edi, 8
mov dword [ebp + 8], eax
cmp eax, 0x40
jl 0x101e2d93
mov eax, dword [ebp - 0x18]
mov byte [esi + ebx + 0x134a0], al
add ebx, 0x41
cmp ebx, 0x1040
jl 0x101e2d88
push esi
call fcn.101e5db5
pop ecx
jmp 0x101e2c5e
push 0x1e2
push str.libswresample_rematrix.c
push 0x102cbd44
push str.Assertion__s_failed_at__s:_d_n
push ecx
push ecx
call fcn.101ceb2e
add esp, 0x18
call fcn.1009dc33
int3