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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x3c
call fcn.6c48a820
mov eax, dword [esi + 0x3328]
mov edx, dword [esi + 0x332c]
mov ecx, dword [esi + 0x3308]
mov edi, dword [esi + 0x334c]
mov ebx, eax
imul ebx, edx
imul edi, dword [esi + 0x3350]
mov dword [esp + 0x2c], ebx
mov ebx, eax
sar ebx, cl
add ebx, 1
mov dword [esp + 0x28], ebx
mov ebx, edx
sar ebx, cl
mov ecx, ebx
mov ebx, dword [esi + 0x3330]
imul ebx, dword [esi + 0x3334]
add ecx, 1
imul ecx, dword [esp + 0x28]
sar eax, 3
mov dword [ebp + 0x16b0], eax
mov eax, edx
sar eax, 3
cmp ebx, 0xb21641
mov dword [esp + 0x28], ecx
mov dword [ebp + 0x16b4], eax
ja 0x6c48bba3
imul eax, ebx, 0xb8
mov dword [esp], eax
call sub.avutil_52.dll_av_mallocz
mov dword [ebp + 0xd88], eax
lea eax, [ebx*8]
mov dword [esp], eax
call sub.avutil_52.dll_av_mallocz
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0xd8c], eax
mov dword [esp], edx
call sub.avutil_52.dll_av_malloc
mov edx, dword [ebp + 0xd88]
test edx, edx
mov dword [ebp + 0x1c98], eax
je 0x6c48bbc0
mov ecx, dword [ebp + 0xd8c]
test ecx, ecx
je 0x6c48bbc0
test eax, eax
je 0x6c48bbc0
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call sub.avutil_52.dll_av_malloc
mov dword [ebp + 0x1ca8], eax
mov eax, dword [esi + 0x3340]
imul eax, dword [esi + 0x333c]
mov dword [esp], eax
call sub.avutil_52.dll_av_malloc
mov edx, dword [ebp + 0x1ca8]
test edx, edx
mov dword [ebp + 0x1cac], eax
je 0x6c48bbc0
test eax, eax
je 0x6c48bbc0
mov eax, dword [esi + 0x3344]
imul eax, dword [esi + 0x3348]
mov dword [esp], eax
call sub.avutil_52.dll_av_malloc
mov dword [ebp + 0x1cb4], eax
mov dword [esp], edi
call sub.avutil_52.dll_av_mallocz
mov dword [ebp + 0x1cb0], eax
mov dword [esp], edi
call sub.avutil_52.dll_av_malloc
mov ecx, dword [ebp + 0x1cb0]
test ecx, ecx
mov dword [ebp + 0x1cb8], eax
je 0x6c48bbc0
mov edx, dword [ebp + 0x1cb4]
test edx, edx
je 0x6c48bbc0
test eax, eax
je 0x6c48bbc0
mov dword [esp], ebx
call sub.avutil_52.dll_av_malloc
mov dword [ebp + 0x1cbc], eax
mov eax, dword [esp + 0x28]
shl eax, 2
mov dword [esp], eax
call sub.avutil_52.dll_av_malloc
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x1ca4], eax
mov dword [esp], edx
call sub.avutil_52.dll_av_malloc
test eax, eax
mov dword [ebp + 0x1c94], eax
je 0x6c48bbc0
mov eax, dword [ebp + 0x1cbc]
test eax, eax
je 0x6c48bbc0
mov ecx, dword [ebp + 0x1ca4]
test ecx, ecx
je 0x6c48bbc0
mov eax, dword [ebp + 0x16b0]
mov ecx, dword [ebp + 0x16b4]
add eax, eax
add ecx, 1
imul eax, ecx
mov dword [esp], eax
call sub.avutil_52.dll_av_mallocz
mov ecx, dword [ebp + 0x16b4]
add ecx, 1
mov dword [ebp + 0x1c9c], eax
mov eax, dword [ebp + 0x16b0]
add eax, eax
imul eax, ecx
mov dword [esp], eax
call sub.avutil_52.dll_av_mallocz
mov edx, dword [ebp + 0x1c9c]
test edx, edx
mov dword [ebp + 0x1ca0], eax
je 0x6c48bbc0
test eax, eax
je 0x6c48bbc0
imul edi, edi, 0xe
mov dword [esp + 4], sub.avutil_52.dll_av_buffer_alloc
imul ebx, ebx, 0x188
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_pool_init
mov dword [ebp + 0x57c], eax
mov dword [esp + 4], sub.avutil_52.dll_av_buffer_allocz
mov dword [esp], ebx
call sub.avutil_52.dll_av_buffer_pool_init
mov edi, dword [ebp + 0x57c]
test edi, edi
mov dword [ebp + 0x580], eax
je 0x6c48bbc0
test eax, eax
je 0x6c48bbc0
mov ecx, dword [esi + 0x3328]
mov eax, dword [ebp + 4]
mov ebx, dword [esi + 0xa4]
mov edx, dword [esi + 0xb0]
mov dword [eax + 0x80], ecx
mov ecx, dword [esi + 0x332c]
test edx, edx
mov dword [eax + 0x84], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x78], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x7c], ecx
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0x8c], ecx
mov ecx, dword [esi + 0xa0]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], ecx
mov ecx, dword [esi + 0x48]
lea ecx, [ecx + ecx*2 - 3]
mov ecx, dword [esi + ecx*4 + 0x50]
mov dword [eax + 0xb0], ecx
jne 0x6c48bab0
mov ebx, dword [esi + 0xbc]
mov dword [eax + 0x18c], 1
test ebx, ebx
je 0x6c48bad0
movzx ecx, byte [esi + 0xc0]
mov dword [eax + 0x180], ecx
movzx ecx, byte [esi + 0xc1]
mov dword [eax + 0x184], ecx
movzx ecx, byte [esi + 0xc2]
mov dword [eax + 0x188], ecx
mov eax, dword [esi + 0x34]
mov dword [esp + 4], eax
lea eax, [ebp + 0x16bc]
mov dword [esp], eax
call fcn.6c4d40c0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], eax
lea eax, [ebp + 0x16e4]
mov dword [esp], eax
call fcn.6c4c5a20
mov eax, dword [esi + 0x34]
mov dword [esp + 4], eax
lea eax, [ebp + 0x17b0]
mov dword [esp], eax
call fcn.6c56c5f4
cmp byte [esi + 0x328d], 0
jne 0x6c48bb61
mov eax, dword [esi]
mov dword [ebp + 0xb4], esi
mov eax, dword [ebp + eax*4 + 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + 0xb0], eax
cmp byte [eax + 0x1bc], 0
je 0x6c48bb40
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c4]
test eax, eax
jne 0x6c48baf3
xor ebx, ebx
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esi + 0xb8], 1
mov ebx, dword [esi + 0xbc]
sbb ecx, ecx
add ecx, 2
test ebx, ebx
mov dword [eax + 0x18c], ecx
jne 0x6c48b9fc
mov dword [eax + 0x180], 2
mov dword [eax + 0x184], 2
mov dword [eax + 0x188], 2
jmp 0x6c48ba23
test ecx, ecx
je 0x6c48baa4
mov edx, dword [ebp + 4]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40000000
mov dword [esp + 0x1c], 0
lea eax, [edx + 0x6c]
add edx, 0x68
mov dword [esp + 0x14], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.avutil_52.dll_av_reduce
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esi + 0xf0]
xor ebx, ebx
test ecx, ecx
je 0x6c48baa6
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0xf8]
jmp 0x6c48baa0
mov eax, dword [ebp + 0xa8]
mov dword [esp], eax
call sub.avutil_52.dll_av_frame_unref
mov dword [esp + 8], 1
mov eax, dword [ebp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.6c514aa0
test eax, eax
mov ebx, eax
js 0x6c48bbcc
mov eax, dword [ebp + 0xa8]
mov dword [ebp + 0xa0], eax
jmp 0x6c48ba6f
cmp ebx, 0xffffffe
mov dword [ebp + 0xd88], 0
jbe 0x6c48b796
xor eax, eax
jmp 0x6c48b7a5
mov eax, ebp
mov ebx, 0xfffffff4
call fcn.6c48a820
mov eax, ebp
call fcn.6c48a820
mov eax, ebx
mov dword [ebp + 0xb4], 0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret