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

Disassembly:
mov eax, dword [0x659a34]
sub esp, 0x210
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x70]
push edi
test ecx, eax
jne 0x4b1be7
mov dword [esp + 0x10], str.avformat_57.dll
mov dword [esp + 0x14], str.avcodec_57.dll
mov dword [esp + 0x18], str.avutil_55.dll
mov dword [esp + 0x1c], str.swscale_4.dll
xor ebp, ebp
lea esi, [esp + 0x10]
lea edi, [ebx + 0x74]
mov ecx, dword [esi]
push ecx
call fcn.00470ad0
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x4b1bf7
inc ebp
add esi, 4
add edi, 4
cmp ebp, 4
jb 0x4b18d5
mov edx, 0x584808
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x20], str.av_register_all
mov dword [esp + 0x24], str.avformat_open_input
mov dword [esp + 0x28], str.avformat_find_stream_info
mov dword [esp + 0x2c], str.av_find_best_stream
mov dword [esp + 0x30], str.av_read_frame
mov dword [esp + 0x34], str.av_seek_frame
mov dword [esp + 0x38], str.avformat_flush
mov dword [esp + 0x3c], str.avformat_close_input
mov dword [esp + 0x40], edx
xor esi, esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x8c], eax
mov ecx, 8
mov dword [esp + 0x90], eax
lea edi, [esp + 0xc0]
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], str.avcodec_find_decoder
mov dword [esp + 0x98], eax
mov dword [esp + 0x64], str.avcodec_alloc_context3
mov dword [esp + 0x68], str.avcodec_parameters_to_context
mov dword [esp + 0x6c], str.avcodec_open2
mov dword [esp + 0x70], str.av_init_packet
mov dword [esp + 0x74], str.avcodec_decode_video2
mov dword [esp + 0x78], str.avpicture_fill
mov dword [esp + 0x7c], str.av_packet_unref
mov dword [esp + 0x80], str.avcodec_close
mov dword [esp + 0x84], str.avcodec_free_context
mov dword [esp + 0x88], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], str.av_frame_alloc
mov dword [esp + 0xa4], str.av_image_get_buffer_size
mov dword [esp + 0xa8], str.av_malloc
mov dword [esp + 0xac], str.av_image_copy_to_buffer
mov dword [esp + 0xb0], str.av_image_alloc
mov dword [esp + 0xb4], str.av_freep
mov dword [esp + 0xb8], str.av_frame_free
mov dword [esp + 0xbc], edx
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esp + 0xf0]
mov dword [esp + 0xe0], str.sws_getContext
mov dword [esp + 0xe4], str.sws_scale
mov dword [esp + 0xe8], str.sws_freeContext
mov dword [esp + 0xec], edx
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x124]
mov dword [esp + 0x120], esi
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x74]
mov edi, eax
mov ebp, 0x10
mov eax, dword [esp + esi + 0x120]
test eax, eax
jne 0x4b1ab0
mov eax, dword [esp + esi + 0x20]
test eax, eax
je 0x4b1ab0
cmp byte [eax], 0
je 0x4b1ab0
mov ecx, dword [edi]
push eax
push ecx
call fcn.00470b20
add esp, 8
mov dword [esp + esi + 0x120], eax
add esi, 4
dec ebp
jne 0x4b1a85
add edi, 4
cmp esi, 0x100
jl 0x4b1a80
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x12c]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x130]
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x134]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x138]
mov dword [ebx + 0x14], edx
mov edx, dword [esp + 0x13c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x160]
mov dword [ebx + 0x1c], edx
mov edx, dword [esp + 0x164]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x168]
mov dword [ebx + 0x24], edx
mov edx, dword [esp + 0x16c]
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x170]
mov dword [ebx + 0x2c], edx
mov edx, dword [esp + 0x174]
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0x178]
mov dword [ebx + 0x34], edx
mov edx, dword [esp + 0x17c]
mov dword [ebx + 0x38], ecx
mov ecx, dword [esp + 0x180]
mov dword [ebx + 0x3c], edx
mov edx, dword [esp + 0x184]
mov dword [ebx + 0x40], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [ebx + 0x44], edx
mov edx, dword [esp + 0x1a4]
mov dword [ebx + 0x48], ecx
mov ecx, dword [esp + 0x1a8]
mov dword [ebx + 0x4c], edx
mov edx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x120]
mov dword [ebx + 0x50], ecx
mov ecx, dword [esp + 0x1b0]
mov dword [ebx + 0x54], edx
mov edx, dword [esp + 0x1b4]
mov dword [ebx + 0x58], ecx
mov ecx, dword [esp + 0x1b8]
mov dword [ebx + 0x5c], edx
mov edx, dword [esp + 0x1e0]
mov dword [ebx + 0x60], ecx
mov ecx, dword [esp + 0x1e4]
mov dword [ebx + 0x64], edx
mov edx, dword [esp + 0x1e8]
mov dword [ebx], eax
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], edx
call eax
mov eax, dword [0x659a34]
mov ecx, dword [ebx + 0x70]
or ecx, eax
mov dword [ebx + 0x70], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret
push str.mpeg.so_not_found__n
call fcn.0040e090
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret