Function at 0x10100f28
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [esi]
mov dword [ebp - 8], edi
test esi, esi
jne 0x10100f53
call sym.ffmpegsumo.dll_avformat_alloc_context
mov esi, eax
test esi, esi
jne 0x10100f53
push 0xfffffffffffffff4
pop eax
jmp 0x10101026
cmp dword [esi], edi
jne 0x10100f6b
push str.Input_context_has_not_been_properly_allocated_by_avformat_alloc_context___and_is_not_NULL_either_n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0xc
push 0xffffffffffffffea
jmp 0x10100f4d
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10100f75
mov dword [esi + 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x10100f8c
push edi
push dword [ebx]
lea eax, [ebp - 4]
push eax
call fcn.101089f9
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
call fcn.1010db37
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x10100fea
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push esi
call fcn.10104572
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10100fea
push dword [esi + 0x4cc]
mov dword [esi + 0x4dc], edi
push dword [esi + 0x4c8]
push dword [esi + 0x10]
call fcn.100f398c
mov eax, dword [esi + 4]
add esp, 0xc
test byte [eax + 8], 2
je 0x1010102c
push dword [ebp + 0xc]
call fcn.100ff434
pop ecx
test eax, eax
jne 0x1010102c
push 0xffffffffffffffea
pop edi
lea eax, [ebp - 8]
push eax
call fcn.100f54c4
lea eax, [ebp - 4]
push eax
call fcn.10108a3e
cmp dword [esi + 0x10], 0
pop ecx
pop ecx
je 0x10101016
test byte [esi + 0x43c], 0x80
jne 0x10101016
push dword [esi + 0x10]
call sym.ffmpegsumo.dll_avio_close
pop ecx
push esi
call sym.ffmpegsumo.dll_avformat_free_context
mov eax, dword [ebp + 8]
pop ecx
and dword [eax], 0
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
and dword [esi + 0x420], 0
mov eax, 0x80000000
and dword [esi + 0x428], 0
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x424], eax
mov dword [esi + 0x42c], eax
mov eax, 0x10130975
cmovne eax, dword [ebp + 0xc]
push 0x400
push eax
lea eax, [esi + 0x20]
push eax
call fcn.10107816
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [eax + 0x24], 0
jle 0x101010b9
push dword [eax + 0x24]
call fcn.1010cffe
pop ecx
mov ecx, eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne 0x1010108c
push 0xfffffffffffffff4
jmp 0x10100fe9
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x101010b9
mov dword [ecx], eax
push dword [esi + 0xc]
call fcn.1010d978
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
call fcn.1010db37
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10100fea
cmp dword [esi + 0x10], 0
je 0x101010d3
push 0
lea eax, [ebp - 8]
push eax
push 0x10143d44
push esi
call fcn.100f5637
add esp, 0x10
test dword [esi + 0x43c], 0x20000
jne 0x101010f7
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x101010f7
push esi
call eax
mov edi, eax
pop ecx
test edi, edi
js 0x10100fea
cmp dword [ebp - 8], 0
je 0x10101166
mov eax, dword [esi + 4]
push 4
push 0x10141628
mov edi, dword [eax]
push edi
call fcn.10118388
add esp, 0xc
test eax, eax
je 0x10101150
push 4
push 0x10130628
push edi
call fcn.10118388
add esp, 0xc
test eax, eax
je 0x10101150
push 4
push 0x101464c0
push edi
call fcn.10118388
add esp, 0xc
test eax, eax
je 0x10101150
push str.demuxer_does_not_support_additional_id3_data__skipping_n
push 0x30
push esi
call fcn.1010c4f6
add esp, 0xc
jmp 0x10101166
lea eax, [ebp - 8]
push eax
push esi
call fcn.100f555e
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x10100fea
lea eax, [ebp - 8]
push eax
call fcn.100f54c4
push esi
call fcn.101011e2
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x10100fea
test dword [esi + 0x43c], 0x20000
jne 0x101011bc
cmp dword [esi + 0x10], 0
je 0x101011bc
mov eax, dword [esi + 0x4f0]
or eax, dword [esi + 0x4f4]
jne 0x101011bc
push 1
push eax
push eax
push dword [esi + 0x10]
call fcn.100f3655
add esp, 0x10
mov dword [esi + 0x4f0], eax
mov dword [esi + 0x4f4], edx
mov dword [esi + 0x508], 0x2625a0
test ebx, ebx
je 0x101011d6
push ebx
call fcn.10108a3e
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
jmp 0x10101025