Function at 0x10010720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xae8
mov eax, dword [0x1004c024]
xor eax, esp
mov dword [esp + 0xae4], eax
mov eax, dword [ebp + 0x40]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0x4c]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x44]
push 0x88
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x20], esi
movsd qword [esp + 0x54], xmm0
call fcn.1001a5d0
push 0x990
lea eax, [esp + 0xe8]
push 0
push eax
call fcn.1001a5d0
push dword [ebp + 0xc]
xorps xmm1, xmm1
push dword [ebp + 8]
movsd qword [esp + 0x58], xmm1
push esi
call fcn.1000e240
push dword [ebp + 0x14]
cdq
push dword [ebp + 0x10]
mov esi, eax
mov edi, edx
push dword [esp + 0x40]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
call fcn.1000e240
cdq
add esp, 0x30
mov dword [esp + 0x20], eax
mov ecx, edx
mov dword [esp + 0x1c], ecx
cmp eax, 0x60000000
jne 0x100107de
test ecx, ecx
jne 0x100107de
mov ecx, esi
and ecx, eax
or ecx, edx
jne 0x100107de
mov eax, 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp esi, 0x60000000
jne 0x100107fd
test edi, edi
jne 0x100107fd
and eax, esi
or eax, edi
jne 0x100107fd
mov esi, 3
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
push edi
push esi
call fcn.1000fda0
add esp, 8
test eax, eax
jne 0x10010859
push dword [ebp + 0xc]
lea eax, [esp + 0xa6c]
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x80
push eax
call sub.avutil_56.dll_av_get_channel_layout_string
lea eax, [esp + 0xa7c]
push eax
push str.Input_channel_layout__s_is_not_supported_n
push 0x10
push dword [esp + 0x34]
call sub.avutil_56.dll_av_log
add esp, 0x24
mov eax, 0xffffffea
pop edi
pop esi
mov ecx, dword [esp + 0xae4]
xor ecx, esp
call fcn.1001a660
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.1000fda0
add esp, 8
test eax, eax
jne 0x10010896
push dword [ebp + 0x14]
lea eax, [esp + 0xa6c]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push 0x80
push eax
call sub.avutil_56.dll_av_get_channel_layout_string
lea eax, [esp + 0xa7c]
push eax
push str.Output_channel_layout__s_is_not_supported_n
jmp 0x10010832
movsd xmm0, qword [0x1003eb78]
lea edi, [esp + 0x48]
xor esi, esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, dword [esp + 0x1c]
cmovae ecx, edx
and edx, dword [esp + 0x20]
and edx, dword [esp + 0x10]
and ecx, eax
and ecx, dword [esp + 0xc]
or edx, ecx
je 0x100108d5
movsd qword [edi], xmm0
inc esi
add edi, 0x98
cmp esi, 0x12
jb 0x100108a4
mov edi, dword [esp + 0x20]
not eax
and eax, dword [esp + 0xc]
mov esi, edi
mov ecx, dword [esp + 0x10]
not esi
movsd xmm1, qword [ebp + 0x18]
and esi, ecx
movaps xmm3, xmmword [0x10040d50]
mov dword [esp + 0x44], eax
mov eax, esi
and eax, 4
or eax, 0
je 0x1001095a
mov eax, edi
xor edx, edx
and eax, 3
cmp eax, 3
jne 0x100112f2
test edx, edx
jne 0x100112f2
movsd xmm0, qword [esp + 0x58]
mov eax, ecx
and eax, 3
or eax, edx
je 0x10010a0e
addsd xmm0, xmm1
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0xe8]
addsd xmm0, xmm1
movsd qword [esp + 0xe8], xmm0
mov eax, esi
and eax, 3
or eax, 0
je 0x100109b7
mov eax, edi
and eax, 4
or eax, 0
je 0x10010a2a
movups xmm0, xmmword [esp + 0x168]
mov eax, ecx
and eax, 4
or eax, 0
addpd xmm0, xmm3
movups xmmword [esp + 0x168], xmm0
je 0x100109b7
movsd xmm0, qword [0x1003eb88]
call fcn.1001a4d0
mulsd xmm0, qword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
movsd xmm3, qword [0x10040d10]
movsd qword [esp + 0x178], xmm0
mov edx, dword [ebp + 0x48]
mov eax, esi
movsd xmm4, qword [ebp + 0x20]
and eax, 0x100
or eax, 0
unpcklpd xmm3, xmm3
je 0x10010add
mov eax, edi
and eax, 0x10
or eax, 0
je 0x10010a34
movsd xmm0, qword [esp + 0x2c8]
addsd xmm0, xmm3
movsd qword [esp + 0x2c8], xmm0
movsd xmm0, qword [esp + 0x358]
addsd xmm0, xmm3
movsd qword [esp + 0x358], xmm0
jmp 0x10010add
addsd xmm0, xmm3
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0xe8]
addsd xmm0, xmm3
jmp 0x10010951
push 0xb8
jmp 0x100112f7
mov eax, edi
and eax, 0x200
or eax, 0
je 0x10010a6e
movsd xmm0, qword [esp + 0x598]
addsd xmm0, xmm3
movsd qword [esp + 0x598], xmm0
movsd xmm0, qword [esp + 0x628]
addsd xmm0, xmm3
movsd qword [esp + 0x628], xmm0
jmp 0x10010add
mov eax, edi
and eax, 1
or eax, 0
je 0x10010b34
cmp edx, 1
je 0x10010a9d
cmp edx, 2
je 0x10010a9d
movsd xmm0, qword [esp + 0x88]
movapd xmm1, xmm4
mulsd xmm1, xmm3
addsd xmm0, xmm1
jmp 0x10010abe
movsd xmm0, qword [esp + 0x88]
mov eax, esi
and eax, 0x210
or eax, 0
je 0x10010b18
movapd xmm1, xmm4
mulsd xmm1, xmm3
subsd xmm0, xmm1
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [esp + 0x118]
addsd xmm0, xmm1
movsd qword [esp + 0x118], xmm0
movsd xmm5, qword [0x10040d20]
mov eax, esi
and eax, 0x10
or eax, 0
je 0x10010c45
mov eax, edi
and eax, 0x100
or eax, 0
je 0x10010b64
movups xmm0, xmmword [esp + 0x4e8]
addpd xmm0, xmm3
movups xmmword [esp + 0x4e8], xmm0
jmp 0x10010c45
subsd xmm0, xmm4
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [esp + 0x118]
addsd xmm0, xmm4
jmp 0x10010ad4
mov eax, edi
and eax, 4
or eax, 0
je 0x10010b5a
movapd xmm0, xmm4
mulsd xmm0, xmm3
addsd xmm0, qword [esp + 0x1a8]
movsd qword [esp + 0x1a8], xmm0
jmp 0x10010add
push 0xd3
jmp 0x100112f7
mov eax, edi
and eax, 0x200
or eax, 0
je 0x10010bda
movsd xmm0, qword [esp + 0x578]
mov eax, ecx
movsd xmm2, qword [0x1003eb78]
and eax, 0x200
or eax, 0
je 0x10010bb5
addsd xmm0, xmm3
movsd qword [esp + 0x578], xmm0
movsd xmm0, qword [esp + 0x610]
addsd xmm0, xmm3
movsd qword [esp + 0x610], xmm0
jmp 0x10010c4d
addsd xmm0, xmm2
movsd qword [esp + 0x578], xmm0
movsd xmm0, qword [esp + 0x610]
addsd xmm0, xmm2
movsd qword [esp + 0x610], xmm0
jmp 0x10010c4d
mov eax, edi
and eax, 1
or eax, 0
je 0x10010d1d
movsd xmm0, qword [esp + 0x68]
cmp edx, 1
jne 0x10010caa
movapd xmm1, xmm4
mulsd xmm1, xmm3
subsd xmm0, xmm1
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x70]
subsd xmm0, xmm1
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0xf8]
addsd xmm0, xmm1
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [esp + 0x100]
addsd xmm0, xmm1
movsd qword [esp + 0x100], xmm0
movsd xmm2, qword [0x1003eb78]
mov eax, esi
and eax, 0x200
or eax, 0
je 0x10010e69
mov eax, edi
and eax, 0x10
or eax, 0
je 0x10010d92
movsd xmm0, qword [esp + 0x2d0]
mov eax, ecx
and eax, 0x10
or eax, 0
je 0x10010d6a
addsd xmm0, xmm3
movsd qword [esp + 0x2d0], xmm0
movsd xmm0, qword [esp + 0x368]
addsd xmm0, xmm3
movsd qword [esp + 0x368], xmm0
jmp 0x10010e69
cmp edx, 2
jne 0x10010d01
movapd xmm2, xmm4
movapd xmm1, xmm4
mulsd xmm2, xmm5
mulsd xmm1, xmm3
subsd xmm0, xmm2
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x70]
subsd xmm0, xmm1
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0xf8]
addsd xmm0, xmm1
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [esp + 0x100]
addsd xmm0, xmm2
jmp 0x10010c3c
addsd xmm0, xmm4
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x100]
addsd xmm0, xmm4
jmp 0x10010c3c
mov eax, edi
and eax, 4
or eax, 0
je 0x10010d60
movsd xmm0, qword [esp + 0x188]
movapd xmm1, xmm4
mulsd xmm1, xmm3
addsd xmm0, xmm1
movsd qword [esp + 0x188], xmm0
movsd xmm0, qword [esp + 0x190]
addsd xmm0, xmm1
movsd qword [esp + 0x190], xmm0
jmp 0x10010c45
push 0xf4
jmp 0x100112f7
addsd xmm0, xmm2
movsd qword [esp + 0x2d0], xmm0
movsd xmm0, qword [esp + 0x368]
addsd xmm0, xmm2
movsd qword [esp + 0x368], xmm0
jmp 0x10010e69
mov eax, edi
and eax, 0x100
or eax, 0
je 0x10010db7
movups xmm0, xmmword [esp + 0x510]
addpd xmm0, xmm3
movups xmmword [esp + 0x510], xmm0
jmp 0x10010e69
mov eax, edi
and eax, 1
or eax, 0
je 0x10010fa3
cmp edx, 1
jne 0x10010dfc
movups xmm0, xmmword [esp + 0x90]
mulsd xmm4, xmm3
unpcklpd xmm4, xmm4
subpd xmm0, xmm4
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [esp + 0x120]
addpd xmm0, xmm4
movups xmmword [esp + 0x120], xmm0
jmp 0x10010e69
movsd xmm0, qword [esp + 0x90]
cmp edx, 2
jne 0x10010f84
movapd xmm1, xmm4
mulsd xmm4, xmm3
mulsd xmm1, xmm5
subsd xmm0, xmm1
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x98]
subsd xmm0, xmm4
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esp + 0x120]
addsd xmm0, xmm4
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [esp + 0x128]
addsd xmm0, xmm1
movsd qword [esp + 0x128], xmm0
mov eax, esi
and eax, 0x40
or eax, 0
je 0x10010ea7
mov eax, edi
and eax, 1
or eax, 0
je 0x10010fd8
movsd xmm0, qword [esp + 0x78]
addsd xmm0, xmm2
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x110]
addsd xmm0, xmm2
movsd qword [esp + 0x110], xmm0
and esi, 8
or esi, 0
je 0x10010ed4
mov eax, edi
and eax, 4
or eax, 0
je 0x10011005
movsd xmm0, qword [esp + 0x180]
addsd xmm0, qword [ebp + 0x28]
movsd qword [esp + 0x180], xmm0
movsd xmm2, qword [0x10040d70]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
xorps xmm3, xmm3
mov dword [esp + 0x24], ecx
nop
xor edx, edx
xor esi, esi
bts edx, eax
xor edi, edi
cmp eax, 0x20
movapd xmm1, xmm3
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
and edx, dword [esp + 0x20]
and esi, dword [esp + 0x1c]
mov eax, edx
or eax, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], esi
je 0x100110b6
xor esi, esi
xor edx, edx
mov eax, esi
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, dword [esp + 0x10]
cmovae ecx, edx
and edx, eax
and ecx, dword [esp + 0xc]
or edx, ecx
je 0x1001108c
mov edx, dword [esp + 0x24]
cmp edx, 0x144
jae 0x10011049
cmp esi, 0x12
jae 0x10011049
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
add eax, edi
lea ecx, [ecx + eax*8]
lea eax, [edx + esi]
movsd xmm0, qword [esp + eax*8 + 0x48]
jmp 0x1001107f
addsd xmm0, xmm4
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x128]
addsd xmm0, xmm4
jmp 0x10010e60
mov eax, edi
and eax, 4
or eax, 0
je 0x10010fce
movups xmm0, xmmword [esp + 0x1b0]
mulsd xmm4, xmm3
unpcklpd xmm4, xmm4
addpd xmm0, xmm4
movups xmmword [esp + 0x1b0], xmm0
jmp 0x10010e69
push 0x118
jmp 0x100112f7
mov eax, edi
and eax, 4
or eax, 0
je 0x10010ffb
movups xmm0, xmmword [esp + 0x198]
addpd xmm0, xmm3
movups xmmword [esp + 0x198], xmm0
jmp 0x10010ea7
push 0x123
jmp 0x100112f7
mov eax, edi
and eax, 1
or eax, 0
je 0x1001103f
movsd xmm1, qword [ebp + 0x28]
mulsd xmm1, xmm3
movapd xmm0, xmm1
addsd xmm0, qword [esp + 0x60]
addsd xmm1, qword [esp + 0xf0]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0xf0], xmm1
jmp 0x10010ed4
push 0x12d
jmp 0x100112f7
cmp dword [esp + 0x30], esi
jne 0x10011068
mov ecx, dword [esp + 0x34]
and ecx, eax
mov eax, dword [esp + 0x40]
and eax, dword [esp + 0xc]
or ecx, eax
je 0x10011068
mov edx, 1
jmp 0x1001106a
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
add eax, edi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
lea ecx, [ecx + eax*8]
movsd qword [ecx], xmm0
inc edi
andpd xmm0, xmm2
addsd xmm1, xmm0
inc esi
cmp esi, 0x40
jl 0x10010f27
movsd xmm0, qword [esp + 0x38]
comisd xmm0, xmm1
ja 0x100110a8
movsd qword [esp + 0x38], xmm1
mov edx, dword [esp + 0x28]
add dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x24]
jmp 0x100110ba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add ecx, 0x12
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
cmp ecx, 0x480
jl 0x10010ef0
movsd xmm1, qword [ebp + 0x38]
unpcklpd xmm1, xmm1
comisd xmm3, xmm1
jbe 0x100110f3
movapd xmm2, xmm1
xorpd xmm2, xmmword [0x10040d90]
jmp 0x100110f9
movsd xmm2, qword [esp + 0x38]
movsd xmm0, qword [ebp + 0x30]
comisd xmm2, xmm0
ja 0x1001110a
comisd xmm3, xmm1
jbe 0x1001116b
divsd xmm2, xmm0
lea edi, [edx*8]
mov esi, 0x40
mov edx, dword [esp + 0x18]
unpcklpd xmm2, xmm2
mov eax, edx
mov ecx, 8
lea esp, [esp]
lea eax, [eax + 0x40]
movups xmm0, xmmword [eax - 0x40]
divpd xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
divpd xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
divpd xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x10]
divpd xmm0, xmm2
movups xmmword [eax - 0x10], xmm0
dec ecx
jne 0x10011130
add edx, edi
dec esi
jne 0x10011122
comisd xmm1, xmm3
jbe 0x100111cb
mov eax, dword [esp + 0x28]
mov esi, 0x40
mov edx, dword [esp + 0x18]
lea edi, [eax*8]
mov eax, edx
mov ecx, 8
lea esp, [esp]
lea eax, [eax + 0x40]
movups xmm0, xmmword [eax - 0x40]
mulpd xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
mulpd xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
mulpd xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x10]
mulpd xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
dec ecx
jne 0x10011190
add edx, edi
dec esi
jne 0x10011185
push str.Matrix_coefficients:_n
push 0x30
push dword [esp + 0x1c]
call sub.avutil_56.dll_av_log
push dword [esp + 0x28]
mov edi, dword [esp + 0x30]
xor esi, esi
push edi
mov dword [esp + 0x38], esi
call sub.avutil_56.dll_av_get_channel_layout_nb_channels
add esp, 0x14
test eax, eax
jle 0x100112dc
lea ebx, [ebx]
push esi
push dword [esp + 0x20]
push edi
call sub.avutil_56.dll_av_channel_layout_extract_channel
push edx
push eax
call sub.avutil_56.dll_av_get_channel_name
test eax, eax
mov ecx, 0x10040c14
cmovne ecx, eax
push ecx
push str._s:
push 0x30
push dword [esp + 0x34]
call sub.avutil_56.dll_av_log
push dword [esp + 0x30]
xor esi, esi
push dword [esp + 0x38]
call sub.avutil_56.dll_av_get_channel_layout_nb_channels
add esp, 0x2c
test eax, eax
jle 0x1001129f
mov edi, dword [esp + 0x18]
push esi
push dword [esp + 0x10]
push dword [esp + 0x18]
call sub.avutil_56.dll_av_channel_layout_extract_channel
push edx
push eax
call sub.avutil_56.dll_av_get_channel_name
movsd xmm0, qword [edi]
add esp, 0xc
test eax, eax
mov ecx, 0x10040c14
cmovne ecx, eax
movsd qword [esp], xmm0
push ecx
push str._s:_f
push 0x30
push dword [esp + 0x28]
call sub.avutil_56.dll_av_log
push dword [esp + 0x24]
inc esi
lea edi, [edi + 8]
push dword [esp + 0x2c]
call sub.avutil_56.dll_av_get_channel_layout_nb_channels
add esp, 0x20
cmp esi, eax
jl 0x10011247
mov edi, dword [esp + 0x20]
push 0x10040c28
push 0x30
push dword [esp + 0x1c]
call sub.avutil_56.dll_av_log
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push dword [esp + 0x28]
inc esi
lea eax, [ecx*8]
mov dword [esp + 0x34], esi
add dword [esp + 0x28], eax
push edi
call sub.avutil_56.dll_av_get_channel_layout_nb_channels
add esp, 0x14
cmp esi, eax
jl 0x10011200
mov ecx, dword [esp + 0xaec]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1001a660
mov esp, ebp
pop ebp
ret
push 0xaf
push str.libswresample_rematrix.c
push 0x1003eacc
push str.Assertion__s_failed_at__s:_d_n
push 0
push 0
call sub.avutil_56.dll_av_log
add esp, 0x18
call fcn.100193a3
int3