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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x78]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edx
mov esi, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x10], eax
test ecx, ecx
js 0x10026104
mov eax, dword [edx + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], ecx
mov esi, dword [eax + 0xb0]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10026104
cmp dword [edi + 0x108], 0
jne 0x10026104
mov eax, dword [ecx + 4]
push dword [eax + 0xb0]
push dword [edi + 0x50]
call dword [sym.imp.avcodec_58.dll_avcodec_parameters_to_context]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
js 0x100260dc
lea eax, [edi + 0x118]
push eax
push dword [edi + 0x50]
call dword [sym.imp.avutil_56.dll_av_opt_set_dict]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
js 0x100260dc
push dword [edi + 0x50]
push dword [ebp - 0x14]
call dword [sym.imp.avcodec_58.dll_avcodec_parameters_from_context]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jns 0x10025d44
push str.Error_getting_reference_codec_parameters._n
jmp 0x100260e1
cmp dword [ebp - 0x18], 0
jne 0x10025d9b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x10025d90
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push ecx
call dword [sym.imp.avformat_58.dll_av_codec_get_id]
mov ecx, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x10025d90
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push ecx
mov eax, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + 0x20]
call dword [sym.imp.avformat_58.dll_av_codec_get_tag2]
add esp, 0xc
test eax, eax
jne 0x10025d9b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
jmp 0x10025d9e
mov eax, dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.avcodec_58.dll_avcodec_parameters_copy]
add esp, 8
test eax, eax
js 0x1002600a
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
cmp dword [edi + 0x84], 0
jne 0x10025ddd
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0x94]
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], edx
jmp 0x10025de9
mov ecx, dword [edi + 0x84]
mov edx, dword [edi + 0x88]
mov eax, dword [edi + 0xc]
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], edx
push dword [0x100b4040]
mov eax, dword [ebp - 0xc]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
push dword [edi + 0xc]
mov eax, dword [eax]
push dword [eax + 8]
call dword [sym.imp.avformat_58.dll_avformat_transfer_internal_stream_timing_info]
add esp, 0x10
test eax, eax
js 0x1002600a
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x10], 0
jle 0x10025e29
cmp dword [ecx + 0x14], 0
jg 0x10025e4e
push 1
push 0
push ecx
call dword [sym.imp.avformat_58.dll_av_stream_get_codec_timebase]
add esp, 4
push edx
push eax
call dword [sym.imp.avutil_56.dll_av_add_q]
mov ecx, dword [edi + 0xc]
add esp, 0x10
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x24], 0
mov edx, ecx
jg 0x10025ea8
jl 0x10025e5e
cmp dword [ecx + 0x20], 0
ja 0x10025ea8
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov esi, dword [edx + 0x20]
mov dword [ebp - 0x10], esi
mov esi, dword [edx + 0x24]
test esi, esi
mov esi, dword [ebp - 0x20]
mov edx, ecx
jl 0x10025eab
jg 0x10025e7e
cmp dword [ebp - 0x10], 0
jbe 0x10025eab
push dword [ecx + 0x14]
mov eax, dword [eax + 4]
push dword [ecx + 0x10]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0x24]
push dword [ebp - 0x10]
call dword [sym.imp.avutil_56.dll_av_rescale_q]
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [sym.imp.avformat_58.dll_av_stream_new_side_data]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x9c]
test ecx, ecx
je 0x10025f33
mov dword [ebp - 0x10], 0
jle 0x10025f33
xor ecx, ecx
mov dword [ebp - 0x18], ecx
nop dword [eax + eax]
mov esi, dword [eax + 0x98]
add esi, ecx
push dword [esi + 4]
push dword [esi + 8]
push dword [edi + 0xc]
call edx
add esp, 0xc
test eax, eax
je 0x10026005
push dword [esi + 4]
push dword [esi]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
inc edx
add ecx, 0xc
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 0x9c]
mov edx, dword [sym.imp.avformat_58.dll_av_stream_new_side_data]
jl 0x10025ee0
mov esi, dword [ebp - 0x20]
cmp dword [edi + 0x98], 0
je 0x10025f6d
push 0x24
push 5
push dword [edi + 0xc]
call edx
add esp, 0xc
test eax, eax
je 0x10025f6d
movsd xmm0, qword [edi + 0xa0]
sub esp, 8
xorps xmm0, xmmword [0x100a6790]
movsd qword [esp], xmm0
push eax
call dword [sym.imp.avutil_56.dll_av_display_rotation_set]
add esp, 0xc
mov eax, dword [esi]
sub eax, 0
je 0x1002601d
sub eax, 1
jne 0x100260b5
cmp dword [0x100b4054], 0x100
je 0x10025fc6
push str._acodec_copy_and__vol_are_incompatible__frames_are_not_decoded__n
push 8
push eax
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10025fb1
push dword [ebp - 0x1c]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov eax, dword [esi + 0x70]
cmp eax, 1
je 0x10025fdc
cmp eax, 0x480
je 0x10025fdc
cmp eax, 0x240
jne 0x10025fec
cmp dword [esi + 4], 0x15001
jne 0x10025fec
mov dword [esi + 0x70], 0
cmp dword [esi + 4], 0x15003
jne 0x100260b5
mov dword [esi + 0x70], 0
jmp 0x100260b5
mov eax, 0xfffffff4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fac0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [edi + 0xa8], 0
je 0x1002605e
push dword [esi + 0x30]
push dword [esi + 0x34]
push dword [edi + 0xac]
push dword [edi + 0xa8]
call dword [sym.imp.avutil_56.dll_av_mul_q]
push str.Overriding_aspect_ratio_with_stream_copy_may_produce_invalid_files_n
push 0x18
push 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], edx
call dword [sym.imp.avutil_56.dll_av_log]
mov ecx, dword [ebp - 0x1c]
add esp, 0x1c
mov edx, dword [ebp - 8]
jmp 0x10026073
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
cmp dword [eax + 0x38], 0
jne 0x1002606d
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0xc]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0xc]
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa8]
mov eax, dword [edi + 0xc]
mov dword [eax + 0xa4], ecx
mov dword [eax + 0xa8], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x3c], eax
xor eax, eax
mov dword [edi + 0x38], ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fac0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Error_setting_up_codec_context_options._n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 8]
xor ecx, ebp
pop edi
pop esi
call fcn.1007fac0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0xc3c
push str.D:Sources_avc_src_avctranscode_ffmpeg.c
push str.ist___ost__filter
push str.Assertion__s_failed_at__s:_d_n
push 0
push 0
call dword [sym.imp.avutil_56.dll_av_log]
add esp, 0x18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3