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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [eax + 0xc8]
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 0xcc]
mov ecx, eax
mov dword [esp + 0x74], 0
mov ebx, edx
not ecx
xor ebx, 0x7fffffff
or ebx, ecx
je 0x406190
mov ecx, dword [ebp + 0xc0]
mov ebx, dword [ebp + 0xc4]
not ecx
xor ebx, 0x7fffffff
or ebx, ecx
jne 0x40676c
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edi, [ebx - 0x80000000]
or edi, ecx
je 0x407c63
cmp ecx, eax
mov esi, ebx
sbb esi, edx
jge 0x407dc1
sub eax, ecx
sbb edx, ebx
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xc4], edx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4061af
mov dword [esp], eax
call sub.avformat_58.dll_av_find_input_format
mov dword [esp + 0x38], eax
test eax, eax
je 0x407e68
mov eax, dword [esp + 0x64]
cmp byte [eax], 0x2d
jne 0x40672a
movzx eax, byte [eax + 1]
test eax, eax
jne 0x40672a
mov dword [esp + 0x64], str.pipe:
and dword [0x436014], eax
call sub.avformat_58.dll_avformat_alloc_context
mov dword [esp + 0x70], eax
test eax, eax
je 0x407dcb
mov eax, dword [ebp + 0x34]
test eax, eax
jne 0x407af5
mov edi, dword [ebp + 0x2c]
test edi, edi
je 0x4067e0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x406280
mov esi, dword [eax + 0x14]
test esi, esi
je 0x406275
add eax, 0x14
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.channels
mov dword [esp], eax
call sub.avutil_56.dll_av_opt_find
test eax, eax
je 0x406275
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x2c]
add eax, 0xfffffff
shl eax, 4
add eax, dword [ebp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.channels
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set_int
mov eax, dword [ebp + 0x3c]
test eax, eax
jne 0x4067f7
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x407a68
mov eax, dword [ebp + 0x4c]
test eax, eax
jne 0x407aa3
mov edx, dword [ebp + 0x24]
test edx, edx
jle 0x407ade
mov eax, dword [ebp + 0x20]
shl edx, 4
xor esi, esi
add edx, eax
mov ecx, eax
lea esi, [esi]
mov ebx, dword [ecx]
cmp byte [ebx], 0x76
jne 0x4062c0
cmp byte [ebx + 1], 0
jne 0x4062c0
mov esi, dword [ecx + 8]
add ecx, 0x10
cmp edx, ecx
jne 0x4062b0
mov dword [esp + 0x48], esi
mov ecx, eax
xor edi, edi
nop
mov ebx, dword [ecx]
cmp byte [ebx], 0x61
jne 0x4062e0
cmp byte [ebx + 1], 0
jne 0x4062e0
mov edi, dword [ecx + 8]
add ecx, 0x10
cmp edx, ecx
jne 0x4062d0
mov ecx, eax
xor esi, esi
lea esi, [esi]
nop
mov ebx, dword [ecx]
cmp byte [ebx], 0x73
jne 0x406300
cmp byte [ebx + 1], 0
jne 0x406300
mov esi, dword [ecx + 8]
add ecx, 0x10
cmp edx, ecx
jne 0x4062f0
mov dword [esp + 0x40], esi
xor esi, esi
lea esi, [esi]
mov ecx, dword [eax]
cmp byte [ecx], 0x64
jne 0x406320
cmp byte [ecx + 1], 0
jne 0x406320
mov esi, dword [eax + 8]
add eax, 0x10
cmp edx, eax
jne 0x406310
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x70]
test eax, eax
je 0x406346
xor ecx, ecx
xor edx, edx
call fcn.00401dd0
mov dword [ebx + 0x514], eax
mov ebx, dword [esp + 0x70]
test edi, edi
je 0x406362
xor ecx, ecx
mov edx, 1
mov eax, edi
call fcn.00401dd0
mov dword [ebx + 0x518], eax
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x406380
xor ecx, ecx
mov edx, 3
call fcn.00401dd0
mov dword [ebx + 0x51c], eax
mov ebx, dword [esp + 0x70]
test esi, esi
je 0x40639c
xor ecx, ecx
mov edx, 2
mov eax, esi
call fcn.00401dd0
mov dword [ebx + 0x520], eax
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x407aee
mov eax, dword [ebx + 0x514]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x470], eax
xor eax, eax
test edi, edi
je 0x4063c6
mov eax, dword [ebx + 0x518]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x474], eax
xor eax, eax
test ecx, ecx
je 0x4063df
mov eax, dword [ebx + 0x51c]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x478], eax
xor eax, eax
test esi, esi
je 0x4063f4
mov eax, dword [ebx + 0x520]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x53c], eax
mov eax, dword [ebx + 0x448]
mov edx, eax
or edx, 4
mov dword [ebx + 0x448], edx
mov edx, dword [ebp + 0xe4]
test edx, edx
je 0x406420
or eax, 0x404
mov dword [ebx + 0x448], eax
mov eax, dword [0x44176c]
mov edx, dword [0x441770]
mov dword [ebx + 0x4a0], eax
mov dword [ebx + 0x4a4], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.scan_all_pmts
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_get
test eax, eax
je 0x407c6c
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 0x38], eax
call sub.avformat_58.dll_avformat_open_input
test eax, eax
js 0x407e79
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
add eax, 0x14
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00426e40
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.00426ea0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4064ee
lea edi, [ebp + 0x20]
lea esi, [ebp + 0x24]
xor ebx, ebx
lea esi, [esi]
mov eax, dword [ecx + 0x1c]
mov edx, esi
mov eax, dword [eax + ebx*4]
add ebx, 1
mov dword [esp], eax
mov eax, edi
call fcn.00404ed0
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 0x18], ebx
ja 0x4064d0
mov edi, dword [0x436008]
test edi, edi
jne 0x4079bb
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea ebx, [edx - 0x80000000]
mov ecx, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov edx, edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
or ecx, ebx
je 0x4078f3
add edx, 0x80000000
or edx, esi
je 0x407447
mov eax, dword [esp + 0x64]
mov dword [esp + 8], str.Cannot_use__ss_and__sseof_both__using__ss_for__s_n
mov dword [esp + 4], 0x18
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0x80000000
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], edx
add edx, 0x80000000
or edx, ecx
mov dword [esp + 0x38], eax
jne 0x40744f
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x407990
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x406bf5
lea eax, [esp + 0x7c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], eax
lea eax, [ebp + 0x24]
mov dword [esp + 0x60], eax
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx + 0xb0]
mov dword [esp], 0x160
mov dword [esp + 0x50], eax
call sub.avutil_56.dll_av_mallocz
mov dword [esp + 0x40], eax
mov edi, eax
call sub.avcodec_58.dll_avcodec_get_class
mov dword [esp + 0x10], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.skip_frame
mov dword [esp], eax
call sub.avutil_56.dll_av_opt_find
mov dword [esp + 0x58], eax
test edi, edi
je 0x40671e
mov eax, dword [0x4480d8]
mov dword [esp + 8], 0x4480d8
xor esi, esi
mov dword [esp + 4], 4
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x4480dc]
mov dword [esp], eax
call fcn.00417470
mov edx, dword [0x4480d8]
mov dword [0x4480dc], eax
fld1
mov dword [eax + edx*4 - 4], edi
mov eax, dword [0x4480d0]
mov dword [edi + 4], ebx
mov dword [edi], eax
mov eax, dword [ebp + 0x6c]
mov dword [edi + 8], 1
mov dword [ebx + 0x34], 0x30
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], 0x7fffffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0x80000000
fstp qword [edi + 0x80]
mov edi, ebp
test eax, eax
jg 0x4066f9
jmp 0x40687a
mov eax, dword [edi + 0x68]
fld qword [eax + ebp + 8]
mov eax, dword [esp + 0x40]
fst qword [esp + 0x48]
fstp qword [eax + 0x80]
add esi, 1
cmp esi, dword [edi + 0x6c]
jge 0x406878
mov eax, dword [edi + 0x68]
mov ebp, esi
shl ebp, 4
mov eax, dword [eax + ebp]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x4066d8
je 0x4066ed
mov dword [esp], 1
call fcn.00411e90
mov esi, dword [esp + 0x64]
mov edi, str.pipe:
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
movsx eax, al
test eax, eax
je 0x4061d0
mov esi, dword [esp + 0x64]
mov edi, str._dev_stdin
mov ecx, 0xb
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
setne al
movzx eax, al
jmp 0x4061d0
mov dword [ebp + 0xc8], 0xffffffff
mov dword [ebp + 0xcc], 0x7fffffff
mov dword [esp + 8], str._t_and__to_cannot_be_used_together__using__t._n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov eax, dword [ebp + 0xc8]
mov edx, dword [ebp + 0xcc]
mov ecx, eax
mov ebx, edx
not ecx
xor ebx, 0x7fffffff
or ebx, ecx
je 0x406190
mov ecx, dword [ebp + 0xc0]
mov ebx, dword [ebp + 0xc4]
not ecx
xor ebx, 0x7fffffff
or ebx, ecx
jne 0x406190
jmp 0x406160
mov ebx, dword [ebp + 0x3c]
test ebx, ebx
je 0x406280
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x406280
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x406280
add eax, 0x14
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.framerate
mov dword [esp], eax
call sub.avutil_56.dll_av_opt_find
test eax, eax
je 0x406280
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x3c]
add eax, 0xfffffff
shl eax, 4
add eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.framerate
mov dword [esp + 8], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
jmp 0x406280
mov ebp, edi
mov eax, dword [esp + 0x40]
xor esi, esi
mov edi, ebp
mov dword [eax + 0xa0], 1
mov eax, dword [ebp + 0x94]
test eax, eax
jg 0x4068bf
jmp 0x4068f8
mov eax, dword [edi + 0x90]
mov ecx, dword [esp + 0x40]
add esi, 1
mov eax, dword [eax + ebp + 8]
mov dword [ecx + 0xa0], eax
cmp esi, dword [edi + 0x94]
jge 0x4068f6
mov eax, dword [edi + 0x90]
mov ebp, esi
shl ebp, 4
mov eax, dword [eax + ebp]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x4068a0
jne 0x40671e
add esi, 1
cmp esi, dword [edi + 0x94]
jl 0x4068bf
mov ebp, edi
mov eax, dword [ebp + 0x11c]
mov dword [esp + 0x48], 0
xor edi, edi
mov esi, ebp
test eax, eax
jg 0x406931
jmp 0x4069a2
mov eax, dword [esi + 0x118]
add edi, 1
mov eax, dword [eax + ebp + 8]
mov dword [esp + 0x48], eax
cmp edi, dword [esi + 0x11c]
jge 0x406968
mov eax, dword [esi + 0x118]
mov ebp, edi
shl ebp, 4
mov eax, dword [eax + ebp]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406918
jne 0x40671e
add edi, 1
cmp edi, dword [esi + 0x11c]
jl 0x406931
mov eax, dword [esp + 0x48]
mov ebp, esi
test eax, eax
je 0x4069a2
lea edx, [esp + 0x78]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov edx, dword [esp + 0x78]
cmp byte [edx], 0
je 0x406999
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov edx, dword [ebx + 0xb0]
mov dword [edx + 8], eax
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov dword [esp], ebx
lea eax, [ebp + 0x20]
mov ecx, edi
call fcn.00404ed0
mov esi, dword [esp + 0x40]
mov dword [esi + 0x18], eax
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.004170f0
mov edi, dword [ebp + 0x1a4]
mov dword [esi + 0xfc], 0xffffffff
mov dword [esi + 0x8c], eax
xor esi, esi
test edi, edi
jle 0x406a68
mov edi, ebp
jmp 0x406a2f
mov eax, dword [edi + 0x1a0]
mov ecx, dword [esp + 0x40]
add esi, 1
mov eax, dword [eax + ebp + 8]
mov dword [ecx + 0xfc], eax
cmp esi, dword [edi + 0x1a4]
jge 0x406a66
mov eax, dword [edi + 0x1a0]
mov ebp, esi
shl ebp, 4
mov eax, dword [eax + ebp]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406a10
jne 0x40671e
add esi, 1
cmp esi, dword [edi + 0x1a4]
jl 0x406a2f
mov ebp, edi
mov ecx, dword [ebp + 0x1e4]
mov dword [esp + 0x48], 0
xor edi, edi
mov esi, ebp
test ecx, ecx
jg 0x406a99
jmp 0x406ad2
mov eax, dword [esi + 0x1e0]
add edi, 1
mov eax, dword [eax + ebp + 8]
mov dword [esp + 0x48], eax
cmp edi, dword [esi + 0x1e4]
jge 0x406ad0
mov eax, dword [esi + 0x1e0]
mov ebp, edi
shl ebp, 4
mov eax, dword [eax + ebp]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406a80
jne 0x40671e
add edi, 1
cmp edi, dword [esi + 0x1e4]
jl 0x406a99
mov ebp, esi
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 0xe8]
mov dword [eax + 0xc], 0xfffffff0
test edx, edx
je 0x407290
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax]
test eax, eax
jne 0x407290
mov eax, dword [esp + 0x40]
mov dword [eax + 0xc], 0x30
mov edx, dword [esp + 0x48]
test edx, edx
je 0x406b3c
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
add eax, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.avutil_56.dll_av_opt_eval_int
test eax, eax
js 0x407d8e
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0x80000000
mov dword [esp], eax
call sub.avcodec_58.dll_avcodec_alloc_context3
mov dword [esi + 0x14], eax
test eax, eax
je 0x407db7
mov edx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.avcodec_58.dll_avcodec_parameters_to_context
test eax, eax
js 0x407d66
mov eax, dword [ebp + 0xe4]
test eax, eax
je 0x406b94
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x14]
or dword [eax + 0x3c], 0x800000
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
add eax, 1
cmp eax, 5
ja case.default.0x406baa
jmp dword [eax*4 + 0x4386ec]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sub.avcodec_58.dll_avcodec_parameters_from_context
test eax, eax
js 0x407d66
mov ecx, dword [esp + 0x38]
add dword [esp + 0x54], 1
mov eax, dword [esp + 0x54]
cmp dword [ecx + 0x18], eax
ja 0x4065d8
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [0x4480d0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.avformat_58.dll_av_dump_format
mov eax, dword [0x4480d0]
mov dword [esp + 8], 0x4480d0
mov dword [esp + 4], 4
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x4480d4]
mov dword [esp], eax
call fcn.00417470
mov dword [esp], 0x88
mov dword [0x4480d4], eax
call sub.avutil_56.dll_av_mallocz
mov edi, eax
test eax, eax
je 0x40671e
mov edx, dword [0x4480d0]
mov eax, dword [0x4480d4]
mov ebx, dword [esp + 0x70]
mov esi, dword [0x448058]
mov dword [eax + edx*4 - 4], edi
mov eax, dword [0x4480d8]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [edi], ebx
sub eax, ecx
mov dword [edi + 0x44], edx
mov edx, dword [ebp + 0xc4]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], edx
mov edx, dword [ebp + 0x54]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0xc0]
mov dword [edi + 0x2c], edx
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 0x50]
mov dword [edi + 0x28], eax
test esi, esi
jne 0x407c20
sub eax, dword [esp + 0x68]
sbb edx, dword [esp + 0x6c]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x5c]
mov dword [edi + 0x34], edx
mov edx, 8
mov dword [edi + 0x60], eax
mov eax, dword [ebp + 0x60]
mov dword [edi + 0x58], ecx
mov dword [edi + 0x64], eax
mov eax, dword [ebp + 0x58]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x64]
mov dword [edi + 0x1c], 0
test eax, eax
mov dword [edi + 0x20], 1
cmovle eax, edx
mov dword [edi + 0x24], 1
xor ebx, ebx
mov dword [esp + 0x40], edi
mov dword [edi + 0x84], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x38], eax
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0x4374e2
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_get
mov ebx, eax
test eax, eax
je 0x40754a
mov edi, dword [ebx]
mov dword [esp + 4], 0x3a
mov dword [esp], edi
call sub.msvcrt.dll_strchr
mov esi, eax
test eax, eax
je 0x4073d0
mov byte [eax], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
mov byte [esi], 0x3a
jmp 0x406d28
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x407418
mov eax, dword [ebp + 0x1ac]
xor esi, esi
test eax, eax
jg 0x406ddf
jmp 0x406e16
mov eax, dword [ebp + 0x1a8]
mov edx, dword [esp + 0x40]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [edx + 0xa4], eax
cmp esi, dword [ebp + 0x1ac]
jge 0x406e16
mov eax, dword [ebp + 0x1a8]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406dc0
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x1ac]
jl 0x406ddf
mov edi, dword [ebp + 0x1b4]
mov dword [esp + 0x48], 0
xor esi, esi
test edi, edi
jg 0x406e49
jmp case.0x406baa.4
mov eax, dword [ebp + 0x1b0]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x48], eax
cmp esi, dword [ebp + 0x1b4]
jge 0x406e80
mov eax, dword [ebp + 0x1b0]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406e30
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x1b4]
jl 0x406e49
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 0x14]
test ecx, ecx
je 0x406bbf
lea edx, [eax + 0x60]
add eax, 0x5c
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.avutil_56.dll_av_parse_video_size
test eax, eax
js 0x407deb
mov eax, dword [ebx + 0x14]
jmp 0x406bbf
mov eax, dword [esp + 0x40]
xor esi, esi
mov dword [eax + 0x9c], 0x7fffffff
mov eax, dword [ebp + 0x1d4]
test eax, eax
jg 0x406eff
jmp 0x406f36
mov eax, dword [ebp + 0x1d0]
mov ecx, dword [esp + 0x40]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0x9c], eax
cmp esi, dword [ebp + 0x1d4]
jge 0x406f36
mov eax, dword [ebp + 0x1d0]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406ee0
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x1d4]
jl 0x406eff
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
call fcn.00426f00
mov eax, dword [ebx + 0x14]
jmp 0x406bbf
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x4073f8
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x40]
mov edx, dword [eax + 0x2a8]
mov ecx, dword [ecx + 0x14]
test edx, edx
je 0x406f91
mov dword [ecx + 0x2a8], edx
mov edx, dword [eax + 0x5c]
mov dword [ecx + 0x5c], edx
mov edx, dword [eax + 0x60]
mov dword [ecx + 0x60], edx
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
mov dword [ecx + 0x64], edx
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov esi, dword [ebp + 0x3c]
mov dword [ecx + 0x2f8], eax
mov dword [ecx + 0x2fc], edx
test esi, esi
jle 0x407029
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x58]
jmp 0x406fd3
mov eax, dword [ebp + 0x38]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x48], eax
cmp esi, dword [ebp + 0x3c]
jge 0x407004
mov eax, dword [ebp + 0x38]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x406fc0
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x3c]
jl 0x406fd3
mov eax, dword [esp + 0x48]
test eax, eax
je 0x407029
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
add eax, 0x90
mov dword [esp], eax
call sub.avutil_56.dll_av_parse_video_rate
test eax, eax
js 0x407e38
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x16c]
mov esi, dword [esp + 0x58]
mov dword [eax + 0x98], 0xffffffff
test ecx, ecx
jg 0x40706f
jmp 0x4070a6
mov eax, dword [ebp + 0x168]
mov ecx, dword [esp + 0x40]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0x98], eax
cmp esi, dword [ebp + 0x16c]
jge 0x4070a6
mov eax, dword [ebp + 0x168]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x407050
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x16c]
jl 0x40706f
mov edx, dword [ebp + 0x7c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x48], 0
test edx, edx
jg 0x4070d3
jmp 0x407150
mov eax, dword [ebp + 0x78]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x48], eax
cmp esi, dword [ebp + 0x7c]
jge 0x407104
mov eax, dword [ebp + 0x78]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x4070c0
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x7c]
jl 0x4070d3
mov edx, dword [esp + 0x48]
mov esi, edx
test edx, edx
je 0x407150
mov edi, str.nvdec
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x407318
mov edi, 0x438468
mov ecx, 5
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x4073a0
mov eax, dword [esp + 0x40]
mov dword [eax + 0x100], 0
mov eax, dword [ebp + 0x84]
test eax, eax
jle 0x4071e2
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x58]
jmp 0x407189
mov eax, dword [ebp + 0x80]
add esi, 1
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x48], eax
cmp esi, dword [ebp + 0x84]
jge 0x4071c0
mov eax, dword [ebp + 0x80]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x407170
jne 0x40671e
add esi, 1
cmp esi, dword [ebp + 0x84]
jl 0x407189
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4071e2
mov dword [esp], eax
call sub.avutil_56.dll_av_strdup
mov edx, dword [esp + 0x40]
mov dword [edx + 0x108], eax
test eax, eax
je 0x40671e
mov eax, dword [ebp + 0x8c]
test eax, eax
jle 0x407300
xor edi, edi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x48], edi
mov edi, ebp
jmp 0x407219
mov eax, dword [edi + 0x88]
add esi, 1
mov eax, dword [eax + ebp + 8]
mov dword [esp + 0x48], eax
cmp esi, dword [edi + 0x8c]
jge 0x407250
mov eax, dword [edi + 0x88]
mov ebp, esi
shl ebp, 4
mov eax, dword [eax + ebp]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00417090
test eax, eax
jg 0x407200
jne 0x40671e
add esi, 1
cmp esi, dword [edi + 0x8c]
jl 0x407219
mov ebp, edi
mov edi, dword [esp + 0x48]
test edi, edi
je 0x407300
mov dword [esp], edi
call sub.avutil_56.dll_av_get_pix_fmt
mov edx, dword [esp + 0x40]
mov dword [edx + 0x10c], eax
cmp eax, 0xffffffff
je 0x407525
mov eax, dword [esp + 0x40]
mov dword [eax + 0x120], 0xffffffff
mov eax, dword [eax + 0x14]
jmp 0x406bbf
mov eax, dword [ebp + 0xec]
test eax, eax
je 0x4072b0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 1
je 0x406afe
mov eax, dword [ebp + 0xf0]
test eax, eax
je 0x4072d0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 3
je 0x406afe
mov eax, dword [ebp + 0xf4]
test eax, eax
je 0x406b09
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 2
jne 0x406b09
jmp 0x406afe
mov eax, dword [esp + 0x40]
mov dword [eax + 0x10c], 0xffffffff
jmp 0x407279
mov dword [esp + 0x48], str.cuda
mov eax, 1
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x48]
jmp 0x407352
add esi, 1
mov eax, esi
shl eax, 4
mov eax, dword [eax + 0x43c400]
test eax, eax
je 0x407438
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x407330
shl esi, 4
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x43c408]
mov dword [edx + 0x100], eax
test eax, eax
jne 0x407150
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sub.avutil_56.dll_av_hwdevice_find_type_by_name
test eax, eax
je 0x407b31
mov edx, dword [esp + 0x40]
mov dword [edx + 0x100], 2
mov dword [edx + 0x104], eax
jmp 0x407150
mov esi, edx
mov edi, 0x43846d
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x407e1b
mov eax, dword [esp + 0x40]
mov dword [eax + 0x100], 1
jmp 0x407150
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
jmp 0x406d28
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.avcodec_58.dll_avcodec_find_decoder
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], eax
jmp 0x406f5f
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.avcodec_58.dll_avcodec_find_decoder
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], eax
jmp 0x406daf
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x100]
jmp 0x407369
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x407478
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x42c]
mov eax, dword [eax + 0x428]
lea ebx, [edx - 0x80000000]
or ebx, eax
je 0x407478
add dword [esp + 0x68], eax
adc dword [esp + 0x6c], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
and eax, 0x4000000
jne 0x4074d4
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x407d18
mov ebx, dword [edx + 0x1c]
jmp 0x4074b3
add eax, 1
cmp eax, ecx
je 0x407d18
mov edx, dword [ebx + eax*4]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 0x58]
test edx, edx
je 0x4074a8
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
add ecx, 0xfffe027e
adc ebx, 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sub.avformat_58.dll_avformat_seek_file
test eax, eax
js 0x407d25
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
jmp 0x4065ab
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.Unrecognised_hwaccel_output_format:__s
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
jmp 0x407279
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x74], eax
cmp edx, dword [0x4480d8]
jge 0x4075e5
mov dword [esp + 0x38], ebx
mov edi, edx
lea esi, [esi]
nop
lea esi, [edi*4]
xor ebx, ebx
jmp 0x4075a2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
mov eax, dword [0x4480dc]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0x4374e2
mov eax, dword [eax + esi]
mov eax, dword [eax + 0x8c]
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_get
mov ebx, eax
test eax, eax
jne 0x407580
add edi, 1
cmp dword [0x4480d8], edi
jg 0x407570
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x64]
lea edi, [esp + 0x78]
jmp 0x4076bd
call sub.avcodec_58.dll_avcodec_get_class
mov dword [esp + 0x10], 3
mov dword [esp + 0x78], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.avutil_56.dll_av_opt_find
mov ebp, eax
call sub.avformat_58.dll_avformat_get_class
mov dword [esp + 0x10], 3
mov dword [esp + 0x7c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call sub.avutil_56.dll_av_opt_find
test ebp, ebp
je 0x4076b9
test eax, eax
jne 0x4076b9
mov eax, dword [0x4480d0]
mov ecx, 0x4374e2
lea edx, [eax - 1]
mov eax, dword [ebp + 4]
test eax, eax
cmove eax, ecx
test byte [ebp + 0x28], 2
je 0x407ec8
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov dword [esp + 8], str.Codec_AVOption__s___s__specified_for_input_file__d___s__has_not_been_used_for_any_stream._The_most_likely_reason_is_either_wrong_type__e.g._a_video_option_with_no_video_streams__or_that_it_is_a_private_option_of_some_decoder_which_was_not_actually_used_for_any_stream._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x18
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov eax, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0x4374e2
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_get
mov ebx, eax
test eax, eax
jne 0x407600
lea eax, [esp + 0x74]
mov ebp, dword [esp + 0x38]
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_free
mov ecx, dword [ebp + 0x74]
test ecx, ecx
jle 0x40782c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], 0
mov edx, dword [eax + 0x18]
lea esi, [esi]
mov esi, dword [esp + 0x38]
xor ebx, ebx
shl esi, 4
test edx, edx
jne 0x40773a
jmp 0x40781b
mov eax, dword [esp + 0x70]
add ebx, 1
mov edx, dword [eax + 0x18]
cmp edx, ebx
jbe 0x407818
mov edx, dword [eax + 0x1c]
mov edi, dword [edx + ebx*4]
mov edx, dword [ebp + 0x70]
mov edx, dword [edx + esi]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00417090
cmp eax, 1
jne 0x407728
mov eax, dword [ebp + 0x70]
mov edx, dword [eax + esi + 8]
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x7c], 0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4078c0
cmp byte [edx], 0
je 0x407848
mov eax, edx
mov dword [esp + 0x40], edx
call fcn.004025b0
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x44176c
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp], eax
call sub.avformat_58.dll_avio_open2
mov edx, dword [esp + 0x40]
test eax, eax
js 0x407e4d
mov eax, dword [edi + 0xb0]
add ebx, 1
mov edx, dword [eax + 0x10]
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sub.avformat_58.dll_avio_write
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sub.avformat_58.dll_avio_flush
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sub.avformat_58.dll_avio_close
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x18]
cmp edx, ebx
ja 0x40773a
lea esi, [esi]
mov ecx, dword [ebp + 0x74]
add dword [esp + 0x38], 1
mov ebx, dword [esp + 0x38]
cmp ebx, ecx
jl 0x407710
mov dword [0x448080], 1
xor eax, eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.filename
mov eax, dword [edi + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_get
mov edx, dword [esp + 0x40]
test eax, eax
je 0x40787a
mov edx, dword [eax + 4]
cmp byte [edx], 0
jne 0x407784
mov eax, dword [edi]
mov dword [esp + 8], str.No_filename_specified_and_no_filename_tagin_stream__d:_d._n
mov dword [esp + 4], 8
mov dword [esp + 0x10], eax
mov eax, dword [0x4480d0]
mov dword [esp], 0
sub eax, 1
mov dword [esp + 0xc], eax
call sub.avutil_56.dll_av_log
jmp 0x40671e
mov eax, dword [edi]
mov dword [esp + 8], str.No_extradata_to_dump_in_stream__d:_d._n
mov dword [esp + 4], 0x18
mov dword [esp + 0x10], eax
mov eax, dword [0x4480d0]
mov dword [esp], 0
sub eax, 1
mov dword [esp + 0xc], eax
call sub.avutil_56.dll_av_log
jmp 0x407728
mov ebx, esi
lea esi, [edi - 0x80000000]
or esi, ebx
je 0x407f06
mov ebx, dword [esp + 0x44]
test ebx, ebx
jns 0x407e5b
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x430]
mov edi, dword [eax + 0x434]
mov dword [esp + 0x38], eax
cmp ecx, esi
sbb ecx, edi
jge 0x407cef
add esi, dword [esp + 0x40]
adc edi, dword [esp + 0x44]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
test edi, edi
jns 0x40744f
mov eax, dword [esp + 0x64]
mov dword [esp + 8], str._sseof_value_seeks_to_before_start_of_file__s__ignored_n
mov dword [esp + 4], 0x18
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov eax, dword [esp + 0x70]
mov edx, dword [ebp + 0x18]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0x80000000
mov dword [esp + 0x38], eax
test edx, edx
jne 0x40659b
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x42c]
mov eax, dword [eax + 0x428]
mov dword [esp + 0x6c], edx
lea edx, [edx - 0x80000000]
or edx, eax
mov dword [esp + 0x68], eax
jne 0x4065ab
jmp 0x40659b
mov eax, dword [ebp]
xor edi, edi
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004173d0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov esi, dword [edx + 0x18]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.avformat_58.dll_avformat_find_stream_info
mov ebx, eax
test esi, esi
jle 0x407a06
lea esi, [esi]
mov eax, dword [esp + 0x7c]
lea eax, [eax + edi*4]
add edi, 1
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_free
cmp esi, edi
jne 0x4079f0
lea eax, [esp + 0x7c]
mov dword [esp], eax
call sub.avutil_56.dll_av_freep
test ebx, ebx
jns 0x4064fc
mov eax, dword [esp + 0x64]
mov dword [esp + 8], str._s:_could_not_find_codec_parameters_n
mov dword [esp + 4], 8
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x18]
test esi, esi
jne 0x4064fc
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.avformat_58.dll_avformat_close_input
mov dword [esp], 1
call fcn.00411e90
lea esi, [esi]
add eax, 0xfffffff
mov dword [esp + 0xc], 0
shl eax, 4
add eax, dword [ebp + 0x40]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.video_size
mov dword [esp + 8], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x406296
add eax, 0xfffffff
mov dword [esp + 0xc], 0
shl eax, 4
add eax, dword [ebp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.pixel_format
mov dword [esp + 8], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
mov edx, dword [ebp + 0x24]
test edx, edx
jg 0x4062a1
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x70]
xor esi, esi
xor edi, edi
xor eax, eax
jmp 0x4063b1
add eax, 0xfffffff
mov dword [esp + 0x10], 0
shl eax, 4
add eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.sample_rate
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set_int
jmp 0x4061f2
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x100]
test esi, esi
jne 0x407150
mov eax, dword [esp + 0x48]
mov dword [esp + 8], str.Unrecognized_hwaccel:__s._n
mov dword [esp + 4], 8
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp + 8], str.Supported_hwaccels:
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
jmp 0x407bad
mov dword [esp], esi
call sub.avutil_56.dll_av_hwdevice_get_type_name
mov dword [esp + 8], 0x4384a2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp], esi
call sub.avutil_56.dll_av_hwdevice_iterate_types
mov esi, eax
test eax, eax
jne 0x407b85
mov ebx, 0x43c400
mov eax, 0x4380a4
mov dword [esp + 0xc], eax
add ebx, 0x10
mov dword [esp + 8], 0x4384a2
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov eax, dword [ebx]
test eax, eax
jne 0x407bc5
mov dword [esp + 8], 0x4380ae
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp], 1
call fcn.00411e90
lea esi, [esi]
lea esi, [esi]
mov esi, dword [0x448054]
test esi, esi
je 0x406cc0
mov esi, dword [ebx + 0x42c]
mov ebx, dword [ebx + 0x428]
mov dword [esp + 0x3c], esi
mov esi, ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x3c]
add ebx, 0x80000000
or ebx, esi
je 0x406cc0
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
jmp 0x406cc0
xor ecx, ecx
xor ebx, ebx
jmp 0x406174
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x437855
mov dword [esp + 4], str.scan_all_pmts
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 0x38], eax
call sub.avformat_58.dll_avformat_open_input
test eax, eax
js 0x407e79
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.scan_all_pmts
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call sub.avutil_56.dll_av_dict_set
jmp 0x406497
mov eax, dword [esp + 0x64]
mov dword [esp + 8], str.Cannot_use__sseof__duration_of__s_not_known_n
mov dword [esp + 4], 0x18
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sub.avutil_56.dll_av_log
jmp 0x40656a
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
jmp 0x4074d4
fild qword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov dword [esp + 8], str._s:_could_not_seek_to_position__0.3f_n
mov dword [esp + 4], 0x18
mov dword [esp + 0xc], eax
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fld dword [0x43c434]
mov dword [esp], 0
fdivp st(1)
fstp qword [esp + 0x10]
call sub.avutil_56.dll_av_log
jmp 0x407518
mov dword [esp + 8], str.Error_initializing_the_decoder_context._n
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp], 1
call fcn.00411e90
mov eax, dword [esp + 0x48]
mov dword [esp + 8], str.Error_parsing_discard__s._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sub.avutil_56.dll_av_log
jmp 0x40671e
mov dword [esp + 8], str.Error_allocating_the_decoder_context._n
jmp 0x407d6e
mov dword [esp + 8], str._to_value_smaller_than__ss__aborting._n
jmp 0x407d6e
mov eax, dword [esp + 0x64]
mov dword [esp + 4], 0xfffffff4
mov dword [esp], eax
call fcn.00415840
mov dword [esp], 1
call fcn.00411e90
mov eax, dword [esp + 0x48]
mov dword [esp + 8], str.Invalid_canvas_size:__s._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp], 1
call fcn.00411e90
mov eax, dword [esp + 0x48]
mov dword [esp], 0x4380a4
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcmp
jmp 0x407325
mov eax, dword [esp + 0x48]
mov dword [esp + 8], str.Error_parsing_framerate__s._n
mov dword [esp + 0xc], eax
jmp 0x407d9e
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Could_not_open_file__s_for_writing._n
jmp 0x407dfb
mov dword [esp + 8], str._sseof_value_must_be_negative__aborting_n
jmp 0x407d6e
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], str.Unknown_input_format:__s_n
mov dword [esp + 0xc], eax
jmp 0x407dfb
mov dword [esp + 4], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00415840
mov eax, dword [esp + 0x38]
cmp eax, 0xb0adaf08
jne 0x40671e
mov eax, dword [esp + 0x64]
mov dword [esp + 8], str.Did_you_mean_file:_s__n
mov dword [esp + 4], 0x10
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sub.avutil_56.dll_av_log
jmp 0x40671e
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
mov dword [esp + 8], str.Codec_AVOption__s___s__specified_for_input_file__d___s__is_not_a_decoding_option._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp], 1
call fcn.00411e90
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
jmp 0x406590
call sub.msvcrt.dll_abort
nop
nop
nop
call sub.msvcrt.dll_abort
nop
nop
nop