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

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x58]
mov esi, edx
push eax
mov dword [esp + 0x28], esi
mov edi, ecx
call dword [sym.imp.avcodec_55.dll_av_init_packet]
mov ebx, dword [esp + 0xb0]
xor eax, eax
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
test ebx, ebx
je 0x100811e0
test esi, esi
je 0x100811e0
test ebx, ebx
jle 0x100811e0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
nop
mov ebp, eax
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x50]
mov dword [esp + 0x20], 0
test eax, eax
je 0x100811bb
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0
push ebx
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x50], 0
push ecx
push dword [edi + 0x4c]
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 0x10081086
test ecx, ecx
je 0x100811e0
cmp esi, ecx
jle 0x100810f3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test edx, edx
jne 0x1008109d
cmp eax, 0x80000000
je 0x100810a3
mov dword [edi + 0x58], edx
mov dword [edi + 0x5c], eax
mov edx, dword [esp + 0x14]
test ecx, ecx
jle 0x10081146
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x78], ecx
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x68], edx
push eax
push dword [edi + 0x4c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x98], 0
call dword [sym.imp.avcodec_55.dll_avcodec_decode_subtitle2]
add esp, 0x10
test eax, eax
js 0x10081146
mov eax, dword [esp + 0x20]
jmp 0x1008114c
jne 0x10081115
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0x80000000
jmp 0x100810a3
cmp ecx, esi
jle 0x100810a3
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x58]
mov ebp, dword [edi + 0x5c]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [edi + 0x5c], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
jmp 0x100810a7
xor eax, eax
mov dword [esp + 0x20], eax
test esi, esi
js 0x100811e0
cmp dword [edi + 0x50], 0
jne 0x10081162
test eax, eax
jne 0x10081162
test esi, esi
je 0x100811bb
add dword [esp + 0x24], esi
sub ebx, esi
test eax, eax
je 0x100811bd
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, 0x80000000
test eax, eax
jne 0x1008117f
cmp ebp, esi
je 0x100811a9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10081198
mov ecx, 0x2710
mul ecx
mov ecx, eax
mov esi, edx
add ecx, dword [esp + 0x14]
adc esi, ebp
mov eax, dword [esp + 0x34]
mov edx, 0x2710
mul edx
add eax, dword [esp + 0x14]
adc ebp, edx
push esi
push ecx
push ebp
push eax
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call fcn.100811f0
jmp 0x100811bd
xor ebx, ebx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.avcodec_55.dll_avsubtitle_free]
add esp, 4
test ebx, ebx
jle 0x100811e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jmp 0x10081020
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x98
ret 0x14