Function at 0x4c232c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
xor ebx, ebx
lea eax, [ebp - 0x618]
push eax
mov dword [esi], ebx
mov dword [esi + 4], 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 + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
call fcn.004c28d6
test al, al
je 0x4c2866
push edi
lea ecx, [ebp - 0x618]
lea eax, [ebp - 0x410]
call fcn.00401963
push 0x53ec98
push str.avutil_52.nch.dll
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0044a0d6
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call edi
push 0x53ec98
mov dword [esi + 0xb4], eax
push str.swscale_2.nch.dll
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0044a0d6
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call edi
push 0x53ec98
mov dword [esi + 0xb8], eax
push str.swresample_0.nch.dll
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0044a0d6
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call edi
push 0x53ec98
mov dword [esi + 0xbc], eax
push str.avcodec_55.nch.dll
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0044a0d6
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call edi
push 0x53ec98
mov dword [esi + 0xb0], eax
push str.avformat_55.nch.dll
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0044a0d6
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call edi
cmp eax, ebx
mov dword [esi + 0xac], eax
je 0x4c2865
cmp dword [esi + 0xb0], ebx
je 0x4c2865
cmp dword [esi + 0xb4], ebx
je 0x4c2865
cmp dword [esi + 0xb8], ebx
je 0x4c2865
push esi
push str.av_read_frame
push eax
call fcn.004f8173
lea eax, [esi + 4]
push eax
push str.av_write_frame
push dword [esi + 0xac]
call fcn.004f8173
lea eax, [esi + 8]
push eax
push str.av_interleaved_write_frame
push dword [esi + 0xac]
call fcn.004f8173
mov eax, dword [esi + 0xb0]
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 + 0xb0]
push str.avcodec_decode_audio3
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_encode_video
push eax
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_encode_audio
push eax
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_encode_subtitle
push eax
call edi
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_decode_subtitle2
push eax
call edi
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xb0]
push str.avsubtitle_free
push eax
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0xb0]
push str.avpicture_deinterlace
push eax
call edi
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xb8]
push str.sws_scale
push eax
call edi
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0xb0]
push str.avpicture_fill
push eax
call edi
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xb0]
push str.av_picture_copy
push eax
call edi
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xb0]
push str.av_fast_realloc
push eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xb4]
push str.av_rescale_q
push eax
call edi
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0xb0]
push str.av_init_packet
push eax
call edi
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xb4]
push str.av_set_int
push eax
call edi
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_alloc_frame
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xb4]
push str.av_freep
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0xb4]
push str.av_free
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xac]
push str.av_seek_frame
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_flush_buffers
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0xb4]
push str.av_rescale
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xb4]
push str.av_rescale_rnd
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_decode_audio4
push eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_get_frame_defaults
push eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_free_frame
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xbc]
push str.swr_alloc
push eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0xbc]
push str.swr_alloc_set_opts
push eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0xbc]
push str.swr_init
push eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0xbc]
push str.swr_convert
push eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xbc]
push str.swr_free
push eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0xb4]
push str.av_samples_alloc
push eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0xb4]
push str.av_samples_get_buffer_size
push eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0xb4]
push str.av_get_alt_sample_fmt
push eax
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0xb4]
push str.av_get_default_channel_layout
push eax
call edi
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0xb4]
push str.av_get_channel_layout_nb_channels
push eax
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0xb0]
push str.avcodec_encode_video2
push eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xb0]
push str.av_free_packet
push eax
call edi
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0xb0]
push str.av_copy_packet
push eax
call edi
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xb4]
push str.av_frame_get_best_effort_timestamp
push eax
call edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xb4]
push str.av_frame_unref
push eax
call edi
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xac]
push str.av_register_all
push eax
call edi
cmp eax, ebx
je 0x4c2865
call eax
mov eax, dword [esi + 0xb0]
push str.av_lockmgr_register
push eax
call edi
cmp eax, ebx
je 0x4c2865
push 0x4c286b
call eax
pop ecx
pop edi
mov eax, esi
pop ebx
leave
ret