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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 0xc]
xor edi, edi
mov ecx, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], edi
jbe 0x100ad313
mov ebx, eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x100ad303
lea eax, [esi + 0x24]
push eax
call fcn.1006c376
pop ecx
mov dword [ebp - 8], edi
cmp dword [esi + 0x90], edi
jbe 0x100ad211
mov ebx, edi
mov eax, dword [esi + 0x94]
add eax, 4
add eax, ebx
push eax
call fcn.1006c376
mov eax, dword [esi + 0x94]
add eax, 8
add eax, ebx
push eax
call fcn.1006c376
inc edi
add ebx, 0x6c
pop ecx
pop ecx
cmp edi, dword [esi + 0x90]
jb 0x100ad1dc
mov ebx, dword [ebp + 8]
xor edi, edi
lea eax, [esi + 0x94]
push eax
call fcn.1006c376
pop ecx
mov dword [esi + 0x90], edi
cmp dword [esi + 4], edi
jne 0x100ad232
push esi
push ebx
call fcn.1005168f
pop ecx
pop ecx
lea eax, [esi + 0x14]
mov dword [esi], edi
push eax
call fcn.1006c376
lea eax, [esi + 0x2c]
push eax
call fcn.1006c376
lea eax, [esi + 0x5c]
push eax
call fcn.1006c376
lea eax, [esi + 0x68]
push eax
call fcn.1006c376
lea eax, [esi + 0x1c]
push eax
call fcn.1006c376
lea eax, [esi + 0x3c]
push eax
call fcn.1006c376
lea eax, [esi + 0x40]
push eax
call fcn.1006c376
lea eax, [esi + 0x4d0]
push eax
call fcn.1006c376
lea eax, [esi + 0x4f0]
push eax
call fcn.1006c376
lea eax, [esi + 0x4e0]
add esp, 0x24
cmp dword [eax], edi
je 0x100ad2c8
mov dword [ebp - 8], edi
cmp dword [esi + 0x4ec], edi
jle 0x100ad2c8
mov ebx, edi
mov eax, dword [esi + 0x4e0]
push dword [eax + ebx*4]
call sym.ffmpeg.dll_av_free
inc ebx
pop ecx
cmp ebx, dword [esi + 0x4ec]
jl 0x100ad2a5
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x4e0]
xor edi, edi
push eax
call fcn.1006c376
lea eax, [esi + 0x4e4]
push eax
call fcn.1006c376
lea eax, [esi + 0x4fc]
push eax
call fcn.1006c376
lea eax, [esi + 0x50c]
push eax
call fcn.1006c376
push dword [esi + 0x514]
call fcn.1006618c
mov ecx, dword [ebp - 4]
add esp, 0x14
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebx + 0x18]
jb 0x100ad1b4
mov ebx, dword [ebp - 0xc]
cmp dword [ebx + 0x30], edi
je 0x100ad324
push dword [ebx + 0x34]
call sym.ffmpeg.dll_avformat_free_context
pop ecx
mov dword [ebx + 0x34], edi
lea eax, [ebx + 0x28]
cmp dword [eax], edi
je 0x100ad352
xor esi, esi
inc esi
cmp dword [ebx + 0x2c], esi
jbe 0x100ad34b
mov eax, dword [ebx + 0x28]
lea eax, [eax + esi*4]
push eax
call fcn.1006c376
inc esi
pop ecx
cmp esi, dword [ebx + 0x2c]
jb 0x100ad333
xor edi, edi
lea eax, [ebx + 0x28]
push eax
call fcn.1006c376
pop ecx
lea eax, [ebx + 0x78]
push eax
call fcn.1006c376
lea eax, [ebx + 0xb0]
push eax
call fcn.1006c376
pop ecx
pop ecx
cmp dword [ebx + 0xc8], edi
jbe 0x100ad3a1
mov eax, dword [ebx + 0xc4]
mov esi, edi
shl esi, 2
mov eax, dword [eax + esi]
add eax, 0xc
push eax
call fcn.1006c376
mov eax, dword [ebx + 0xc4]
add eax, esi
push eax
call fcn.1006c376
inc edi
pop ecx
pop ecx
cmp edi, dword [ebx + 0xc8]
jb 0x100ad371
lea eax, [ebx + 0xc4]
push eax
call fcn.1006c376
lea eax, [ebx + 0x10c]
push eax
call fcn.1006c376
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret