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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x101db764]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov esi, edx
xor eax, ebp
mov edx, ebx
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], ecx
push eax
call fcn.10037247
add esp, 4
test eax, eax
js 0x100362cd
mov ecx, dword [edi + 0x148]
mov dword [esp + 0xc], 0xbebbb1b7
test ecx, ecx
mov dword [esp + 4], ecx
jle 0x100362d1
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x74], esi
sub ebx, eax
mov esi, dword [esp + 0x78]
add dword [esp + 8], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x1c]
mov edx, esi
sar edx, 0x1f
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x14c]
xor edi, edi
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
xor eax, esi
xor ebx, edx
or ebx, eax
je 0x100362eb
inc edi
add ecx, 0x5a0
cmp edi, dword [esp + 4]
jl 0x100362b1
jmp 0x100362d1
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.1015e65c
mov eax, dword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ecx, ecx
je 0x100362d1
mov esi, dword [ecx + 0x178]
mov edi, dword [esp + 8]
test esi, esi
je 0x100362d1
cmp dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
jl 0x100362d1
cmp dword [esi + 0x34], 0x2f
jg 0x100362d1
movzx edx, word [edi]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [edi + 2]
mov ebx, dword [ebp + 0x28]
mov dword [esp + 0x14], 0
rol dx, 8
mov dword [esp + 4], ecx
shr ecx, 7
xor eax, eax
dec eax
mov word [esp + 0x24], dx
cmp ebx, eax
cmovne ecx, ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x34], ecx
and ebx, dword [ebp + 0x1c]
cmp ebx, eax
movsx eax, dx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], eax
je 0x10036377
test dx, dx
jns 0x10036388
mov eax, dword [esp + 0x18]
neg eax
mov ecx, eax
sar ecx, 0x1f
cmp dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
sbb eax, ecx
mov eax, dword [esp + 0x18]
jae 0x10036388
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x80000000
jmp 0x10036416
mov ecx, eax
mov edx, dword [esp + 0x1c]
sar ecx, 0x1f
add eax, dword [ebp + 0x18]
adc ecx, dword [ebp + 0x1c]
sub eax, dword [edx + 0x170]
sbb ecx, dword [edx + 0x174]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0x10]
xor ecx, 0x11
or ecx, dword [edx + 0x14]
jne 0x10036407
cmp dword [esp + 0x34], 0
je 0x1003640e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp eax, dword [edx + 0x180]
sbb ecx, dword [edx + 0x184]
jb 0x1003640e
push dword [esi]
mov eax, dword [esp + 0x30]
push dword [eax + 4]
call fcn.10025bed
add esp, 8
xor eax, eax
push 1
push eax
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push esi
call fcn.10025c63
mov edx, dword [esp + 0x3c]
add esp, 0x20
jmp 0x10036416
cmp dword [esp + 0x34], 0
jne 0x100363d3
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 4]
cmp dword [eax + 0x18c], 0
je 0x10036484
mov eax, dword [edx + 0x10]
xor eax, 0x11
or eax, dword [edx + 0x14]
je 0x10036484
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], 0
cmp eax, dword [ecx + 0x190]
sbb edx, dword [ecx + 0x194]
jl 0x100362d1
cmp dword [esp + 0x34], 0
je 0x10036473
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 4]
mov dword [eax + 0x18c], 0
jmp 0x10036484
cmp dword [esi + 0x1bc], 0
mov ecx, dword [esp + 4]
je 0x10036737
add edi, 3
test cl, 6
mov dword [esp + 0x20], esi
je 0x10036618
movzx esi, byte [edi]
lea ebx, [esi*4 + 4]
push ebx
call fcn.100539f3
add esp, 4
test eax, eax
je 0x10036641
mov ecx, dword [esp + 4]
add dword [esp + 0x10], 0xfffffffc
mov edx, eax
lea eax, [esi + 1]
inc edi
mov dword [esp + 0xc], esi
shr cl, 1
and cl, 3
cmp cl, 1
je 0x10036650
cmp cl, 2
je 0x100366a9
cmp cl, 3
mov dword [esp + 0x38], eax
jne 0x100366db
mov dword [esp + 4], edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.10037247
add esp, 4
mov esi, dword [esp + 0x20]
mov ecx, eax
test eax, eax
js 0x100366f3
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov edx, eax
shr eax, 0x1f
shld edx, ebx, 1
or eax, edx
jne 0x100366f3
add edi, ecx
sub dword [esp + 0x10], ecx
mov eax, dword [esp + 4]
cmp byte [esp + 0xc], 2
mov dword [esp + 8], edi
mov edi, ebx
mov dword [eax], ebx
jb 0x10036740
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
xor esi, esi
mov dword [esp + 0x30], 0
inc esi
lea eax, [esp + 0x90]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
push eax
call fcn.10037247
add esp, 4
test eax, eax
js 0x1003660f
lea ecx, [eax*8]
mov dword [esp + 0x48], edi
sub ecx, eax
dec ecx
xor edx, edx
dec edx
mov edi, edx
shl edx, cl
mov ebx, edi
shld ebx, edi, cl
mov edi, dword [esp + 0x90]
test cl, 0x20
mov ecx, 0
cmovne ebx, edx
cmovne edx, ecx
mov ecx, dword [esp + 4]
not edx
not ebx
sub edi, edx
mov edx, dword [esp + 0x94]
sbb edx, ebx
add edi, dword [ecx + esi*4 - 4]
mov ecx, 0x7fffffff
mov ebx, 0
adc edx, 0
cmp ecx, edi
sbb ebx, edx
jb 0x1003674c
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x48]
add ecx, eax
sub edx, eax
mov eax, dword [esp + 4]
add ebx, edi
adc dword [esp + 0x30], 0
mov dword [eax + esi*4], edi
inc esi
mov edi, ebx
cmp esi, dword [esp + 0xc]
jb 0x1003655d
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x20]
jmp 0x10036759
push 4
call fcn.100539f3
add esp, 4
test eax, eax
je 0x10036641
mov ecx, dword [esp + 0x10]
mov edx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x10], ecx
mov dword [edx], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x38], ecx
jmp 0x10036794
mov dword [esp + 0xc], 0xfffffff4
xor edx, edx
jmp 0x10037239
cmp byte [esp + 0xc], 0
mov dword [esp + 0x38], eax
mov dword [esp + 4], edx
je 0x10036706
xor edx, edx
mov dword [esp + 8], 0
mov esi, dword [esp + 0x10]
cmp esi, edx
jbe 0x100366e4
movzx eax, byte [edi]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
inc edi
dec esi
add dword [ecx + ebx*4], eax
add edx, eax
cmp eax, 0xff
je 0x10036671
mov eax, dword [esp + 8]
mov dword [esp + 0x10], esi
mov ecx, eax
inc ecx
cmp ecx, dword [esp + 0xc]
mov eax, ecx
mov dword [esp + 8], ecx
jb 0x1003666d
xor eax, eax
jmp 0x10036712
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], edx
xor edx, edx
xor ecx, ecx
div esi
mov dword [esp + 0xc], 0xbebbb1b7
test edx, edx
jne 0x10037216
mov edx, dword [esp + 4]
mov dword [esp + 0x38], esi
mov dword [edx + ecx], eax
add ecx, 4
cmp ebx, ecx
jne 0x100366d1
mov esi, dword [esp + 0x20]
jmp 0x10036794
inc dword [esp + 8]
mov dword [esp + 0x10], esi
mov eax, 0xbebbb1b7
jmp 0x10036712
mov edx, dword [esp + 4]
test ecx, ecx
mov eax, 0xbebbb1b7
cmovs eax, ecx
jmp 0x1003678c
mov dword [esp + 8], 0
xor eax, eax
xor edx, edx
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0xbebbb1b7
sub esi, edx
jbe 0x10037216
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [edx + ecx*4], esi
mov esi, dword [esp + 0x20]
jmp 0x1003678c
mov eax, dword [esp + 0x2c]
jmp 0x10036467
mov dword [esp + 0x30], 0
xor eax, eax
jmp 0x10036759
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
mov eax, 0xbebbb1b7
mov edx, dword [esp + 0x10]
mov ecx, edx
sar ecx, 0x1f
cmp edi, edx
sbb dword [esp + 0x30], ecx
jae 0x1003677f
mov ecx, edx
mov edx, dword [esp + 4]
sub ecx, edi
mov edi, dword [esp + 0xc]
mov dword [edx + edi*4], ecx
mov edi, dword [esp + 8]
jmp 0x1003678c
mov edi, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, 0xbebbb1b7
test eax, eax
jne 0x10037235
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
movsd xmm0, qword [eax + 0x110]
ucomisd xmm0, qword [0x1019f760]
jne 0x100367e2
jp 0x100367e2
mov eax, dword [esi + 0xb0]
cmp dword [eax + 4], 0x15003
jne 0x100367e2
cmp dword [eax + 0x6c], 0x1f40
movzx edx, word [esp + 0x24]
jne 0x10036826
mov ecx, dword [ebp + 0x20]
or ecx, dword [ebp + 0x24]
jne 0x10036826
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x100367ef
jmp 0x10036826
mov eax, dword [ebp + 0x20]
movzx edx, word [esp + 0x24]
or eax, dword [ebp + 0x24]
jne 0x10036826
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + 0x4c]
imul ecx, eax
mul dword [edx + 0x48]
add edx, ecx
mov ecx, dword [esp + 0x2c]
push dword [ecx + 0x11c]
push dword [ecx + 0x118]
push edx
push eax
call fcn.1015e7e0
mov dword [esp + 0x4c], edx
movzx edx, word [esp + 0x24]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x54], 0xffffffff
je 0x1003687e
test dx, dx
jns 0x10036846
mov ecx, dword [esp + 0x18]
neg ecx
mov eax, ecx
sar eax, 0x1f
cmp dword [ebp + 0x18], ecx
sbb dword [esp + 0x3c], eax
jb 0x1003687e
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
add edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x180]
mov ecx, dword [ebx + 0x184]
adc esi, dword [esp + 0x28]
cmp edx, eax
mov edi, esi
sbb edi, ecx
cmovb edx, eax
cmovb esi, ecx
mov dword [ebx + 0x184], esi
mov dword [ebx + 0x180], edx
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x38]
mov edi, dword [esp + 0x38]
xor edx, edx
lea ecx, [esi + 0x184]
add esi, 0x180
lea eax, [eax + 8]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
lea ebx, [edx + 1]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], ebx
mov eax, esi
imul ecx, ebx
mul ebx
add edx, ecx
xor ecx, ecx
push ecx
push edi
push edx
push eax
call fcn.1015e7e0
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edi, edx
mov dword [esp + 0xc], 0
mul esi
imul ecx, esi
add ecx, edx
xor edx, edx
push edx
push dword [esp + 0x3c]
push ecx
push eax
call fcn.1015e7e0
sub ebx, eax
sbb edi, edx
mov edx, dword [esp + 4]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov edi, dword [edx + esi*4]
cmp edi, dword [esp + 0x10]
ja 0x10037239
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ecx + 4]
lea edx, [eax - 0x15014]
cmp edx, 0x15
ja 0x1003693f
mov ebx, 0x200801
bt ebx, edx
jb 0x10036951
cmp eax, 0x17809
je 0x10036c5e
cmp eax, 0x13001
jne 0x10036968
cmp dword [ecx + 0x70], 0
je 0x10036968
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x13c], 0
jne 0x1003720e
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x88], edi
mov esi, 0
mov edi, dword [esp + 8]
mov ecx, dword [ecx + 0x164]
cmove esi, dword [esp + 0x34]
mov dword [esp + 0x84], edi
test ecx, ecx
je 0x100369d3
mov edx, dword [ecx + 8]
or edx, dword [ecx + 0xc]
jne 0x100369d3
test byte [ecx], 1
je 0x100369d3
lea ecx, [esp + 0x84]
lea edx, [esp + 0x88]
push dword [esp + 0x1c]
call fcn.10035bf1
add esp, 4
test eax, eax
js 0x100371d0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 4]
cmp eax, 0x15019
jne 0x10036c26
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov ecx, 0xbebbb1b7
mov dword [esp + 0x90], 0
cmp ebx, 0xc
jl 0x10036fe8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0xb0]
cmp dword [eax + 0x10], 2
jl 0x10036fec
mov eax, dword [eax + 0xc]
mov ecx, dword [edx]
add ebx, 0xfffffffc
add edx, 4
xor esi, esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
movzx eax, word [eax]
mov dword [esp + 0x6c], ecx
mov word [esp + 0x5e], ax
mov eax, dword [edx]
mov edi, dword [edx + 4]
mov ecx, 0x1800
mov dword [esp + 0x48], eax
and eax, 0x1800
mov dword [esp + 0x54], edi
cmp eax, ecx
jne 0x10036a81
mov ecx, dword [esp + 0x18]
mov edi, ebx
add edx, 8
add edi, 0xfffffff8
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], edi
jmp 0x10036ab6
mov ecx, dword [esp + 0x18]
cmp ebx, 0xc
mov dword [esp + 0x30], 0xbebbb1b7
jl 0x100371e3
mov edi, dword [edx + 8]
add ebx, 0xfffffff4
lea eax, [esp + 0x90]
cmp ebx, edi
jb 0x100371ea
add edx, 0xc
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], edx
lea eax, [ecx + edi + 0x60]
push eax
push dword [esp + 0x28]
mov ebx, ecx
call fcn.10053850
add esp, 8
test eax, eax
je 0x100371db
mov dword [esp + 0x90], eax
mov dword [eax + esi], 0x6b707677
lea eax, [edi + 0x18]
lea ebx, [edi + ebx + 0x20]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], ebx
mov dword [ecx + esi + 4], eax
movzx ecx, word [esp + 0x5e]
mov eax, dword [esp + 0x90]
mov word [eax + esi + 8], cx
mov ecx, 0
mov eax, dword [esp + 0x90]
mov word [eax + esi + 0xa], 0
mov eax, dword [esp + 0x90]
mov dword [eax + esi + 0xc], ecx
mov eax, dword [esp + 0x90]
mov dword [eax + esi + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x90]
mov dword [eax + esi + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x90]
mov dword [eax + esi + 0x18], ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x90]
mov dword [eax + esi + 0x1c], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], eax
lea eax, [eax + esi + 0x20]
push edi
mov ebx, dword [esp + 0x68]
push ebx
push eax
call fcn.101613e0
mov edx, ebx
add esp, 0xc
mov ebx, dword [esp + 0x30]
add edx, edi
lea esi, [edi + esi + 0x20]
sub ebx, edi
mov edi, dword [esp + 8]
cmp ebx, 7
jg 0x10036a50
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esi + ecx + 4], eax
mov dword [esi + ecx], eax
mov dword [esi + ecx + 0xc], eax
mov dword [esi + ecx + 8], eax
mov dword [esi + ecx + 0x14], eax
mov dword [esi + ecx + 0x10], eax
mov dword [esi + ecx + 0x1c], eax
mov dword [esi + ecx + 0x18], eax
mov dword [esi + ecx + 0x24], eax
mov dword [esi + ecx + 0x20], eax
mov dword [esi + ecx + 0x2c], eax
mov dword [esi + ecx + 0x28], eax
mov dword [esi + ecx + 0x34], eax
mov dword [esi + ecx + 0x30], eax
mov dword [esi + ecx + 0x3c], eax
mov dword [esi + ecx + 0x38], eax
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x84], edi
je 0x10036c0e
lea eax, [esp + 0x84]
push eax
call fcn.10053962
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x50]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 4]
cmp eax, 0x93
jne 0x10036d69
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
push dword [edi + 4]
call fcn.101688a0
add esp, 4
cmp eax, 0x69637066
jne 0x10036c98
mov dword [esp + 0x18], edi
jmp 0x10036d39
mov eax, 0xbebbb1b7
test edi, edi
jle 0x10037231
mov ebx, dword [esp + 8]
mov edx, dword [esp + 4]
add edi, ebx
mov cl, byte [ebx]
cmp cl, 0xd
je 0x10036f7c
cmp cl, 0xa
je 0x10036f7c
inc ebx
cmp ebx, edi
jb 0x10036c75
xor ecx, ecx
dec ecx
mov esi, ecx
jmp 0x10036f8f
lea eax, [esi + 0x48]
push eax
call sym.ffmpeg.dll_av_malloc
add esp, 4
test eax, eax
je 0x10036fdf
mov ebx, eax
lea eax, [esi + 8]
mov dword [esp + 0x24], eax
push esi
call fcn.101688a0
add esp, 4
mov dword [ebx], eax
push 0x69637066
call fcn.101688a0
add esp, 4
mov dword [ebx + 4], eax
mov eax, ebx
add eax, 8
push esi
push edi
push eax
call fcn.101613e0
add esp, 0xc
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ebx
mov dword [ebx + esi + 0xc], eax
mov dword [ebx + esi + 8], eax
mov dword [ebx + esi + 0x14], eax
mov dword [ebx + esi + 0x10], eax
mov dword [ebx + esi + 0x1c], eax
mov dword [ebx + esi + 0x18], eax
mov dword [ebx + esi + 0x24], eax
mov dword [ebx + esi + 0x20], eax
mov dword [ebx + esi + 0x2c], eax
mov dword [ebx + esi + 0x28], eax
mov dword [ebx + esi + 0x34], eax
mov dword [ebx + esi + 0x30], eax
mov dword [ebx + esi + 0x3c], eax
mov dword [ebx + esi + 0x38], eax
mov dword [ebx + esi + 0x44], eax
mov dword [ebx + esi + 0x40], eax
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 8]
mov dword [esp + 0x88], esi
cmp edi, ebx
mov edi, ebx
je 0x10036d5a
lea eax, [esp + 0x84]
push eax
call fcn.10053962
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x90]
push eax
call sym.ffmpeg.dll_av_init_packet
add esp, 4
mov eax, dword [esp + 0x84]
cmp eax, edi
je 0x10036da7
mov ecx, dword [esp + 0x88]
xor edx, edx
add ecx, 0x40
push edx
push edx
mov dword [esp + 0x14], 0
push edx
push ecx
push eax
call sym.ffmpeg.dll_av_buffer_create
add esp, 0x14
jmp 0x10036db3
push dword [esp + 0x74]
call fcn.1004e5fc
add esp, 4
mov ecx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x90], eax
je 0x10036fe3
mov eax, dword [esp + 0x84]
cmp dword [ebp + 0x38], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp + 0xb0], eax
jle 0x10036e55
push dword [esp + 0x68]
push 0xf
lea ebx, [esp + 0x98]
push ebx
call fcn.10008e16
add esp, 0xc
test eax, eax
je 0x10036f65
push dword [ebp + 0x30]
mov ebx, eax
call fcn.101688a0
add esp, 4
mov dword [esp + 8], eax
push dword [ebp + 0x34]
call fcn.101688a0
add esp, 4
mov ecx, dword [esp + 8]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
push dword [ebp + 0x38]
push dword [ebp + 0x2c]
push ebx
call fcn.101613e0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x44]
or eax, dword [ebp + 0x48]
je 0x10036eba
push 0xa
push 0xb
lea ebx, [esp + 0x98]
push ebx
call fcn.10008e16
add esp, 0xc
test eax, eax
je 0x10036f65
mov ebx, eax
mov eax, dword [esi + 0xb0]
push dword [eax + 0x6c]
xor eax, eax
inc eax
push eax
push 0x3b9aca00
push eax
push dword [ebp + 0x48]
push dword [ebp + 0x44]
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
mov ecx, eax
mov esi, 0
neg ecx
sbb esi, edx
lea edx, [ebx + 4]
mov esi, dword [esp + 0x20]
cmovge edx, ebx
cmovl ecx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp dword [ecx + 0x188], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
setne al
mov dword [esp + eax*8 + 0x9c], ecx
mov dword [esp + eax*8 + 0x98], edx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0xb0]
cmp dword [eax + 4], 0x17808
jne 0x10036f2b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
push 0
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x68]
push dword [esp + 0x38]
call fcn.10023d92
add esp, 0x10
mov esi, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
jns 0x10037009
lea eax, [esp + 0x90]
push eax
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
jmp 0x10036f72
push ebx
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov esi, dword [esp + 0x14]
mov ecx, 0xfffffff4
jmp 0x10037009
mov esi, ebx
lea edx, [ebx + 1]
sub esi, dword [esp + 8]
cmp cl, 0xd
cmove ebx, edx
mov edx, dword [esp + 4]
cmp ebx, edi
jae 0x10037235
cmp byte [ebx], 0xa
jne 0x10037235
inc ebx
mov dword [esp + 0x24], esi
mov ecx, 0xffffffff
cmp ebx, edi
mov esi, ebx
mov dword [esp + 0x18], ecx
jae 0x1003709b
mov esi, ebx
mov dl, byte [esi]
cmp dl, 0xd
je 0x10037086
cmp dl, 0xa
je 0x10037086
inc esi
cmp esi, edi
jb 0x10036fba
xor edx, edx
dec edx
mov dword [esp + 0x18], edx
jmp 0x10037097
mov edi, dword [esp + 8]
mov ecx, 0xfffffff4
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x84], edi
je 0x10037009
lea eax, [esp + 0x84]
push eax
mov ebx, ecx
call fcn.10053962
mov ecx, ebx
add esp, 4
test ecx, ecx
jne 0x10037208
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 4]
mov ecx, 0x80000000
xor eax, ecx
mov ecx, 0x80000000
or eax, esi
mov eax, 0
je 0x10037054
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x28]
add esi, eax
adc ebx, ecx
or eax, ecx
mov eax, 0x80000000
cmove ebx, eax
mov eax, 0
cmove esi, eax
mov ecx, ebx
mov eax, esi
mov ebx, edx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ebx + edx*4]
add edi, edx
sub esi, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x38]
cmp edx, edi
jb 0x100368aa
jmp 0x10037204
mov ecx, esi
sub ecx, ebx
cmp dl, 0xd
mov dword [esp + 0x18], ecx
lea ecx, [esi + 1]
cmove esi, ecx
mov edx, dword [esp + 4]
cmp esi, edi
jae 0x10037235
cmp byte [esi], 0xa
jne 0x10037235
lea ecx, [esi + 1]
sub edi, ecx
test edi, edi
jle 0x10037235
mov dl, byte [esi + edi]
cmp dl, 0xd
je 0x100370c6
cmp dl, 0xa
jne 0x100370d3
cmp edi, 1
lea edi, [edi - 1]
jg 0x100370b9
jmp 0x10037231
mov esi, ecx
push edi
lea eax, [esp + 0x94]
push eax
call sym.ffmpeg.dll_av_new_packet
add esp, 8
test eax, eax
js 0x10037231
push edi
push esi
push dword [esp + 0xb0]
call fcn.101613e0
add esp, 0xc
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 8]
test esi, esi
jle 0x10037131
push esi
push 0x10
lea eax, [esp + 0x98]
push eax
call fcn.10008e16
add esp, 0xc
test eax, eax
je 0x1003721c
push esi
push edi
push eax
call fcn.101613e0
add esp, 0xc
mov esi, dword [esp + 0x18]
test esi, esi
jle 0x1003715f
push esi
push 0x11
lea eax, [esp + 0x98]
push eax
call fcn.10008e16
add esp, 0xc
test eax, eax
je 0x1003721c
push esi
push ebx
push eax
call fcn.101613e0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc8], eax
push 0
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x68]
push dword [esp + 0x38]
call fcn.10023d92
add esp, 0x10
test eax, eax
jns 0x10037011
jmp 0x1003721c
mov esi, dword [esp + 0x14]
mov ecx, eax
jmp 0x10037009
mov dword [esp + 0x30], 0xfffffff4
lea eax, [esp + 0x90]
push eax
call fcn.10053962
add esp, 4
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
jmp 0x10036fec
mov edx, ebx
jmp 0x10037239
mov dword [esp + 0xc], ecx
jmp 0x10037216
mov dword [esp + 0xc], 0xbebbb1b7
mov edx, dword [esp + 4]
jmp 0x10037239
lea eax, [esp + 0x90]
push eax
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov eax, 0xfffffff4
mov edx, dword [esp + 4]
mov dword [esp + 0xc], eax
push edx
call sym.ffmpeg.dll_av_free
add esp, 4
jmp 0x100362d1