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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x250
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x66ae55
mov eax, dword [esp + 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
test edx, edx
je 0x66b2c2
cmp dword [ebp + 0xc], eax
je 0x66ae70
test eax, eax
jne 0x66b320
cmp dword [ebx + 0x68], 0xfffffdf
ja 0x66b394
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x66aea1
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0
mov eax, dword [eax]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.0087c110
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0066ac30
test eax, eax
mov dword [esp + 0x38], eax
js 0x66ae49
mov dword [esp], 0x48
call fcn.00894240
test eax, eax
mov esi, eax
mov dword [ebx + 0x40], eax
je 0x66b310
mov dword [esp], 0x58
call fcn.00894240
mov dword [esi + 0x10], eax
mov esi, dword [ebx + 0x40]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x66b1a0
call fcn.0088bb20
mov dword [esi + 0xc], eax
mov esi, dword [ebx + 0x40]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x66b1a0
call fcn.0088bb20
mov dword [esi + 0x3c], eax
mov esi, dword [ebx + 0x40]
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x66b1a0
call fcn.005d0ed0
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x66b1a0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x34]
test eax, eax
jle 0x66b380
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x66b640
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
test eax, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], eax
je 0x66af76
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call fcn.0089b0a0
test eax, eax
mov dword [esp + 0x38], eax
js 0x66b1b0
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0089b0a0
test eax, eax
mov dword [esp + 0x38], eax
js 0x66b1b0
mov eax, dword [ebx + 0x3c0]
test eax, eax
je 0x66afbd
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0x2c
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00875a90
test eax, eax
jle 0x66b5da
mov eax, dword [ebx + 0x84]
test eax, eax
mov edi, eax
je 0x66b354
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x66b424
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x66b015
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x66b015
mov eax, dword [ebx + 0x30]
cmp eax, 0x1c
mov dword [esp + 0x30], eax
setne dl
cmp eax, 0x5d
setne al
test al, dl
je 0x66b431
cmp dword [esp + 0x30], 0xbe
je 0x66b431
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp], edi
mov dword [esp + 0x30], ecx
call fcn.0088fbd0
test eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
js 0x66b670
mov eax, edi
mov edx, ecx
neg eax
neg edx
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebx + 0x318]
mov dword [ebx + 0x84], edi
sar eax, cl
sar edx, cl
neg eax
neg edx
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], edx
mov edi, dword [esp + 0x38]
test edi, edi
js 0x66b1b0
mov edx, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x88]
test edx, edx
jne 0x66b0a0
test ecx, ecx
jne 0x66b0a0
mov esi, dword [ebx + 0x7c]
test esi, esi
je 0x66b369
mov edx, ecx
lea esi, [esi]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0088fbd0
test eax, eax
js 0x66b438
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp], eax
call fcn.0088fbd0
test eax, eax
js 0x66b438
mov eax, dword [ebx + 0x7c]
test eax, eax
jle 0x66b122
mov edi, dword [ebx + 0x80]
test edi, edi
jle 0x66b122
mov edx, dword [ebx + 0xe4]
mov ecx, dword [ebx + 0xe8]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0088fe40
test eax, eax
js 0x66b826
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x58]
test edx, edx
je 0x66b630
lea eax, [ebx + 0x350]
mov dword [esp], eax
call fcn.00894200
cmp dword [ebx + 0x1a4], 0x40
ja 0x66b417
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x66b49a
mov edi, dword [ebp + 0xc]
cmp eax, dword [edi + 8]
je 0x66b49a
mov edx, dword [ebx + 0x30]
mov edi, dword [ebp + 0xc]
cmp edx, dword [edi + 0xc]
je 0x66b612
mov dword [esp + 8], str.Codec_type_or_id_mismatches_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xfffffff4
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x30], eax
je 0x66b1c5
test byte [eax + 0x74], 2
jne 0x66b2f2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x66b1da
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x66b300
mov dword [esp], ebx
call fcn.008995c0
lea eax, [ebx + 0x31c]
mov dword [esp], eax
call fcn.0088bc50
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0087c0b0
lea eax, [ebx + 0x3c]
mov dword [esp], eax
call fcn.00894200
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x66b243
add eax, 0x34
mov dword [esp], eax
call fcn.005d0fc0
mov eax, dword [ebx + 0x40]
add eax, 0x3c
mov dword [esp], eax
call fcn.0088bc50
mov eax, dword [ebx + 0x40]
add eax, 0xc
mov dword [esp], eax
call fcn.0088bc50
mov eax, dword [ebx + 0x40]
add eax, 0x10
mov dword [esp], eax
call fcn.00894200
lea eax, [ebx + 0x40]
mov dword [esp], eax
call fcn.00894200
mov dword [ebx + 0xc], 0
mov eax, dword [ebp + 0xc]
test byte [eax + 0x74], 1
jne 0x66b29e
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x66b29e
mov eax, dword [0x101c640]
test eax, eax
je 0x66c380
mov dword [0x101c640], 0
lock sub dword [0xfa132c], 1
mov eax, dword [0xc13ee8]
test eax, eax
je 0x66b29e
mov dword [esp + 4], 2
mov dword [esp], 0xfa1328
call eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x66ae49
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0087c0b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x66ae49
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x66ae70
mov dword [esp + 8], str.No_codec_provided_to_avcodec_open2___n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66ae49
mov dword [esp], ebx
call dword [eax + 0x5c]
jmp 0x66b1c5
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call fcn.008995c0
jmp 0x66b1da
mov dword [esp + 0x38], 0xfffffff4
jmp 0x66b255
mov edx, dword [ebp + 0xc]
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 fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66ae49
mov edx, dword [ebx + 0x7c]
test edx, edx
jne 0x66b3a1
mov ecx, dword [ebx + 0x88]
test ecx, ecx
jne 0x66b0a0
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x66b122
xor ecx, ecx
xor edx, edx
jmp 0x66b0a0
mov dword [ebx + 0x3c], 0
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], eax
jmp 0x66af76
mov dword [esp + 0x38], 0xffffffea
jmp 0x66ae49
mov eax, dword [ebx + 0x80]
test eax, eax
mov esi, eax
jne 0x66b580
mov ecx, dword [ebx + 0x88]
mov edx, edi
jmp 0x66b084
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00878a10
mov edx, dword [ebx + 0x1a4]
test edx, edx
jne 0x66c0aa
mov dword [ebx + 0x1a4], eax
cmp dword [ebx + 0x1a4], 0x40
ja 0x66b417
mov eax, dword [ebx + 0x3a8]
test eax, eax
je 0x66ba9f
cmp dword [ebx + 8], 3
je 0x66ba56
mov dword [esp + 8], str.Character_encoding_is_only_supported_with_subtitles_codecs_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov edx, dword [ebx + 0x7c]
test edx, edx
jne 0x66b3a1
mov ecx, edx
mov edx, edi
jmp 0x66b0a0
mov dword [esp + 8], str.Ignoring_invalid_width_height_values_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0088fbd0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
jmp 0x66b122
mov edx, dword [ebx + 0x30]
test edx, edx
jne 0x66b16c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x1b0], 0
mov dword [esp], edx
call fcn.005d67b0
mov dword [ebx + 0x384], eax
mov eax, dword [ebx + 0xc]
test byte [eax + 0x11], 2
je 0x66b67d
cmp dword [ebx + 0x2a0], 0xffffffff
jl 0x66b67d
mov eax, dword [ebp + 0xc]
mov esi, str.encoder
cmp dword [eax + 0x50], 0
je 0x66bca8
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], 0xfffffffe
mov eax, dword [eax]
mov dword [esp + 0xc], esi
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
call fcn.00891920
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x50], 0
je 0x66bc14
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edi, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov eax, dword [0xfa1320]
test eax, eax
jne 0x66b55b
jmp 0x66b874
mov eax, dword [eax + 0x38]
test eax, eax
je 0x66b9c4
cmp dword [eax + 0x50], 0
je 0x66b80d
cmp edx, dword [eax + 0xc]
jne 0x66b550
test byte [eax + 0x11], 2
je 0x66c42c
test ecx, ecx
jne 0x66c42c
mov ecx, eax
jmp 0x66b550
mov dword [esp], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp + 0x30], edx
call fcn.0088fbd0
test eax, eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x30]
js 0x66b86b
mov ecx, dword [ebx + 0x318]
mov eax, esi
mov dword [ebx + 0x84], edx
neg eax
neg edx
mov dword [ebx + 0x88], esi
sar edx, cl
sar eax, cl
neg edx
neg eax
mov dword [ebx + 0x7c], edx
mov dword [ebx + 0x80], eax
jmp 0x66b06c
mov eax, dword [ebx + 0x3c0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], str.Codec___s__not_on_whitelist__s_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
cmp dword [edi + 8], eax
je 0x66b4b7
cmp eax, 4
jne 0x66b178
jmp 0x66b4b7
mov eax, dword [eax + 0x64]
test eax, eax
jne 0x66b130
jmp 0x66b13e
mov dword [esp], eax
call fcn.00894240
test eax, eax
mov dword [ebx + 0x3c], eax
je 0x66b310
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x66b387
mov dword [eax], edx
mov dword [esp], eax
call fcn.00899480
jmp 0x66af49
xor edx, edx
xor eax, eax
xor ecx, ecx
xor edi, edi
jmp 0x66b049
cmp dword [ebx + 8], 1
je 0x66ba31
cmp dword [eax + 0x50], 0
je 0x66bb4d
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0066adb0
xor eax, eax
cmp dword [ebp + 0x10], 0
je 0x66b6a9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.006b4a60
mov edi, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0066ac30
test edi, edi
js 0x66b1b0
mov eax, dword [ebx + 0x40]
cmp dword [eax + 0x24], 0
je 0x66b6e4
test byte [ebx + 0x328], 1
jne 0x66b6f8
mov dword [esp], ebx
call fcn.00762430
test eax, eax
mov dword [esp + 0x38], eax
js 0x66b1b0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x318]
movzx edx, byte [ecx + 0x28]
cmp edx, eax
jl 0x66ba03
shr eax, 0x1f
test al, al
jne 0x66ba03
cmp dword [ebx + 0x2ac], 0
je 0x66b73c
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 fcn.00891920
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x66b88f
cmp dword [ecx + 0x50], 0
je 0x66b87b
call fcn.0088bb20
test eax, eax
mov dword [ebx + 0x31c], eax
je 0x66b1a8
cmp dword [ebx + 0x6c], 0
jle 0x66bc76
cmp dword [ebx + 0x70], 0
jle 0x66bc76
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esp + 0x30], eax
je 0x66bb66
mov edx, dword [eax]
mov eax, dword [ebx + 0x1a8]
cmp edx, 0xffffffff
je 0x66c1c4
cmp eax, edx
je 0x66bb66
xor edx, edx
mov edi, dword [esp + 0x38]
mov esi, edx
jmp 0x66b7cb
mov edx, dword [esp + 0x30]
add esi, 4
mov edx, dword [edx + esi]
cmp edx, 0xffffffff
je 0x66c1c4
cmp edx, eax
je 0x66c280
cmp dword [ebx + 0x1a4], 1
jne 0x66b7b0
mov dword [esp], eax
call fcn.008a70a0
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.008a70a0
cmp dword [esp + 0x38], eax
je 0x66c19c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x1a8]
jmp 0x66b7b0
cmp dword [eax + 0x54], 0
jne 0x66b565
cmp dword [eax + 0x60], 0
jne 0x66b565
jmp 0x66b550
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xe4]
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 fcn.00891920
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 1
jmp 0x66b122
xor esi, esi
xor edx, edx
jmp 0x66b5ac
mov eax, dword [0x10]
ud2
cmp dword [ecx + 0x54], 0
jne 0x66b74e
cmp dword [ecx + 0x60], 0
jne 0x66b74e
test byte [ebx + 0x5d], 0x20
mov dword [ebx + 0x390], 0
mov dword [ebx + 0x394], 0
mov dword [ebx + 0x388], 0
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 0x66b909
mov eax, dword [ebx + 0x384]
cmp dword [eax + 4], 0
jne 0x66b909
mov dword [esp + 8], str.gray_decoding_requested_but_not_enabled_at_configuration_time_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.00891920
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x66b939
test byte [ebx + 0x328], 1
je 0x66b925
mov edx, dword [ebx + 0x40]
cmp dword [edx + 0x24], 0
je 0x66b939
mov dword [esp], ebx
call eax
test eax, eax
mov dword [esp + 0x38], eax
js 0x66b1b0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
mov dword [esp + 0x30], ecx
je 0x66bade
cmp dword [ecx + 0x50], 0
je 0x66c394
mov eax, dword [ebx + 0x36c]
mov dword [ebx + 0x78], eax
cmp dword [ecx + 0x58], 0
je 0x66c385
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
mov edi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
or edi, eax
jne 0x66b990
mov edx, dword [ebx + 8]
cmp edx, 1
je 0x66c12d
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x1c4]
mov edx, dword [ebx + 0x1c0]
mov edi, eax
or edi, edx
jne 0x66b3be
cmp dword [ebx + 0x1a4], 0x40
jbe 0x66b3e7
mov dword [esp + 0x38], 0xffffffea
mov eax, dword [esp + 0x30]
jmp 0x66b1bb
mov dword [esp + 0x34], edi
mov eax, ecx
test byte [eax + 0x11], 2
mov dword [esp + 0x38], 0xd44d5058
jne 0x66b1b0
mov eax, dword [eax]
mov dword [esp + 0xc], esi
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
call fcn.00891920
jmp 0x66b1b0
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.The_maximum_value_for_lowres_supported_by_the_decoder_is__d_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.00891920
mov ecx, dword [ebx + 0xc]
movzx eax, byte [ecx + 0x28]
mov dword [ebx + 0x318], eax
jmp 0x66b718
cmp dword [ebx + 0x6c], 0
je 0x66ba41
cmp dword [ebx + 0x70], 0
jne 0x66b687
mov edx, dword [ebx + 0x1a0]
mov dword [ebx + 0x6c], 1
mov dword [ebx + 0x70], edx
jmp 0x66b687
mov edx, dword [ebx + 0x384]
test byte [edx + 0x12], 1
jne 0x66c3fe
mov edx, dword [ebx + 0x3ac]
test edx, edx
jne 0x66c3f0
mov dword [ebx + 0x3ac], 1
mov dword [esp + 4], eax
mov dword [esp], 0xc9e89a
call fcn.008cdf20
cmp eax, 0xffffffff
je 0x66c3bc
mov dword [esp], eax
call fcn.008ce420
cmp dword [ebx + 0x370], 0
jle 0x66bade
cmp dword [ebx + 0x374], 0
jle 0x66bade
mov eax, dword [ebx + 0x74]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x370]
mov edx, dword [ebx + 0x374]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.008a0550
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x34], 0
jle 0x66bc9b
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x66bc9b
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x66b255
cmp edx, dword [eax]
je 0x66b255
mov dword [esp + 0x14], 0x698
mov dword [esp + 0x10], str.libavcodec_utils.c
mov dword [esp + 0xc], str._const_AVClass__avctx__priv_data__codec__priv_class
mov dword [esp + 8], 0xc9d2cc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00891920
call sub.msvcrt.dll_abort
cmp dword [eax + 0x54], 0
jne 0x66b691
cmp dword [eax + 0x60], 0
jne 0x66b691
jmp 0x66b6d2
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x66bcf4
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x66bb8a
add edx, 4
cmp eax, dword [ebx + 0x90]
je 0x66bcc6
mov eax, dword [edx]
cmp eax, 0xffffffff
jne 0x66bb7b
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
and eax, 0xfffffffd
cmp eax, 8
jne 0x66bbb1
cmp dword [ebx + 0x2a0], 0
js 0x66bcf4
mov eax, dword [ebx + 0x90]
lea esi, [esp + 0x50]
mov dword [esp + 8], 0xc9f3f4
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.00bd2660
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
call fcn.0089e1e0
test eax, eax
je 0x66bbeb
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Specified_pixel_format__s_is_invalid_or_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
cmp dword [eax + 0x54], 0
jne 0x66b535
cmp dword [eax + 0x60], 0
jne 0x66b535
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edi, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov eax, dword [0xfa1320]
test eax, eax
jne 0x66bc4d
jmp 0x66b874
mov eax, dword [eax + 0x38]
test eax, eax
je 0x66b9c4
cmp dword [eax + 0x58], 0
je 0x66bc6e
cmp edx, dword [eax + 0xc]
jne 0x66bc42
test byte [eax + 0x11], 2
je 0x66c42c
test ecx, ecx
jne 0x66c42c
mov ecx, eax
jmp 0x66bc42
cmp dword [eax + 0x64], 0
jne 0x66bc53
jmp 0x66bc42
mov dword [esp + 8], str.The_encoder_timebase_is_not_set._n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov dword [esp + 0x38], 0
jmp 0x66b255
cmp dword [eax + 0x54], 0
jne 0x66b4fb
cmp dword [eax + 0x60], 0
jne 0x66b4fb
mov esi, str.decoder
jmp 0x66b4fb
cmp eax, 0x13b
mov dword [esp + 0x34], edi
mov edi, eax
sete al
cmp edi, 0x22
mov dword [esp + 0x38], esi
sete dl
or al, dl
jne 0x66c3ad
mov eax, edi
sub eax, 0xc
cmp eax, 2
jbe 0x66c3ad
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x66bd51
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x66bd10
add eax, 4
cmp edx, dword [ebx + 0x1a0]
je 0x66bd49
mov edx, dword [eax]
test edx, edx
jne 0x66bd05
mov eax, dword [ebx + 0x1a0]
mov dword [esp + 0x34], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Specified_sample_rate__d_is_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov eax, dword [ebx + 0x1a0]
test eax, eax
js 0x66bd20
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x66c08f
mov edi, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c4]
mov dword [esp + 0x28], edx
or edx, edi
mov dword [esp + 0x30], edi
je 0x66c077
mov edi, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, edx
or esi, ecx
je 0x66c01e
add eax, 8
cmp dword [esp + 0x28], edx
jne 0x66bd86
cmp dword [esp + 0x30], ecx
jne 0x66bd86
mov dword [esp + 0x34], edi
cmp dword [ebx + 0x1a4], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
jne 0x66bf9e
call fcn.00878a10
mov dword [ebx + 0x1a4], eax
mov eax, dword [ebx + 0x1a4]
test eax, eax
js 0x66bf75
cmp dword [ebx + 8], 0
je 0x66bee4
cmp dword [ebx + 8], 1
jbe 0x66be92
cmp dword [ebx + 0x230], 0
jne 0x66be07
imul eax, dword [ebx + 0x200], 3
mov ecx, 4
cdq
idiv ecx
mov dword [ebx + 0x230], eax
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x66be21
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x66be21
mov eax, 0x7fffffff
cdq
idiv ecx
cmp edi, eax
jg 0x66be66
mov eax, dword [ebx + 0x3d0]
test eax, eax
je 0x66b88f
mov eax, dword [eax + 4]
mov edi, dword [ebx + 0x90]
cmp dword [eax + 0x24], edi
je 0x66b88f
mov dword [esp + 8], str.Mismatching_AVCodecContext.pix_fmt_and_AVHWFramesContext.format_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.ticks_per_frame__d_too_large_for_the_timebase__d__d.
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x14], eax
call fcn.00891920
jmp 0x66b1b0
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
mov esi, eax
mov edi, edx
add esi, 0xffffffff
adc edi, 0xffffffff
cmp edi, 0
ja 0x66bde9
cmp esi, 0x3e6
ja 0x66bde9
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], str.Bitrate__I64d_is_extremely_low__maybe_you_mean__I64dk_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.00891920
jmp 0x66bde9
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
call fcn.0089e510
mov edx, eax
mov eax, dword [ebx + 0x314]
test eax, eax
js 0x66bf09
cmp eax, 8
jle 0x66bf3d
cmp dword [edx + 0x20], 8
jg 0x66bf3d
mov ecx, dword [edx + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Specified_bit_depth__d_not_possible_with_the_specified_pixel_formats_depth__d_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ecx
call fcn.00891920
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x314], eax
cmp dword [ebx + 0x7c], 0
jle 0x66bf50
cmp dword [ebx + 0x80], 0
jg 0x66bddf
mov dword [esp + 8], str.dimensions_not_set_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Specified_number_of_channels__d_is_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
call fcn.00878a10
cmp eax, dword [ebx + 0x1a4]
mov dword [esp + 0x30], eax
je 0x66bdc7
mov eax, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c4]
lea esi, [esp + 0x50]
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 fcn.008789b0
mov edx, dword [ebx + 0x1a4]
mov eax, dword [esp + 0x30]
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 dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x50]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x200
mov dword [esp + 0x34], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
call fcn.008789b0
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Specified_channel_layout__s_is_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
mov dword [esp + 8], str.Channel_layout_not_specified_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.00891920
mov edx, dword [ebx + 0x1c4]
mov ecx, dword [ebx + 0x1c0]
mov eax, edx
or eax, ecx
je 0x66bdc7
jmp 0x66bda8
cmp eax, edx
mov dword [esp + 0x38], eax
je 0x66b3de
mov eax, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c4]
lea esi, [esp + 0x50]
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 fcn.008789b0
mov edx, dword [ebx + 0x1a4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], 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 + 0x10], eax
call fcn.00891920
mov dword [ebx + 0x1c0], 0
mov dword [ebx + 0x1c4], 0
jmp 0x66b3de
mov eax, dword [ebx + 0x30]
lea ecx, [eax - 0x11000]
cmp ecx, 0x11
ja 0x66c243
shl edx, cl
mov esi, 4
test edx, 0xa043
je 0x66c221
mov eax, dword [ebx + 0x1a4]
mov dword [esp + 0x28], esi
imul dword [ebx + 0x1a0]
mov dword [esp + 0x38], eax
mov eax, esi
mov dword [esp + 0x3c], edx
sar eax, 0x1f
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x38]
imul edx, esi
mov eax, dword [esp + 0x38]
add ecx, edx
mul esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
add dword [esp + 0x3c], ecx
jmp 0x66b982
mov ecx, dword [ebx + 0xc]
mov edx, esi
mov dword [esp + 0x38], edi
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + esi]
mov dword [ebx + 0x1a8], eax
mov eax, dword [ecx + 0x20]
cmp dword [eax + edx], 0xffffffff
jne 0x66bb66
mov eax, dword [ebx + 0x1a8]
lea esi, [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xc9f3f4
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
call fcn.00bd2660
mov eax, dword [ebx + 0x1a8]
mov dword [esp], eax
call fcn.008a6e40
test eax, eax
jne 0x66c1f8
mov eax, esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Specified_sample_format__s_is_invalid_or_not_supported_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00891920
mov dword [esp + 0x38], 0xffffffea
jmp 0x66b1b0
test edx, 0x20000
mov esi, 2
jne 0x66c152
and edx, 0x10000
mov esi, 3
jne 0x66c152
cmp eax, 0x1001d
je 0x66c322
ja 0x66c2f1
cmp eax, 0x10010
jbe 0x66c2d0
cmp eax, 0x10015
jbe 0x66c2ad
cmp eax, 0x1001b
je 0x66c2a3
ja 0x66c28b
cmp eax, 0x10017
ja 0x66b982
mov esi, 0x40
jmp 0x66c152
mov edx, esi
mov dword [esp + 0x38], edi
jmp 0x66c1b1
mov esi, 0x18
jmp 0x66c152
sub eax, 0x15805
cmp eax, 3
ja 0x66b982
mov esi, 8
jmp 0x66c152
cmp eax, 0x10014
jae 0x66c322
cmp eax, 0x10011
je 0x66c2a3
cmp eax, 0x10012
jne 0x66b982
mov esi, 0x10
jmp 0x66c152
cmp eax, 0x1000c
jae 0x66c28b
cmp eax, 0x10007
ja 0x66c322
cmp eax, 0x10004
jae 0x66c2a3
cmp eax, 0x10000
jae 0x66c2c6
jmp 0x66b982
cmp eax, 0x1101d
ja 0x66c34f
cmp eax, 0x1101c
jae 0x66c345
cmp eax, 0x11004
je 0x66c345
ja 0x66c32c
cmp eax, 0x1001e
je 0x66c2c6
sub eax, 0x10800
cmp eax, 1
jbe 0x66c276
jmp 0x66b982
mov esi, 0x20
jmp 0x66c152
cmp eax, 0x1100e
je 0x66c345
cmp eax, 0x11017
je 0x66c345
cmp eax, 0x1100c
jne 0x66b982
mov esi, 4
jmp 0x66c152
cmp eax, 0x15038
ja 0x66c295
cmp eax, 0x15037
jae 0x66c345
cmp eax, 0x11807
je 0x66c345
cmp eax, 0x14800
je 0x66c2a3
cmp eax, 0x11801
jne 0x66b982
jmp 0x66c345
call fcn.00bea158
cmp dword [ecx + 0x64], 0
jne 0x66b962
jmp 0x66bade
cmp dword [ecx + 0x54], 0
jne 0x66b94f
cmp dword [ecx + 0x60], 0
jne 0x66b94f
jmp 0x66b958
mov dword [ebx + 0x190], 2
jmp 0x66bcf4
call sub.msvcrt.dll__errno
mov esi, dword [eax]
mov eax, dword [ebx + 0x3a8]
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
neg esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], esi
call fcn.00891920
jmp 0x66b1b0
sub edx, 1
jne 0x66ba9f
jmp 0x66ba7e
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 fcn.00891920
mov dword [ebx + 0x3ac], 0xffffffff
jmp 0x66ba9f
mov dword [esp + 0x34], edi
jmp 0x66b9ca