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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x16a4], 0
mov dword [esp], edx
call fcn.6c5097c0
test eax, eax
je 0x6c4f8509
cmp dword [ebx + 0x16e8], 3
mov edi, dword [ebx + 0x1658]
je 0x6c4f7127
test edi, edi
je 0x6c4f7127
cmp edi, dword [ebx + 0x165c]
je 0x6c4f7127
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x6c4f7127
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x1d8], edi
lea edx, [eax - 0x98]
cmp edx, 1
jbe 0x6c4f7d28
cmp eax, 0xa8
je 0x6c4f7d28
lea eax, [edi + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
lea esi, [edi + 0x23c]
mov dword [esp], esi
call sub.avutil_52.dll_av_buffer_unref
mov edx, dword [edi + 0x484]
test edx, edx
je 0x6c4f70e2
lea eax, [edi + 0x21c]
mov dword [edi + 0x230], 0
mov dword [edi + 0x22c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x224]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x234]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x204]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1f0]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x210]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test esi, 1
mov edx, 0x26c
jne 0x6c4f8451
test esi, 2
jne 0x6c4f8441
mov ecx, edx
xor eax, eax
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
test dl, 2
mov esi, edi
je 0x6c4f7119
mov word [edi], 0
add esi, 2
and edx, 1
je 0x6c4f7121
mov byte [esi], 0
mov edi, dword [ebx + 0x1658]
xor esi, esi
jmp 0x6c4f726b
cmp edx, 0xa8
je 0x6c4f72b8
lea edx, [ebp + 0x1d8]
mov dword [esp + 4], edx
mov edx, dword [ebx + 4]
mov dword [esp], edx
call fcn.6c509d50
lea ecx, [ebp + 0x23c]
mov dword [esp], ecx
mov dword [esp + 0x28], ecx
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebp + 0x484]
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x6c4f7219
lea edx, [ebp + 0x21c]
mov dword [ebp + 0x230], 0
mov dword [ebp + 0x22c], 0
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x224]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x234]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x204]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x1e4]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x1fc]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x1ec]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x20c]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x1f0]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
lea edx, [ebp + 0x210]
mov dword [esp], edx
call sub.avutil_52.dll_av_buffer_unref
mov ecx, dword [esp + 0x28]
test cl, 1
mov edi, ecx
mov edx, 0x26c
jne 0x6c4f7c90
test edi, 2
jne 0x6c4f7c80
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f724b
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f7253
mov byte [edi], 0
add esi, 0x4a8
cmp esi, 0xa7a0
je 0x6c4f72e7
mov edi, dword [ebx + 0x1658]
mov ebp, dword [ebx + 0x9c]
add ebp, esi
cmp ebp, edi
je 0x6c4f7253
cmp ebp, dword [ebx + 0x165c]
je 0x6c4f7253
mov eax, dword [ebp + 0x488]
test eax, eax
je 0x6c4f7253
mov eax, dword [ebp + 0x484]
test eax, eax
jne 0x6c4f7253
mov edx, dword [esp + 0x64]
test byte [edx + 0x330], 1
je 0x6c4f72c5
mov edx, dword [ebx + 0x30]
mov dword [ebp + 0x1d8], ebp
lea ecx, [edx - 0x98]
cmp ecx, 1
ja 0x6c4f7130
mov dword [esp], ebp
call sub.avutil_52.dll_av_frame_unref
jmp 0x6c4f7151
mov dword [esp + 8], str.releasing_zombie_picture_n
mov dword [esp + 4], 0x10
mov dword [esp], edx
call sub.avutil_52.dll_av_log
mov ebp, dword [ebx + 0x9c]
add ebp, esi
jmp 0x6c4f72a0
mov eax, dword [ebx + 0x30]
lea edx, [ebx + 0x11b0]
mov dword [esp + 0x2c], edx
mov dword [ebx + 0x1388], edx
lea edx, [eax - 0x98]
cmp edx, 1
jbe 0x6c4f7ca0
cmp eax, 0xa8
je 0x6c4f7ca0
lea eax, [ebx + 0x1388]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
lea edi, [ebx + 0x13ec]
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebx + 0x1634]
test eax, eax
je 0x6c4f73e5
lea eax, [ebx + 0x13cc]
mov dword [ebx + 0x13e0], 0
mov dword [ebx + 0x13dc], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13d4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13b4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x1394]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13ac]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x139c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13bc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13a0]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x13c0]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x26c
jne 0x6c4f82b7
test edi, 2
jne 0x6c4f82d2
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f7418
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f7420
mov byte [edi], 0
xor esi, esi
jmp 0x6c4f7436
add esi, 0x4a8
cmp esi, 0xa7a0
je 0x6c4f7590
mov ebp, dword [ebx + 0x9c]
add ebp, esi
mov eax, dword [ebp + 0x488]
test eax, eax
jne 0x6c4f7424
mov eax, dword [ebx + 0x30]
mov dword [ebp + 0x1d8], ebp
lea edx, [eax - 0x98]
cmp edx, 1
jbe 0x6c4f7cb1
cmp eax, 0xa8
je 0x6c4f7cb1
lea eax, [ebp + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
lea edi, [ebp + 0x23c]
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebp + 0x484]
test eax, eax
je 0x6c4f753c
lea eax, [ebp + 0x21c]
mov dword [ebp + 0x230], 0
mov dword [ebp + 0x22c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x224]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x234]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x204]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1f0]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x210]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x26c
jne 0x6c4f7cc0
test edi, 2
jne 0x6c4f7ce0
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f756f
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f7424
add esi, 0x4a8
cmp esi, 0xa7a0
mov byte [edi], 0
jne 0x6c4f7436
lea esi, [esi]
mov ebp, dword [ebx + 0x1660]
test ebp, ebp
je 0x6c4f75a8
mov esi, dword [ebp + 0x168]
test esi, esi
je 0x6c4f77ba
mov eax, dword [ebx + 0x1658]
xor esi, esi
mov edi, dword [ebx + 0x9c]
cmp edi, eax
mov ebp, edi
je 0x6c4f7cf0
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x6c4f85a0
mov edx, dword [edi + 0x484]
test edx, edx
je 0x6c4f7cf0
test byte [edi + 0x488], 4
jne 0x6c4f7cf0
lea eax, [edi + 0x21c]
mov dword [edi + 0x484], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x22c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x224]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x234]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x204]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1f0]
add edi, 0x210
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x9c]
lea edx, [eax - 0x98]
add ebp, esi
cmp edx, 1
mov dword [ebp + 0x1d8], ebp
ja 0x6c4f7dfd
mov dword [esp], ebp
call sub.avutil_52.dll_av_frame_unref
lea edi, [ebp + 0x23c]
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebp + 0x484]
test eax, eax
je 0x6c4f7777
lea eax, [ebp + 0x21c]
mov dword [ebp + 0x230], 0
mov dword [ebp + 0x22c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x224]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x234]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x204]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x1f0]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebp + 0x210]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x26c
jne 0x6c4f8543
test edi, 2
jne 0x6c4f8557
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f77aa
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f77b2
mov byte [edi], 0
mov ebp, dword [ebx + 0x9c]
add ebp, esi
mov esi, dword [ebx + 0x16f8]
mov dword [ebp + 0x488], 0
test esi, esi
jne 0x6c4f77e1
cmp dword [ebx + 0x16e8], 3
je 0x6c4f77e1
mov dword [ebp + 0x488], 3
mov eax, dword [ebx + 0x68]
mov dword [ebp + 0xa0], eax
add eax, 1
mov dword [ebx + 0x68], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.6c4f3f00
test eax, eax
js 0x6c4f8567
mov eax, dword [ebx + 0x2730]
mov dword [ebx + 0x1660], ebp
mov dword [ebp + 0x12c], eax
mov eax, dword [ebx + 0x30]
sub eax, 1
cmp eax, 1
jbe 0x6c4f7e44
mov ecx, dword [ebx + 0x2758]
xor eax, eax
test ecx, ecx
jne 0x6c4f7846
mov edx, dword [ebx + 0x2710]
xor eax, eax
test edx, edx
sete al
mov dword [ebp + 0x128], eax
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ebx + 0x2724], 3
setne al
mov dword [ebp + 0x474], eax
mov eax, dword [ebx + 0x16e8]
cmp eax, 1
mov dword [ebp + 0x58], eax
sete al
movzx eax, al
mov dword [ebp + 0x54], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.6c4f4b80
test eax, eax
js 0x6c4f7c74
mov edx, dword [ebx + 0x16e8]
cmp edx, 3
je 0x6c4f7e73
mov ebp, dword [ebx + 0x16f8]
mov eax, dword [ebx + 0x165c]
test ebp, ebp
mov dword [ebx + 0x1658], eax
je 0x6c4f7d35
test eax, eax
je 0x6c4f7e7e
mov edi, dword [eax + 0x168]
test edi, edi
je 0x6c4f7e7e
mov edx, dword [ebx + 0x165c]
test edx, edx
je 0x6c4f80b3
mov esi, dword [edx + 0x168]
test esi, esi
je 0x6c4f80b3
test eax, eax
je 0x6c4f7a4f
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x3b8]
mov dword [ebx + 0x590], esi
lea edx, [eax - 0x98]
cmp edx, 1
jbe 0x6c4f7d46
cmp eax, 0xa8
je 0x6c4f7d46
lea eax, [ebx + 0x590]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
lea edi, [ebx + 0x5f4]
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov ecx, dword [ebx + 0x83c]
test ecx, ecx
je 0x6c4f79ec
lea eax, [ebx + 0x5d4]
mov dword [ebx + 0x5e8], 0
mov dword [ebx + 0x5e4], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5dc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5bc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x59c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5b4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5a4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5c4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5a8]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x5c8]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x26c
jne 0x6c4f84b2
test edi, 2
jne 0x6c4f84a2
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f7a1f
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f7a27
mov byte [edi], 0
mov eax, dword [ebx + 0x1658]
mov edx, dword [eax + 0x168]
test edx, edx
je 0x6c4f7a4f
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6c4f4b80
test eax, eax
js 0x6c4f7c74
mov eax, dword [ebx + 0x165c]
test eax, eax
je 0x6c4f7ba2
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x860]
mov dword [ebx + 0xa38], esi
lea edx, [eax - 0x98]
cmp edx, 1
ja 0x6c4f7d53
mov dword [esp], esi
call sub.avutil_52.dll_av_frame_unref
lea edi, [ebx + 0xa9c]
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebx + 0xce4]
test eax, eax
je 0x6c4f7b3f
lea eax, [ebx + 0xa7c]
mov dword [ebx + 0xa90], 0
mov dword [ebx + 0xa8c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa84]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa94]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa64]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa44]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa5c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa4c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa6c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa50]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0xa70]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x26c
jne 0x6c4f84f5
test edi, 2
jne 0x6c4f84e5
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f7b72
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f7b7a
mov byte [edi], 0
mov eax, dword [ebx + 0x165c]
mov ebp, dword [eax + 0x168]
test ebp, ebp
je 0x6c4f7ba2
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6c4f4b80
test eax, eax
js 0x6c4f7c74
cmp dword [ebx + 0x16e8], 1
je 0x6c4f7bc7
mov eax, dword [ebx + 0x1658]
test eax, eax
je 0x6c4f860d
mov edi, dword [eax + 0x168]
test edi, edi
je 0x6c4f860d
mov eax, dword [ebx + 0x2724]
cmp eax, 3
je 0x6c4f7c23
cmp eax, 2
je 0x6c4f7d78
shl dword [ebx + 0x11d0], 1
shl dword [ebx + 0x3d8], 1
shl dword [ebx + 0x880], 1
shl dword [ebx + 0x11d4], 1
shl dword [ebx + 0x3dc], 1
shl dword [ebx + 0x884], 1
shl dword [ebx + 0x11d8], 1
shl dword [ebx + 0x3e0], 1
shl dword [ebx + 0x888], 1
shl dword [ebx + 0x11dc], 1
shl dword [ebx + 0x3e4], 1
shl dword [ebx + 0x88c], 1
mov edx, dword [esp + 0x64]
mov esi, dword [ebx + 0x267c]
mov eax, dword [edx + 0x2b8]
test esi, esi
mov dword [ebx + 0x2574], eax
jne 0x6c4f7e22
cmp dword [ebx + 0x30], 2
je 0x6c4f7e22
mov eax, dword [ebx + 0x1c]
sub eax, 1
cmp eax, 1
jbe 0x6c4f84c6
mov eax, dword [ebx + 0x27d8]
mov dword [ebx + 0x27f8], eax
mov eax, dword [ebx + 0x27dc]
mov dword [ebx + 0x27fc], eax
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f7235
mov byte [ecx], 0
lea edi, [ebp + 0x23d]
mov dl, 0x6b
jmp 0x6c4f7229
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call sub.avutil_52.dll_av_frame_unref
jmp 0x6c4f7329
mov dword [esp], ebp
call sub.avutil_52.dll_av_frame_unref
jmp 0x6c4f7480
lea edi, [ebp + 0x23d]
mov dl, 0x6b
test edi, 2
mov byte [ebp + 0x23c], 0
je 0x6c4f7559
nop
lea esi, [esi]
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f7559
add esi, 0x4a8
add edi, 0x4a8
cmp esi, 0xa7a0
jne 0x6c4f75b6
mov dword [esp + 8], str.Internal_error__picture_buffer_overflow_n
mov dword [esp + 4], 8
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
call sub.msvcrt.dll_abort
mov dword [esp], edi
call sub.avutil_52.dll_av_frame_unref
jmp 0x6c4f7026
mov ecx, dword [ebx + 0x1660]
mov dword [ebx + 0x165c], ecx
jmp 0x6c4f78b8
mov dword [esp], esi
call sub.avutil_52.dll_av_frame_unref
jmp 0x6c4f7930
cmp eax, 0xa8
je 0x6c4f7a7b
lea eax, [ebx + 0xa38]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
jmp 0x6c4f7a83
mov eax, dword [ebx + 0x11d0]
add dword [ebx + 0x11b0], eax
shl dword [ebx + 0x3d8], 1
shl dword [ebx + 0x880], 1
add eax, eax
mov dword [ebx + 0x11d0], eax
mov eax, dword [ebx + 0x11d4]
add dword [ebx + 0x11b4], eax
shl dword [ebx + 0x3dc], 1
shl dword [ebx + 0x884], 1
add eax, eax
mov dword [ebx + 0x11d4], eax
mov eax, dword [ebx + 0x11d8]
add dword [ebx + 0x11b8], eax
shl dword [ebx + 0x3e0], 1
shl dword [ebx + 0x888], 1
add eax, eax
mov dword [ebx + 0x11d8], eax
mov eax, dword [ebx + 0x11dc]
add dword [ebx + 0x11bc], eax
shl dword [ebx + 0x3e4], 1
shl dword [ebx + 0x88c], 1
add eax, eax
mov dword [ebx + 0x11dc], eax
jmp 0x6c4f7c23
cmp eax, 0xa8
je 0x6c4f76b3
lea eax, [ebp + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
jmp 0x6c4f76bb
mov eax, dword [ebx + 0x27e0]
mov dword [ebx + 0x27f8], eax
mov eax, dword [ebx + 0x27e4]
mov dword [ebx + 0x27fc], eax
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x2724]
cmp eax, 3
je 0x6c4f782d
cmp eax, 1
sete al
movzx eax, al
cmp eax, dword [ebx + 0x2768]
sete al
movzx eax, al
mov dword [ebp + 0x12c], eax
jmp 0x6c4f782d
mov eax, dword [ebx + 0x1658]
jmp 0x6c4f78b8
cmp edx, 1
jne 0x6c4f7e90
cmp dword [ebx + 0x2724], 3
je 0x6c4f78ce
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x8c]
mov dword [esp], eax
call sub.avutil_52.dll_av_pix_fmt_get_chroma_sub_sample
mov eax, dword [ebx + 0x16e8]
cmp eax, 3
je 0x6c4f8465
cmp eax, 1
jne 0x6c4f82e2
cmp dword [ebx + 0x2724], 3
je 0x6c4f7eee
mov edx, dword [esp + 0x64]
mov dword [esp + 8], str.allocate_dummy_last_picture_for_field_based_first_keyframe_n
mov dword [esp + 4], 0x30
mov dword [esp], edx
call sub.avutil_52.dll_av_log
mov edx, dword [ebx + 0x1658]
xor edi, edi
mov esi, dword [ebx + 0x9c]
lea esi, [esi]
cmp edx, esi
mov eax, esi
je 0x6c4f8096
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x6c4f8646
mov eax, dword [esi + 0x484]
test eax, eax
je 0x6c4f8096
test byte [esi + 0x488], 4
jne 0x6c4f8096
lea eax, [esi + 0x21c]
mov dword [esi + 0x484], 0
mov dword [esi + 0x230], 0
mov dword [esi + 0x22c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x224]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x234]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x204]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x1e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [esi + 0x1f0]
add esi, 0x210
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov dword [esp], esi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebx + 0x9c]
mov dword [esp], ebx
add eax, edi
mov dword [esp + 4], eax
call fcn.6c4f3d80
mov eax, dword [ebx + 0x9c]
add eax, edi
mov dword [ebx + 0x1658], eax
mov dword [eax + 0x488], 3
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 2
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.6c4f3f00
test eax, eax
js 0x6c4f852f
mov edx, dword [esp + 0x64]
mov edi, dword [edx + 0x2c8]
test edi, edi
je 0x6c4f8303
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7fffffff
mov eax, dword [ebx + 0x1658]
add eax, 0x1d8
mov dword [esp], eax
call fcn.6c508340
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7fffffff
mov eax, dword [ebx + 0x1658]
add eax, 0x1d8
mov dword [esp], eax
call fcn.6c508340
mov eax, dword [ebx + 0x1658]
jmp 0x6c4f78ce
add edi, 0x4a8
add esi, 0x4a8
cmp edi, 0xa7a0
jne 0x6c4f7f00
jmp 0x6c4f7d08
cmp dword [ebx + 0x16e8], 3
jne 0x6c4f78ea
mov edi, dword [ebx + 0x9c]
xor esi, esi
cmp eax, edi
mov edx, edi
je 0x6c4f8424
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x6c4f85b5
mov edx, dword [edi + 0x484]
test edx, edx
je 0x6c4f8424
test byte [edi + 0x488], 4
jne 0x6c4f8424
lea eax, [edi + 0x21c]
mov dword [edi + 0x484], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x22c], 0
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x224]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x234]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x204]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1e4]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [edi + 0x1f0]
add edi, 0x210
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x9c]
lea edx, [eax - 0x98]
add ebp, esi
cmp edx, 1
mov dword [ebp + 0x1d8], ebp
ja 0x6c4f857b
mov dword [esp], ebp
call sub.avutil_52.dll_av_frame_unref
lea edi, [ebp + 0x23c]
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [ebp + 0x484]
test eax, eax
jne 0x6c4f8600
test edi, 1
mov edx, 0x26c
jne 0x6c4f85ec
test edi, 2
jne 0x6c4f85c8
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c4f821c
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c4f8224
mov byte [edi], 0
mov edx, dword [ebx + 0x9c]
add edx, esi
mov dword [ebx + 0x165c], edx
mov dword [edx + 0x488], 3
mov dword [edx + 0x54], 0
mov dword [edx + 0x58], 2
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.6c4f3f00
test eax, eax
js 0x6c4f85d8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7fffffff
mov eax, dword [ebx + 0x165c]
add eax, 0x1d8
mov dword [esp], eax
call fcn.6c508340
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7fffffff
mov eax, dword [ebx + 0x165c]
add eax, 0x1d8
mov dword [esp], eax
call fcn.6c508340
mov eax, dword [ebx + 0x1658]
jmp 0x6c4f78ea
lea edi, [ebx + 0x13ed]
mov dl, 0x6b
test edi, 2
mov byte [ebx + 0x13ec], 0
je 0x6c4f7402
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f7402
mov edx, dword [esp + 0x64]
mov dword [esp + 8], str.warning:_first_frame_is_no_keyframe_n
mov dword [esp + 4], 0x10
mov dword [esp], edx
call sub.avutil_52.dll_av_log
jmp 0x6c4f7eee
mov eax, dword [edx + 0x7c]
test eax, eax
jle 0x6c4f834a
mov eax, dword [ebx + 0x1658]
xor esi, esi
mov edi, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
jmp 0x6c4f8324
mov eax, dword [ebx + 0x1658]
mov edx, dword [eax + 0x20]
mov ecx, dword [edi + 0x78]
imul edx, esi
add esi, 1
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp + 8], ecx
add edx, dword [eax]
mov dword [esp], edx
call fcn.6c563768
mov eax, dword [edi + 0x7c]
cmp eax, esi
jg 0x6c4f831b
xor esi, esi
mov edi, dword [esp + 0x64]
jmp 0x6c4f83b8
mov eax, dword [edi + 0x78]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0x1658]
mov dword [esp + 4], pe_nt_image_headers32
neg eax
sar eax, cl
neg eax
mov dword [esp + 8], eax
mov eax, dword [edx + 0x24]
imul eax, esi
add eax, dword [edx + 4]
mov dword [esp], eax
call fcn.6c563768
mov eax, dword [edi + 0x78]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0x1658]
mov dword [esp + 4], pe_nt_image_headers32
neg eax
sar eax, cl
neg eax
mov dword [esp + 8], eax
mov eax, dword [edx + 0x28]
imul eax, esi
add esi, 1
add eax, dword [edx + 8]
mov dword [esp], eax
call fcn.6c563768
mov eax, dword [edi + 0x7c]
mov ecx, dword [esp + 0x3c]
mov edx, eax
neg edx
sar edx, cl
neg edx
cmp esi, edx
jl 0x6c4f8352
mov edx, dword [ebx + 0x30]
cmp edx, 5
je 0x6c4f83d9
cmp edx, 0x16
jne 0x6c4f8045
test eax, eax
jle 0x6c4f8045
mov eax, dword [ebx + 0x1658]
xor esi, esi
mov edi, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
jmp 0x6c4f83fb
mov eax, dword [ebx + 0x1658]
mov edx, dword [eax + 0x20]
mov ecx, dword [edi + 0x78]
imul edx, esi
add esi, 1
mov dword [esp + 4], 0x10
mov dword [esp + 8], ecx
add edx, dword [eax]
mov dword [esp], edx
call fcn.6c563768
cmp dword [edi + 0x7c], esi
jg 0x6c4f83f2
jmp 0x6c4f8045
add esi, 0x4a8
add edi, 0x4a8
cmp esi, 0xa7a0
jne 0x6c4f80c8
jmp 0x6c4f7d08
mov word [esi], 0
sub edx, 2
add esi, 2
jmp 0x6c4f70ff
mov byte [edi + 0x23c], 0
lea esi, [edi + 0x23d]
mov dl, 0x6b
jmp 0x6c4f70f3
mov eax, dword [ebx + 0x165c]
test eax, eax
je 0x6c4f82e2
mov esi, dword [eax + 0x168]
test esi, esi
je 0x6c4f82e2
mov edx, dword [esp + 0x64]
mov dword [esp + 8], str.allocating_dummy_last_picture_for_B_frame_n
mov dword [esp + 4], 0x30
mov dword [esp], edx
call sub.avutil_52.dll_av_log
jmp 0x6c4f7eee
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f7a09
mov byte [ebx + 0x5f4], 0
lea edi, [ebx + 0x5f5]
mov dl, 0x6b
jmp 0x6c4f79fd
mov eax, dword [ebx + 0x27e8]
mov dword [ebx + 0x27f8], eax
mov eax, dword [ebx + 0x27ec]
mov dword [ebx + 0x27fc], eax
xor eax, eax
jmp 0x6c4f7c74
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f7b5c
mov byte [ebx + 0xa9c], 0
lea edi, [ebx + 0xa9d]
mov dl, 0x6b
jmp 0x6c4f7b50
mov edx, dword [esp + 0x64]
mov dword [esp + 8], str.Attempt_to_start_a_frame_outside_SETUP_state_n
mov dword [esp + 4], 0x10
mov dword [esp], edx
call sub.avutil_52.dll_av_log
mov eax, 0xffffffff
jmp 0x6c4f7c74
mov dword [ebx + 0x1658], 0
mov eax, 0xffffffff
jmp 0x6c4f7c74
mov byte [ebp + 0x23c], 0
lea edi, [ebp + 0x23d]
mov dl, 0x6b
jmp 0x6c4f7788
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f7794
mov dword [ebx + 0x1660], 0
mov eax, 0xffffffff
jmp 0x6c4f7c74
cmp eax, 0xa8
je 0x6c4f81c5
lea eax, [ebp + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.6c509d50
jmp 0x6c4f81cd
mov eax, dword [edi + 0x484]
test eax, eax
je 0x6c4f77ba
nop
jmp 0x6c4f75e9
mov eax, dword [edi + 0x484]
test eax, eax
je 0x6c4f822c
jmp 0x6c4f80fb
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c4f8206
mov dword [ebx + 0x165c], 0
mov eax, 0xffffffff
jmp 0x6c4f7c74
mov byte [ebp + 0x23c], 0
lea edi, [ebp + 0x23d]
mov dl, 0x6b
jmp 0x6c4f81fa
mov dword [esp], ebp
call fcn.6c4f3cd0
jmp 0x6c4f81e9
mov dword [esp + 0x14], 0x732
mov dword [esp + 0x10], 0x6c584874
mov dword [esp + 0xc], str.s__pict_type__AV_PICTURE_TYPE_I___s__last_picture_ptr__s__last_picture_ptr__f.buf_0__
mov dword [esp + 8], 0x6c58489a
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.avutil_52.dll_av_log
call sub.msvcrt.dll_abort
mov ebp, dword [esi + 0x484]
test ebp, ebp
je 0x6c4f7ff9
jmp 0x6c4f7f33