Function at 0x1003c910
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x10305014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
cmp dword [edx + 0xb8], 0
jne 0x1003d0e1
mov esi, ecx
mov ecx, dword [ecx + 0xc]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, 0xe0000000
mov dword [ebp - 0x58], ecx
and eax, dword [ecx + 0x3c]
cmp eax, 0x40000000
mov dword [ebp - 0x1c], esi
je 0x1003d05d
mov eax, dword [ebp - 0x20]
add eax, 0x148
mov dword [ebp - 0x60], eax
lea eax, [esi + 0x310]
mov dword [ebp - 0x50], eax
xor edi, edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xb8], 0
jne 0x1003ce9f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x304]
mov edx, dword [ebp - 0x44]
cmp dword [ecx + 0x300], edx
sbb eax, dword [ebp - 0x40]
jl 0x1003d095
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x28], eax
cmp dword [eax + 0x18], 0
jne 0x1003c9f7
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x48], 0
jne 0x1003c9f7
mov esi, dword [ebp - 0x28]
push esi
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
push esi
push dword [ebp - 0x1c]
call fcn.1003c570
add esp, 8
test eax, eax
jns 0x1003c9f7
mov ebx, eax
cmp eax, 0xdfb9b0bb
jne 0x1003ce91
mov ebx, 0xdfb9b0bb
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x54], 0
jne 0x1003ce91
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x18], 0
je 0x1003ce71
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x23c], 1
jne 0x1003d09f
mov edi, dword [ebp - 0x54]
mov ecx, dword [edi + 0x58]
call dword [section..00cfg]
mov ebx, dword [ebp - 0x28]
push ebx
lea eax, [ebp - 0x14]
push eax
mov esi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
call ecx
add esp, 0x10
mov edx, eax
test byte [edi + 0x3c], 4
jne 0x1003ca5f
movsd xmm0, qword [ebx + 0x10]
movsd qword [esi + 0x70], xmm0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
mov edi, 0
je 0x1003cd8a
mov ebx, edx
emms
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
cmp eax, 1
mov dword [ebp - 0x34], esi
jne 0x1003cd2a
mov dword [ebp - 0x18], 0xffffffff
test ebx, ebx
js 0x1003cae8
test esi, esi
je 0x1003cae8
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x50], 0xffffffff
je 0x1003d174
cmp dword [ecx + 0x14c], 0
je 0x1003d185
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xb0]
or eax, dword [edx + 0xb4]
je 0x1003d1a9
cmp dword [edx + 0x120], 0
je 0x1003d1dd
cmp dword [edx + 0xa8], 0
je 0x1003d1f1
lea eax, [ebp - 0x18]
push eax
push 0xb
mov eax, dword [ebp - 0x24]
push dword [eax + 0x1c]
call sym.ffmpeg.dll_av_packet_get_side_data
add esp, 0xc
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x1003cb1c
cmp dword [ebp - 0x18], 0xa
mov ecx, 0
mov esi, 0
jb 0x1003cb20
jmp 0x1003ce51
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x20]
test byte [eax + 0xe8], 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], esi
je 0x1003cb3d
test ecx, ecx
jne 0x1003d29c
mov eax, dword [ebp - 0x24]
lea edx, [eax + 0x40]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x40]
test eax, eax
jle 0x1003cb55
test ecx, ecx
jne 0x1003cc28
test esi, esi
jne 0x1003d10e
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x43], 0x20
je 0x1003cb71
test esi, esi
jne 0x1003d2df
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 1
jne 0x1003cb99
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x58], 0
jne 0x1003cb99
test ebx, ebx
js 0x1003cb99
mov ecx, dword [ebp - 0x28]
cmp ebx, dword [ecx + 0x1c]
jne 0x1003d208
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003cd49
test ebx, ebx
js 0x1003cbb8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
je 0x1003ce1b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x270]
test eax, eax
jg 0x1003cd59
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x48], 0
je 0x1003cbda
test esi, esi
je 0x1003d231
test ebx, ebx
js 0x1003cbec
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
sub eax, ebx
jg 0x1003d24e
push dword [ebp - 0x28]
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov eax, dword [ebp - 0x24]
push dword [eax + 0x1c]
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x1003cc1b
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xb8], 0
je 0x1003d0e1
test ebx, ebx
jns 0x1003c97b
jmp 0x1003ce91
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0x43], 0x20
jne 0x1003cd20
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x4c]
mov edx, ecx
sub edx, eax
jle 0x1003ce33
mov ecx, dword [esi + 0x40]
push dword [esi + 0x50]
mov edi, dword [ebp - 0x1c]
push dword [edi + 0x314]
push edx
push eax
push 0
push ecx
push ecx
call fcn.10062120
add esp, 0x1c
mov eax, dword [edi + 0x27c]
test eax, eax
je 0x1003cd07
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x130]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1003cd07
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov edi, edx
sar edi, 0x1f
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x280]
push eax
push dword [ebp - 0x2c]
push 1
push edi
push edx
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
mov dword [ebp - 0x2c], edx
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
lea edi, [edx - 0x80000000]
or edi, ecx
je 0x1003ccc5
add ecx, eax
adc edx, dword [ebp - 0x2c]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov edi, 0x80000000
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x74]
xor edi, edx
or edi, ecx
je 0x1003cce1
add ecx, eax
adc edx, dword [ebp - 0x2c]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
mov edx, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
cmp edx, eax
mov edi, ecx
sbb edi, dword [ebp - 0x2c]
jl 0x1003cd07
sub edx, eax
sbb ecx, dword [ebp - 0x2c]
mov dword [esi + 0x160], edx
mov dword [esi + 0x164], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, eax
sar ecx, 0x1f
add dword [ebp - 0x44], eax
adc dword [ebp - 0x40], ecx
sub dword [esi + 0x4c], eax
mov dword [edx], 0
xor edi, edi
mov esi, dword [ebp - 0x30]
jmp 0x1003cb55
test eax, eax
jne 0x1003d3de
mov eax, dword [ebp - 0x20]
test byte [eax + 0xe8], 4
je 0x1003cb99
mov dword [ebp - 0x14], 0
push dword [ebp - 0x20]
call sym.ffmpeg.dll_av_frame_unref
add esp, 4
jmp 0x1003cba4
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x274]
test ecx, ecx
jle 0x1003cbc9
push 1
mov esi, dword [ebp - 0x1c]
push dword [esi + 0x54]
push ecx
push eax
call fcn.10061e00
add esp, 0x10
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], edx
mov esi, dword [ebp - 0x34]
jmp 0x1003cbc9
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x88], 0
jne 0x1003cdaf
mov eax, dword [ebp - 0x28]
movsd xmm0, qword [eax + 0x38]
mov eax, dword [ebp - 0x20]
movsd qword [eax + 0x108], xmm0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
test byte [eax + 0x10], 2
jne 0x1003ca74
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x5c], 0
jne 0x1003cdd5
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [eax + 0xb0]
mov eax, dword [ebp - 0x20]
movsd qword [eax + 0x5c], xmm0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x44], 0
jne 0x1003cdea
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x48], 0
jne 0x1003cdff
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x60]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x50], 0xffffffff
jne 0x1003ce14
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x50], eax
xor edi, edi
jmp 0x1003ca74
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x3e], 1
jne 0x1003cbb8
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x1c]
jmp 0x1003cbb8
mov edx, ecx
sar edx, 0x1f
add dword [ebp - 0x44], ecx
adc dword [ebp - 0x40], edx
sub eax, ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x1003cd20
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
cmovg edx, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x40], edx
mov esi, dword [eax + 4]
mov cl, byte [eax + 8]
mov al, byte [eax + 9]
mov dword [ebp - 0x4c], eax
jmp 0x1003cb20
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
test byte [eax + 0x10], 0x20
jne 0x1003ca16
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x23c], 1
jne 0x1003ca16
mov edi, ebx
cmp ebx, 0xdfb9b0bb
je 0x1003d049
mov eax, dword [ebp - 0x58]
test byte [eax + 0x3d], 1
jne 0x1003cec5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x1003cec5
push 1
push eax
mov eax, dword [ebp - 0x38]
push dword [eax + 0x20]
call fcn.1005de80
add esp, 0xc
test edi, edi
jne 0x1003cfc1
mov esi, 0x80000000
mov edx, dword [ebp - 0x20]
mov edi, dword [edx + 0x70]
mov eax, dword [edx + 0x74]
mov ecx, dword [edx + 0x68]
mov dword [ebp - 0x24], eax
add eax, 0x80000000
mov dword [ebp - 0x28], edi
or eax, edi
mov ebx, dword [edx + 0x6c]
jne 0x1003cfe6
mov eax, ebx
xor eax, esi
or eax, ecx
je 0x1003d222
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x2a0], ecx
mov dword [edi + 0x2a4], ebx
cmp dword [edi + 0x298], ecx
mov eax, dword [edi + 0x29c]
sbb eax, ebx
setge al
movzx eax, al
add dword [edi + 0x288], eax
adc dword [edi + 0x28c], 0
mov dword [edi + 0x298], ecx
mov dword [edi + 0x29c], ebx
mov al, 1
mov dword [ebp - 0x38], eax
xor esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
or esi, eax
sete dl
mov esi, dword [edi + 0x290]
cmp esi, dword [edi + 0x288]
mov esi, dword [edi + 0x294]
sbb esi, dword [edi + 0x28c]
setge dh
or dh, dl
test byte [ebp - 0x38], dh
cmove ebx, dword [ebp - 0x24]
cmove ecx, eax
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x100], ecx
mov dword [esi + 0x104], ebx
mov ecx, dword [esi + 0x164]
mov eax, dword [esi + 0x140]
mov edx, dword [esi + 0x160]
mov dword [esi + 0x110], edx
mov dword [esi + 0x114], ecx
test eax, eax
je 0x1003d0bd
cmp dword [eax + 8], 0x14
jne 0x1003d0d1
mov eax, dword [eax + 4]
mov ecx, dword [eax]
xor edi, edi
test ecx, ecx
jne 0x1003d0e6
mov eax, dword [ebp - 0x20]
add eax, 0x140
push eax
call fcn.10127400
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10130483
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
cmp dword [edi + 0x2a0], eax
mov eax, dword [edi + 0x2a4]
mov edx, dword [ebp - 0x24]
sbb eax, edx
setge al
movzx eax, al
add dword [edi + 0x290], eax
adc dword [edi + 0x294], 0
mov eax, ebx
xor eax, esi
or eax, ecx
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x2a0], eax
mov dword [edi + 0x2a4], edx
jne 0x1003cf0f
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x298], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x29c], eax
mov dword [ebp - 0x38], 0
jmp 0x1003cf41
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x54], 1
mov edi, 0xdfb9b0bb
jmp 0x1003ce9f
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x58]
call dword [section..00cfg]
push dword [ebp - 0x20]
push esi
call ecx
add esp, 8
mov edi, 0xfffffff5
cmp eax, 0xfffffff5
je 0x1003ce9f
mov ebx, eax
mov eax, dword [ebp - 0x38]
push dword [eax + 0x1c]
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
jmp 0x1003ce91
mov edi, 0xfffffff5
jmp 0x1003ce9f
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.10168b70
add esp, 0x10
mov ebx, eax
xor edi, edi
jmp 0x1003ca76
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edi, edi
test byte [eax + 0x10], 2
je 0x1003cfc1
jmp 0x1003d0e1
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0xc]
test byte [ecx + 0x10], 2
je 0x1003cfb2
call fcn.1014029d
call dword [section..00cfg]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call ecx
add esp, 8
mov edi, eax
test eax, eax
jns 0x1003cfc1
push dword [ebp - 0x20]
call sym.ffmpeg.dll_av_frame_unref
jmp 0x1003cfcf
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4c]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x30]
jb 0x1003d3d4
test esi, esi
mov edi, 0
mov ebx, dword [ebp - 0x2c]
je 0x1003cb60
xor esi, esi
inc esi
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x43], 0x20
jne 0x1003d3d4
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
jne 0x1003d388
mov ecx, dword [ebp - 0x30]
mov eax, ecx
sar eax, 0x1f
add dword [ebp - 0x44], ecx
adc dword [ebp - 0x40], eax
mov dword [ebp - 0x14], 0
xor edi, edi
mov ebx, dword [ebp - 0x2c]
jmp 0x1003cb71
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x138]
mov dword [ecx + 0x50], eax
jmp 0x1003caac
push dword [ebp - 0x50]
push dword [ebp - 0x60]
call sym.ffmpeg.dll_av_channel_layout_copy
add esp, 8
test eax, eax
jns 0x1003cab9
mov dword [ebp - 0x14], 0
mov ebx, eax
jmp 0x1003cab9
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp dword [ecx], 1
mov ecx, 0
jne 0x1003d1c7
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x318]
mov ecx, dword [ecx + 0x31c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], ecx
xor edi, edi
jmp 0x1003cace
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x314]
mov dword [edx + 0x120], eax
jmp 0x1003cadb
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x130]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xa8], eax
jmp 0x1003cae8
test byte [eax + 0x11], 1
jne 0x1003d218
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x58], 1
xor edi, edi
mov esi, dword [ebp - 0x34]
jmp 0x1003cb99
mov dword [ebp - 0x38], 0
mov edi, dword [ebp - 0x1c]
jmp 0x1003cf41
mov esi, ebx
test ebx, ebx
js 0x1003d33c
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x54], 1
xor edi, edi
mov ebx, esi
jmp 0x1003cbda
mov ecx, dword [ebp - 0x28]
mov edx, ebx
add dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], eax
movaps xmm0, xmmword [0x102a8d90]
movups xmmword [ecx + 8], xmm0
mov eax, dword [ebp - 0x54]
test byte [eax + 0x3d], 1
jne 0x1003d326
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x1c]
mov ebx, edx
sub dword [eax + 0x1c], edx
mov eax, 0x80000000
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], edx
xor edi, edi
jmp 0x1003cc05
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x43], 0x20
jne 0x1003d32f
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x40]
mov edx, dword [ebp - 0x20]
sub eax, dword [edx + 0x4c]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esi + 0x40], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [edx + 0x4c]
mov ecx, eax
sar ecx, 0x1f
add dword [ebp - 0x44], eax
adc dword [ebp - 0x40], ecx
lea eax, [esi + 0x40]
mov dword [ebp - 0x3c], eax
jmp 0x1003cd20
mov esi, dword [ebp - 0x4c]
push 0xa
push 9
push dword [ebp - 0x20]
call fcn.10194070
add esp, 0xc
test eax, eax
je 0x1003d31f
mov edi, dword [ebp - 0x3c]
mov ecx, dword [edi]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x5c]
mov byte [ecx + 8], dl
mov eax, dword [eax + 4]
mov ecx, esi
mov byte [eax + 9], cl
mov dword [edi], 0
xor edi, edi
jmp 0x1003cb71
xor edi, edi
mov ebx, edx
jmp 0x1003cc05
xor ecx, ecx
inc ecx
xor edi, edi
mov esi, dword [ebp - 0x30]
jmp 0x1003cb3d
mov eax, 0x15
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0x23c], 1
je 0x1003d359
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x234]
add eax, 0x14
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x5c]
lea edx, [ecx + 1]
mov dword [edi + 0x5c], edx
cmp ecx, eax
mov edi, 0
mov ebx, esi
jl 0x1003cbec
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x54], 1
mov ebx, 0xdeb8aabe
jmp 0x1003cbec
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x27c]
test eax, eax
je 0x1003d3cb
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x130]
test ecx, ecx
je 0x1003d3cb
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x280]
push eax
push ecx
push 1
push 0
push dword [ebp - 0x48]
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x164], edx
mov dword [ecx + 0x160], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x4c], ecx
xor edi, edi
mov ebx, dword [ebp - 0x2c]
jmp 0x1003cb60
mov eax, esi
jmp 0x1003cb9c