Function at 0x1003aaa6
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x101c0814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x290], ecx
lea ebx, [edi + 0x40]
cmp dword [ebx], ecx
je 0x1003aae4
xor eax, eax
jmp 0x1003ab08
test esi, esi
jne 0x1003ab19
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x28c], esi
test esi, esi
jne 0x1003ab40
push str.No_codec_provided_to_avcodec_open2___n
push 0x10
push edi
call fcn.1006b450
add esp, 0xc
push 0xffffffffffffffea
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10132731
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1003ab3a
cmp esi, eax
je 0x1003ab3a
push dword [esi]
push dword [eax]
push str.This_AVCodecContext_was_allocated_for__s__but__s_passed_to_avcodec_open2___n
push 0x10
push edi
call fcn.1006b450
add esp, 0x14
jmp 0x1003ab05
mov eax, dword [ebp - 0x29c]
cmp dword [edi + 0x68], ecx
jl 0x1003ab05
cmp dword [edi + 0x68], 0xfffffe0
jge 0x1003ab05
test eax, eax
je 0x1003ab64
push ecx
push dword [eax]
lea eax, [ebp - 0x290]
push eax
call fcn.10067908
add esp, 0xc
push esi
push edi
call fcn.1003d4f7
pop ecx
pop ecx
test eax, eax
js 0x1003ab08
push 0x48
call fcn.1006c3c1
mov dword [ebx], eax
pop ecx
test eax, eax
jne 0x1003ab87
push 0xfffffffffffffff4
pop ebx
jmp 0x1003b6ad
push 0x58
call fcn.1006c3c1
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx]
cmp dword [eax + 0x10], 0
jne 0x1003aba3
push 0xfffffffffffffff4
jmp 0x1003b616
call sym.ffmpeg.dll_av_frame_alloc
mov ecx, dword [ebx]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x1003ab9c
call sym.ffmpeg.dll_av_frame_alloc
mov ecx, dword [ebx]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebx]
cmp dword [eax + 0x3c], 0
je 0x1003ab9c
call fcn.1003ea1d
mov ecx, dword [ebx]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx]
cmp dword [eax + 0x34], 0
je 0x1003ab9c
cmp dword [esi + 0x34], 0
jle 0x1003ac2a
cmp dword [edi + 0x3c], 0
jne 0x1003ac07
push dword [esi + 0x34]
call fcn.1006c3c1
mov dword [edi + 0x3c], eax
pop ecx
test eax, eax
je 0x1003ab7f
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1003ac07
mov dword [eax], ecx
push dword [edi + 0x3c]
call fcn.1006d095
pop ecx
cmp dword [esi + 0x2c], 0
je 0x1003ac2e
lea eax, [ebp - 0x290]
push eax
push dword [edi + 0x3c]
call fcn.1006d23a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x1003b617
jmp 0x1003ac2e
and dword [edi + 0x3c], 0
lea eax, [ebp - 0x290]
push eax
push edi
call fcn.1006d23a
mov ebx, eax
mov dword [ebp - 0x294], ebx
pop ecx
pop ecx
test ebx, ebx
js 0x1003b617
mov eax, dword [edi + 0x3c0]
test eax, eax
je 0x1003ac85
push 0x2c
push eax
push dword [esi]
call fcn.10066635
add esp, 0xc
test eax, eax
jg 0x1003ac85
push dword [edi + 0x3c0]
push dword [esi]
push str.Codec___s__not_on_whitelist__s_n
push 0x10
push edi
call fcn.1006b450
add esp, 0x14
jmp 0x1003b614
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1003acdb
xor ecx, ecx
cmp dword [edi + 0x88], ecx
je 0x1003acbb
cmp dword [edi + 0x7c], ecx
je 0x1003acbb
cmp dword [edi + 0x80], ecx
je 0x1003acbb
cmp dword [edi + 0x30], 0x1c
je 0x1003ad0a
cmp dword [edi + 0x30], 0x5d
je 0x1003ad0a
cmp dword [edi + 0x30], 0xbe
je 0x1003ad0a
test eax, eax
je 0x1003acdb
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x1003acdb
push ecx
push eax
push edi
call fcn.1003d5c1
mov ebx, eax
mov dword [ebp - 0x294], ebx
jmp 0x1003acfd
cmp dword [edi + 0x7c], 0
je 0x1003ad00
mov eax, dword [edi + 0x80]
test eax, eax
je 0x1003ad00
push eax
push dword [edi + 0x7c]
push edi
call fcn.1003d5c1
mov ebx, eax
mov dword [ebp - 0x294], eax
add esp, 0xc
test ebx, ebx
js 0x1003b617
xor ecx, ecx
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x1003ad29
cmp dword [edi + 0x88], ecx
jne 0x1003ad29
cmp dword [edi + 0x7c], ecx
jne 0x1003ad29
cmp dword [edi + 0x80], ecx
je 0x1003ad70
push edi
push ecx
push dword [edi + 0x88]
push eax
call sym.ffmpeg.dll_av_image_check_size
add esp, 0x10
test eax, eax
js 0x1003ad56
push edi
push 0
push dword [edi + 0x80]
push dword [edi + 0x7c]
call sym.ffmpeg.dll_av_image_check_size
add esp, 0x10
test eax, eax
jns 0x1003ad70
push str.Ignoring_invalid_width_height_values_n
push 0x18
push edi
call fcn.1006b450
push 0
push 0
push edi
call fcn.1003d5c1
add esp, 0x18
cmp dword [edi + 0x7c], 0
jle 0x1003adc9
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x1003adc9
push dword [edi + 0xe8]
push dword [edi + 0xe4]
push eax
push dword [edi + 0x7c]
call fcn.1006ae07
add esp, 0x10
test eax, eax
jns 0x1003adc9
push dword [edi + 0xe8]
push dword [edi + 0xe4]
push str.ignoring_invalid_SAR:__u__u_n
push 0x18
push edi
call fcn.1006b450
add esp, 0x14
mov dword [edi + 0xe8], 1
and dword [edi + 0xe4], 0
push esi
call fcn.10039486
pop ecx
test eax, eax
je 0x1003ade1
lea eax, [edi + 0x350]
push eax
call fcn.1006c376
pop ecx
cmp dword [edi + 0x1a4], 0x40
ja 0x1003b614
mov eax, dword [edi + 8]
mov dword [edi + 0xc], esi
cmp eax, 0xffffffff
je 0x1003adfe
cmp eax, dword [esi + 8]
jne 0x1003ae10
cmp dword [edi + 0x30], 0
jne 0x1003ae10
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x30], eax
mov ecx, dword [edi + 0x30]
cmp ecx, dword [esi + 0xc]
jne 0x1003b604
mov eax, dword [edi + 8]
cmp eax, dword [esi + 8]
je 0x1003ae2d
cmp eax, 4
jne 0x1003b604
and dword [edi + 0x1b0], 0
push ecx
call sym.ffmpeg.dll_avcodec_descriptor_get
mov dword [edi + 0x384], eax
mov eax, dword [edi + 0xc]
pop ecx
test dword [eax + 0x10], 0x200
je 0x1003aec0
cmp dword [edi + 0x2a0], 0xfffffffe
jle 0x1003aec0
push esi
call fcn.100394a1
push 0xfffffffffffffffe
push dword [esi]
test eax, eax
mov ecx, str.decoder
mov ebx, str.encoder
cmove ebx, ecx
push ebx
push str.The__s__s_is_experimental_but_experimental_codecs_are_not_enabled__add__strict__d_if_you_want_to_use_it._n
push 0x10
push edi
call fcn.1006b450
push esi
call fcn.100394a1
add esp, 0x20
test eax, eax
je 0x1003ae8e
push 1
jmp 0x1003ae90
push 0
push dword [esi + 0xc]
call fcn.1003d761
pop ecx
pop ecx
test dword [eax + 0x10], 0x200
jne 0x1003aeb6
push dword [eax]
push ebx
push str.Alternatively_use_the_non_experimental__s__s._n
push 0x10
push edi
call fcn.1006b450
add esp, 0x14
mov ebx, 0xd44d5058
jmp 0x1003b617
xor eax, eax
inc eax
cmp dword [edi + 8], eax
jne 0x1003aee0
cmp dword [edi + 0x6c], 0
je 0x1003aed4
cmp dword [edi + 0x70], 0
jne 0x1003aee0
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x1a0]
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x24], 0
je 0x1003aef2
test byte [edi + 0x328], 1
jne 0x1003af09
push edi
call fcn.10045965
mov ebx, eax
mov dword [ebp - 0x294], ebx
pop ecx
test ebx, ebx
js 0x1003b617
mov eax, dword [edi + 0xc]
movzx ecx, byte [eax + 0x28]
mov eax, dword [edi + 0x318]
cmp ecx, eax
jl 0x1003af1e
test eax, eax
jns 0x1003af3c
push ecx
push str.The_maximum_value_for_lowres_supported_by_the_decoder_is__d_n
push 0x18
push edi
call fcn.1006b450
mov eax, dword [edi + 0xc]
add esp, 0x10
movzx eax, byte [eax + 0x28]
mov dword [edi + 0x318], eax
cmp dword [edi + 0x2ac], 0
je 0x1003af55
push str.The_vismv_option_is_deprecated__see_the_codecview_filter_instead._n
push 0x18
push edi
call fcn.1006b450
add esp, 0xc
push dword [edi + 0xc]
call fcn.100394a1
pop ecx
test eax, eax
je 0x1003b3d7
call sym.ffmpeg.dll_av_frame_alloc
mov dword [edi + 0x31c], eax
test eax, eax
je 0x1003ab9c
cmp dword [edi + 0x6c], 0
jle 0x1003b3cd
cmp dword [edi + 0x70], 0
jle 0x1003b3cd
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x1003b071
xor ecx, ecx
cmp dword [eax], 0xffffffff
mov dword [ebp - 0x298], ecx
je 0x1003b01d
xor edx, edx
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [edx + eax]
mov dword [ebp - 0x288], eax
cmp dword [edi + 0x1a8], eax
je 0x1003b017
cmp dword [edi + 0x1a4], 1
jne 0x1003afee
push dword [edi + 0x1a8]
call fcn.1006f6cf
push dword [ebp - 0x288]
mov esi, eax
call fcn.1006f6cf
pop ecx
pop ecx
mov ecx, dword [ebp - 0x298]
cmp esi, eax
je 0x1003b008
mov eax, dword [edi + 0xc]
inc ecx
mov edx, ecx
mov dword [ebp - 0x298], ecx
shl edx, 2
mov eax, dword [eax + 0x20]
cmp dword [edx + eax], 0xffffffff
jne 0x1003afaa
jmp 0x1003b017
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x1a8], eax
mov esi, dword [ebp - 0x28c]
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x20]
cmp dword [eax + ecx*4], 0xffffffff
jne 0x1003b071
push dword [edi + 0x1a8]
lea eax, [ebp - 0x84]
push 0x10155d8c
push 0x80
push eax
call fcn.1003e1ae
push dword [edi + 0x1a8]
call fcn.1006f744
test eax, eax
lea ecx, [ebp - 0x84]
cmovne ecx, eax
push ecx
push str.Specified_sample_format__s_is_invalid_or_not_supported_n
push 0x10
push edi
call fcn.1006b450
add esp, 0x24
jmp 0x1003b614
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x1003b115
mov eax, dword [ecx]
xor edx, edx
jmp 0x1003b08e
cmp dword [edi + 0x90], eax
je 0x1003b093
inc edx
mov eax, dword [ecx + edx*4]
cmp eax, 0xffffffff
jne 0x1003b082
mov eax, dword [ecx + edx*4]
cmp eax, 0xffffffff
jne 0x1003b0ed
cmp dword [edi + 0x30], 8
je 0x1003b0a7
cmp dword [edi + 0x30], 0xa
jne 0x1003b0b0
cmp dword [edi + 0x2a0], 0xffffffff
jle 0x1003b0ed
push dword [edi + 0x90]
lea eax, [ebp - 0x84]
push 0x10155d8c
push 0x80
push eax
call fcn.1003e1ae
push dword [edi + 0x90]
call fcn.1006ef63
test eax, eax
lea ecx, [ebp - 0x84]
cmovne ecx, eax
push ecx
push str.Specified_pixel_format__s_is_invalid_or_not_supported_n
jmp 0x1003b061
cmp eax, 0xc
je 0x1003b108
cmp eax, 0x13b
je 0x1003b108
cmp eax, 0xd
je 0x1003b108
cmp eax, 0x22
je 0x1003b108
cmp eax, 0xe
jne 0x1003b112
mov dword [edi + 0x190], 2
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x1003b156
mov ecx, dword [eax]
xor edx, edx
jmp 0x1003b12e
cmp dword [edi + 0x1a0], ecx
je 0x1003b132
inc edx
mov ecx, dword [eax + edx*4]
test ecx, ecx
jne 0x1003b122
cmp dword [eax + edx*4], 0
jne 0x1003b153
push dword [edi + 0x1a0]
push str.Specified_sample_rate__d_is_not_supported_n
push 0x10
push edi
call fcn.1006b450
add esp, 0x10
jmp 0x1003b614
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x1a0]
test eax, eax
jns 0x1003b163
push eax
jmp 0x1003b13e
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x1003b18c
mov eax, dword [edi + 0x1c0]
or eax, dword [edi + 0x1c4]
jne 0x1003b211
push str.Channel_layout_not_specified_n
push 0x18
push edi
call fcn.1006b450
add esp, 0xc
mov ecx, dword [edi + 0x1c0]
mov eax, ecx
mov edx, dword [edi + 0x1c4]
or eax, edx
je 0x1003b286
cmp dword [edi + 0x1a4], 0
je 0x1003b286
push edx
push ecx
call fcn.1006749d
pop ecx
pop ecx
mov dword [ebp - 0x288], eax
cmp eax, dword [edi + 0x1a4]
je 0x1003b29b
push dword [edi + 0x1c4]
lea eax, [ebp - 0x284]
push dword [edi + 0x1c0]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.10067519
push dword [edi + 0x1a4]
lea eax, [ebp - 0x284]
push dword [ebp - 0x288]
push eax
push str.Channel_layout__s_with__d_channels_does_not_match_number_of_specified_channels__d_n
push 0x10
push edi
call fcn.1006b450
add esp, 0x2c
jmp 0x1003b614
mov eax, dword [ecx]
xor edx, edx
or eax, dword [ecx + 4]
je 0x1003b249
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
cmp dword [edi + 0x1c0], esi
jne 0x1003b22f
cmp dword [edi + 0x1c4], ebx
je 0x1003b23d
mov ebx, dword [ecx + edx*8 + 0xc]
inc edx
mov esi, dword [ecx + edx*8]
mov eax, esi
or eax, ebx
jne 0x1003b21f
mov ebx, dword [ebp - 0x294]
mov esi, dword [ebp - 0x28c]
mov eax, dword [ecx + edx*8]
or eax, dword [ecx + edx*8 + 4]
jne 0x1003b18c
push dword [edi + 0x1c4]
lea eax, [ebp - 0x284]
push dword [edi + 0x1c0]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.10067519
lea eax, [ebp - 0x284]
push eax
push str.Specified_channel_layout__s_is_not_supported_n
jmp 0x1003b061
mov eax, ecx
or eax, edx
je 0x1003b29b
push edx
push ecx
call fcn.1006749d
pop ecx
pop ecx
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x1a4]
test eax, eax
jns 0x1003b2b0
push eax
push str.Specified_number_of_channels__d_is_not_supported_n
jmp 0x1003b143
cmp dword [edi + 8], 0
jne 0x1003b31f
push dword [edi + 0x90]
call fcn.1006efec
pop ecx
mov ecx, dword [edi + 0x314]
mov dword [ebp - 0x288], eax
test ecx, ecx
js 0x1003b2dd
cmp ecx, 8
jle 0x1003b300
cmp dword [eax + 0x20], 8
jg 0x1003b300
push dword [eax + 0x20]
push ecx
push str.Specified_bit_depth__d_not_possible_with_the_specified_pixel_formats_depth__d_n
push 0x18
push edi
call fcn.1006b450
mov eax, dword [ebp - 0x288]
add esp, 0x14
mov eax, dword [eax + 0x20]
mov dword [edi + 0x314], eax
cmp dword [edi + 0x7c], 0
jle 0x1003b30f
cmp dword [edi + 0x80], 0
jg 0x1003b319
push str.dimensions_not_set_n
jmp 0x1003b609
cmp dword [edi + 8], 0
je 0x1003b325
cmp dword [edi + 8], 1
jne 0x1003b356
mov ecx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
test ecx, ecx
jl 0x1003b356
jg 0x1003b356
test eax, eax
je 0x1003b356
test ecx, ecx
jg 0x1003b356
jl 0x1003b342
cmp eax, 0x3e8
jae 0x1003b356
push ecx
push eax
push ecx
push eax
push str.Bitrate__lld_is_extremely_low__maybe_you_mean__lldk_n
push 0x18
push edi
call fcn.1006b450
add esp, 0x1c
cmp dword [edi + 0x230], 0
jne 0x1003b375
imul eax, dword [edi + 0x200], 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [edi + 0x230], eax
cmp dword [edi + 0x74], 0
je 0x1003b3ab
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x1003b3ab
mov eax, 0x7fffffff
cdq
idiv ecx
cmp dword [edi + 0x74], eax
jle 0x1003b3ab
push dword [edi + 0x70]
push ecx
push dword [edi + 0x74]
push str.ticks_per_frame__d_too_large_for_the_timebase__d__d.
push 0x10
push edi
call fcn.1006b450
add esp, 0x18
jmp 0x1003b617
mov eax, dword [edi + 0x3d0]
test eax, eax
je 0x1003b3d7
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x24]
cmp eax, dword [edi + 0x90]
je 0x1003b3d7
push str.Mismatching_AVCodecContext.pix_fmt_and_AVHWFramesContext.format_n
jmp 0x1003b609
push str.The_encoder_timebase_is_not_set._n
jmp 0x1003b609
xor edx, edx
mov eax, 0x80000000
test dword [edi + 0x5c], 0x2000
mov dword [edi + 0x390], edx
mov dword [edi + 0x394], edx
mov dword [edi + 0x388], edx
mov dword [edi + 0x38c], edx
mov dword [edi + 0x3a0], edx
mov dword [edi + 0x3a4], eax
mov dword [edi + 0x398], edx
mov dword [edi + 0x39c], eax
je 0x1003b434
mov eax, dword [edi + 0x384]
cmp dword [eax + 4], edx
jne 0x1003b434
push str.gray_decoding_requested_but_not_enabled_at_configuration_time_n
push 0x18
push edi
call fcn.1006b450
add esp, 0xc
xor edx, edx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x1003b45d
test byte [edi + 0x328], 1
je 0x1003b44f
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x24], edx
je 0x1003b45d
push edi
call ecx
mov ebx, eax
pop ecx
test ebx, ebx
js 0x1003b617
push dword [edi + 0xc]
xor ebx, ebx
call fcn.100394a1
pop ecx
test eax, eax
je 0x1003b475
mov eax, dword [edi + 0x36c]
mov dword [edi + 0x78], eax
push dword [edi + 0xc]
call fcn.10039486
pop ecx
test eax, eax
je 0x1003b5a9
mov eax, dword [edi + 0x48]
or eax, dword [edi + 0x4c]
jne 0x1003b49b
push edi
call fcn.1003dd9a
pop ecx
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
mov ecx, dword [edi + 0x1c0]
mov eax, ecx
mov edx, dword [edi + 0x1c4]
or eax, edx
je 0x1003b520
push edx
push ecx
call fcn.1006749d
pop ecx
pop ecx
mov ecx, dword [edi + 0x1a4]
mov dword [ebp - 0x288], eax
test ecx, ecx
jne 0x1003b4ce
mov dword [edi + 0x1a4], eax
jmp 0x1003b520
cmp eax, ecx
je 0x1003b520
push dword [edi + 0x1c4]
lea eax, [ebp - 0x284]
push dword [edi + 0x1c0]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.10067519
push dword [edi + 0x1a4]
lea eax, [ebp - 0x284]
push dword [ebp - 0x288]
push eax
push str.Channel_layout__s_with__d_channels_does_not_match_specified_number_of_channels__d:_ignoring_specified_channel_layout_n
push 0x18
push edi
call fcn.1006b450
and dword [edi + 0x1c0], ebx
add esp, 0x2c
and dword [edi + 0x1c4], ebx
mov eax, dword [edi + 0x1a4]
test eax, eax
je 0x1003b530
js 0x1003b614
cmp eax, 0x40
ja 0x1003b614
cmp dword [edi + 0x3a8], ebx
je 0x1003b57a
cmp dword [edi + 8], 3
je 0x1003b551
push str.Character_encoding_is_only_supported_with_subtitles_codecs_n
jmp 0x1003b609
mov eax, dword [edi + 0x384]
test dword [eax + 0x10], 0x10000
je 0x1003b5d5
push dword [eax + 8]
push str.Codec__s_is_bitmap_based__subtitles_character_encoding_will_be_ignored_n
push 0x18
push edi
call fcn.1006b450
add esp, 0x10
or dword [edi + 0x3ac], 0xffffffff
cmp dword [edi + 0x370], ebx
jle 0x1003b5a9
cmp dword [edi + 0x374], ebx
jle 0x1003b5a9
push 1
push dword [edi + 0x74]
push dword [edi + 0x374]
push dword [edi + 0x370]
call fcn.1006f3a8
add esp, 0x10
mov dword [edi + 0x6c], edx
mov dword [edi + 0x70], eax
cmp dword [esi + 0x34], ebx
jle 0x1003b6ad
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x1003b6ad
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1003b6ad
cmp dword [ecx], eax
je 0x1003b6ad
jmp 0x1003b6d4
cmp dword [edi + 0x3ac], ebx
jne 0x1003b5e7
mov dword [edi + 0x3ac], 1
cmp dword [edi + 0x3ac], 1
jne 0x1003b57a
push str.Character_encoding_subtitles_conversion_needs_a_libavcodec_built_with_iconv_support_for_this_codec_n
push 0x10
push edi
call fcn.1006b450
add esp, 0xc
push 0xffffffffffffffd8
jmp 0x1003b616
push str.Codec_type_or_id_mismatches_n
push 0x10
push edi
call fcn.1006b450
add esp, 0xc
push 0xffffffffffffffea
pop ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1003b629
test byte [eax + 0x74], 2
je 0x1003b629
push edi
call dword [eax + 0x5c]
pop ecx
cmp dword [esi + 0x2c], 0
je 0x1003b63e
cmp dword [esi + 0x34], 0
je 0x1003b63e
push dword [edi + 0x3c]
call fcn.1006c8ef
pop ecx
push edi
call fcn.1006c8ef
lea eax, [edi + 0x31c]
push eax
call sym.ffmpeg.dll_av_frame_free
lea eax, [ebp - 0x290]
push eax
call sym.ffmpeg.dll_av_dict_free
lea eax, [edi + 0x3c]
push eax
call fcn.1006c376
mov eax, dword [edi + 0x40]
add esp, 0x10
test eax, eax
je 0x1003b69f
add eax, 0x34
push eax
call fcn.1003eae3
mov eax, dword [edi + 0x40]
add eax, 0x3c
push eax
call sym.ffmpeg.dll_av_frame_free
mov eax, dword [edi + 0x40]
add eax, 0xc
push eax
call sym.ffmpeg.dll_av_frame_free
mov eax, dword [edi + 0x40]
add eax, 0x10
push eax
call fcn.1006c376
add esp, 0x10
lea eax, [edi + 0x40]
push eax
call fcn.1006c376
and dword [edi + 0xc], 0
pop ecx
push esi
call fcn.1003d6ef
mov esi, dword [ebp - 0x29c]
pop ecx
test esi, esi
je 0x1003b6cd
push esi
call sym.ffmpeg.dll_av_dict_free
mov eax, dword [ebp - 0x290]
pop ecx
mov dword [esi], eax
mov eax, ebx
jmp 0x1003ab08
push 0x693
push str.c:userselectronworkspacelibchromiumcontent_win_ia32_src_third_party_ffmpeglibavcodecutils.c
push str._const_AVClass__avctx__priv_data__codec__priv_class
push str.Assertion__s_failed_at__s:_d_n
push 0
push 0
call fcn.1006b450
add esp, 0x18
call fcn.10136f67
int3