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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor esi, esi
and esp, 0xfffffff0
sub esp, 0x240
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], 0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x6fafaeb0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
test edx, edx
je 0x6fafb190
cmp dword [ebp + 0xc], eax
je 0x6fafaecb
test eax, eax
jne 0x6fafb344
cmp dword [ebx + 0x64], 0xfffffdf
ja 0x6fafb3ff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6fafaefc
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0
lea edi, [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.avutil_54.dll_av_dict_copy
mov eax, dword [0x70463c88]
test eax, eax
je 0x6fafaf1e
mov dword [esp + 4], 1
mov dword [esp], 0x70e412d0
call eax
test eax, eax
jne 0x6fafb587
mov eax, dword [0x70e412d4]
add eax, 1
mov dword [0x70e412d4], eax
mov eax, dword [0x70e412d4]
cmp eax, 1
jne 0x6fafb409
mov eax, dword [0x70fcb880]
test eax, eax
jne 0x6fafbbb2
mov dword [esp], 0x38
mov dword [0x70fcb880], 1
call sub.avutil_54.dll_av_mallocz
test eax, eax
mov esi, eax
mov dword [ebx + 0x40], eax
je 0x6fafb120
mov dword [esp], 0x58
call sub.avutil_54.dll_av_mallocz
mov dword [esi + 0x18], eax
mov esi, dword [ebx + 0x40]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x6fafb1d0
call fcn.6fc60658
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x40]
mov esi, dword [eax + 0x14]
test esi, esi
je 0x6fafb1d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x34]
test eax, eax
jle 0x6fafb1c0
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x6fafb60a
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x3c]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x6fafafdc
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sub.avutil_54.dll_av_opt_set_dict
test eax, eax
mov esi, eax
js 0x6fafb0c0
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.avutil_54.dll_av_opt_set_dict
test eax, eax
mov esi, eax
js 0x6fafb0c0
mov eax, dword [ebx + 0x3d0]
test eax, eax
je 0x6fafb01d
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0x2c
mov eax, dword [eax]
mov dword [esp], eax
call sub.avutil_54.dll_av_match_list
test eax, eax
jle 0x6fafb5df
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x6fafb320
mov edx, dword [ebx + 0x84]
test edx, edx
je 0x6fafb1de
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x6fafb05c
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x6fafb05c
mov eax, dword [ebx + 0x30]
cmp eax, 0x5d
je 0x6fafb220
cmp eax, 0x1c
je 0x6fafb220
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
call sub.avutil_54.dll_av_image_check_size
test eax, eax
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
js 0x6fafb63a
mov eax, ecx
mov dword [ebx + 0x80], ecx
movzx ecx, byte [ebx + 0x320]
mov dword [ebx + 0x84], edx
neg eax
neg edx
sar eax, cl
sar edx, cl
neg eax
neg edx
test esi, esi
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
jns 0x6fafbe58
lea esi, [esi]
mov dword [esp], edi
call sub.avutil_54.dll_av_dict_free
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x6fafb0dd
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x6fafb310
lea eax, [ebx + 0x3c]
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x6fafb108
add eax, 0x14
mov dword [esp], eax
call fcn.6fc60648
mov eax, dword [ebx + 0x40]
add eax, 0x18
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
lea eax, [ebx + 0x40]
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
mov dword [ebx + 0xc], 0
jmp 0x6fafb125
mov esi, 0xfffffff4
mov eax, dword [0x70fcb880]
test eax, eax
je 0x6fafbefd
mov dword [0x70fcb880], 0
mov eax, dword [0x70e412d4]
sub eax, 1
mov dword [0x70e412d4], eax
mov eax, dword [0x70463c88]
test eax, eax
je 0x6fafb163
mov dword [esp + 4], 2
mov dword [esp], 0x70e412d0
call eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6fafaea3
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.avutil_54.dll_av_dict_free
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x6fafaea3
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x6fafaecb
mov dword [esp + 8], str.No_codec_provided_to_avcodec_open2___n
mov dword [esp + 4], 0x10
mov esi, 0xffffffea
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafaea3
mov dword [ebx + 0x3c], 0
lea edi, [esp + 0x3c]
jmp 0x6fafafdc
mov esi, 0xfffffff4
lea edi, [esp + 0x3c]
jmp 0x6fafb0c0
mov eax, dword [ebx + 0x78]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x6fafb220
mov edx, dword [ebx + 0x7c]
test edx, edx
jne 0x6fafb598
test ecx, ecx
mov edx, dword [ebx + 0x84]
jne 0x6fafb220
test edx, edx
jne 0x6fafb220
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x6fafb591
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x6fafb29c
xor edx, edx
xor ecx, ecx
lea esi, [esi]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.avutil_54.dll_av_image_check_size
test eax, eax
js 0x6fafb3a0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x78]
mov dword [esp], eax
call sub.avutil_54.dll_av_image_check_size
test eax, eax
js 0x6fafb3a0
mov esi, dword [ebx + 0x78]
test esi, esi
jle 0x6fafb29c
mov ecx, dword [ebx + 0x7c]
test ecx, ecx
jle 0x6fafb29c
mov eax, dword [ebx + 0xe0]
mov edx, dword [ebx + 0xe4]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sub.avutil_54.dll_av_image_check_sar
test eax, eax
js 0x6fafb781
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x6fafb2b4
lea eax, [ebx + 0x35c]
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
cmp dword [ebx + 0x1a0], 0x3f
ja 0x6fafb390
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x6fafb571
mov edx, dword [ebp + 0xc]
cmp eax, dword [edx + 8]
je 0x6fafb571
mov ecx, dword [edx + 0xc]
mov edx, dword [ebx + 0x30]
cmp edx, ecx
je 0x6fafb496
mov dword [esp + 8], str.Codec_type_or_id_mismatches_n
mov dword [esp + 4], 0x10
mov esi, 0xffffffea
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sub.avutil_54.dll_av_opt_free
jmp 0x6fafb0dd
mov eax, dword [ebx + 0x78]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x6fafb1e9
mov edx, dword [ebx + 0x84]
test edx, edx
je 0x6fafb20d
xor ecx, ecx
jmp 0x6fafb220
mov edx, dword [ebp + 0xc]
mov esi, 0xffffffea
mov edx, dword [edx]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
mov dword [esp + 8], str.This_AVCodecContext_was_allocated_for__s__but__s_passed_to_avcodec_open2___n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
jmp 0x6fafaea3
mov dword [esp + 8], str.dimensions_not_set_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
lea esi, [esi]
mov esi, 0xffffffea
jmp 0x6fafb0c0
mov dword [esp + 8], str.Ignoring_invalid_width_height_values_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.avutil_54.dll_av_image_check_size
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
jmp 0x6fafb29c
mov esi, 0xffffffea
jmp 0x6fafaea3
mov dword [esp + 8], str.Insufficient_thread_locking_around_avcodec_open_close___n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
mov eax, dword [0x70463c88]
test eax, eax
je 0x6fafb7c6
mov dword [0x70fcb880], 1
mov eax, dword [0x70fcb880]
test eax, eax
je 0x6fafbefd
mov dword [0x70fcb880], 0
mov eax, dword [0x70e412d4]
mov esi, 0xffffffea
sub eax, 1
mov dword [0x70e412d4], eax
mov eax, dword [0x70463c88]
test eax, eax
je 0x6fafaea3
mov dword [esp + 4], 2
mov dword [esp], 0x70e412d0
call eax
jmp 0x6fafaea3
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [edx + 0xc]
mov dword [ebx + 8], eax
mov dword [ebx + 0x30], edx
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], eax
je 0x6fafb4a7
cmp eax, 4
jne 0x6fafb2ed
mov dword [ebx + 0x1ac], 0
mov dword [esp], edx
call sym.avcodec_56.dll_avcodec_descriptor_get
mov dword [ebx + 0x390], eax
mov eax, dword [ebx + 0xc]
test byte [eax + 0x11], 2
je 0x6fafb657
cmp dword [ebx + 0x2a8], 0xffffffff
jl 0x6fafb657
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], 0x7063f1fa
cmp dword [eax + 0x50], 0
je 0x6fafbbb7
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], 0xfffffffe
mov eax, dword [eax]
mov dword [esp + 8], str.The__s__s_is_experimental_but_experimental_codecs_are_not_enabled__add__strict__d_if_you_want_to_use_it._n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x50], 0
je 0x6fafbb98
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call fcn.6faf2a10
test byte [eax + 0x11], 2
mov esi, 0xd44d5058
jne 0x6fafb0c0
mov eax, dword [eax]
mov dword [esp + 8], str.Alternatively_use_the_non_experimental__s__s._n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x6fafb484
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
jmp 0x6fafb2e5
mov esi, 0xffffffff
jmp 0x6fafaea3
mov ecx, edx
jmp 0x6fafb220
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp + 0x28], edx
mov dword [esp], eax
call sub.avutil_54.dll_av_image_check_size
test eax, eax
mov esi, eax
js 0x6fafb63a
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x320]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
neg eax
jmp 0x6fafb0a5
mov eax, dword [ebp + 0xc]
mov esi, 0xffffffea
mov eax, dword [eax]
mov dword [esp + 8], str.Codec___s__not_on_whitelist_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
mov dword [esp], eax
call sub.avutil_54.dll_av_mallocz
test eax, eax
mov dword [ebx + 0x3c], eax
je 0x6fafb120
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x6fafb1c7
mov dword [eax], edx
mov dword [esp], eax
call sub.avutil_54.dll_av_opt_set_defaults
jmp 0x6fafafb5
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
xor edx, edx
xor eax, eax
jmp 0x6fafb0af
cmp dword [ebx + 8], 1
je 0x6fafb809
call fcn.6fafae20
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6fafba18
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.6f7a9300
mov dword [esp], ebx
mov esi, eax
call fcn.6fafad10
test esi, esi
js 0x6fafb0c0
mov eax, dword [ebx + 0x40]
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x6fafb6a7
test byte [ebx + 0x330], 1
jne 0x6fafb6b9
mov dword [esp], ebx
call fcn.6fa3a720
test eax, eax
mov esi, eax
js 0x6fafb0c0
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x320]
movzx ecx, byte [eax + 0x28]
cmp ecx, edx
jl 0x6fafb7e3
shr edx, 0x1f
test dl, dl
jne 0x6fafb7e3
cmp dword [ebx + 0x2b4], 0
jne 0x6fafbc3c
test eax, eax
je 0x6fafb904
cmp dword [eax + 0x50], 0
je 0x6fafbb89
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x6fafba1f
mov esi, dword [ecx]
cmp esi, 0xffffffff
je 0x6fafbbdd
mov edx, dword [ebx + 0x1a4]
cmp esi, edx
je 0x6fafbbce
mov dword [esp + 0x2c], ecx
xor esi, esi
jmp 0x6fafb73f
mov ecx, dword [esp + 0x2c]
add esi, 4
mov ecx, dword [ecx + esi]
cmp ecx, 0xffffffff
je 0x6fafbbe3
cmp ecx, edx
je 0x6fafbbd0
cmp dword [ebx + 0x1a0], 1
jne 0x6fafb724
mov dword [esp], edx
call sub.avutil_54.dll_av_get_planar_sample_fmt
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + esi]
mov dword [esp], eax
call sub.avutil_54.dll_av_get_planar_sample_fmt
cmp dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x20]
je 0x6fafbe63
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x1a4]
jmp 0x6fafb724
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xe0]
mov dword [esp + 8], str.ignoring_invalid_SAR:__u__u_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 1
jmp 0x6fafb29c
mov dword [esp + 8], str.No_lock_manager_is_set__please_see_av_lockmgr_register___n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafb42e
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.The_maximum_value_for_lowres_supported_by_the_decoder_is__d_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
cmp dword [ebx + 0x68], 0
je 0x6fafb819
cmp dword [ebx + 0x6c], 0
jne 0x6fafb661
mov eax, dword [ebx + 0x19c]
mov dword [ebx + 0x68], 1
mov dword [ebx + 0x6c], eax
jmp 0x6fafb661
mov eax, dword [eax + 0x24]
test eax, eax
je 0x6fafbb6e
mov edx, dword [ebx + 0x1c4]
mov esi, dword [ebx + 0x1c0]
mov dword [esp + 0x28], edx
or edx, esi
je 0x6fafbb56
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, edx
or eax, ecx
je 0x6fafbf02
add dword [esp + 0x2c], 8
cmp dword [esp + 0x28], edx
jne 0x6fafb855
cmp esi, ecx
jne 0x6fafb855
cmp dword [ebx + 0x1a0], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
jne 0x6fafbe71
call sub.avutil_54.dll_av_get_channel_layout_nb_channels
mov dword [ebx + 0x1a0], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6fafbb48
cmp dword [ebx + 0x78], 0
jle 0x6fafb375
cmp dword [ebx + 0x7c], 0
jle 0x6fafb375
mov eax, dword [ebx + 0x48]
lea edx, [eax - 1]
cmp edx, 0x3e6
ja 0x6fafb8e3
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Bitrate__d_is_extremely_low__maybe_you_mean__dk_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
cmp dword [ebx + 0x234], 0
jne 0x6fafb901
imul eax, dword [ebx + 0x20c], 3
mov ecx, 4
cdq
idiv ecx
mov dword [ebx + 0x234], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x4c]
mov dword [ebx + 0x3a0], 0
mov dword [ebx + 0x3a4], 0
mov dword [ebx + 0x398], 0
mov dword [ebx + 0x39c], 0
mov dword [ebx + 0x3b0], 0
test edx, edx
mov dword [ebx + 0x3b4], 0x80000000
mov dword [ebx + 0x3a8], 0
mov dword [ebx + 0x3ac], 0x80000000
je 0x6fafb97f
test byte [ebx + 0x330], 1
je 0x6fafb96d
mov ecx, dword [ebx + 0x40]
cmp dword [ecx + 0x2c], 0
je 0x6fafb97f
mov dword [esp], ebx
call edx
test eax, eax
mov esi, eax
js 0x6fafb0c0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6fafbce4
cmp dword [eax + 0x50], 0
je 0x6fafbeee
mov edx, dword [ebx + 0x37c]
mov dword [ebx + 0x74], edx
cmp dword [eax + 0x58], 0
je 0x6fafbce4
cmp dword [ebx + 0x48], 0
jne 0x6fafb9bb
mov edx, dword [ebx + 8]
cmp edx, 1
je 0x6fafbceb
xor edx, edx
mov dword [ebx + 0x48], edx
mov eax, dword [ebx + 0x1c4]
mov edx, dword [ebx + 0x1c0]
mov ecx, eax
or ecx, edx
jne 0x6fafbdb2
cmp dword [ebx + 0x1a0], 0x3f
ja 0x6fafb390
mov eax, dword [ebx + 0x3b8]
test eax, eax
je 0x6fafbca5
cmp dword [ebx + 8], 3
je 0x6fafbc5c
mov dword [esp + 8], str.Character_encoding_is_only_supported_with_subtitles_codecs_n
mov dword [esp + 4], 0x10
mov esi, 0xffffffea
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
xor eax, eax
jmp 0x6fafb676
mov edx, dword [eax + 0x18]
test edx, edx
je 0x6fafbaed
mov esi, dword [edx]
cmp esi, 0xffffffff
je 0x6fafba52
mov ecx, dword [ebx + 0x8c]
cmp esi, ecx
je 0x6fafbac9
add edx, 4
jmp 0x6fafba4b
add edx, 4
cmp esi, ecx
je 0x6fafbac9
mov esi, dword [edx]
cmp esi, 0xffffffff
jne 0x6fafba44
mov edx, dword [ebx + 0x30]
and edx, 0xfffffffd
cmp edx, 8
jne 0x6fafba6a
cmp dword [ebx + 0x2a8], 0
js 0x6fafbaed
mov eax, dword [ebx + 0x8c]
lea esi, [esp + 0x40]
mov dword [esp + 8], 0x7063f405
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6faf26f0
mov eax, dword [ebx + 0x8c]
mov dword [esp], eax
call sub.avutil_54.dll_av_get_pix_fmt_name
test eax, eax
mov dword [esp + 8], str.Specified_pixel_format__s_is_invalid_or_not_supported_n
mov dword [esp + 4], 0x10
cmove eax, esi
mov dword [esp], ebx
mov esi, 0xffffffea
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
cmp ecx, 0x140
je 0x6fafbae3
cmp ecx, 0xc
je 0x6fafbae3
lea edx, [ecx - 0xd]
cmp edx, 1
jbe 0x6fafbae3
cmp ecx, 0x22
jne 0x6fafbaed
mov dword [ebx + 0x18c], 2
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x6fafb82e
mov esi, dword [edx]
mov ecx, dword [ebx + 0x19c]
test esi, esi
je 0x6fafbb22
cmp esi, ecx
je 0x6fafb82e
add edx, 4
jmp 0x6fafbb1c
add edx, 4
cmp esi, ecx
je 0x6fafb82e
mov esi, dword [edx]
test esi, esi
jne 0x6fafbb11
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.Specified_sample_rate__d_is_not_supported_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
sub eax, 1
jne 0x6fafb8e3
jmp 0x6fafb8b5
mov dword [esp + 8], str.Channel_layout_not_specified_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
mov edx, dword [ebx + 0x1c4]
mov ecx, dword [ebx + 0x1c0]
mov eax, edx
or eax, ecx
je 0x6fafb896
jmp 0x6fafb877
cmp dword [eax + 0x54], 0
jne 0x6fafb6f8
jmp 0x6fafb904
cmp dword [eax + 0x54], 0
jne 0x6fafb52c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call fcn.6faf2d70
jmp 0x6fafb537
call fcn.70426564
cmp dword [eax + 0x54], 0
mov eax, str.decoder
cmovne eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x6fafb4ee
xor esi, esi
mov edx, dword [eax + 0x20]
cmp dword [edx + esi], 0xffffffff
jne 0x6fafba1f
mov edx, dword [ebx + 0x1a4]
lea esi, [esp + 0x40]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x7063f405
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
call fcn.6faf26f0
mov eax, dword [ebx + 0x1a4]
mov dword [esp], eax
call sub.avutil_54.dll_av_get_sample_fmt_name
test eax, eax
mov dword [esp + 8], str.Specified_sample_format__s_is_invalid_or_not_supported_n
mov dword [esp + 4], 0x10
cmove eax, esi
mov dword [esp], ebx
mov esi, 0xffffffea
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
mov dword [esp + 8], str.The_vismv_option_is_deprecated__see_the_codecview_filter_instead._n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
mov eax, dword [ebx + 0xc]
jmp 0x6fafb6e6
mov edx, dword [ebx + 0x390]
test byte [edx + 0x12], 1
jne 0x6fafbd84
mov edx, dword [ebx + 0x3bc]
test edx, edx
jne 0x6fafbd4e
mov dword [ebx + 0x3bc], 1
mov dword [esp + 4], eax
mov dword [esp], 0x7063eb5e
call fcn.6fc71c10
cmp eax, 0xffffffff
je 0x6fafbd1d
mov dword [esp], eax
call fcn.6fc72140
cmp dword [ebx + 0x380], 0
jle 0x6fafbce4
cmp dword [ebx + 0x384], 0
jle 0x6fafbce4
mov eax, dword [ebx + 0x70]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x380]
mov edx, dword [ebx + 0x384]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.avutil_54.dll_av_mul_q
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], eax
xor esi, esi
jmp 0x6fafb125
mov esi, dword [ebx + 0x30]
lea ecx, [esi - 0x11000]
cmp ecx, 0x11
ja 0x6fafbd70
shl edx, cl
mov eax, 4
test edx, 0xa043
je 0x6fafbd5c
mov edx, dword [ebx + 0x19c]
imul edx, dword [ebx + 0x1a0]
imul edx, eax
jmp 0x6fafb9b8
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
mov eax, dword [ebx + 0x3b8]
mov dword [esp + 8], str.Unable_to_open_iconv_context_with_input_character_encoding___s__n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
neg esi
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
sub edx, 1
jne 0x6fafbca5
jmp 0x6fafbc84
test edx, 0x20000
mov al, 2
jne 0x6fafbd08
and edx, 0x10000
mov al, 3
jne 0x6fafbd08
mov dword [esp], esi
call sym.avcodec_56.dll_av_get_exact_bits_per_sample
xor edx, edx
test eax, eax
je 0x6fafb9b8
jmp 0x6fafbd08
mov eax, dword [edx + 8]
mov dword [esp + 8], str.Codec__s_is_bitmap_based__subtitles_character_encoding_will_be_ignored_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
mov dword [ebx + 0x3bc], 0xffffffff
jmp 0x6fafbca5
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.avutil_54.dll_av_get_channel_layout_nb_channels
mov esi, eax
mov eax, dword [ebx + 0x1a0]
test eax, eax
jne 0x6fafbdd5
mov dword [ebx + 0x1a0], esi
jmp 0x6fafb9d1
cmp esi, eax
je 0x6fafb9d1
mov eax, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c4]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x200
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call sub.avutil_54.dll_av_get_channel_layout_string
mov edx, dword [ebx + 0x1a0]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], str.Channel_layout__s_with__d_channels_does_not_match_specified_number_of_channels__d:_ignoring_specified_channel_layout_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
call sub.avutil_54.dll_av_log
mov dword [ebx + 0x1c0], 0
mov dword [ebx + 0x1c4], 0
jmp 0x6fafb9d1
mov ecx, dword [ebx + 0x80]
jmp 0x6fafb1f4
mov edx, dword [edx + esi]
mov dword [ebx + 0x1a4], edx
jmp 0x6fafbbd0
call sub.avutil_54.dll_av_get_channel_layout_nb_channels
cmp dword [ebx + 0x1a0], eax
mov dword [esp + 0x2c], eax
je 0x6fafb896
mov eax, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c4]
lea esi, [esp + 0x40]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x200
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call sub.avutil_54.dll_av_get_channel_layout_string
mov edx, dword [ebx + 0x1a0]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Channel_layout__s_with__d_channels_does_not_match_number_of_specified_channels__d_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0
cmp dword [eax + 0x54], 0
jne 0x6fafb991
jmp 0x6fafb99a
call fcn.70426528
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], esi
lea esi, [esp + 0x40]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x200
mov dword [esp], esi
mov dword [esp + 0x10], eax
call sub.avutil_54.dll_av_get_channel_layout_string
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Specified_channel_layout__s_is_not_supported_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_54.dll_av_log
jmp 0x6fafb0c0