Function at 0x10032e20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x420], ebx
push 0
push ebx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x424], esi
call dword [sym.imp.avformat_58.dll_avformat_new_stream]
mov ecx, dword [ebx + 0x18]
xor edx, edx
movsd xmm0, qword [0x100a66c0]
add esp, 8
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x42c], edx
lea ebx, [ecx - 1]
mov dword [ebp - 0x434], edx
movsd qword [ebp - 0x444], xmm0
test eax, eax
jne 0x10032edc
push str.Could_not_alloc_stream._n
push 8
push edx
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10032ebe
push esi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov ecx, dword [ebp - 0x420]
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ecx + 0x18]
lea eax, [ecx - 1]
cmp eax, dword [edi + 0xfc]
jae 0x10032efa
mov eax, dword [edi + 0xf8]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x428]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x74]
add esi, 0x74
mov ecx, dword [ebp - 0x424]
inc eax
push ecx
push eax
push esi
mov ecx, dword [ecx + 0x70]
mov edx, 4
call fcn.1001d8a0
mov ecx, dword [ebp - 0x424]
add esp, 0xc
push 0x1a8
mov dword [ecx + 0x70], eax
call dword [sym.imp.avutil_56.dll_av_mallocz]
mov edx, eax
add esp, 4
mov dword [ebp - 0x41c], edx
test edx, edx
jne 0x10032f6e
mov eax, dword [0x100b64d4]
test eax, eax
je 0x10032f53
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov edx, dword [ebp - 0x41c]
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [esi]
mov esi, dword [ebp - 0x424]
push esi
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp + 8]
dec eax
mov dword [edx + 4], ebx
mov ebx, dword [ebp - 0x41c]
mov dword [edx], eax
mov eax, dword [ebp - 0x428]
mov edx, dword [ebp - 0x420]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0x80000000
mov eax, dword [eax + 0xb0]
push ebx
mov dword [eax], ecx
mov ecx, edi
call fcn.10032b50
add esp, 8
mov dword [ebp - 0x3f8], eax
test eax, eax
jns 0x1003300d
push dword [ebx + 4]
push dword [ebx]
push str.Error_selecting_an_encoder_for_stream__d:_d_n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x14
test eax, eax
je 0x10032ff8
push esi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
push dword [ebx + 0x58]
call dword [sym.imp.avcodec_58.dll_avcodec_alloc_context3]
add esp, 4
mov dword [ebx + 0x50], eax
test eax, eax
jne 0x1003305a
push str.Error_allocating_the_encoding_context._n
push 0x10
push eax
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10033042
push esi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov eax, dword [ebx + 0x50]
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
call dword [sym.imp.avcodec_58.dll_avcodec_parameters_alloc]
mov dword [ebx + 0x54], eax
test eax, eax
jne 0x100330a4
push str.Error_allocating_the_encoding_parameters._n
push 0x10
push eax
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x1003308f
push esi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov edx, dword [ebx + 0x58]
lea eax, [ebx + 0x118]
mov dword [ebp - 0x404], eax
push esi
test edx, edx
je 0x100335f7
mov ecx, dword [ebp - 0x428]
xor ebx, ebx
push edx
push ecx
mov ecx, dword [edi]
push dword [ebp - 0x420]
mov dword [ebp - 0x414], 0
mov edx, dword [edx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x408], ebx
call fcn.1001d610
mov ecx, dword [ebp - 0x404]
add esp, 0x10
mov dword [ebp - 0x410], ebx
mov dword [ecx], eax
cmp dword [edi + 0x17c], ebx
jle 0x10033594
xor esi, esi
nop dword [eax + eax]
mov eax, dword [edi + 0x178]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x100333f3
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033164
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov ebx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x410]
add esi, 0x10
inc eax
mov dword [ebp - 0x410], eax
cmp eax, dword [edi + 0x17c]
jl 0x10033110
test ebx, ebx
je 0x10033594
mov eax, dword [ebp - 0x41c]
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
push str.AVCONV_DATADIR
mov eax, dword [eax + 0x58]
mov edi, dword [eax]
call esi
add esp, 4
mov dword [ebp - 0x400], eax
push str.HOME
call esi
add esp, 4
mov dword [ebp - 0x3fc], eax
xor esi, esi
mov dword [ebp - 0x3f8], str..._builds_share_ffmpeg
mov ecx, str._.avconv
or eax, 0xffffffff
test eax, eax
jns 0x100332b3
mov ebx, dword [ebp + esi*4 - 0x400]
test ebx, ebx
je 0x100332a7
test edi, edi
je 0x10033259
push dword [ebp - 0x408]
cmp esi, 1
mov eax, 0x10095064
push edi
cmove eax, ecx
push eax
push ebx
push str._s_s__s__s.avpreset
lea eax, [ebp - 0x3f4]
push 0x3e8
push eax
call fcn.10019630
add esp, 0x1c
lea eax, [ebp - 0x3f4]
push 0
push 0x10091f98
push 1
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.avformat_58.dll_avio_open2]
add esp, 0x14
mov ecx, str._.avconv
test eax, eax
jns 0x100332a7
push dword [ebp - 0x408]
cmp esi, 1
mov eax, 0x10095064
cmove eax, ecx
push eax
push ebx
push str._s_s__s.avpreset
lea eax, [ebp - 0x3f4]
push 0x3e8
push eax
call fcn.10019630
push 0
push 0x10091f98
push 1
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.avformat_58.dll_avio_open2]
add esp, 0x2c
mov ecx, str._.avconv
inc esi
cmp esi, 3
jb 0x100331e8
test eax, eax
mov edi, dword [ebp - 0x430]
jne 0x100335a3
mov ebx, dword [sym.imp.avformat_58.dll_avio_r8]
mov esi, dword [ebp - 0x414]
mov edi, dword [ebp - 0x424]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.avformat_58.dll_avio_open_dyn_buf]
add esp, 4
test eax, eax
jns 0x1003331d
push str.Could_not_alloc_buffer_for_reading_preset._n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10033308
push edi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
push esi
call ebx
add esp, 4
test al, al
je 0x10033345
cmp al, 0xa
je 0x10033345
movsx eax, al
push eax
push dword [ebp - 0x408]
call dword [sym.imp.avformat_58.dll_avio_w8]
push esi
call ebx
add esp, 0xc
test al, al
jne 0x10033327
push 0
push dword [ebp - 0x408]
call dword [sym.imp.avformat_58.dll_avio_w8]
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
call dword [sym.imp.avformat_58.dll_avio_close_dyn_buf]
mov esi, dword [ebp - 0x410]
add esp, 0x10
mov al, byte [esi]
test al, al
je 0x1003340e
cmp al, 0x23
je 0x1003340e
push 0x3d
push esi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100333cb
push str.Invalid_line_found_in_the_preset_file._n
push 8
push eax
call dword [sym.imp.avutil_56.dll_av_log]
mov ecx, dword [0x100b64d4]
add esp, 0xc
test ecx, ecx
je 0x100333b6
push edi
push 1
call ecx
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
push 0x10
lea eax, [ebx + 1]
mov byte [ebx], 0
push eax
push esi
push dword [ebp - 0x404]
call dword [sym.imp.avutil_56.dll_av_dict_set]
push esi
call dword [sym.imp.avutil_56.dll_av_free]
mov ebx, dword [sym.imp.avformat_58.dll_avio_r8]
add esp, 0x14
jmp 0x10033418
jle 0x10033179
mov eax, dword [edi + 0x178]
mov ebx, dword [eax + esi + 8]
mov dword [ebp - 0x408], ebx
jmp 0x1003317f
push esi
call dword [sym.imp.avutil_56.dll_av_free]
add esp, 4
mov esi, dword [ebp - 0x414]
cmp dword [esi + 0x30], 0
je 0x100332d1
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.avformat_58.dll_avio_closep]
mov edi, dword [ebp - 0x430]
add esp, 4
mov ebx, dword [ebp - 0x41c]
cmp dword [edi + 0xe4], 0
je 0x10033457
mov eax, dword [ebx + 0x50]
or dword [eax + 0x3c], 0x800000
cmp dword [edi + 0x1fc], 0
mov dword [ebp - 0x404], 0
jle 0x10033640
xor esi, esi
mov eax, dword [edi + 0x1f8]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x1003361f
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x100334c4
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
push 1
call ebx
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x404]
add esi, 0x10
inc eax
mov dword [ebp - 0x404], eax
cmp eax, dword [edi + 0x1fc]
jl 0x10033470
test ecx, ecx
je 0x10033640
push 0
push 0
push 0x7fffffff
push ecx
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.avutil_56.dll_av_parse_ratio]
add esp, 0x14
test eax, eax
js 0x10033537
mov ecx, dword [ebp - 0x3fc]
test ecx, ecx
jle 0x10033537
mov eax, dword [ebp - 0x3f8]
test eax, eax
jg 0x10033583
mov edx, dword [ebp - 0x42c]
push edx
push str.Invalid_time_base:__s_n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033566
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call ebx
mov eax, dword [ebp - 0x3f8]
add esp, 4
mov ecx, dword [ebp - 0x3fc]
mov dword [0x100b64d4], 0
mov edx, dword [ebp - 0x428]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
jmp 0x10033646
cmp dword [ebp - 0x3f8], 0
je 0x1003343e
jmp 0x100335a9
mov ebx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x41c]
push dword [eax + 4]
push dword [eax]
push ebx
push str.Preset__s_specified_for_stream__d:_d__but_could_not_be_opened._n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x18
test eax, eax
je 0x100335dd
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x1003343e
mov ecx, dword [edi]
xor edx, edx
push 0
push dword [ebp - 0x428]
push dword [ebp - 0x420]
mov ecx, dword [ecx + 0x10]
call fcn.1001d610
add esp, 0x10
mov dword [ebx + 0x118], eax
jmp 0x10033444
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
jle 0x100334db
mov eax, dword [edi + 0x1f8]
mov ecx, dword [eax + esi + 8]
mov dword [ebp - 0x42c], ecx
jmp 0x100334e1
mov edx, dword [ebp - 0x428]
cmp dword [edi + 0x204], 0
mov dword [ebp - 0x404], 0
jle 0x100336f6
xor esi, esi
nop
mov eax, dword [edi + 0x200]
mov ebx, dword [esi + eax]
push ebx
push edx
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x100336c2
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x100336ab
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x100336d4
jle 0x100336d4
mov eax, dword [edi + 0x200]
mov eax, dword [esi + eax + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x404]
add esi, 0x10
mov edx, dword [ebp - 0x428]
inc eax
mov dword [ebp - 0x404], eax
cmp eax, dword [edi + 0x204]
jl 0x10033660
mov ebx, dword [ebp - 0x42c]
test ebx, ebx
je 0x10033784
push 0
push 0
push 0x7fffffff
lea eax, [ebp - 0x3fc]
push ebx
push eax
call dword [sym.imp.avutil_56.dll_av_parse_ratio]
add esp, 0x14
test eax, eax
js 0x1003372c
mov ecx, dword [ebp - 0x3f8]
test ecx, ecx
jg 0x10033770
push ebx
push str.Invalid_time_base:__s_n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033755
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov ecx, dword [ebp - 0x3f8]
add esp, 4
mov dword [0x100b64d4], 0
mov ebx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x3fc]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
jmp 0x1003378a
mov ebx, dword [ebp - 0x41c]
mov dword [ebx + 0x60], 0xffffffff
mov dword [ebx + 0x64], 0x7fffffff
mov edx, dword [edi + 0x10c]
mov dword [ebp - 0x404], 0
test edx, edx
jle 0x1003383f
xor esi, esi
mov eax, dword [edi + 0x108]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10033867
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033806
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov ebx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x404]
add esi, 0x10
mov edx, dword [edi + 0x10c]
inc eax
mov dword [ebp - 0x404], eax
cmp eax, edx
jl 0x100337b2
xor esi, esi
test edx, edx
jle 0x10033897
mov ecx, dword [edi + 0x108]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp byte [eax], 0
jne 0x1003385d
cmp dword [ebp + 8], 0
jne 0x10033885
inc esi
add ecx, 0x10
cmp esi, edx
jl 0x10033850
jmp 0x10033897
jle 0x1003381b
mov eax, dword [edi + 0x108]
mov ebx, dword [ebp - 0x41c]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 0xc]
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], eax
jmp 0x10033821
push str.Applying_unspecific__frames_to_non_video_streams__maybe_you_meant__vframes___n
push 0x18
push 0
call dword [sym.imp.avutil_56.dll_av_log]
add esp, 0xc
mov dword [ebx + 0x148], 0xffffffff
cmp dword [edi + 0x18c], 0
mov dword [ebp - 0x404], 0
jle 0x1003395b
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x188]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10033927
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033910
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x1003393f
jle 0x1003393f
mov eax, dword [edi + 0x188]
mov ecx, dword [ebp - 0x41c]
mov eax, dword [eax + esi + 8]
mov dword [ecx + 0x148], eax
mov eax, dword [ebp - 0x404]
add esi, 0x10
inc eax
mov dword [ebp - 0x404], eax
cmp eax, dword [edi + 0x18c]
jl 0x100338c0
cmp dword [edi + 0x114], 0
mov dword [ebp - 0x404], 0
jle 0x10033a11
xor esi, esi
mov eax, dword [edi + 0x110]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x100339fd
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x100339c4
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x404]
add esi, 0x10
inc ecx
mov dword [ebp - 0x404], ecx
cmp ecx, dword [edi + 0x114]
jl 0x10033974
jmp 0x10033a17
jle 0x100339d9
mov eax, dword [edi + 0x110]
mov eax, dword [eax + esi + 8]
mov dword [ebp - 0x40c], eax
jmp 0x100339df
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x10033c9c
mov edi, dword [ebp - 0x424]
cmp byte [eax], 0
je 0x10033c96
lea eax, [ebp - 0x40c]
push 0x1009abec
push eax
call dword [sym.imp.avutil_56.dll_av_get_token]
add esp, 8
mov dword [ebp - 0x410], eax
test eax, eax
jne 0x10033a7d
mov eax, dword [0x100b64d4]
test eax, eax
je 0x10033a5e
push edi
push 1
call eax
add esp, 8
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
push 1
call esi
mov eax, dword [ebp - 0x410]
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x10033a83
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
lea ecx, [ebp - 0x404]
push ecx
push 0x100966dc
push eax
call dword [sym.imp.avutil_56.dll_av_strtok]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033ac2
mov ecx, dword [0x100b64d4]
test ecx, ecx
je 0x10033ab1
push edi
push 1
call ecx
add esp, 8
push 1
call esi
add esp, 4
mov dword [0x100b64d4], 0
push ebx
call dword [sym.imp.avcodec_58.dll_av_bsf_get_by_name]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10033b0a
push ebx
push str.Unknown_bitstream_filter__s_n
push 8
push eax
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033af5
push edi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ebp - 0x41c]
push 4
mov eax, dword [ecx + 0x48]
inc eax
push eax
push dword [ecx + 0x4c]
call dword [sym.imp.avutil_56.dll_av_realloc_array]
mov ecx, dword [ebp - 0x41c]
add esp, 0xc
mov dword [ecx + 0x4c], eax
test eax, eax
jne 0x10033b56
mov eax, dword [0x100b64d4]
test eax, eax
je 0x10033b41
push edi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
lea eax, [eax + ecx*4]
push eax
push esi
call dword [sym.imp.avcodec_58.dll_av_bsf_alloc]
add esp, 8
test eax, eax
jns 0x10033bac
push str.Error_allocating_a_bitstream_filter_context_n
push 0x10
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10033b97
push edi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov edx, dword [ebp - 0x41c]
mov ecx, dword [edx + 0x48]
inc ecx
cmp dword [ebp - 0x404], 0
mov dword [edx + 0x48], ecx
je 0x10033c6c
cmp dword [esi + 8], 0
je 0x10033c6c
mov eax, dword [edx + 0x4c]
push 0
mov eax, dword [eax + ecx*4 - 4]
push dword [eax + 0xc]
call dword [sym.imp.avutil_56.dll_av_opt_next]
add esp, 8
xorps xmm0, xmm0
movq qword [ebp - 0x3fc], xmm0
test eax, eax
je 0x10033bfc
mov eax, dword [eax]
mov dword [ebp - 0x3fc], eax
push 0x100966d8
push 0x100966dc
lea eax, [ebp - 0x3fc]
push eax
mov eax, dword [ebp - 0x41c]
push dword [ebp - 0x404]
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + ecx*4 - 4]
push dword [eax + 0xc]
call dword [sym.imp.avutil_56.dll_av_opt_set_from_string]
add esp, 0x14
test eax, eax
jns 0x10033c6c
push ebx
push str.Error_parsing_options_for_bitstream_filter__s_n
push 0x10
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033c57
push edi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.avutil_56.dll_av_freep]
mov eax, dword [ebp - 0x40c]
add esp, 4
cmp byte [eax], 0
je 0x10033c8e
inc eax
mov dword [ebp - 0x40c], eax
test eax, eax
jne 0x10033a25
mov edi, dword [ebp - 0x430]
cmp dword [edi + 0x11c], 0
mov dword [ebp - 0x404], 0
jle 0x10033d7e
xor esi, esi
mov eax, dword [edi + 0x118]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10033edc
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033d09
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov ebx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x404]
add esi, 0x10
inc eax
mov dword [ebp - 0x404], eax
cmp eax, dword [edi + 0x11c]
jl 0x10033cb5
test ebx, ebx
je 0x10033d7e
push 0
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 0x418]
add esp, 0xc
mov edx, eax
cmp byte [ecx], 0
je 0x10033d66
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x41c]
mov eax, dword [ecx + 0x50]
mov dword [eax + 0x14], edx
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0xb0]
mov dword [eax + 8], edx
cmp dword [edi + 0x12c], 0
mov dword [ebp - 0x404], 0
jle 0x10033e56
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x128]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10033ef7
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033df4
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
movsd xmm0, qword [ebp - 0x444]
mov eax, dword [ebp - 0x404]
add esi, 0x10
inc eax
mov dword [ebp - 0x404], eax
cmp eax, dword [edi + 0x12c]
jl 0x10033da0
comisd xmm0, xmmword [0x100a64e8]
jb 0x10033e56
mov edx, dword [ebp - 0x41c]
mulsd xmm0, qword [0x100a6600]
mov eax, dword [edx + 0x50]
cvttsd2si ecx, xmm0
or dword [eax + 0x3c], 2
mov eax, dword [edx + 0x50]
mov dword [eax + 0x34], ecx
xor ebx, ebx
cmp dword [edi + 0x1ec], ebx
jle 0x10033f3e
xor esi, esi
mov eax, dword [edi + 0x1e8]
mov eax, dword [esi + eax]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x3f8], eax
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10033f16
push dword [ebp - 0x3f8]
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033ec5
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x10033f2e
jle 0x10033d1e
mov eax, dword [edi + 0x118]
mov ebx, dword [eax + esi + 8]
mov dword [ebp - 0x434], ebx
jmp 0x10033d24
jle 0x10033e09
mov eax, dword [edi + 0x128]
movsd xmm0, qword [esi + eax + 8]
movsd qword [ebp - 0x444], xmm0
jmp 0x10033e11
jle 0x10033f2e
mov eax, dword [edi + 0x1e8]
mov ecx, dword [ebp - 0x41c]
mov eax, dword [esi + eax + 8]
mov dword [ecx + 0x14c], eax
inc ebx
add esi, 0x10
cmp ebx, dword [edi + 0x1ec]
jl 0x10033e66
mov ebx, dword [ebp - 0x41c]
push dword [ebx + 0x14c]
call dword [sym.imp.avutil_56.dll_av_strdup]
mov dword [ebx + 0x14c], eax
add esp, 4
mov dword [ebx + 0x17c], 0x80
mov eax, 0x80
cmp dword [edi + 0x1cc], 0
mov dword [ebp - 0x404], 0
jle 0x10034012
xor esi, esi
mov eax, dword [edi + 0x1c8]
mov ebx, dword [esi + eax]
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x420]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10034148
push ebx
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10033fd5
push dword [ebp - 0x424]
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov ebx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x404]
add esi, 0x10
inc eax
mov dword [ebp - 0x404], eax
cmp eax, dword [edi + 0x1cc]
jl 0x10033f81
mov eax, dword [ebx + 0x17c]
lea eax, [eax + eax*8]
shl eax, 3
mov dword [ebx + 0x17c], eax
mov eax, dword [ebp - 0x420]
mov eax, dword [eax + 8]
test byte [eax + 0x1c], 0x40
je 0x10034037
mov eax, dword [ebx + 0x50]
or dword [eax + 0x3c], 0x400000
mov eax, dword [edi]
mov esi, dword [sym.imp.avutil_56.dll_av_dict_copy]
push 0
push dword [eax + 0x1c]
lea eax, [ebx + 0x11c]
push eax
call esi
mov eax, dword [edi]
add esp, 0xc
add ebx, 0x120
push 0
push dword [eax + 0x20]
push ebx
call esi
mov eax, dword [ebp - 0x41c]
add esp, 0xc
mov eax, dword [eax + 0x58]
test eax, eax
je 0x10034097
push dword [eax + 0xc]
call dword [sym.imp.avcodec_58.dll_av_get_exact_bits_per_sample]
add esp, 4
cmp eax, 0x18
jne 0x10034097
push 0
push 0x1009be48
push str.output_sample_bits
push ebx
call dword [sym.imp.avutil_56.dll_av_dict_set]
add esp, 0x10
mov eax, dword [edi]
mov edi, dword [ebp - 0x41c]
push 0
push dword [eax + 0x18]
lea eax, [edi + 0x124]
push eax
call esi
mov ecx, dword [ebp - 0x438]
add esp, 0xc
mov ebx, dword [ebp - 0x424]
mov dword [edi + 8], ecx
test ecx, ecx
js 0x100340e8
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [eax + 8], 0
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x34], eax
push 0x240
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x80000000
call dword [sym.imp.avutil_56.dll_av_fifo_alloc]
add esp, 4
mov dword [edi + 0x180], eax
test eax, eax
jne 0x10034135
mov ecx, dword [0x100b64d4]
test ecx, ecx
je 0x10034120
push ebx
push 1
call ecx
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007fac0
mov esp, ebp
pop ebp
ret
jle 0x10033fea
mov eax, dword [edi + 0x1c8]
mov ebx, dword [ebp - 0x41c]
mov eax, dword [esi + eax + 8]
mov dword [ebx + 0x17c], eax
jmp 0x10033ff0