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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and esp, 0xfffffff0
sub esp, 0x250
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], edi
mov dword [esp + 0x4c], 0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x6c51a0a0
mov eax, esi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
test edx, edx
je 0x6c51a2f0
test eax, eax
je 0x6c51a0bb
cmp dword [ebp + 0xc], eax
jne 0x6c51a454
cmp dword [ebx + 0x64], 0xfffffef
ja 0x6c51a4e4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6c51a0ec
mov esi, dword [ebp + 0x10]
lea edi, [esp + 0x4c]
mov dword [esp + 8], 0
mov eax, dword [esi]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.avutil_52.dll_av_dict_copy
mov dword [esp], ebx
call fcn.6c519f50
test eax, eax
mov esi, eax
js 0x6c51a08c
mov dword [esp], 0x38
call sub.avutil_52.dll_av_mallocz
test eax, eax
mov esi, eax
mov dword [ebx + 0x40], eax
je 0x6c51a330
mov dword [esp], 0x58
call sub.avutil_52.dll_av_mallocz
mov dword [esi + 0x18], eax
mov esi, dword [ebx + 0x40]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x6c51a424
call fcn.6c55df98
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x40]
mov esi, dword [eax + 0x14]
test esi, esi
je 0x6c51a424
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x34]
test eax, eax
jle 0x6c51a320
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x6c51a65d
mov esi, dword [ebp + 0xc]
lea edi, [esp + 0x4c]
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x6c51a186
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sub.avutil_52.dll_av_opt_set_dict
test eax, eax
mov esi, eax
js 0x6c51a247
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.avutil_52.dll_av_opt_set_dict
test eax, eax
mov esi, eax
js 0x6c51a247
mov edx, dword [ebx + 0x80]
test edx, edx
je 0x6c51a340
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x6c51a340
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x6c51a1db
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x6c51a1db
mov eax, dword [ebx + 0x30]
cmp eax, 0x5d
je 0x6c51a372
cmp eax, 0x1c
je 0x6c51a372
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
call sub.avutil_52.dll_av_image_check_size
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test eax, eax
mov esi, eax
js 0x6c51a793
mov eax, dword [ebx + 0x320]
mov dword [ebx + 0x80], edx
neg edx
mov dword [ebx + 0x84], ecx
neg ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ecx, eax
sar edx, cl
neg edx
mov dword [ebx + 0x78], edx
mov edx, dword [esp + 0x34]
sar edx, cl
neg edx
mov dword [ebx + 0x7c], edx
test esi, esi
jns 0x6c51ae45
mov dword [esp], edi
call sub.avutil_52.dll_av_dict_free
lea eax, [ebx + 0x3c]
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x6c51a27a
add eax, 0x14
mov dword [esp], eax
call fcn.6c55df90
mov eax, dword [ebx + 0x40]
add eax, 0x18
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
lea eax, [ebx + 0x40]
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
mov dword [ebx + 0xc], 0
mov eax, dword [0x6c6628a8]
test eax, eax
je 0x6c51ae3b
mov dword [0x6c6628a8], 0
mov eax, dword [0x6c63e404]
sub eax, 1
mov dword [0x6c63e404], eax
mov eax, dword [0x6c570a24]
test eax, eax
je 0x6c51a2ca
mov dword [esp + 4], 2
mov dword [esp], 0x6c63e410
call eax
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6c51a08c
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.avutil_52.dll_av_dict_free
mov eax, dword [esp + 0x4c]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x6c51a08c
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x6c51a0bb
mov dword [esp + 8], str.No_codec_provided_to_avcodec_open2___n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a08c
mov dword [ebx + 0x3c], 0
lea edi, [esp + 0x4c]
jmp 0x6c51a186
mov esi, 0xfffffff4
jmp 0x6c51a28c
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x6c51a356
mov esi, dword [ebx + 0x7c]
test esi, esi
mov dword [esp + 0x38], esi
jne 0x6c51a5f6
test edx, edx
mov ecx, dword [ebx + 0x84]
jne 0x6c51a372
test ecx, ecx
jne 0x6c51a372
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x6c51a372
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x6c51a3b8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], edx
call sub.avutil_52.dll_av_image_check_size
test eax, eax
js 0x6c51a485
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_52.dll_av_image_check_size
test eax, eax
js 0x6c51a485
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x6c51a3d0
lea eax, [ebx + 0x35c]
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
cmp dword [ebx + 0x1a0], 0x3f
ja 0x6c51a44a
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 0xc]
cmp eax, 0xffffffff
mov dword [ebx + 0xc], esi
je 0x6c51a5e0
cmp eax, dword [esi + 8]
je 0x6c51a5e0
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x30]
cmp ecx, edx
je 0x6c51a4fd
mov dword [esp + 8], str.Codec_type_or_id_mismatches_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov esi, 0xfffffff4
lea edi, [esp + 0x4c]
jmp 0x6c51a247
mov dword [esp + 8], str.dimensions_not_set_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
mov esi, 0xffffffea
jmp 0x6c51a247
mov ecx, dword [ebp + 0xc]
mov esi, 0xffffffea
mov edx, dword [ecx]
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_52.dll_av_log
jmp 0x6c51a08c
mov dword [esp + 8], str.Ignoring_invalid_width_height_values_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_52.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_52.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 0x6c51a3b8
mov esi, 0xffffffea
jmp 0x6c51a08c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [ebx + 8], eax
mov dword [ebx + 0x30], edx
mov esi, dword [ebp + 0xc]
cmp dword [esi + 8], eax
je 0x6c51a50e
cmp eax, 4
jne 0x6c51a402
mov dword [ebx + 0x1ac], 0
mov dword [esp], edx
call sym.avcodec_55.dll_avcodec_descriptor_get
mov dword [ebx + 0x380], eax
mov eax, dword [ebx + 0xc]
test byte [eax + 0x11], 2
je 0x6c51a68d
cmp dword [ebx + 0x2a8], 0xffffffff
jl 0x6c51a68d
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], str.encoder
cmp dword [eax + 0x50], 0
je 0x6c51abf3
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x14], 0xfffffffe
mov ecx, dword [esp + 0x38]
mov eax, dword [edx]
mov dword [esp + 0xc], ecx
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 + 0x10], eax
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x6c51ac0a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
call sym.avcodec_55.dll_avcodec_find_encoder
test byte [eax + 0x11], 2
mov esi, 0xd44d5058
jne 0x6c51a247
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
mov dword [esp + 8], str.Alternatively_use_the_non_experimental__s__s._n
mov dword [esp + 4], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x6c51a4ee
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
jmp 0x6c51a3fa
mov dword [esp + 4], esi
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x2c], ecx
call sub.avutil_52.dll_av_image_check_size
mov ecx, dword [esp + 0x2c]
test eax, eax
mov esi, eax
js 0x6c51a7c6
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x320]
mov dword [ebx + 0x80], ecx
neg ecx
mov dword [esp + 0x34], ecx
mov dword [ebx + 0x84], edx
neg edx
mov dword [esp + 0x38], edx
mov edx, ecx
mov ecx, eax
sar edx, cl
neg edx
mov dword [ebx + 0x78], edx
mov edx, dword [esp + 0x38]
sar edx, cl
neg edx
mov dword [ebx + 0x7c], edx
jmp 0x6c51a23f
mov dword [esp], eax
call sub.avutil_52.dll_av_mallocz
test eax, eax
mov dword [ebx + 0x3c], eax
je 0x6c51a330
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x6c51a327
mov dword [eax], edx
mov dword [esp], eax
call sub.avutil_52.dll_av_opt_set_defaults
jmp 0x6c51a15f
cmp dword [ebx + 8], 1
je 0x6c51a81f
mov edx, dword [ebx + 0x40]
mov ecx, dword [edx + 0x2c]
test ecx, ecx
je 0x6c51a6aa
test byte [ebx + 0x330], 1
jne 0x6c51a6bf
mov dword [esp], ebx
call fcn.6c507080
test eax, eax
mov esi, eax
js 0x6c51a247
mov eax, dword [ebx + 0xc]
movzx edx, byte [eax + 0x28]
mov ecx, dword [ebx + 0x320]
cmp edx, ecx
jl 0x6c51a7f9
test ecx, ecx
js 0x6c51a7f9
cmp dword [eax + 0x50], 0
je 0x6c51ac27
mov edx, dword [eax + 0x20]
test edx, edx
mov dword [esp + 0x38], edx
je 0x6c51a844
mov edx, dword [edx]
cmp edx, 0xffffffff
je 0x6c51ae57
mov ecx, dword [ebx + 0x1a4]
cmp edx, ecx
mov dword [esp + 0x3c], ecx
je 0x6c51ae50
mov edx, 4
xor esi, esi
mov dword [esp + 0x34], edi
mov ecx, esi
mov edi, edx
jmp 0x6c51a741
mov esi, dword [esp + 0x38]
mov edx, dword [esi + edi]
cmp edx, 0xffffffff
je 0x6c51acec
cmp edx, dword [esp + 0x3c]
mov ecx, edi
lea esi, [edi + 4]
je 0x6c51ac72
mov edi, esi
cmp dword [ebx + 0x1a0], 1
jne 0x6c51a720
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp], esi
call sub.avutil_52.dll_av_get_planar_sample_fmt
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + ecx]
mov dword [esp], eax
call sub.avutil_52.dll_av_get_planar_sample_fmt
mov ecx, dword [esp + 0x2c]
cmp esi, eax
je 0x6c51ae66
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
jmp 0x6c51a720
mov dword [esp + 0x38], 0
mov eax, dword [ebx + 0x320]
mov dword [ebx + 0x80], 0
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x84], 0
mov dword [esp + 0x34], 0
jmp 0x6c51a22b
mov dword [esp + 0x34], 0
mov eax, dword [ebx + 0x320]
mov dword [ebx + 0x80], 0
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x84], 0
mov dword [esp + 0x38], 0
jmp 0x6c51a644
mov dword [esp + 0xc], edx
mov esi, 0xffffffea
mov dword [esp + 8], str.The_maximum_value_for_lowres_supported_by_the_decoder_is__d_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
cmp dword [ebx + 0x68], 0
je 0x6c51a82f
cmp dword [ebx + 0x6c], 0
jne 0x6c51a697
mov edx, dword [ebx + 0x19c]
mov dword [ebx + 0x68], 1
mov dword [ebx + 0x6c], edx
jmp 0x6c51a697
mov edx, dword [eax + 0x18]
test edx, edx
je 0x6c51a8ea
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x6c51a877
mov esi, dword [ebx + 0x8c]
cmp ecx, esi
je 0x6c51a8ea
add edx, 4
jmp 0x6c51a870
add edx, 4
cmp ecx, esi
je 0x6c51a8ea
mov ecx, dword [edx]
cmp ecx, 0xffffffff
jne 0x6c51a869
mov edx, dword [ebx + 0x30]
and edx, 0xfffffffd
cmp edx, 8
jne 0x6c51a88b
cmp dword [ebx + 0x2a8], 0
js 0x6c51a8ea
mov eax, dword [ebx + 0x8c]
lea esi, [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 8], 0x6c593c1d
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp + 0xc], eax
call fcn.6c55ebc0
mov eax, dword [ebx + 0x8c]
mov dword [esp], eax
call sub.avutil_52.dll_av_get_pix_fmt_name
mov dword [esp + 8], str.Specified_pixel_format__s_is_invalid_or_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
test eax, eax
cmove eax, esi
mov esi, 0xffffffea
mov dword [esp + 0xc], eax
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x6c51a939
mov esi, dword [ecx]
mov edx, dword [ebx + 0x19c]
test esi, esi
je 0x6c51a913
cmp esi, edx
je 0x6c51a939
add ecx, 4
jmp 0x6c51a90d
add ecx, 4
cmp esi, edx
je 0x6c51a939
mov esi, dword [ecx]
test esi, esi
jne 0x6c51a906
mov dword [esp + 0xc], edx
mov esi, 0xffffffea
mov dword [esp + 8], str.Specified_sample_rate__d_is_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov edx, dword [eax + 0x24]
test edx, edx
je 0x6c51aa16
mov ecx, dword [ebx + 0x1c4]
mov eax, dword [ebx + 0x1c0]
mov esi, ecx
or esi, eax
je 0x6c51a9fe
mov esi, dword [edx]
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x3c]
or esi, dword [esp + 0x38]
je 0x6c51a9b4
cmp ecx, dword [esp + 0x38]
je 0x6c51ac36
add edx, 8
jmp 0x6c51a99d
mov esi, dword [esp + 0x38]
add edx, 8
xor esi, ecx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x3c]
xor esi, eax
or esi, dword [esp + 0x38]
je 0x6c51ac40
mov esi, dword [edx]
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x3c]
or esi, dword [esp + 0x38]
jne 0x6c51a980
lea esi, [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp], esi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x200
call sub.avutil_52.dll_av_get_channel_layout_string
mov dword [esp + 0xc], esi
mov esi, 0xffffffea
mov dword [esp + 8], str.Specified_channel_layout__s_is_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov dword [esp + 8], str.Channel_layout_not_specified_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
mov ecx, dword [ebx + 0x1c4]
mov eax, dword [ebx + 0x1c0]
mov edx, ecx
or edx, eax
jne 0x6c51ac40
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6c51ac64
cmp dword [ebx + 0x30], 0x3e
je 0x6c51aa51
cmp dword [ebx + 0x78], 0
jle 0x6c51a432
cmp dword [ebx + 0x7c], 0
jle 0x6c51a432
mov eax, dword [ebx + 0x48]
test eax, eax
jle 0x6c51aa7f
cmp eax, 0x3e7
jg 0x6c51aa7f
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_52.dll_av_log
cmp dword [ebx + 0x234], 0
jne 0x6c51aaa1
imul eax, dword [ebx + 0x20c], 3
mov ecx, 4
mov edx, eax
sar edx, 0x1f
idiv ecx
mov dword [ebx + 0x234], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x4c]
mov dword [ebx + 0x390], 0
mov dword [ebx + 0x394], 0
mov dword [ebx + 0x388], 0
test edx, edx
mov dword [ebx + 0x38c], 0
mov dword [ebx + 0x3a0], 0
mov dword [ebx + 0x3a4], 0x80000000
mov dword [ebx + 0x398], 0
mov dword [ebx + 0x39c], 0x80000000
je 0x6c51ab1f
test byte [ebx + 0x330], 1
je 0x6c51ab0d
mov ecx, dword [ebx + 0x40]
cmp dword [ecx + 0x2c], 0
je 0x6c51ab1f
mov dword [esp], ebx
call edx
test eax, eax
mov esi, eax
js 0x6c51a247
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6c51abc5
cmp dword [eax + 0x58], 0
je 0x6c51abc5
cmp dword [ebx + 0x48], 0
jne 0x6c51ab48
mov eax, dword [ebx + 8]
xor edx, edx
cmp eax, 1
je 0x6c51acf2
mov dword [ebx + 0x48], edx
mov eax, dword [ebx + 0x1c4]
mov edx, dword [ebx + 0x1c0]
mov ecx, eax
or ecx, edx
jne 0x6c51abcc
cmp dword [ebx + 0x1a0], 0x3f
ja 0x6c51a44a
cmp dword [ebx + 0x3a8], 0
je 0x6c51abc5
cmp dword [ebx + 8], 3
je 0x6c51ade9
mov dword [esp + 8], str.Character_encoding_is_only_supported_with_subtitles_codecs_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov eax, dword [eax + 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_52.dll_av_log
mov dword [ebx + 0x3ac], 0xffffffff
xor esi, esi
jmp 0x6c51a28c
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.avutil_52.dll_av_get_channel_layout_nb_channels
mov esi, eax
mov eax, dword [ebx + 0x1a0]
test eax, eax
jne 0x6c51ae80
mov dword [ebx + 0x1a0], esi
jmp 0x6c51ab5a
cmp dword [eax + 0x54], 0
mov eax, str.decoder
cmovne eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
jmp 0x6c51a555
cmp dword [esi + 0x54], 0
jne 0x6c51a594
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym.avcodec_55.dll_avcodec_find_decoder
jmp 0x6c51a5a2
cmp dword [eax + 0x54], 0
jne 0x6c51a6e3
jmp 0x6c51aaa4
cmp eax, dword [esp + 0x3c]
jne 0x6c51a97b
cmp dword [ebx + 0x1a0], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
jne 0x6c51ad41
call sub.avutil_52.dll_av_get_channel_layout_nb_channels
mov dword [ebx + 0x1a0], eax
jmp 0x6c51aa2c
cmp eax, 1
ja 0x6c51aa7f
jmp 0x6c51aa51
mov edx, edi
mov edi, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
cmp dword [ecx + edx], 0xffffffff
jne 0x6c51a844
mov edx, dword [ebx + 0x1a4]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 8], 0x6c593c1d
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp + 0xc], eax
call fcn.6c55ebc0
mov eax, dword [ebx + 0x1a4]
mov dword [esp], eax
call sub.avutil_52.dll_av_get_sample_fmt_name
mov dword [esp + 8], str.Specified_sample_format__s_is_invalid_or_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
test eax, eax
cmove eax, esi
mov esi, 0xffffffea
mov dword [esp + 0xc], eax
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov edi, dword [esp + 0x34]
jmp 0x6c51ac8f
mov edx, dword [ebx + 0x30]
lea ecx, [edx - 0x11000]
cmp ecx, 0x11
ja 0x6c51add2
shl eax, cl
test eax, 0xa043
jne 0x6c51adc8
test eax, 0x20000
jne 0x6c51adbe
test eax, 0x10000
je 0x6c51add2
mov eax, 3
mov edx, dword [ebx + 0x19c]
imul edx, dword [ebx + 0x1a0]
imul edx, eax
jmp 0x6c51ab45
call sub.avutil_52.dll_av_get_channel_layout_nb_channels
cmp dword [ebx + 0x1a0], eax
je 0x6c51aa2c
mov edx, dword [ebx + 0x1c0]
lea esi, [esp + 0x50]
mov ecx, dword [ebx + 0x1c4]
mov dword [esp], esi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 4], 0x200
mov dword [esp + 0x30], eax
call sub.avutil_52.dll_av_get_channel_layout_string
mov edx, dword [ebx + 0x1a0]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], esi
mov esi, 0xffffffea
mov dword [esp + 8], str.Channel_layout__s_with__d_channels_does_not_match_number_of_specified_channels__d_n
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
mov eax, 2
jmp 0x6c51ad2c
mov eax, 4
jmp 0x6c51ad2c
mov dword [esp], edx
call sym.avcodec_55.dll_av_get_exact_bits_per_sample
xor edx, edx
test eax, eax
je 0x6c51ab45
jmp 0x6c51ad2c
mov eax, dword [ebx + 0x380]
test byte [eax + 0x12], 1
jne 0x6c51ab9c
mov eax, dword [ebx + 0x3ac]
test eax, eax
jne 0x6c51ae2f
mov dword [ebx + 0x3ac], 1
mov dword [esp + 8], str.Character_encoding_subtitles_conversion_needs_a_libavcodec_built_with_iconv_support_for_this_codec_n
mov esi, 0xffffffd8
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
jmp 0x6c51a247
sub eax, 1
je 0x6c51ae0d
xor esi, esi
jmp 0x6c51a28c
nop
lea esi, [esi]
call fcn.6c56b7dc
mov edx, dword [ebx + 0x80]
jmp 0x6c51a356
xor edx, edx
jmp 0x6c51ac78
mov esi, dword [ebx + 0x1a4]
mov dword [esp + 0x3c], esi
jmp 0x6c51ac8f
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x34]
mov edx, dword [eax + 0x20]
mov edx, dword [edx + ecx]
mov dword [ebx + 0x1a4], edx
mov edx, ecx
jmp 0x6c51ac78
cmp esi, eax
je 0x6c51ab5a
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 + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp], eax
mov dword [esp + 0x30], eax
call sub.avutil_52.dll_av_get_channel_layout_string
mov edx, dword [ebx + 0x1a0]
mov eax, dword [esp + 0x30]
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 + 0x14], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sub.avutil_52.dll_av_log
mov dword [ebx + 0x1c0], 0
mov dword [ebx + 0x1c4], 0
jmp 0x6c51ab5a