Function at 0x655060
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x61c
push ebx
xor ebx, ebx
push ebp
lea eax, [esp + 0x41c]
push eax
lea ebp, [esi + 4]
mov eax, str.ffmpeg24
mov dword [esi], ebx
mov dword [ebp], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
call fcn.004a6a60
test al, al
je 0x6555cd
push edi
lea eax, [esp + 0x420]
lea edi, [esp + 0x218]
call fcn.004ad090
push 0x6bc0cc
push str.avutil_52.nch.dll
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
call fcn.004ad3a0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 8
push ebx
lea edx, [esp + 0x18]
push edx
call edi
push 0x6bc0cc
mov dword [esi + 0xbc], eax
push str.swscale_2.nch.dll
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x224]
call fcn.004ad3a0
push 8
push ebx
lea ecx, [esp + 0x18]
push ecx
call edi
push 0x6bc0cc
push str.swresample_0.nch.dll
lea edx, [esp + 0x18]
mov dword [esi + 0xc0], eax
push edx
lea eax, [esp + 0x224]
call fcn.004ad3a0
push 8
push ebx
lea eax, [esp + 0x18]
push eax
call edi
push 0x6bc0cc
push str.avcodec_55.nch.dll
lea ecx, [esp + 0x18]
mov dword [esi + 0xc4], eax
push ecx
lea eax, [esp + 0x224]
call fcn.004ad3a0
push 8
push ebx
lea edx, [esp + 0x18]
push edx
call edi
push 0x6bc0cc
mov dword [esi + 0xb8], eax
push str.avformat_55.nch.dll
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x224]
call fcn.004ad3a0
push 8
push ebx
lea ecx, [esp + 0x18]
push ecx
call edi
mov ecx, eax
cmp ecx, ebx
mov dword [esi + 0xb4], ecx
je 0x6555c1
cmp dword [esi + 0xb8], ebx
je 0x6555c1
cmp dword [esi + 0xbc], ebx
je 0x6555c1
cmp dword [esi + 0xc0], ebx
je 0x6555c1
push esi
mov eax, str.av_read_frame
call fcn.00562e80
mov ecx, dword [esi + 0xb4]
push ebp
mov eax, str.av_write_frame
call fcn.00562e80
mov ecx, dword [esi + 0xb4]
lea eax, [esi + 8]
push eax
mov eax, str.av_interleaved_write_frame
call fcn.00562e80
mov eax, dword [esi + 0xb8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.avcodec_decode_video2
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_decode_audio3
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_encode_video
push eax
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_encode_audio
push eax
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_encode_subtitle
push eax
call edi
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_decode_subtitle2
push eax
call edi
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xb8]
push str.avsubtitle_free
push eax
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0xb8]
push str.avpicture_deinterlace
push eax
call edi
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xc0]
push str.sws_scale
push eax
call edi
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0xb8]
push str.avpicture_fill
push eax
call edi
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xb8]
push str.av_picture_copy
push eax
call edi
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xbc]
push str.av_fast_realloc
push eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xbc]
push str.av_rescale_q
push eax
call edi
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0xb8]
push str.av_init_packet
push eax
call edi
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xbc]
push str.av_set_int
push eax
call edi
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_alloc_frame
push eax
call edi
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0xbc]
lea eax, [esi + 0x18]
push eax
mov eax, str.av_freep
call fcn.00562e80
mov ecx, dword [esi + 0xbc]
lea eax, [esi + 0x1c]
push eax
mov eax, str.av_free
call fcn.00562e80
mov eax, dword [esi + 0xb4]
push str.av_seek_frame
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_flush_buffers
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0xbc]
push str.av_rescale
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xbc]
push str.av_rescale_rnd
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_decode_audio4
push eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_get_frame_defaults
push eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_free_frame
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xc4]
push str.swr_alloc
push eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0xc4]
push str.swr_alloc_set_opts
push eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0xc4]
push str.swr_init
push eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0xc4]
push str.swr_convert
push eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xc4]
push str.swr_free
push eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0xbc]
push str.av_samples_alloc
push eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0xbc]
push str.av_samples_get_buffer_size
push eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0xbc]
push str.av_get_alt_sample_fmt
push eax
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0xbc]
push str.av_get_default_channel_layout
push eax
call edi
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0xbc]
push str.av_get_channel_layout_nb_channels
push eax
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0xb8]
push str.avcodec_encode_video2
push eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xb8]
push str.av_free_packet
push eax
call edi
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0xb8]
push str.av_copy_packet
push eax
call edi
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xbc]
push str.av_frame_get_best_effort_timestamp
push eax
call edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xbc]
push str.av_frame_unref
push eax
call edi
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xbc]
push str.av_frame_get_colorspace
push eax
call edi
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0xbc]
push str.av_frame_set_colorspace
push eax
call edi
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0xb4]
push str.av_register_all
push eax
call edi
cmp eax, ebx
je 0x6555c1
call eax
mov eax, dword [esi + 0xb8]
lea edx, [esp + 0xc]
push edx
call fcn.0068afa0
test al, al
je 0x6555c1
push 0x6555e0
call dword [esp + 0x10]
add esp, 4
pop edi
pop ebp
mov eax, esi
pop ebx
add esp, 0x61c
ret
pop ebp
mov eax, esi
pop ebx
add esp, 0x61c
ret