Function at 0x100b05f1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x102d4a48]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x29c], ebx
cmp dword [edi + 0x1c], ebx
je 0x100b0633
xor eax, eax
jmp 0x100b0651
mov eax, dword [edi + 0xc]
test esi, esi
jne 0x100b06ad
test eax, eax
jne 0x100b0660
push str.No_codec_provided_to_avcodec_open2___n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0xc
push 0xffffffffffffffea
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9cb
leave
ret
mov esi, eax
mov dword [ebp - 0x294], esi
cmp dword [edi + 0x48], 0xfffffbf
ja 0x100b064e
test ecx, ecx
je 0x100b0687
push ebx
push dword [ecx]
lea eax, [ebp - 0x29c]
push eax
call fcn.101d3784
add esp, 0xc
push esi
push edi
call fcn.100b24dd
push 0x88
call fcn.101d0768
add esp, 0xc
mov dword [ebp - 0x288], eax
test eax, eax
jne 0x100b06cb
push 0xfffffffffffffff4
pop ebx
jmp 0x100b1439
test eax, eax
je 0x100b0668
cmp esi, eax
je 0x100b0668
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.101ceb2e
add esp, 0x14
jmp 0x100b064e
mov dword [edi + 0x1c], eax
call fcn.101cf1cf
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 8], eax
call fcn.101cf1cf
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x54], eax
call fcn.100b2ede
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x58], eax
call fcn.101cf1cf
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x40], eax
call fcn.100b2ede
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x3c], eax
call fcn.101cf1cf
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x2c], eax
call fcn.100b2ede
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x14], eax
call fcn.100b2ede
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x288]
cmp dword [eax + 0x54], ebx
je 0x100b12fb
cmp dword [eax + 0x58], ebx
je 0x100b12fb
cmp dword [eax + 0x40], ebx
je 0x100b12fb
cmp dword [eax + 0x3c], ebx
je 0x100b12fb
cmp dword [eax + 0x2c], ebx
je 0x100b12fb
cmp dword [eax + 0x14], ebx
je 0x100b12fb
cmp dword [eax + 8], ebx
je 0x100b12fb
cmp dword [eax + 0x1c], ebx
je 0x100b12fb
mov dword [eax + 0x60], 1
cmp dword [esi + 0x38], ebx
jle 0x100b07e5
cmp dword [edi + 0x18], ebx
jne 0x100b07c3
push dword [esi + 0x38]
call fcn.101d0768
mov dword [edi + 0x18], eax
pop ecx
test eax, eax
je 0x100b06a5
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100b07c3
mov dword [eax], ecx
push dword [edi + 0x18]
call fcn.101d4e57
pop ecx
cmp dword [esi + 0x2c], ebx
je 0x100b07e8
lea eax, [ebp - 0x29c]
push eax
push dword [edi + 0x18]
call fcn.101d4fce
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x100b12fe
jmp 0x100b07e8
mov dword [edi + 0x18], ebx
lea eax, [ebp - 0x29c]
push eax
push edi
call fcn.101d4fce
mov ebx, eax
mov dword [ebp - 0x298], ebx
pop ecx
pop ecx
test ebx, ebx
js 0x100b12fe
mov eax, dword [edi + 0x34c]
test eax, eax
je 0x100b0841
push 0x2c
push eax
push dword [esi]
call fcn.101d3fa4
add esp, 0xc
test eax, eax
jg 0x100b0841
push dword [edi + 0x34c]
push dword [esi]
push str.Codec___s__not_on_whitelist__s_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x14
push 0xffffffffffffffea
jmp 0x100b12fd
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x100b0870
mov eax, dword [edi + 0x68]
test eax, eax
je 0x100b0870
cmp dword [edi + 0x5c], 0
je 0x100b087e
cmp dword [edi + 0x60], 0
je 0x100b087e
cmp dword [edi + 0x10], 0x1b
je 0x100b089b
cmp dword [edi + 0x10], 0x5c
je 0x100b089b
cmp dword [edi + 0x10], 0xbd
jmp 0x100b087c
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x100b089b
mov eax, dword [edi + 0x60]
test eax, eax
je 0x100b089b
push eax
mov edx, edi
push ecx
push edx
call fcn.100b24fc
mov ebx, eax
mov dword [ebp - 0x298], eax
add esp, 0xc
test ebx, ebx
js 0x100b12fe
cmp dword [edi + 0x64], 0
jne 0x100b08b3
cmp dword [edi + 0x68], 0
jne 0x100b08b3
cmp dword [edi + 0x5c], 0
jne 0x100b08b3
cmp dword [edi + 0x60], 0
je 0x100b0913
push edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x36c]
push dword [edi + 0x368]
push dword [edi + 0x68]
push dword [edi + 0x64]
call fcn.101d19d2
add esp, 0x1c
test eax, eax
js 0x100b08f9
push edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x36c]
push dword [edi + 0x368]
push dword [edi + 0x60]
push dword [edi + 0x5c]
call fcn.101d19d2
add esp, 0x1c
test eax, eax
jns 0x100b0913
push str.Ignoring_invalid_width_height_values_n
push 0x18
push edi
call fcn.101ceb2e
push 0
push 0
push edi
call fcn.100b24fc
add esp, 0x18
cmp dword [edi + 0x5c], 0
jle 0x100b096a
cmp dword [edi + 0x60], 0
jle 0x100b096a
push dword [edi + 0xc0]
push dword [edi + 0xbc]
push dword [edi + 0x60]
push dword [edi + 0x5c]
call fcn.101d1954
add esp, 0x10
test eax, eax
jns 0x100b096a
push dword [edi + 0xc0]
push dword [edi + 0xbc]
push str.ignoring_invalid_SAR:__u__u_n
push 0x18
push edi
call fcn.101ceb2e
add esp, 0x14
mov dword [edi + 0xc0], 1
and dword [edi + 0xbc], 0
push esi
call fcn.100afe49
pop ecx
test eax, eax
je 0x100b0982
lea eax, [edi + 0x2e0]
push eax
call fcn.101d06dd
pop ecx
mov eax, dword [edi + 0x15c]
cmp eax, 0x200
ja 0x100b12f0
test eax, eax
js 0x100b12f0
mov eax, dword [edi + 0x158]
test eax, eax
jns 0x100b09bb
push eax
push str.Invalid_sample_rate:__d_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x10
jmp 0x100b083a
mov eax, dword [edi + 0x16c]
test eax, eax
jns 0x100b09cd
push eax
push str.Invalid_block_align:__d_n
jmp 0x100b09ab
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], esi
cmp ecx, 0xffffffff
je 0x100b09dd
cmp ecx, dword [esi + 8]
jne 0x100b09ef
cmp dword [edi + 0x10], 0
jne 0x100b09ef
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0xc]
jne 0x100b12e6
cmp ecx, dword [esi + 8]
je 0x100b0a09
cmp ecx, 4
jne 0x100b12e6
and dword [edi + 0x168], 0
push eax
call fcn.100e1d14
pop ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x30c], eax
test dword [ecx + 0x10], 0x200
je 0x100b0aa2
cmp dword [edi + 0x238], 0xfffffffe
jle 0x100b0aa2
push esi
call fcn.100afe64
mov ebx, dword [ebp - 0x294]
test eax, eax
push 0xfffffffffffffffe
mov ecx, str.decoder
mov esi, str.encoder
cmove esi, ecx
push dword [ebx]
push esi
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.101ceb2e
push ebx
call fcn.100afe64
add esp, 0x20
push dword [ebx + 0xc]
test eax, eax
je 0x100b0a76
call fcn.100ad870
jmp 0x100b0a7b
call fcn.100ad848
test dword [eax + 0x10], 0x200
pop ecx
jne 0x100b0a98
push dword [eax]
push esi
push str.Alternatively_use_the_non_experimental__s__s._n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x14
mov ebx, 0xd44d5058
jmp 0x100b12fe
xor eax, eax
inc eax
cmp dword [edi + 8], eax
jne 0x100b0ac2
cmp dword [edi + 0x4c], 0
je 0x100b0ab6
cmp dword [edi + 0x50], 0
jne 0x100b0ac2
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x158]
mov dword [edi + 0x50], eax
push ecx
call fcn.100afe49
pop ecx
test eax, eax
je 0x100b0ae4
push edi
call fcn.100aed36
mov ebx, eax
mov dword [ebp - 0x298], ebx
pop ecx
test ebx, ebx
js 0x100b12fe
mov eax, dword [ebp - 0x288]
cmp dword [eax + 0x28], 0
je 0x100b0af9
test byte [edi + 0x2b8], 1
jne 0x100b0b10
push edi
call fcn.100e1d6c
mov ebx, eax
mov dword [ebp - 0x298], ebx
pop ecx
test ebx, ebx
js 0x100b12fe
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x2a8]
movzx edx, byte [ecx + 0x28]
cmp edx, eax
jl 0x100b0b25
test eax, eax
jns 0x100b0b43
push edx
push str.The_maximum_value_for_lowres_supported_by_the_decoder_is__d_n
push 0x18
push edi
call fcn.101ceb2e
mov ecx, dword [edi + 0xc]
add esp, 0x10
movzx eax, byte [ecx + 0x28]
mov dword [edi + 0x2a8], eax
push ecx
call fcn.100afe64
pop ecx
test eax, eax
je 0x100b1092
call fcn.101cf1cf
mov dword [edi + 0x2ac], eax
test eax, eax
je 0x100b12fb
cmp dword [edi + 0x4c], 0
jle 0x100b118f
cmp dword [edi + 0x50], 0
jle 0x100b118f
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x100b0c5c
and dword [ebp - 0x290], 0
mov edx, ecx
cmp dword [eax], 0xffffffff
je 0x100b0c03
xor esi, esi
mov eax, dword [ecx + 0x20]
mov edx, ecx
mov eax, dword [esi + eax]
cmp dword [edi + 0x160], eax
je 0x100b0bfd
cmp dword [edi + 0x15c], 1
jne 0x100b0bcc
push eax
call fcn.101d01c8
push dword [edi + 0x160]
mov esi, eax
call fcn.101d01c8
mov edx, dword [edi + 0xc]
pop ecx
pop ecx
cmp eax, esi
je 0x100b0beb
mov eax, dword [ebp - 0x290]
mov ecx, edx
inc eax
mov esi, eax
mov dword [ebp - 0x290], eax
mov eax, dword [edx + 0x20]
shl esi, 2
cmp dword [esi + eax], 0xffffffff
jne 0x100b0b97
jmp 0x100b0bfd
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x290]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x160], eax
mov esi, dword [ebp - 0x294]
mov eax, dword [edx + 0x20]
mov ecx, edx
mov edx, dword [ebp - 0x290]
cmp dword [eax + edx*4], 0xffffffff
jne 0x100b0c5c
push dword [edi + 0x160]
lea eax, [ebp - 0x84]
push 0x1023eb74
push 0x80
push eax
call fcn.100b2cbf
push dword [edi + 0x160]
call fcn.101d021e
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.101ceb2e
add esp, 0x24
jmp 0x100b083a
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x100b0d4e
and dword [ebp - 0x28c], 0
mov edx, eax
cmp dword [eax], 0xffffffff
mov dword [ebp - 0x290], ecx
je 0x100b0cbd
mov ebx, dword [ebp - 0x28c]
xor esi, esi
mov dword [ebp - 0x290], ecx
mov ecx, dword [edi + 0x70]
cmp ecx, dword [esi + eax]
je 0x100b0cab
mov esi, dword [edi + 0xc]
inc ebx
mov dword [ebp - 0x290], esi
mov ecx, esi
mov edx, dword [esi + 0x18]
mov esi, ebx
shl esi, 2
cmp dword [esi + edx], 0xffffffff
jne 0x100b0c83
mov esi, dword [ebp - 0x294]
mov dword [ebp - 0x28c], ebx
mov ebx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x28c]
mov eax, dword [edx + eax*4]
cmp eax, 0xffffffff
jne 0x100b0d17
cmp dword [edi + 0x10], 7
je 0x100b0cd7
cmp dword [edi + 0x10], 9
jne 0x100b0ce0
cmp dword [edi + 0x238], 0xffffffff
jle 0x100b0d2d
push dword [edi + 0x70]
lea eax, [ebp - 0x84]
push 0x1023eb74
push 0x80
push eax
call fcn.100b2cbf
push dword [edi + 0x70]
call fcn.101d3048
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 0x100b0c4c
cmp eax, 0xc
je 0x100b0d3c
cmp eax, 0x8c
je 0x100b0d3c
cmp eax, 0xd
je 0x100b0d3c
cmp eax, 0x20
je 0x100b0d3c
mov edx, dword [ebp - 0x290]
mov ecx, edx
cmp eax, 0xe
jne 0x100b0d4e
jmp 0x100b0d42
mov edx, dword [ebp - 0x290]
mov dword [edi + 0x148], 2
mov ecx, edx
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x100b0db6
and dword [ebp - 0x28c], 0
mov edx, eax
cmp dword [eax], 0
je 0x100b0d9a
xor esi, esi
mov ebx, dword [edi + 0x158]
cmp ebx, dword [esi + eax]
mov ebx, dword [ebp - 0x28c]
je 0x100b0d8e
mov ecx, dword [edi + 0xc]
inc ebx
mov esi, ebx
mov dword [ebp - 0x28c], ebx
shl esi, 2
mov edx, dword [ecx + 0x1c]
cmp dword [edx + esi], 0
jne 0x100b0d65
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x28c]
cmp dword [edx + eax*4], 0
jne 0x100b0db6
push dword [edi + 0x158]
push str.Specified_sample_rate__d_is_not_supported_n
jmp 0x100b09ab
mov eax, dword [edi + 0x158]
test eax, eax
jns 0x100b0dc3
push eax
jmp 0x100b0dac
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x100b0dec
mov eax, dword [edi + 0x178]
or eax, dword [edi + 0x17c]
jne 0x100b0e71
push str.Channel_layout_not_specified_n
push 0x18
push edi
call fcn.101ceb2e
add esp, 0xc
mov ecx, dword [edi + 0x178]
mov eax, ecx
mov edx, dword [edi + 0x17c]
or eax, edx
je 0x100b0f19
cmp dword [edi + 0x15c], 0
push edx
push ecx
je 0x100b0f0c
call fcn.101d33d3
pop ecx
pop ecx
mov dword [ebp - 0x28c], eax
cmp eax, dword [edi + 0x15c]
je 0x100b0f19
push dword [edi + 0x17c]
lea eax, [ebp - 0x284]
push dword [edi + 0x178]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.101d344f
push dword [edi + 0x15c]
lea eax, [ebp - 0x284]
push dword [ebp - 0x28c]
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.101ceb2e
add esp, 0x2c
jmp 0x100b083a
mov eax, dword [ecx]
mov edx, ecx
and dword [ebp - 0x28c], 0
or eax, dword [ecx + 4]
je 0x100b0ec7
mov ebx, dword [ebp - 0x28c]
xor esi, esi
mov eax, dword [edi + 0x178]
cmp eax, dword [esi + ecx]
jne 0x100b0ea0
mov eax, dword [edi + 0x17c]
cmp eax, dword [esi + ecx + 4]
je 0x100b0eb5
mov eax, dword [edi + 0xc]
inc ebx
mov esi, ebx
shl esi, 3
mov edx, dword [eax + 0x24]
mov eax, dword [esi + edx]
or eax, dword [esi + edx + 4]
jne 0x100b0e89
mov esi, dword [ebp - 0x294]
mov dword [ebp - 0x28c], ebx
mov ebx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x28c]
mov eax, dword [edx + ecx*8]
or eax, dword [edx + ecx*8 + 4]
jne 0x100b0dec
mov eax, dword [edi + 0x17c]
push eax
mov eax, dword [edi + 0x178]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x284]
push 0x200
push eax
call fcn.101d344f
lea eax, [ebp - 0x284]
push eax
push str.Specified_channel_layout__s_is_not_supported_n
jmp 0x100b0c4c
call fcn.101d33d3
pop ecx
pop ecx
mov dword [edi + 0x15c], eax
mov eax, dword [edi + 0x15c]
test eax, eax
jns 0x100b0f2e
push eax
push str.Specified_number_of_channels__d_is_not_supported_n
jmp 0x100b09ab
cmp dword [edi + 8], 0
jne 0x100b0fa2
push dword [edi + 0x70]
call fcn.101d30d2
pop ecx
mov ecx, dword [edi + 0x2a4]
mov dword [ebp - 0x28c], eax
test ecx, ecx
js 0x100b0f58
cmp ecx, 8
jle 0x100b0f7b
cmp dword [eax + 0x20], 8
jg 0x100b0f7b
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.101ceb2e
mov eax, dword [ebp - 0x28c]
add esp, 0x14
mov eax, dword [eax + 0x20]
mov dword [edi + 0x2a4], eax
cmp dword [edi + 0x5c], 0
jle 0x100b0f87
cmp dword [edi + 0x60], 0
jg 0x100b0f9c
push str.dimensions_not_set_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0xc
jmp 0x100b083a
cmp dword [edi + 8], 0
je 0x100b0fa8
cmp dword [edi + 8], 1
jne 0x100b0fde
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100b0fde
jb 0x100b0fc2
cmp ecx, 0x3e6
ja 0x100b0fde
push dword [edi + 0x2c]
push dword [edi + 0x28]
push dword [edi + 0x2c]
push dword [edi + 0x28]
push str.Bitrate__lld_is_extremely_low__maybe_you_mean__lldk_n
push 0x18
push edi
call fcn.101ceb2e
add esp, 0x1c
cmp dword [edi + 0x1d0], 0
jne 0x100b1003
mov eax, dword [edi + 0x1ac]
push 3
pop ecx
imul ecx
push 0
push 4
push edx
push eax
call fcn.10230b30
mov dword [edi + 0x1d0], eax
cmp dword [edi + 0x54], 0
je 0x100b1039
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x100b1039
mov eax, SysReAllocString
cdq
idiv ecx
cmp dword [edi + 0x54], eax
jle 0x100b1039
push dword [edi + 0x50]
push ecx
push dword [edi + 0x54]
push str.ticks_per_frame__d_too_large_for_the_timebase__d__d.
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x18
jmp 0x100b12fe
mov ecx, dword [edi + 0x35c]
test ecx, ecx
je 0x100b1092
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x24]
cmp eax, dword [edi + 0x70]
je 0x100b1058
push str.Mismatching_AVCodecContext.pix_fmt_and_AVHWFramesContext.format_n
jmp 0x100b0f8c
mov edx, dword [edi + 0x300]
cmp edx, 0xffffffff
je 0x100b1089
mov eax, dword [ecx + 0x28]
cmp edx, eax
je 0x100b1089
push eax
call fcn.101d3048
pop ecx
push eax
push dword [edi + 0x300]
call fcn.101d3048
pop ecx
push eax
push str.Mismatching_AVCodecContext.sw_pix_fmt___s__and_AVHWFramesContext.sw_format___s__n
jmp 0x100b082f
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x300], eax
xor ebx, ebx
mov eax, SysReAllocString
test dword [edi + 0x3c], 0x2000
mov dword [edi + 0x318], ebx
mov dword [edi + 0x31c], ebx
mov dword [edi + 0x310], ebx
mov dword [edi + 0x314], ebx
mov dword [edi + 0x328], ebx
mov dword [edi + 0x32c], eax
mov dword [edi + 0x320], ebx
mov dword [edi + 0x324], eax
je 0x100b10ed
mov eax, dword [edi + 0x30c]
cmp dword [eax + 4], ebx
jne 0x100b10ed
push str.gray_decoding_requested_but_not_enabled_at_configuration_time_n
push 0x18
push edi
call fcn.101ceb2e
add esp, 0xc
test dword [edi + 0x40], 0x10000000
je 0x100b10fd
or dword [edi + 0x390], 1
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x100b1138
test byte [edi + 0x2b8], 1
je 0x100b111b
mov eax, dword [ebp - 0x288]
cmp dword [eax + 0x28], ebx
je 0x100b1138
push edi
call edx
mov ebx, eax
pop ecx
test ebx, ebx
js 0x100b12fe
mov ecx, dword [edi + 0xc]
xor ebx, ebx
mov dword [ebp - 0x2a0], 1
push ecx
call fcn.100afe49
pop ecx
test eax, eax
je 0x100b128a
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x100b115c
push edi
call fcn.100b2c5f
pop ecx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], edx
mov ecx, dword [edi + 0x178]
mov eax, ecx
mov edx, dword [edi + 0x17c]
or eax, edx
je 0x100b11ed
push edx
push ecx
call fcn.101d33d3
pop ecx
pop ecx
mov ecx, dword [edi + 0x15c]
mov dword [ebp - 0x28c], eax
test ecx, ecx
jne 0x100b1199
mov dword [edi + 0x15c], eax
jmp 0x100b11ed
push str.The_encoder_timebase_is_not_set._n
jmp 0x100b0f8c
cmp eax, ecx
je 0x100b11ed
push dword [edi + 0x17c]
lea eax, [ebp - 0x284]
push dword [edi + 0x178]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.101d344f
push dword [edi + 0x15c]
lea eax, [ebp - 0x284]
push dword [ebp - 0x28c]
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.101ceb2e
and dword [edi + 0x178], 0
add esp, 0x2c
and dword [edi + 0x17c], 0
mov eax, dword [edi + 0x15c]
test eax, eax
je 0x100b1208
js 0x100b083a
cmp eax, 0x200
ja 0x100b083a
cmp dword [edi + 0x2a0], 0
jl 0x100b083a
cmp dword [edi + 0x330], 0
je 0x100b1259
push 3
pop eax
cmp dword [edi + 8], eax
je 0x100b1230
push str.Character_encoding_is_only_supported_with_subtitles_codecs_n
jmp 0x100b0f8c
mov eax, dword [edi + 0x30c]
test dword [eax + 0x10], 0x10000
je 0x100b12b7
push dword [eax + 8]
push str.Codec__s_is_bitmap_based__subtitles_character_encoding_will_be_ignored_n
push 0x18
push edi
call fcn.101ceb2e
add esp, 0x10
or dword [edi + 0x334], 0xffffffff
cmp dword [edi + 0x2f8], 0
jle 0x100b128a
cmp dword [edi + 0x2fc], 0
jle 0x100b128a
push 1
push dword [edi + 0x54]
push dword [edi + 0x2fc]
push dword [edi + 0x2f8]
call fcn.101d0dac
add esp, 0x10
mov dword [edi + 0x4c], edx
mov dword [edi + 0x50], eax
cmp dword [esi + 0x38], 0
jle 0x100b1439
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x100b1439
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100b1439
cmp dword [ecx], eax
jne 0x100b1460
jmp 0x100b1439
mov eax, dword [edi + 0x334]
test eax, eax
jne 0x100b12cd
mov dword [edi + 0x334], 1
jmp 0x100b12d2
cmp eax, 1
jne 0x100b1259
push str.Character_encoding_subtitles_conversion_needs_a_libavcodec_built_with_iconv_support_for_this_codec_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0xc
push 0xffffffffffffffd8
jmp 0x100b12fd
push str.Codec_type_or_id_mismatches_n
jmp 0x100b0f8c
push eax
push str.Too_many_or_invalid_channels:__d_n
jmp 0x100b09ab
push 0xfffffffffffffff4
pop ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100b131f
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x100b131f
cmp dword [ebp - 0x2a0], 0
jne 0x100b131b
test byte [eax + 0x6c], 2
je 0x100b131f
push edi
call ecx
pop ecx
mov eax, dword [ebp - 0x288]
cmp dword [eax + 0x10], 0
je 0x100b1332
push edi
call fcn.100e1d45
pop ecx
mov esi, dword [ebp - 0x294]
cmp dword [esi + 0x2c], 0
je 0x100b134d
cmp dword [esi + 0x38], 0
je 0x100b134d
push dword [edi + 0x18]
call fcn.101d464e
pop ecx
push edi
call fcn.101d464e
lea eax, [edi + 0x2ac]
push eax
call fcn.101cf409
lea eax, [ebp - 0x29c]
push eax
call fcn.101d37d6
lea eax, [edi + 0x18]
push eax
call fcn.101d06dd
lea eax, [edi + 0x2e0]
push eax
call fcn.101d06dd
mov eax, dword [ebp - 0x288]
add esp, 0x14
test eax, eax
je 0x100b1424
add eax, 8
push eax
call fcn.101cf409
mov eax, dword [ebp - 0x288]
add eax, 0x54
push eax
call fcn.101cf409
mov eax, dword [ebp - 0x288]
add eax, 0x40
push eax
call fcn.101cf409
mov eax, dword [ebp - 0x288]
add eax, 0x58
push eax
call fcn.100b2fb8
mov eax, dword [ebp - 0x288]
add eax, 0x3c
push eax
call fcn.100b2fb8
mov eax, dword [ebp - 0x288]
add eax, 0x1c
push eax
call fcn.100b2fb8
mov eax, dword [ebp - 0x288]
add eax, 0x14
push eax
call fcn.100b2fb8
mov eax, dword [ebp - 0x288]
add eax, 0x2c
push eax
call fcn.101cf409
mov eax, dword [ebp - 0x288]
add eax, 0x18
push eax
call fcn.100e019f
mov eax, dword [ebp - 0x288]
add eax, 0xc
push eax
call fcn.101d28e9
add esp, 0x28
lea eax, [ebp - 0x288]
push eax
call fcn.101d06dd
and dword [edi + 0x1c], 0
and dword [edi + 0xc], 0
pop ecx
push esi
call fcn.100b262e
mov esi, dword [ebp - 0x2a4]
pop ecx
test esi, esi
je 0x100b1459
push esi
call fcn.101d37d6
mov eax, dword [ebp - 0x29c]
pop ecx
mov dword [esi], eax
mov eax, ebx
jmp 0x100b0651
push 0x3f3
push str.libavcodec_utils.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.101ceb2e
add esp, 0x18
call fcn.1009dc33
int3