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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, edx
mov dword [ebp - 0x118], ecx
push ebx
xor edx, edx
mov dword [ebp - 0x120], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x148], edx
cmp dword [eax + 0x18], edx
jbe 0x10031424
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov eax, dword [eax + 0x1c]
push 0x160
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x128], eax
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x13c], eax
call dword [sym.imp.avutil_56.dll_av_mallocz]
add esp, 4
mov dword [ebp - 0x134], 0
mov ebx, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x140], 0
call dword [sym.imp.avcodec_58.dll_avcodec_get_class]
push 0
push 0
push 0
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push str.skip_frame
push eax
call dword [sym.imp.avutil_56.dll_av_opt_find]
add esp, 0x14
mov dword [ebp - 0x14c], eax
test ebx, ebx
jne 0x100302b2
mov ecx, dword [0x100b64d4]
test ecx, ecx
je 0x100302a1
push esi
push 1
call ecx
add esp, 8
push 1
call edi
add esp, 4
mov dword [0x100b64d4], 0
mov eax, dword [esi + 0x64]
lea edi, [esi + 0x64]
mov ecx, dword [esi + 0x60]
inc eax
push esi
push eax
push edi
mov edx, 4
call fcn.1001d8a0
mov ecx, dword [edi]
add esp, 0xc
movsd xmm0, qword [0x100a6598]
mov dword [esi + 0x60], eax
mov dword [eax + ecx*4 - 4], ebx
mov ecx, dword [ebp - 0x128]
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x6c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x118]
mov dword [ebx + 8], 1
mov dword [ecx + 0x34], 0x30
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x60], 0xffffffff
mov dword [ebx + 0x64], 0x7fffffff
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0x80000000
movsd qword [ebx + 0x80], xmm0
xor ebx, ebx
cmp dword [eax + 0x6c], ebx
jle 0x100303d7
xor edi, edi
nop
mov eax, dword [eax + 0x68]
mov esi, dword [edi + eax]
push esi
push ecx
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x1003039f
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030388
push dword [ebp - 0x124]
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 0x100303be
jle 0x100303be
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x68]
movsd xmm0, qword [eax + edi + 8]
mov eax, dword [ebp - 0x11c]
movsd qword [eax + 0x80], xmm0
mov eax, dword [ebp - 0x118]
inc ebx
mov ecx, dword [ebp - 0x128]
add edi, 0x10
cmp ebx, dword [eax + 0x6c]
jl 0x10030340
mov esi, dword [ebp - 0x11c]
xor ebx, ebx
mov dword [esi + 0xa0], 1
cmp dword [eax + 0x94], ebx
jle 0x1003049c
xor edi, edi
nop word [eax + eax]
mov eax, dword [eax + 0x90]
mov esi, dword [edi + eax]
push esi
push ecx
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030462
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x1003044b
push dword [ebp - 0x124]
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 0x10030480
jle 0x10030480
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [edi + eax + 8]
mov dword [ecx + 0xa0], eax
mov eax, dword [ebp - 0x118]
inc ebx
mov ecx, dword [ebp - 0x128]
add edi, 0x10
cmp ebx, dword [eax + 0x94]
jl 0x10030400
xor ebx, ebx
cmp dword [eax + 0x11c], ebx
jle 0x10030570
xor edi, edi
nop dword [eax]
mov eax, dword [eax + 0x118]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x1003064a
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030504
push dword [ebp - 0x124]
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 esi, dword [ebp - 0x130]
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x11c]
jl 0x100304b0
test esi, esi
je 0x10030570
push 0
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 0x114]
add esp, 0xc
mov edx, eax
cmp byte [ecx], 0
je 0x1003055b
mov edx, dword [esi]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xb0]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x118]
mov esi, dword [ebp - 0x124]
mov ecx, eax
mov ebx, dword [ebp - 0x120]
mov edx, ebx
push esi
push dword [ebp - 0x128]
call fcn.1002ffe0
mov edi, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
push esi
push eax
push dword [ebp - 0x128]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
mov ecx, dword [ecx]
push ebx
mov edx, dword [eax + 0xb0]
mov ecx, dword [ecx + 0x10]
mov edx, dword [edx + 4]
call fcn.1001d610
mov dword [edi + 0x8c], eax
xor ebx, ebx
mov eax, dword [ebp - 0x118]
add esp, 0x18
mov dword [edi + 0xfc], 0xffffffff
cmp dword [eax + 0x1a4], ebx
jle 0x1003069f
xor edi, edi
mov eax, dword [eax + 0x1a0]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x1003066b
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030633
push dword [ebp - 0x124]
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 0x10030689
jle 0x10030519
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x118]
mov esi, dword [eax + edi + 8]
mov dword [ebp - 0x130], esi
jmp 0x1003051f
jle 0x10030689
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x1a0]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0xfc], eax
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x1a4]
jl 0x100305e3
xor ebx, ebx
cmp dword [eax + 0x1e4], ebx
jle 0x10030745
xor edi, edi
nop
mov eax, dword [eax + 0x1e0]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030717
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030700
push dword [ebp - 0x124]
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 0x1003072f
jle 0x1003072f
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x1e0]
mov eax, dword [edi + eax + 8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x1e4]
jl 0x100306b0
mov edi, dword [ebp - 0x11c]
lea ecx, [edi + 0xc]
mov dword [ecx], 0xfffffff0
cmp dword [eax + 0xe8], 0
je 0x10030771
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 0
je 0x100307c2
mov eax, dword [ebp - 0x118]
cmp dword [eax + 0xec], 0
je 0x1003078e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 1
je 0x100307c2
mov eax, dword [ebp - 0x118]
cmp dword [eax + 0xf0], 0
je 0x100307ab
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 3
je 0x100307c2
mov eax, dword [ebp - 0x118]
cmp dword [eax + 0xf4], 0
je 0x100307c8
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 2
jne 0x100307c8
mov dword [ecx], 0x30
mov ebx, dword [ebp - 0x140]
test ebx, ebx
je 0x10030832
push ecx
push ebx
push dword [ebp - 0x14c]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.avutil_56.dll_av_opt_eval_int]
add esp, 0x10
test eax, eax
jns 0x10030832
push ebx
mov ebx, dword [sym.imp.avutil_56.dll_av_log]
push str.Error_parsing_discard__s._n
push 0x10
push 0
call ebx
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030819
push dword [ebp - 0x124]
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
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x1003083e
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov ebx, dword [sym.imp.avutil_56.dll_av_log]
push dword [edi + 0x18]
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0x80000000
call dword [sym.imp.avcodec_58.dll_avcodec_alloc_context3]
add esp, 4
mov dword [edi + 0x14], eax
test eax, eax
jne 0x10030896
push str.Error_allocating_the_decoder_context._n
push 0x10
push eax
call ebx
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10030882
push dword [ebp - 0x124]
push 1
call eax
add esp, 8
push 1
call esi
mov eax, dword [edi + 0x14]
add esp, 4
mov dword [0x100b64d4], 0
push dword [ebp - 0x13c]
push eax
call dword [sym.imp.avcodec_58.dll_avcodec_parameters_to_context]
add esp, 8
test eax, eax
jns 0x100308df
push str.Error_initializing_the_decoder_context._n
push 0x10
push 0
call ebx
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x100308ce
push dword [ebp - 0x124]
push 1
call eax
add esp, 8
push 1
call esi
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ebp - 0x118]
cmp dword [ecx + 0xe4], 0
je 0x100308f8
mov eax, dword [edi + 0x14]
or dword [eax + 0x3c], 0x800000
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ecx]
inc eax
cmp eax, 5
ja case.default.0x1003090a
jmp dword [eax*4 + 0x1003143c]
cmp dword [edi + 0x18], 0
jne 0x10030926
push dword [ecx + 4]
call dword [sym.imp.avcodec_58.dll_avcodec_find_decoder]
add esp, 4
mov dword [edi + 0x18], eax
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x2a8]
test ecx, ecx
je 0x10030972
mov eax, dword [edi + 0x14]
mov dword [eax + 0x2a8], ecx
mov eax, dword [edx + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [edx + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [edi + 0x14]
xor ebx, ebx
mov ecx, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
mov dword [eax + 0x2f8], ecx
mov dword [eax + 0x2fc], edx
mov eax, dword [ebp - 0x118]
cmp dword [eax + 0x3c], ebx
jle 0x10030a7e
xor edi, edi
nop word [eax + eax]
mov eax, dword [eax + 0x38]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030b07
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x100309f1
push dword [ebp - 0x124]
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 esi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x3c]
jl 0x100309a0
mov edi, dword [ebp - 0x11c]
test esi, esi
je 0x10030a7e
lea eax, [edi + 0x90]
push esi
push eax
call dword [sym.imp.avutil_56.dll_av_parse_video_rate]
add esp, 8
test eax, eax
jns 0x10030a78
push esi
push str.Error_parsing_framerate__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 0x10030a63
push dword [ebp - 0x124]
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 - 0x118]
xor ebx, ebx
mov dword [edi + 0x98], 0xffffffff
cmp dword [eax + 0x16c], ebx
jle 0x10030b59
xor edi, edi
nop dword [eax + eax]
mov eax, dword [eax + 0x168]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030b25
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030af0
push dword [ebp - 0x124]
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 0x10030b43
jle 0x10030a06
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x38]
mov esi, dword [eax + edi + 8]
mov dword [ebp - 0x134], esi
jmp 0x10030a0c
jle 0x10030b43
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x168]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0x98], eax
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x16c]
jl 0x10030aa0
xor ebx, ebx
cmp dword [eax + 0x7c], ebx
jle 0x10030e0e
xor edi, edi
mov eax, dword [eax + 0x78]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030c10
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030bb7
push dword [ebp - 0x124]
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 esi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x7c]
jl 0x10030b66
test esi, esi
je 0x10030e0e
mov ecx, str.nvdec
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030c27
test dl, dl
je 0x10030c0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030c27
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030bf0
xor eax, eax
jmp 0x10030c2c
jle 0x10030bcc
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x78]
mov esi, dword [eax + edi + 8]
mov dword [ebp - 0x138], esi
jmp 0x10030bd2
sbb eax, eax
or eax, 1
test eax, eax
mov edi, str.cuda
mov ecx, str.none
cmovne edi, esi
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030c60
test dl, dl
je 0x10030c5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030c60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030c40
xor eax, eax
jmp 0x10030c65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10030c7e
mov eax, dword [ebp - 0x11c]
mov dword [eax + 0x100], 0
jmp 0x10030e08
mov ecx, str.auto
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030ca5
test dl, dl
je 0x10030ca1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030ca5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030c85
xor eax, eax
jmp 0x10030caa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10030cc3
mov eax, dword [ebp - 0x11c]
mov dword [eax + 0x100], 1
jmp 0x10030e08
mov eax, dword [0x10092dd8]
xor esi, esi
test eax, eax
je 0x10030d0f
nop
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030cf2
test dl, dl
je 0x10030cee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030cf2
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030cd2
xor eax, eax
jmp 0x10030cf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x10030f6d
inc esi
mov eax, esi
shl eax, 4
mov eax, dword [eax + 0x10092dd8]
test eax, eax
jne 0x10030cd0
mov ebx, dword [ebp - 0x11c]
cmp dword [ebx + 0x100], 0
jne 0x10030e08
push edi
call dword [sym.imp.avutil_56.dll_av_hwdevice_find_type_by_name]
add esp, 4
test eax, eax
je 0x10030d40
mov dword [ebx + 0x100], 2
mov dword [ebx + 0x104], eax
cmp dword [ebx + 0x100], 0
jne 0x10030e08
mov ebx, dword [sym.imp.avutil_56.dll_av_log]
push edi
push str.Unrecognized_hwaccel:__s._n
push 8
push 0
call ebx
push str.Supported_hwaccels:
push 8
push 0
call ebx
mov edi, dword [sym.imp.avutil_56.dll_av_hwdevice_iterate_types]
add esp, 0x1c
push 0
call edi
mov esi, eax
add esp, 4
test esi, esi
je 0x10030da2
push esi
call dword [sym.imp.avutil_56.dll_av_hwdevice_get_type_name]
add esp, 4
push eax
push 0x10097388
push 8
push 0
call ebx
push esi
call edi
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10030d80
mov eax, dword [0x10092dd8]
xor esi, esi
test eax, eax
je 0x10030dcf
nop dword [eax]
push eax
push 0x10097388
push 8
push 0
call ebx
inc esi
add esp, 0x10
mov eax, esi
shl eax, 4
mov eax, dword [eax + 0x10092dd8]
test eax, eax
jne 0x10030db0
push 0x100960ec
push 8
push 0
call ebx
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x10030df3
push dword [ebp - 0x124]
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 - 0x118]
xor ebx, ebx
cmp dword [eax + 0x84], ebx
jle 0x10030ef2
xor edi, edi
nop
mov eax, dword [eax + 0x80]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030f87
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030e74
push dword [ebp - 0x124]
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
add esp, 4
mov dword [0x100b64d4], 0
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x84]
jl 0x10030e20
test ecx, ecx
je 0x10030ef2
push ecx
call dword [sym.imp.avutil_56.dll_av_strdup]
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov dword [ecx + 0x108], eax
test eax, eax
jne 0x10030eec
mov eax, dword [0x100b64d4]
test eax, eax
je 0x10030edb
push dword [ebp - 0x124]
push 1
call eax
add esp, 8
push 1
call esi
add esp, 4
mov dword [0x100b64d4], 0
mov eax, dword [ebp - 0x118]
xor ebx, ebx
cmp dword [eax + 0x8c], ebx
jle 0x10030fdc
xor edi, edi
mov eax, dword [eax + 0x88]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10030fae
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10030f56
push dword [ebp - 0x124]
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 0x10030fc6
mov ebx, dword [ebp - 0x11c]
shl esi, 4
mov eax, dword [esi + 0x10092de0]
mov dword [ebx + 0x100], eax
jmp 0x10030d15
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
jle 0x10030e8b
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x80]
mov ecx, dword [edi + eax + 8]
mov dword [ebp - 0x12c], ecx
jmp 0x10030e91
jle 0x10030fc6
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x88]
mov eax, dword [edi + eax + 8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x8c]
jl 0x10030f02
mov edi, dword [ebp - 0x144]
test edi, edi
je 0x10031023
push edi
call dword [sym.imp.avutil_56.dll_av_get_pix_fmt]
mov esi, dword [ebp - 0x11c]
add esp, 4
mov dword [esi + 0x10c], eax
cmp eax, 0xffffffff
jne 0x10031033
push edi
push str.Unrecognised_hwaccel_output_format:__s
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
add esp, 0x10
mov dword [esi + 0x120], 0xffffffff
jmp 0x100313ab
mov esi, dword [ebp - 0x11c]
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x120], 0xffffffff
jmp 0x100313ab
mov eax, dword [ebp - 0x118]
xor ebx, ebx
mov dword [edi + 0x9c], 0x7fffffff
cmp dword [eax + 0x1d4], ebx
jle 0x10031103
xor edi, edi
mov eax, dword [eax + 0x1d0]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x100310c9
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x100310b2
push dword [ebp - 0x124]
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 0x100310e7
jle 0x100310e7
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x1d0]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0x9c], eax
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x1d4]
jl 0x10031062
mov edi, dword [ebp - 0x11c]
mov esi, dword [edi + 0x14]
mov eax, dword [esi + 0x178]
or eax, dword [esi + 0x17c]
jne case.0x1003090a.4
mov eax, dword [esi + 0x15c]
cmp eax, dword [edi + 0x9c]
jg case.0x1003090a.4
push eax
call dword [sym.imp.avutil_56.dll_av_get_default_channel_layout]
mov dword [esi + 0x17c], edx
add esp, 4
mov ecx, dword [esi + 0x17c]
mov edx, eax
mov dword [esi + 0x178], eax
or eax, ecx
je case.0x1003090a.4
push ecx
push edx
push dword [esi + 0x15c]
lea eax, [ebp - 0x10c]
push 0x100
push eax
call dword [sym.imp.avutil_56.dll_av_get_channel_layout_string]
mov ebx, dword [sym.imp.avutil_56.dll_av_log]
lea eax, [ebp - 0x10c]
add esp, 0x14
push eax
mov eax, dword [edi + 4]
push dword [eax]
push dword [edi]
push str.Guessed_Channel_Layout_for_Input_Stream__d._d_:__s_n
push 0x18
push 0
call ebx
mov esi, dword [ebp - 0x11c]
add esp, 0x18
jmp 0x100313b1
cmp dword [edi + 0x18], 0
mov dword [ebp - 0x12c], 0
jne 0x100311b9
push dword [ecx + 4]
call dword [sym.imp.avcodec_58.dll_avcodec_find_decoder]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x118]
xor ebx, ebx
cmp dword [eax + 0x1ac], ebx
jle 0x1003126b
xor edi, edi
nop
mov eax, dword [eax + 0x1a8]
mov esi, dword [edi + eax]
push esi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10031237
push esi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10031220
push dword [ebp - 0x124]
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 0x10031255
jle 0x10031255
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x1a8]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebp - 0x118]
inc ebx
add edi, 0x10
cmp ebx, dword [eax + 0x1ac]
jl 0x100311d0
xor ebx, ebx
cmp dword [eax + 0x1b4], ebx
jle case.0x1003090a.4
xor esi, esi
nop dword [eax + eax]
mov eax, dword [eax + 0x1b0]
mov edi, dword [esi + eax]
push edi
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call dword [sym.imp.avformat_58.dll_avformat_match_stream_specifier]
add esp, 0xc
test eax, eax
jns 0x10031376
push edi
push str.Invalid_stream_specifier:__s._n
push 0x10
push dword [ebp - 0x120]
call dword [sym.imp.avutil_56.dll_av_log]
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x100312d4
push dword [ebp - 0x124]
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 edi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x118]
inc ebx
add esi, 0x10
cmp ebx, dword [eax + 0x1b4]
jl 0x10031280
test edi, edi
je case.0x1003090a.4
mov eax, dword [ebp - 0x11c]
push edi
mov ecx, dword [eax + 0x14]
lea eax, [ecx + 0x60]
push eax
lea eax, [ecx + 0x5c]
push eax
call dword [sym.imp.avutil_56.dll_av_parse_video_size]
mov ebx, dword [sym.imp.avutil_56.dll_av_log]
add esp, 0xc
test eax, eax
jns 0x10031397
push edi
push str.Invalid_canvas_size:__s._n
push 8
push 0
call ebx
mov eax, dword [0x100b64d4]
add esp, 0x10
test eax, eax
je 0x10031357
push dword [ebp - 0x124]
push 1
call eax
add esp, 8
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
push 1
call edi
mov esi, dword [ebp - 0x11c]
add esp, 4
mov dword [0x100b64d4], 0
jmp 0x100313b7
jle 0x100312e9
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x1b0]
mov edi, dword [eax + esi + 8]
mov dword [ebp - 0x12c], edi
jmp 0x100312ef
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
mov esi, dword [ebp - 0x11c]
jmp 0x100313b7
mov esi, dword [ebp - 0x11c]
mov ebx, dword [sym.imp.avutil_56.dll_av_log]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
push dword [esi + 0x14]
push dword [ebp - 0x13c]
call dword [sym.imp.avcodec_58.dll_avcodec_parameters_from_context]
add esp, 8
test eax, eax
jns 0x10031402
push str.Error_initializing_the_decoder_context._n
push 0x10
push 0
call ebx
mov eax, dword [0x100b64d4]
add esp, 0xc
test eax, eax
je 0x100313f1
push dword [ebp - 0x124]
push 1
call eax
add esp, 8
push 1
call edi
add esp, 4
mov dword [0x100b64d4], 0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x120]
inc edx
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x148], edx
cmp edx, dword [eax + 0x18]
jb 0x100301f4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007fac0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
nop
movsd dword es:[edi], dword [esi]
adc eax, dword [ebx]
adc byte [ecx], dl
or dword [ebx], eax
adc byte [edx + 0x10], al
add edx, dword [eax]
lcall 0x311, 0x9a100311
adc byte [ebp - 871365869], ah
int3