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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x100ca040]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
push edi
test esi, esi
js 0x1000c731
call fcn.1000c5e0
cmp esi, eax
jl 0x1000c733
xor esi, esi
push esi
mov ecx, ebx
call fcn.1000c660
mov ebx, eax
mov dword [esp + 0x20], eax
shl ebx, 4
sub ebx, eax
push str.vids
mov eax, dword [ebx*4 + 0x100cc7a4]
mov ecx, dword [ebx*4 + 0x100cc7a0]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx*4 + 0x100cc7a8]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov dword [esp + 0x30], eax
mov eax, dword [ebx*4 + 0x100cc7ac]
mov dword [esp + 0x34], eax
call fcn.10086790
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.10086760
cmp dword [esp + 0x74], 0
mov ecx, ebp
je 0x1000c7ea
push 0x100b55b8
call fcn.10086720
push 0x58
mov ecx, ebp
call fcn.10086600
push 0x58
mov esi, eax
push 0
push esi
call fcn.10092930
mov eax, dword [esp + 0x64]
lea edi, [esi + 0x30]
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x5c]
cdq
mov ebp, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x6c]
xor ebp, edx
sub ebp, edx
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0xc], ebp
jmp 0x1000c8aa
push 0x100b55c8
call fcn.10086720
push 0x70
mov ecx, ebp
call fcn.10086600
push 0x70
mov edi, eax
push 0
push edi
call fcn.10092930
mov esi, dword [esp + 0x6c]
add esp, 0xc
test esi, esi
je 0x1000c81c
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x1000c82d
mov ebp, dword [esp + 0x5c]
mov eax, ebp
mov esi, dword [esp + 0x58]
cdq
xor eax, edx
sub eax, edx
jmp 0x1000c831
mov ebp, dword [esp + 0x5c]
cmp esi, eax
mov dword [esp + 0x10], 0
push 0
mov ecx, eax
mov dword [esp + 0x18], 0
cmova ecx, esi
push ecx
push 0
push eax
push 0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.avutil_52.dll_av_reduce]
mov ecx, dword [esp + 0x78]
mov eax, ebp
cdq
add esp, 0x20
mov ebp, eax
mov dword [edi + 0x18], ecx
mov eax, dword [esp + 0x68]
xor ebp, edx
sub ebp, edx
mov dword [edi + 0x28], eax
cmp dword [esp + 0x70], 0
mov eax, dword [esp + 0x6c]
mov dword [edi + 8], ecx
mov dword [edi + 0x1c], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x3c], eax
je 0x1000c8a7
mov dword [edi + 0x30], 0x81
add edi, 0x48
push dword [esp + 0x20]
mov eax, dword [esp + 0x60]
mov dword [edi + 4], ecx
mov dword [edi], 0x28
mov dword [edi + 8], eax
movzx eax, word [ebx*4 + 0x100cc7b0]
push ebp
mov word [edi + 0xe], ax
movzx eax, word [ebx*4 + 0x100cc7b8]
push ecx
mov ecx, dword [esp + 0x24]
mov word [edi + 0xc], ax
call fcn.1000c9c0
cmp word [edi + 0xc], 0
mov ebx, eax
mov dword [edi + 0x14], ebx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x10], ecx
jne 0x1000c8fd
mov eax, 1
mov word [edi + 0xc], ax
lea ecx, [esp + 0x24]
mov edx, 0x100b5488
mov esi, 0xc
jmp 0x1000c910
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000c923
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1000c910
jmp 0x1000c942
lea ecx, [esp + 0x24]
mov edx, 0x100b5478
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000c949
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1000c931
mov dword [edi + 0x10], 0
mov dword [esp + 0x38], 0x100000
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xaa000080
lea edx, [esp + 0x34]
mov dword [esp + 0x40], 0x719b3800
mov esi, 0xc
mov dword [esp + 0x34], 0x30313276
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000c994
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1000c976
mov eax, dword [esp + 0x58]
add eax, 0x2f
and eax, 0xffffffd0
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.10086740
mov ecx, dword [esp + 0x1c]
push 0
call fcn.10086780
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1008c1b5
add esp, 0x3c
ret 0x28