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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov edx, dword [esi + 8]
mov edi, dword [esi]
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
mov eax, dword [edi + eax]
add edx, 0x10
bswap eax
shl eax, cl
mov ecx, dword [esi + 0x10]
shr eax, 0xf0
cmp edx, ecx
cmovbe ecx, edx
mov edx, ecx
and ecx, 7
shr edx, 3
mov edx, dword [edi + edx]
shl eax, 0x10
mov dword [esp + 8], 0x6c593fb0
mov dword [esp + 4], 0x30
bswap edx
shl edx, cl
shr edx, 0xf0
or eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, dword [esi + 8]
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [edi + edx]
add eax, 2
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
bswap edx
shl edx, cl
shr edx, 0xfe
cmp eax, ebp
cmova eax, ebp
cmp edx, 2
mov dword [esi + 8], eax
mov dword [esp + 0x6c], edx
mov dword [ebx + 0x2cf4], edx
je 0x6c51cf40
cmp dword [esp + 0x6c], 3
je 0x6c51cfb1
mov edx, dword [esp + 0x64]
mov ebp, eax
shr ebp, 3
mov dword [ebx + 0x2ccc], 1
mov dword [ebx + 0x2e44], 0x6c5850a0
mov dword [ebx + 0x2e48], 0x6c585060
movzx edi, byte [edx + ebp]
mov edx, eax
and edx, 7
mov ecx, edx
shl edi, cl
mov edx, edi
shr dl, 7
cmp eax, dword [esp + 0x60]
mov edi, edx
jl 0x6c51ccf5
mov edx, dword [esp + 0x64]
and edi, 0xff
mov ecx, eax
mov dword [esi + 8], eax
and ecx, 7
mov dword [ebx + 0x2ca8], edi
movzx ebp, byte [edx + ebp]
mov edx, ebp
shl edx, cl
xor ecx, ecx
shr dl, 7
cmp dword [esp + 0x60], eax
setg cl
mov ebp, ecx
movzx ecx, dl
add eax, ebp
test edi, edi
mov dword [esi + 8], eax
mov dword [ebx + 0x2ca4], ecx
jne 0x6c51d3c0
mov ebp, dword [esp + 0x64]
mov ecx, eax
shr ecx, 3
mov edi, dword [ebp + ecx]
mov ecx, eax
add eax, 3
and ecx, 7
bswap edi
shl edi, cl
shr edi, 0xfd
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov ecx, eax
shr ecx, 3
mov dword [esi + 8], eax
mov dword [ebx + 0x2cf8], edi
mov edi, dword [ebp + ecx]
mov ecx, eax
and ecx, 7
add eax, 5
bswap edi
shl edi, cl
shr edi, 0xfb
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov ecx, eax
shr ecx, 3
mov dword [esi + 8], eax
mov dword [ebx + 0x2cfc], edi
movzx edi, byte [ebp + ecx]
mov ebp, eax
and ebp, 7
mov ecx, ebp
mov edx, edi
shl edx, cl
xor ecx, ecx
shr dl, 7
cmp dword [esp + 0x60], eax
setg cl
mov edi, ecx
movzx ecx, dl
add eax, edi
cmp ecx, 1
mov dword [esi + 8], eax
mov dword [ebx + 0x25d4], ecx
je 0x6c51cdc0
mov eax, dword [ebx + 4]
cmp dword [eax + 0x350], 0x2f
jle 0x6c51c881
mov dword [ebx + 0x25d4], 0
mov eax, dword [esi + 8]
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
movzx edx, byte [edi]
shl edx, cl
mov ecx, edx
shr cl, 7
cmp eax, dword [esp + 0x60]
jge 0x6c51c8ae
add eax, 1
mov edi, eax
shr edi, 3
add edi, dword [esp + 0x64]
movzx ecx, cl
mov edx, eax
mov dword [esi + 8], eax
mov dword [ebx + 0x2cac], ecx
movzx ebp, byte [edi]
mov ecx, eax
and ecx, 7
mov dword [esp + 0x68], ecx
shl ebp, cl
mov ecx, ebp
shr cl, 7
cmp dword [esp + 0x60], eax
mov ebp, ecx
jg 0x6c51cd02
and ebp, 0xff
movzx ecx, byte [esp + 0x68]
mov dword [ebx + 0x2cb0], ebp
movzx ebp, byte [edi]
shl ebp, cl
mov ecx, ebp
shr cl, 7
mov ebp, ecx
and ebp, 0xff
test ebp, ebp
mov dword [esi + 8], edx
mov dword [ebx + 0x2cb4], ebp
jne 0x6c51c95b
mov dword [ebx + 0x2bac], sym.avcodec_55.dll_ff_simple_idct_8
mov dword [ebx + 0x2bb0], 0x6c510130
mov dword [ebx + 0x2bb4], 0x6c510f90
mov dword [ebx + 0x2bb8], 0x6c511600
mov dword [ebx + 0x2bbc], 0x6c50d710
mov dword [ebx + 0x2bc0], 0x6c510130
mov dword [ebx + 0x2bc4], 0x6c510f90
mov dword [ebx + 0x2bc8], 0x6c511600
movzx ecx, byte [esp + 0x68]
movzx edi, byte [edi]
shl edi, cl
mov ecx, edi
shr cl, 7
cmp dword [esp + 0x60], edx
mov edi, ecx
jle 0x6c51c977
add eax, 1
mov edx, eax
mov ebp, dword [ebx + 0x2cf4]
and edi, 0xff
mov dword [esi + 8], edx
mov dword [ebx + 0x2d08], edi
test ebp, ebp
mov dword [esp + 0x6c], ebp
jne 0x6c51c99c
test edi, edi
je 0x6c51d72b
mov ebp, dword [esp + 0x64]
mov ecx, eax
shr ecx, 3
movzx edi, byte [ebp + ecx]
mov ebp, eax
and ebp, 7
mov ecx, ebp
shl edi, cl
mov ecx, edi
shr cl, 7
cmp dword [esp + 0x60], edx
mov edi, ecx
jle 0x6c51c9c5
add eax, 1
mov edx, eax
mov ebp, dword [esp + 0x6c]
mov dword [esi + 8], edx
mov edx, edi
movzx ecx, dl
mov dword [ebx + 0x2d0c], ecx
test ebp, ebp
jne 0x6c51c9e3
test ecx, ecx
jne 0x6c51d6f9
mov ebp, dword [esp + 0x64]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
add eax, 2
mov edi, dword [ebp + edx]
bswap edi
shl edi, cl
shr edi, 0xfe
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov ecx, eax
mov edx, eax
mov dword [ebx + 0x2d10], edi
mov edi, eax
and ecx, 7
shr edi, 3
add edi, ebp
movzx ebp, byte [edi]
mov dword [esp + 0x68], ecx
shl ebp, cl
mov ecx, ebp
shr cl, 7
cmp dword [esp + 0x60], eax
mov ebp, ecx
jle 0x6c51cd58
lea edx, [eax + 1]
and ebp, 0xff
mov dword [esi + 8], edx
mov ecx, edx
mov dword [ebx + 0x2d14], ebp
mov ebp, dword [esp + 0x64]
shr ecx, 3
movzx edi, byte [ebp + ecx]
mov ebp, edx
and ebp, 7
mov ecx, ebp
shl edi, cl
mov ecx, edi
shr cl, 7
cmp dword [esp + 0x60], edx
mov edi, ecx
jle 0x6c51d8cd
add eax, 2
mov edx, eax
and edi, 0xff
test edi, edi
mov dword [esi + 8], edx
mov dword [ebx + 0x2cb8], edi
jne 0x6c51d6ec
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
movzx ebp, byte [edi]
shl ebp, cl
mov ecx, ebp
shr cl, 7
cmp dword [esp + 0x60], edx
mov ebp, ecx
jle 0x6c51cd80
lea edx, [eax + 1]
and ebp, 0xff
mov edi, edx
mov ecx, edx
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
mov dword [esi + 8], edx
mov dword [ebx + 0x2d18], ebp
movzx ebp, byte [edi]
mov dword [esp + 0x68], ecx
shl ebp, cl
mov ecx, ebp
shr cl, 7
cmp dword [esp + 0x60], edx
mov ebp, ecx
jle 0x6c51cd9d
lea edx, [eax + 2]
and ebp, 0xff
mov dword [esi + 8], edx
mov ecx, edx
mov dword [ebx + 0x3c68], ebp
mov ebp, dword [esp + 0x64]
shr ecx, 3
movzx edi, byte [ebp + ecx]
mov ebp, edx
and ebp, 7
mov ecx, ebp
shl edi, cl
mov ecx, edi
shr cl, 7
cmp dword [esp + 0x60], edx
mov edi, ecx
jle 0x6c51cb2a
lea edx, [eax + 3]
mov eax, edi
movzx ecx, al
test ecx, ecx
mov dword [esi + 8], edx
mov dword [ebx + 0x2cbc], ecx
je 0x6c51cb48
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x6c51cf80
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x90]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [edi + edx]
add eax, 3
bswap edx
shl edx, cl
shr edx, 0xfd
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov ecx, eax
mov dword [ebp + 0x9c], edx
and ecx, 7
mov dword [ebx + 0x44], edx
mov edx, eax
add eax, 2
shr edx, 3
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
shr edx, 0xfe
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov ebp, eax
mov dword [ebx + 0x2d1c], edx
mov edx, eax
and ebp, 7
shr edx, 3
mov ecx, ebp
add edx, edi
movzx edi, byte [edx]
shl edi, cl
mov ecx, edi
shr cl, 7
cmp dword [esp + 0x60], eax
mov edi, ecx
jle 0x6c51cbdc
add eax, 1
mov edx, eax
mov ebp, eax
shr edx, 3
and ebp, 7
add edx, dword [esp + 0x64]
mov ecx, dword [ebx + 0x2ca4]
and edi, 0xff
mov dword [esi + 8], eax
mov dword [ebx + 0x2d20], edi
test ecx, ecx
jne 0x6c51ce00
movzx edx, byte [edx]
mov ecx, ebp
shl edx, cl
shr dl, 7
cmp dword [esp + 0x60], eax
mov ebp, edx
lea edx, [eax + 1]
cmovg eax, edx
mov dword [esi + 8], eax
mov eax, ebp
movzx ecx, al
test ecx, ecx
mov dword [ebx + 0x2cc0], ecx
je 0x6c51cede
mov edi, dword [ebx + 0x2cb4]
test edi, edi
jne 0x6c51cc40
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
add edx, 0x10
cmp edx, eax
cmovbe eax, edx
mov dword [esi + 8], eax
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x2d1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2d10]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3c68]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x2d18]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x2d14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x2cbc]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x2d0c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x2d08]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x2cb0]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x25d4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x2cfc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2cf8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2cf4]
mov dword [esp + 8], str.Profile__i:_nfrmrtq_postproc_i__bitrtq_postproc_i_nLoopFilter_i__MultiRes_i__FastUVMC_i__Extended_MV_i_nRangered_i__VSTransform_i__Overlap_i__SyncMarker_i_nDQuant_i__Quantizer_mode_i__Max_B_frames_i_n
mov dword [esp + 4], 0x30
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sub.avutil_52.dll_av_log
xor eax, eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, 1
mov ebp, eax
shr ebp, 3
jmp 0x6c51c795
lea edx, [eax + 1]
and ebp, 0xff
mov edi, edx
mov ecx, edx
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
mov dword [esi + 8], edx
mov dword [ebx + 0x2cb0], ebp
movzx ebp, byte [edi]
mov dword [esp + 0x68], ecx
shl ebp, cl
mov ecx, ebp
shr cl, 7
cmp dword [esp + 0x60], edx
mov ebp, ecx
jle 0x6c51d8c6
add eax, 2
mov ecx, eax
mov edi, eax
and ecx, 7
mov edx, eax
shr edi, 3
mov dword [esp + 0x68], ecx
add edi, dword [esp + 0x64]
jmp 0x6c51c8f8
and ebp, 0xff
movzx ecx, byte [esp + 0x68]
mov dword [ebx + 0x2d14], ebp
movzx edi, byte [edi]
shl edi, cl
mov ecx, edi
shr cl, 7
mov edi, ecx
jmp 0x6c51ca78
and ebp, 0xff
movzx ecx, byte [esp + 0x68]
mov dword [ebx + 0x2d18], ebp
movzx ebp, byte [edi]
shl ebp, cl
mov eax, ebp
shr al, 7
mov ebp, eax
and ebp, 0xff
movzx ecx, byte [esp + 0x68]
mov dword [esi + 8], edx
mov dword [ebx + 0x3c68], ebp
movzx eax, byte [edi]
shl eax, cl
shr al, 7
mov edi, eax
jmp 0x6c51cb2a
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x6c51c86b
mov edi, dword [esp + 0x90]
mov dword [esp + 8], str.LOOPFILTER_shall_not_be_enabled_in_Simple_Profile_n
mov dword [esp + 4], 0x10
mov dword [esp], edi
call sub.avutil_52.dll_av_log
mov ebp, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], eax
jmp 0x6c51c86b
mov edx, dword [edx]
mov ecx, ebp
add eax, 0xb
mov ebp, dword [esp + 0x64]
bswap edx
shl edx, cl
shr edx, 0xf5
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov ecx, eax
shr ecx, 3
mov dword [esi + 8], eax
mov edi, dword [ebp + ecx]
mov ecx, eax
and ecx, 7
add eax, 0xb
bswap edi
shl edi, cl
shr edi, 0xf5
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym.avcodec_55.dll_avcodec_set_dimensions
mov eax, dword [esi + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
mov ebp, edx
mov dword [esp + 0x60], edx
add eax, 5
cmp eax, dword [esp + 0x5c]
cmova eax, dword [esp + 0x5c]
mov ecx, eax
mov edi, eax
shr ecx, 3
add ebp, ecx
mov ecx, eax
mov dword [esi + 8], eax
movzx edx, byte [ebp]
and ecx, 7
mov dword [esp + 0x64], ecx
shl edx, cl
shr dl, 7
cmp dword [esp + 0x5c], eax
mov byte [esp + 0x68], dl
jg 0x6c51cf02
movzx ecx, byte [esp + 0x68]
mov dword [ebx + 0x2cac], ecx
movzx ecx, byte [esp + 0x64]
movzx ebp, byte [ebp]
shl ebp, cl
mov edx, ebp
shr dl, 7
mov ebp, edx
mov ecx, ebp
test cl, cl
mov dword [esi + 8], edi
jne 0x6c51d8a5
add eax, 3
cmp eax, dword [esp + 0x5c]
cmova eax, dword [esp + 0x5c]
mov dword [esi + 8], eax
mov dword [ebx + 0x2cc0], 0
mov edx, dword [esp + 0x90]
mov dword [esp + 8], str.Old_WMV3_version_detected__some_frames_may_be_decoded_incorrectly_n
mov dword [esp + 4], 0x10
mov dword [esp], edx
call sub.avutil_52.dll_av_log
jmp 0x6c51cc25
movzx ecx, dl
mov edx, dword [esp + 0x60]
lea edi, [eax + 1]
mov ebp, edi
shr ebp, 3
mov dword [esi + 8], edi
mov dword [ebx + 0x2cac], ecx
movzx ebp, byte [edx + ebp]
mov ecx, edi
and ecx, 7
shl ebp, cl
mov edx, ebp
shr dl, 7
cmp dword [esp + 0x5c], edi
mov ebp, edx
jle 0x6c51d8bf
add eax, 2
mov edi, eax
jmp 0x6c51ceb8
mov eax, dword [esp + 0x90]
mov dword [esp + 8], str.WMV3_Complex_Profile_is_not_fully_supported_n
mov dword [esp + 4], 0x18
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov edx, dword [ebx + 0x2cf4]
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
jmp 0x6c51c745
mov edx, dword [esp + 0x90]
mov dword [esp + 8], str.RANGERED_should_be_set_to_0_in_Simple_Profile_n
mov dword [esp + 4], 0x20
mov dword [esp], edx
call sub.avutil_52.dll_av_log
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
jmp 0x6c51cb48
mov edi, dword [esp + 0x64]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov dword [ebx + 0x2e44], 0x6c597900
add eax, 3
mov dword [ebx + 0x2e48], 0x6c5978e0
mov dword [ebx + 0x2cc0], 1
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
shr edx, 0xfd
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
cmp edx, 4
mov dword [esi + 8], eax
mov dword [ebx + 0x2cc8], edx
jg 0x6c51d3f0
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [edi + edx]
add eax, 2
bswap edx
shl edx, cl
shr edx, 0xfe
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
cmp edx, 1
mov dword [esi + 8], eax
mov dword [ebx + 0x2ccc], edx
jne 0x6c51d706
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [edi + edx]
add eax, 3
mov ebp, edi
bswap edx
shl edx, cl
shr edx, 0xfd
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov ecx, eax
mov dword [ebx + 0x2cf8], edx
mov edx, eax
and ecx, 7
shr edx, 3
add eax, 5
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
shr edx, 0xfb
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, ebp
mov dword [esi + 8], eax
mov dword [ebx + 0x2cfc], edx
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
cmp dword [esp + 0x60], eax
jle 0x6c51d0b4
add eax, 1
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, ebp
movzx edx, dl
mov dword [esi + 8], eax
add eax, 0xc
mov dword [ebx + 0x2cd0], edx
mov edx, dword [edi]
mov edi, dword [esp + 0x64]
bswap edx
shl edx, cl
shr edx, 0xf4
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
lea edx, [edx + edx + 2]
mov dword [esi + 8], eax
mov ecx, eax
mov dword [ebx + 0x2d00], edx
mov edx, eax
and ecx, 7
shr edx, 3
add eax, 0xc
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
shr edx, 0xf4
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
lea edx, [edx + edx + 2]
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
mov ebp, eax
mov dword [esi + 8], eax
mov dword [ebx + 0x2d04], edx
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
cmp dword [esp + 0x60], eax
jg 0x6c51d323
movzx edx, dl
mov dword [ebx + 0x2cd4], edx
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
movzx edx, dl
mov dword [esi + 8], eax
mov dword [ebx + 0x2cd8], edx
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
movzx edx, dl
mov dword [esi + 8], eax
mov dword [ebx + 0x2cdc], edx
movzx edx, byte [edi]
shl edx, cl
mov ecx, edx
shr cl, 7
movzx ecx, cl
add eax, 1
mov dword [ebx + 0x2d20], ecx
mov edx, dword [esi + 0x10]
cmp eax, edx
cmova eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x2d20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x2cdc]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x2cd8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x2cd4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x2ccc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x25d4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x2cfc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2cf8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2cc8]
mov dword [esp + 8], str.Advanced_Profile_level__i:_nfrmrtq_postproc_i__bitrtq_postproc_i_nLoopFilter_i__ChromaFormat_i__Pulldown_i__Interlace:__i_nTFCTRflag_i__FINTERPflag_i_n
mov dword [esp + 4], 0x30
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, dword [esi + 8]
mov ebp, dword [esi]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
movzx edx, byte [ebp + edx]
shl edx, cl
mov ecx, edx
mov edx, dword [esi + 0x10]
shr cl, 7
movzx ecx, cl
cmp eax, edx
mov dword [esp + 0x60], edx
setl dl
movzx edx, dl
add eax, edx
test ecx, ecx
mov dword [esi + 8], eax
mov dword [ebx + 0x2cf0], ecx
jne 0x6c51d8b2
mov edi, dword [ebx + 4]
mov ecx, eax
shr ecx, 3
mov dword [edi + 0x9c], 7
mov dword [esp + 0x68], edi
mov dword [ebx + 0x44], 7
movzx edi, byte [ebp + ecx]
mov ecx, eax
and ecx, 7
mov edx, edi
shl edx, cl
cmp dword [esp + 0x60], eax
lea edi, [eax + 1]
cmovg eax, edi
test dl, dl
mov dword [esi + 8], eax
js 0x6c51d426
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
movzx edx, byte [ebp + edx]
shl edx, cl
mov ecx, edx
shr cl, 7
cmp eax, dword [esp + 0x60]
movzx ecx, cl
lea edx, [eax + 1]
cmovge edx, eax
xor eax, eax
test ecx, ecx
mov dword [esi + 8], edx
mov dword [ebx + 0x2cec], ecx
je 0x6c51cced
mov ecx, edx
shr ecx, 3
mov edi, dword [ebp + ecx]
mov ecx, edx
add edx, 5
and ecx, 7
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x60]
shr edi, 0xfb
cmp edx, dword [esp + 0x60]
mov dword [ebx + 0x3af4], edi
cmovbe ecx, edx
mov edx, dword [esi + 0x10]
add ecx, 4
cmp ecx, edx
cmova ecx, edx
add ecx, 4
cmp ecx, edx
cmova ecx, edx
mov dword [esi + 8], ecx
mov edi, dword [ebx + 0x3af4]
test edi, edi
jle 0x6c51cced
nop
add ecx, 0x10
cmp edx, ecx
cmovbe ecx, edx
add ecx, 0x10
cmp ecx, edx
cmova ecx, edx
add eax, 1
mov dword [esi + 8], ecx
cmp eax, dword [ebx + 0x3af4]
jl 0x6c51d300
jmp 0x6c51cceb
add eax, 1
movzx edx, dl
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
mov dword [esi + 8], eax
mov dword [ebx + 0x2cd4], edx
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
cmp eax, dword [esp + 0x60]
jge 0x6c51d146
lea eax, [ebp + 2]
movzx edx, dl
mov edi, eax
mov ecx, eax
shr edi, 3
and ecx, 7
add edi, dword [esp + 0x64]
mov dword [esi + 8], eax
mov dword [ebx + 0x2cd8], edx
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
cmp eax, dword [esp + 0x60]
jge 0x6c51d15a
mov edi, dword [esp + 0x64]
lea eax, [ebp + 3]
movzx edx, dl
mov dword [esi + 8], eax
mov ecx, eax
mov dword [ebx + 0x2cdc], edx
mov edx, eax
and ecx, 7
shr edx, 3
movzx edx, byte [edi + edx]
shl edx, cl
mov ecx, edx
shr cl, 7
cmp eax, dword [esp + 0x60]
jge 0x6c51d170
lea eax, [ebp + 4]
jmp 0x6c51d170
mov dword [esp + 8], str.Old_interlaced_mode_is_not_supported_n
mov edi, dword [esp + 0x90]
mov dword [esp + 4], 0x10
mov dword [esp], edi
call sub.avutil_52.dll_av_log
mov eax, 0xffffffff
jmp 0x6c51cced
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Reserved_LEVEL__i_n
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov ebp, dword [esi]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x64], ebp
mov edi, ebp
mov dword [esp + 0x60], edx
jmp 0x6c51d005
mov edi, dword [esp + 0x68]
mov dword [esp + 8], str.Display_extended_info:_n
mov dword [esp + 4], 0x30
mov dword [esp], edi
call sub.avutil_52.dll_av_log
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, edi
shr ecx, 3
mov ebp, dword [eax + ecx]
mov ecx, edi
add edi, 0xe
and ecx, 7
bswap ebp
shl ebp, cl
shr ebp, 0xf2
cmp edi, edx
cmova edi, edx
add ebp, 1
mov ecx, edi
shr ecx, 3
mov dword [esi + 8], edi
mov eax, dword [eax + ecx]
mov ecx, edi
and ecx, 7
add edi, 0xe
mov dword [esp + 0x60], ebp
bswap eax
shl eax, cl
shr eax, 0xf2
cmp edi, edx
cmova edi, edx
add eax, 1
mov dword [esi + 8], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.Display_dimensions:__ix_i_n
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, dword [esi + 8]
mov ebp, dword [esi]
mov edi, dword [esi + 0x10]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
movzx edx, byte [ebp + edx]
shl edx, cl
mov ecx, edx
xor edx, edx
cmp eax, edi
setl dl
add eax, edx
test cl, cl
mov dword [esi + 8], eax
js 0x6c51d754
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], 0x40000000
mov dword [esp + 0x1c], 0
imul edx, dword [eax + 0x78]
mov ebp, edx
mov dword [esp + 0x10], edx
sar ebp, 0x1f
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], ebp
imul edx, dword [eax + 0x7c]
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 8], edx
lea edx, [eax + 0xe4]
add eax, 0xe0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.avutil_52.dll_av_reduce
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0xe4]
mov edx, dword [ecx + 0xe0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp], ecx
mov dword [esp + 8], str.Aspect:__i:_i_n
mov dword [esp + 4], 0x30
call sub.avutil_52.dll_av_log
mov edx, dword [esi + 8]
mov edi, dword [esi]
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movzx eax, byte [edi + eax]
mov ebp, edi
mov dword [esp + 0x64], edi
shl eax, cl
mov ecx, eax
mov eax, dword [esi + 0x10]
cmp edx, eax
mov dword [esp + 0x60], eax
setl al
movzx eax, al
add edx, eax
test cl, cl
mov eax, edx
mov dword [esi + 8], edx
jns 0x6c51d630
mov edi, edx
mov ecx, edx
shr edi, 3
and ecx, 7
add edi, ebp
movzx eax, byte [edi]
mov dword [esp + 0x68], ecx
shl eax, cl
shr al, 7
cmp dword [esp + 0x60], edx
mov byte [esp + 0x6c], al
jle 0x6c51d5dd
add edx, 1
mov edi, ebp
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
add edi, eax
mov dword [esp + 0x68], ecx
cmp byte [esp + 0x6c], 0
mov dword [esi + 8], edx
je 0x6c51d829
mov eax, dword [ebx + 4]
add edx, 0x10
movzx ecx, byte [esp + 0x68]
mov dword [eax + 0x68], 0x20
mov eax, dword [edi]
mov edi, dword [ebx + 4]
bswap eax
shl eax, cl
shr eax, 0xf0
cmp edx, dword [esp + 0x60]
cmova edx, dword [esp + 0x60]
add eax, 1
mov dword [esi + 8], edx
mov dword [edi + 0x6c], eax
mov eax, dword [ebx + 0x2cd4]
test eax, eax
jne 0x6c51d80e
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x64]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
movzx edx, byte [edi + edx]
shl edx, cl
cmp eax, dword [esp + 0x60]
lea ecx, [eax + 1]
cmovl eax, ecx
test dl, dl
mov dword [esi + 8], eax
jns 0x6c51d27c
mov edx, eax
mov ecx, edi
mov edi, dword [ebx + 4]
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, eax
add eax, 8
and ecx, 7
bswap edx
shl edx, cl
mov ecx, dword [esp + 0x64]
shr edx, 0xf8
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov dword [edi + 0x180], edx
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, eax
add eax, 8
and ecx, 7
bswap edx
shl edx, cl
mov ecx, dword [esp + 0x64]
shr edx, 0xf8
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov dword [edi + 0x184], edx
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, eax
add eax, 8
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xf8
cmp eax, dword [esp + 0x60]
cmova eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov dword [edi + 0x188], edx
mov dword [edi + 0x18c], 1
jmp 0x6c51d27c
mov dword [esp + 8], str.1_for_reserved_RES_TRANSTAB_is_forbidden_n
jmp 0x6c51d3c8
mov dword [esp + 8], str.Extended_MVs_unavailable_in_Simple_Profile_n
jmp 0x6c51d3c8
mov dword [esp + 8], str.Only_4:2:0_chroma_format_supported_n
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, 0xffffffff
jmp 0x6c51cced
mov eax, dword [esp + 0x90]
mov dword [esp + 8], str.FASTUVMC_unavailable_in_Simple_Profile_n
mov dword [esp + 4], 0x10
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, 0xffffffff
jmp 0x6c51cced
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [ebp + edx]
add eax, 4
bswap edx
shl edx, cl
shr edx, 0xfc
cmp eax, edi
cmova eax, edi
cmp edx, 0xd
mov dword [esi + 8], eax
jg 0x6c51d7ab
test edx, edx
je 0x6c51d7ab
mov ecx, dword [ebx + 4]
mov eax, dword [edx*8 + sym.avcodec_55.dll_ff_vc1_pixel_aspect]
mov edx, dword [edx*8 + 0x6c59a464]
mov dword [ecx + 0xe0], eax
mov dword [ecx + 0xe4], edx
mov edx, dword [ecx + 0xe0]
mov eax, dword [ecx + 0xe4]
jmp 0x6c51d54b
cmp edx, 0xf
jne 0x6c51d4e8
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [ebp + edx]
add eax, 8
bswap edx
shl edx, cl
shr edx, 0xf8
cmp eax, edi
cmova eax, edi
add edx, 1
mov ecx, eax
shr ecx, 3
mov dword [esi + 8], eax
mov ebp, dword [ebp + ecx]
mov ecx, eax
and ecx, 7
add eax, 8
bswap ebp
shl ebp, cl
mov ecx, dword [ebx + 4]
shr ebp, 0xf8
cmp eax, edi
cmova eax, edi
mov dword [esi + 8], eax
lea eax, [ebp + 1]
mov dword [ecx + 0xe0], edx
mov dword [ecx + 0xe4], eax
jmp 0x6c51d54b
mov eax, dword [ebx + 4]
mov ebp, dword [esp + 0x64]
shl dword [eax + 0x6c], 1
mov edi, ebp
mov dword [eax + 0x70], 2
mov eax, dword [esi + 8]
jmp 0x6c51d630
mov edi, dword [edi]
add edx, 8
movzx ecx, byte [esp + 0x68]
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x64]
shr edi, 0xf8
cmp edx, dword [esp + 0x60]
cmova edx, dword [esp + 0x60]
mov eax, edx
shr eax, 3
mov dword [esi + 8], edx
mov eax, dword [ecx + eax]
mov ecx, edx
and ecx, 7
add edx, 4
bswap eax
shl eax, cl
shr eax, 0xfc
cmp edx, dword [esp + 0x60]
cmova edx, dword [esp + 0x60]
sub edi, 1
cmp edi, 6
mov dword [esi + 8], edx
ja 0x6c51d61b
sub eax, 1
cmp eax, 1
ja 0x6c51d61b
mov edx, dword [ebx + 4]
mov eax, dword [eax*4 + 0x6c59a5c0]
mov dword [edx + 0x68], eax
imul eax, dword [edi*4 + 0x6c59a5c8], 0x3e8
mov dword [edx + 0x6c], eax
jmp 0x6c51d61b
mov dword [esp + 8], str.Unsupported_sprite_feature_n
jmp 0x6c51d3c8
mov dword [esp + 8], str.Progressive_Segmented_Frame_mode:_not_supported__yet__n
jmp 0x6c51d70e
mov eax, edi
jmp 0x6c51ceb8
mov eax, edx
jmp 0x6c51c8f8
mov eax, edx
nop
jmp 0x6c51ca78