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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 0x20], 0
jne 0x10002756
mov eax, 0x8000ffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
mov dword [esp + 0x1c], 0
sete al
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.avcodec_55.dll_av_init_packet]
mov eax, dword [ebx + 0x20]
add esp, 4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x24], ecx
test byte [eax + 0x330], 1
mov dword [esp + 0x30], edx
je 0x100027e7
cmp dword [ebx + 0x4c], 0
jne 0x100027ce
mov eax, dword [ebx + 0x188]
add eax, eax
mov dword [ebx + eax*8 + 0x88], edx
mov dword [ebx + eax*8 + 0x8c], ecx
mov eax, dword [ebx + 0x188]
mov ecx, dword [ebp + 0x1c]
add eax, 9
add eax, eax
mov dword [ebx + eax*8], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + eax*8 + 4], ecx
mov eax, dword [ebx + 0x188]
mov ecx, dword [ebx + 0x20]
inc eax
cdq
idiv dword [ecx + 0x328]
mov dword [ebx + 0x188], edx
jmp 0x10002826
cmp dword [ebx + 0x5c], 0
je 0x10002826
mov eax, dword [ebx + 0x80]
add eax, 6
add eax, eax
mov dword [ebx + eax*8], edx
mov dword [ebx + eax*8 + 4], ecx
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebp + 0x1c]
add eax, eax
mov dword [ebx + eax*8 + 0x68], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + eax*8 + 0x6c], ecx
xor eax, eax
cmp dword [ebx + 0x80], eax
sete al
mov dword [ebx + 0x80], eax
mov edi, dword [esp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
test edi, edi
jne 0x100028e8
test eax, eax
jle 0x100028ec
cmp dword [ebx + 0x58], edx
jne 0x100028ba
mov eax, dword [ebx + 0x20]
test byte [eax + 0x330], 1
je 0x10002859
cmp dword [ebx + 0x30], edx
je 0x100028ba
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx + 0x38]
jle 0x10002891
mov dword [ebx + 0x38], eax
add eax, 0x10
push 1
push eax
push dword [ebx + 0x34]
call dword [sym.imp.avutil_52.dll_av_realloc_f]
add esp, 0xc
mov dword [ebx + 0x34], eax
test eax, eax
jne 0x1000288e
mov dword [ebx + 0x38], eax
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x10]
push eax
push esi
push dword [ebx + 0x34]
call fcn.100922e0
mov eax, dword [ebx + 0x34]
xor ecx, ecx
add esp, 0xc
add eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x20], edx
jmp 0x100028c0
mov edx, esi
mov dword [esp + 0x20], esi
cmp dword [ebx + 0x28], 0x8d
jne 0x100028e5
cmp dword [ebx + 0x19c], 0
je 0x100028e5
test byte [edx], 1
jne 0x100031d9
mov dword [ebx + 0x19c], 0
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x100028f4
test edi, edi
je 0x100031d9
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x30]
mov edi, ecx
mov ebx, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x38], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], esi
jne 0x100029d8
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
test ecx, ecx
jne 0x10002940
cmp eax, 0x80000000
je 0x1000294d
test esi, esi
jne 0x10002957
cmp dword [ebp + 0x20], 0x80000000
jne 0x10002957
mov dword [esp + 0x78], 0
jmp 0x1000295f
mov eax, esi
sub eax, ecx
mov dword [esp + 0x78], eax
cmp dword [ebx + 0x48], 0
mov dword [esp + 0x6c], 1
je 0x100029e8
push 0x400
lea eax, [esp + 0x4c]
mov dword [ebx + 0x48], 0
push 0
push eax
call dword [sym.imp.avcodec_55.dll_av_packet_new_side_data]
mov esi, dword [ebx + 0x20]
mov edx, 1
mov edi, eax
add esp, 0xc
mov ecx, dword [esi + 0x318]
shl edx, cl
mov ecx, dword [esi + 0x64]
mov esi, dword [esi + 0x60]
lea eax, [edx*4]
cmp eax, ecx
cmovg eax, ecx
sub esi, eax
cdq
and edx, 3
add esi, ecx
lea ecx, [edx + eax]
sar ecx, 2
test ecx, ecx
jle 0x100029d2
sub esi, edi
mov eax, dword [esi + edi]
lea edi, [edi + 4]
or eax, 0xff000000
mov dword [edi - 4], eax
dec ecx
jne 0x100029c1
mov edi, dword [esp + 0x14]
jmp 0x100029e8
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10002bd0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0
push dword [esp + 0x7c]
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 0
push dword [esp + 0x7c]
mov dword [esp + 0x4c], 0
push ecx
lea ecx, [esp + 0x4c]
push ecx
push dword [ebx + 0x20]
push eax
call dword [sym.imp.avcodec_55.dll_av_parser_parse2]
mov ecx, dword [esp + 0x5c]
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x10002a86
test ecx, ecx
jne 0x10002a8f
cmp dword [esp + 0x10], ecx
je 0x100031d9
xor edx, edx
mov dword [ebx + 0x194], 0x80000000
mov dword [ebx + 0x190], edx
mov dword [esp + 0x24], 0x80000000
mov dword [esp + 0x30], edx
test ecx, ecx
jg 0x10002af3
cmp dword [esp + 0x10], 0
jne 0x10002af3
mov dword [esp + 0x1c], 0
jmp 0x10002bf2
jle 0x10002a8f
sub dword [ebp + 0x10], esi
add dword [esp + 0x20], esi
cmp esi, ecx
jle 0x10002ab7
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x10002aa5
cmp dword [esp + 0x24], 0x80000000
je 0x10002a6a
mov dword [ebx + 0x190], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x194], eax
jmp 0x10002a6a
je 0x10002a4c
lea eax, [esi + 9]
cmp eax, ecx
je 0x10002a4c
cmp ecx, esi
jle 0x10002a6a
mov edi, dword [ebx + 0x190]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x194]
mov dword [ebx + 0x190], edx
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x194], edx
xor edx, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jmp 0x10002a5e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10002b99
test ecx, ecx
jle 0x10002b99
cmp ecx, dword [ebx + 0x40]
jle 0x10002b34
push 1
lea eax, [ecx + 0x10]
mov dword [ebx + 0x40], ecx
push eax
push dword [ebx + 0x3c]
call dword [sym.imp.avutil_52.dll_av_realloc_f]
add esp, 0xc
mov dword [ebx + 0x3c], eax
test eax, eax
je 0x100031b8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push dword [ebx + 0x3c]
call fcn.100922e0
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
add eax, dword [esp + 0x38]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x54], eax
lea eax, [ebx + 0x18]
push eax
mov dword [esp + 0x68], ecx
push ecx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x80], 0
call fcn.100124f0
add esp, 8
test eax, eax
je 0x10002ba9
mov dword [esp + 0x34], 1
jmp 0x10002ba9
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call dword [sym.imp.avcodec_55.dll_avcodec_decode_video2]
add esp, 0x10
test eax, eax
jns 0x10002bf2
mov dword [esp + 0x1c], 0
jmp 0x10002bf2
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call dword [sym.imp.avcodec_55.dll_avcodec_decode_video2]
add esp, 0x10
mov dword [ebp + 0x10], 0
mov esi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
test eax, eax
js 0x100031e4
test esi, esi
js 0x100031cd
cmp dword [ebx + 0x198], 0
je 0x10002c3f
cmp dword [ebx + 0x19c], 0
je 0x10002c3f
cmp dword [esp + 0x1c], 0
je 0x10002c3f
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x54], 0
je 0x10002c37
mov dword [ebx + 0x19c], 0
jmp 0x10002c3f
mov dword [esp + 0x1c], 0
mov eax, dword [ebx + 0x20]
test byte [eax + 0x330], 1
je 0x10002c9e
cmp dword [ebx + 0x5c], 0
je 0x10002c9e
mov edx, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x188]
add edx, 6
shl ecx, 4
add ecx, ebx
shl edx, 4
add edx, ebx
mov eax, dword [ecx + 0x88]
mov dword [edx], eax
mov eax, dword [ecx + 0x8c]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0x90]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x94]
mov dword [edx + 0xc], eax
xor eax, eax
cmp dword [ebx + 0x80], eax
sete al
mov dword [ebx + 0x80], eax
cmp dword [esp + 0x1c], 0
je 0x1000318e
mov edx, dword [ebx + 0x24]
cmp dword [edx], 0
je 0x1000318e
cmp dword [ebx + 0x4c], 0
je 0x10002cf5
mov eax, dword [edx + 0x94]
mov esi, dword [edx + 0x1b0]
mov edi, dword [edx + 0x1b4]
mov ecx, dword [edx + 0x90]
mov dword [esp + 0x18], eax
mov eax, esi
or eax, edi
mov dword [esp + 0x14], ecx
je 0x10002cec
add esi, ecx
adc edi, dword [esp + 0x18]
jmp 0x10002d6f
xor esi, esi
mov edi, 0x80000000
jmp 0x10002d6f
cmp dword [ebx + 0x5c], 0
je 0x10002d2d
mov eax, dword [ebx + 0x20]
cmp dword [eax + 0xb0], 0
je 0x10002d2d
mov ecx, dword [ebx + 0x80]
lea eax, [ecx + 6]
add eax, eax
add ecx, ecx
mov esi, dword [ebx + eax*8]
mov eax, dword [ebx + eax*8 + 4]
mov edi, dword [ebx + ecx*8 + 0x6c]
mov dword [esp + 0x14], esi
mov esi, dword [ebx + ecx*8 + 0x68]
mov dword [esp + 0x18], eax
jmp 0x10002d6f
mov eax, dword [ebx + 0x20]
test byte [eax + 0x330], 1
je 0x10002d67
mov ecx, dword [ebx + 0x188]
mov eax, ecx
add eax, eax
mov esi, dword [ebx + eax*8 + 0x88]
mov eax, dword [ebx + eax*8 + 0x8c]
mov dword [esp + 0x18], eax
lea eax, [ecx + 9]
add eax, eax
mov dword [esp + 0x14], esi
mov esi, dword [ebx + eax*8]
mov edi, dword [ebx + eax*8 + 4]
jmp 0x10002d6f
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
cmp dword [ebx + 0x54], 0
je 0x10002d8b
cmp dword [edx + 0x58], 3
jne 0x10002d8b
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x80000000
cmp dword [ebx + 0x50], 0
je 0x10002d98
xor esi, esi
mov edi, 0x80000000
mov eax, dword [ebx + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ecx, dword [ebx + 0x24]
push 0
push 0x40000000
mov eax, dword [ecx + 0x80]
imul dword [ecx + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x7c]
imul dword [ecx + 0x44]
push edx
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.avutil_52.dll_av_reduce]
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x48]
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x48], ecx
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x124]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x40], ecx
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x54]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebx + 0x24]
push dword [eax + 0x58]
call dword [sym.imp.avutil_52.dll_av_get_picture_type_char]
mov ecx, dword [esp + 0x30]
add esp, 0x24
mov byte [ecx + 0x68], al
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
call fcn.10001a40
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x58], eax
mov edx, dword [ebx + 0x24]
cmp dword [edx + 0x128], 0
jne 0x10002e84
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x3bc]
test ecx, ecx
jne 0x10002e78
mov eax, dword [ebx + 0x28]
cmp eax, 0x1c
je 0x10002e84
cmp eax, 2
je 0x10002e84
test ecx, ecx
je 0x10002e8e
mov dword [ebx + 0x1a0], 0
jmp 0x10002e8e
mov dword [ebx + 0x1a0], 1
mov eax, dword [ebx + 0x28]
cmp eax, 0x1c
je 0x10002e9b
cmp eax, 2
jne 0x10002eb0
cmp dword [edx + 0x124], 0
je 0x10002eb0
mov dword [ebx + 0x1a4], 2
jmp 0x10002ec1
mov eax, dword [ebx + 0x1a4]
test eax, eax
jle 0x10002ec1
dec eax
mov dword [ebx + 0x1a4], eax
cmp dword [ebx + 0x1a0], 1
jne 0x10002ee8
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp eax, 1
jne 0x10002ee8
cmp dword [ebx + 0x1a4], 0
jne 0x10002ee8
mov cl, al
jmp 0x10002eea
xor cl, cl
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x128], 0
jne 0x10002f0b
test cl, cl
jne 0x10002f0b
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp eax, 2
jne 0x10002f23
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp eax, 3
je 0x10002f23
mov ecx, 1
jmp 0x10002f25
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x60], ecx
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jne 0x10002f44
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x12c]
jmp 0x10002f4c
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, dword [esp + 0xc]
mov dword [eax + 0x64], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x30], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x34], ecx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x38], esi
mov eax, dword [esp + 0xc]
mov dword [eax + 0x3c], edi
lea eax, [esp + 0x98]
mov ecx, dword [ebx + 0x24]
push eax
mov ecx, dword [ecx + 0x50]
call fcn.10001b20
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [esp + 0xa8], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx + 0x28]
cmp eax, 2
je 0x10002fba
cmp eax, 1
jne 0x10002fce
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x54], edx
test esi, esi
je 0x10002fe5
push dword [esp + 0xc]
mov edx, dword [ebx + 0x24]
mov ecx, ebx
call fcn.10003380
jmp 0x100030e6
call dword [sym.imp.avutil_52.dll_av_frame_alloc]
push dword [ebx + 0x24]
mov esi, eax
push esi
call dword [sym.imp.avutil_52.dll_av_frame_ref]
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, dword [esi]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x74], esi
mov eax, dword [esp + 0xc]
mov dword [eax + 0x70], 0x10002720
cmp dword [ebx + 0x28], 0xe
jne 0x100030e6
mov edi, dword [esp + 0xc]
xor ecx, ecx
lea eax, [edi + 0x18]
mov edi, edi
test byte [eax - 0x10], 0xf
jne 0x10003086
test byte [eax], 0xf
jne 0x10003086
inc ecx
add eax, 4
cmp ecx, 4
jl 0x10003070
jmp 0x100030ea
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.1000a4c0
test edi, edi
je 0x100030d2
mov eax, dword [edi + 0x70]
test eax, eax
je 0x100030b8
push edi
call eax
add esp, 4
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x28]
mov ecx, 0x1e
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100030fa
or dword [edi + 0x6c], 2
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x28], 0xc
jne 0x10003116
mov eax, dword [ebx + 0x24]
mov ecx, ebx
mov eax, dword [eax + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebx]
push dword [esp + 0xc]
call dword [eax + 0x50]
jmp 0x10003120
mov eax, dword [ebx + 8]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x1000315a
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x28], 0xc
jne 0x10003147
mov ecx, dword [ebx + 8]
mov esi, dword [ebx]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
push eax
mov ecx, ebx
call dword [esi + 0x50]
jmp 0x1000315a
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10003179
mov eax, dword [ebx + 0x188]
mov ecx, dword [ebx + 0x20]
inc eax
cdq
idiv dword [ecx + 0x328]
mov dword [ebx + 0x188], edx
push dword [ebx + 0x24]
call dword [sym.imp.avutil_52.dll_av_frame_unref]
mov edx, dword [esp + 0x24]
add esp, 4
jmp 0x100028e5
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp dword [esp + 0x64], ecx
push dword [ebx + 0x24]
cmove eax, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.avutil_52.dll_av_frame_unref]
mov edi, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x20]
jmp 0x100028e5
mov dword [ebx + 0x40], 0
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push dword [ebx + 0x24]
call dword [sym.imp.avutil_52.dll_av_frame_unref]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push dword [ebx + 0x24]
call dword [sym.imp.avutil_52.dll_av_frame_unref]
add esp, 4
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24