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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x1c]
imul esi, dword [eax + 0xc], 0xa8
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
add esi, dword [eax]
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x30], edx
mov edi, dword [esi + 0x24]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [ebx + 0x1e4]
mov dword [edi + 0x1e4], eax
mov eax, dword [ebx + 0x1d8]
mov dword [edi + 0x1d8], eax
mov eax, dword [ebx + 0x1dc]
mov dword [edi + 0x1dc], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [ebx + 0x2b0]
mov dword [edi + 0x2b0], eax
mov eax, dword [ebx + 0x2b4]
mov dword [edi + 0x2b4], eax
mov eax, dword [ebx + 0x120]
mov dword [edi + 0x120], eax
mov eax, dword [ebx + 0x5c]
mov dword [edi + 0x5c], eax
mov ecx, dword [ebx + 0x350]
mov dword [edi + 0x350], ecx
mov ecx, dword [ebx + 0x354]
mov dword [edi + 0x354], ecx
mov edx, dword [ebx + 0x358]
mov dword [edi + 0x358], edx
mov eax, dword [ebx + 0x1ac]
mov edx, dword [ebx + 0x2c4]
mov dword [edi + 0x1ac], eax
mov eax, dword [ebx + 0x2c0]
mov dword [edi + 0x2c4], edx
mov dword [edi + 0x2c0], eax
mov eax, dword [ebx + 0x334]
mov dword [edi + 0x334], eax
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x6fa3adfb
mov edx, dword [ebx + 0xdc]
test edx, edx
je 0x6fa3adfb
cmp eax, dword [edi + 0xd4]
jle 0x6fa3addc
mov dword [esp + 4], eax
lea eax, [edi + 0xdc]
mov dword [esp + 8], 4
mov dword [esp], eax
call sub.avutil_54.dll_av_reallocp_array
test eax, eax
js 0x6fa3b26e
mov eax, dword [ebx + 0xd4]
mov edx, dword [ebx + 0xdc]
mov ecx, dword [edi + 0xdc]
shl eax, 2
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xd4]
mov edx, dword [esp + 0x6c]
mov dword [edi + 0xd4], eax
mov eax, dword [esi]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x34], eax
mov ebp, dword [eax + 4]
mov eax, dword [esi + 0x24]
test edx, edx
mov eax, dword [eax + 0xc]
jne 0x6fa3ae25
test byte [eax + 0x10], 0x20
je 0x6fa3afb8
lea eax, [esi + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x38], eax
call fcn.6fff5770
mov eax, dword [esi]
lea edi, [eax + 8]
mov eax, dword [esi + 0x8c]
test eax, eax
jle 0x6fa3ae90
mov dword [esp], edi
call fcn.6fff5770
mov eax, dword [esi + 0x24]
cmp dword [eax + 8], 1
ja 0x6fa3b360
mov eax, dword [esi + 0x8c]
sub eax, 1
mov dword [esi + 0x8c], eax
imul eax, eax, 0x1e0
add eax, dword [esi + 0x88]
mov dword [eax + 0x40], eax
mov dword [esp], eax
call fcn.6fc60670
mov dword [esp], edi
call fcn.6fff6820
mov eax, dword [esi + 0x8c]
test eax, eax
jg 0x6fa3ae43
test ebp, ebp
je 0x6fa3aeb8
cmp dword [ebp + 0x84], 1
je 0x6fa3b2ea
mov edx, dword [ebp + 0x24]
mov eax, dword [esi + 0x24]
xor ecx, ecx
call fcn.6fa3a850
test eax, eax
mov edi, eax
jne 0x6fa3b2da
lea edi, [esi + 0x28]
mov dword [esp], edi
call sym.avcodec_56.dll_av_packet_unref
mov eax, dword [esp + 0x6c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.avcodec_56.dll_av_packet_ref
lea eax, [esi + 0x10]
mov dword [esi + 0x84], 1
mov dword [esp], eax
call fcn.6fff8d80
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.6fff6820
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x334]
test ecx, ecx
jne 0x6fa3afad
cmp dword [eax + 0x98], sym.avcodec_56.dll_avcodec_default_get_format
je 0x6fa3b336
test dword [esi + 0x84], 0xfffffffb
lea edi, [esi + 0x20]
lea ebp, [esi + 0x14]
je 0x6fa3afad
nop
lea esi, [esi]
mov dword [esp], edi
call fcn.6fff5770
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x6fa3af5a
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.6fffc1a0
mov eax, dword [esi + 0x84]
cmp eax, 1
je 0x6fa3af43
cmp eax, 2
je 0x6fa3b2b0
cmp eax, 3
jne 0x6fa3af95
mov eax, dword [esi + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x24]
mov dword [esp], eax
call fcn.6faf5450
mov dword [esi + 0xa0], eax
mov dword [esi + 0x84], 1
mov dword [esp], ebp
call fcn.6fff8d80
mov dword [esp], edi
call fcn.6fff6820
test dword [esi + 0x84], 0xfffffffb
jne 0x6fa3af30
mov eax, dword [esp + 0x34]
add dword [eax + 0xc], 1
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x328]
xor edx, edx
mov ecx, dword [esp + 0x2c]
sub eax, 1
cmp dword [ebx + 0x30], 0x22
sete dl
sub eax, edx
cmp dword [ecx + 0xc], eax
jle 0x6fa3b280
mov dword [ecx + 0x14], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], ebx
jmp 0x6fa3b057
mov eax, dword [ebp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sub.avutil_54.dll_av_frame_move_ref
mov eax, dword [ebp + 0x7c]
mov edx, dword [esp + 0x68]
mov ecx, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov dword [edx], eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x98], ecx
mov dword [eax + 0x9c], ebx
mov ecx, 0
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x7c], 0
mov esi, dword [eax + 0x328]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
cmp edi, esi
cmovl ecx, edi
test eax, eax
jne 0x6fa3b0b3
mov edx, dword [edx]
test edx, edx
jne 0x6fa3b0b3
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x10], ecx
je 0x6fa3b0b3
mov eax, dword [esp + 0x2c]
lea edi, [ecx + 1]
imul edx, ecx, 0xa8
add edx, dword [eax]
mov eax, dword [edx + 0x84]
mov ebp, edx
test eax, eax
je 0x6fa3aff0
lea ebx, [edx + 0x20]
lea esi, [ebp + 0x18]
mov dword [esp], ebx
call fcn.6fff5770
mov eax, dword [ebp + 0x84]
test eax, eax
je 0x6fa3b0a6
nop
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.6fffc1a0
mov ecx, dword [ebp + 0x84]
test ecx, ecx
jne 0x6fa3b090
mov dword [esp], ebx
call fcn.6fff6820
jmp 0x6fa3aff0
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x60]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x34], esi
cmp ebx, ecx
je 0x6fa3b22c
mov edi, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x68]
mov dword [ebx + 0x6c], edi
mov edi, dword [ecx + 0x384]
mov dword [ebx + 0x68], esi
mov esi, dword [ecx + 0x380]
mov dword [ebx + 0x384], edi
mov edi, dword [ecx + 0x78]
mov dword [ebx + 0x380], esi
mov esi, dword [ecx + 0xe0]
mov dword [ebx + 0x78], edi
mov edi, dword [ecx + 0x7c]
mov dword [ebx + 0x7c], edi
mov edi, dword [ecx + 0x8c]
mov dword [ebx + 0x8c], edi
mov edi, dword [ecx + 0x80]
mov dword [ebx + 0x80], edi
mov edi, dword [ecx + 0x84]
mov dword [ebx + 0x84], edi
mov edi, dword [ecx + 0xb0]
mov dword [ebx + 0xb0], edi
mov edi, dword [ecx + 0x314]
mov dword [ebx + 0x314], edi
mov edi, dword [ecx + 0x318]
mov dword [ebx + 0x318], edi
mov edi, dword [ecx + 0xe4]
mov dword [ebx + 0xe0], esi
mov dword [ebx + 0xe4], edi
mov edi, dword [ecx + 0x110]
mov dword [ebx + 0x110], edi
mov edi, dword [ecx + 0x348]
mov dword [ebx + 0x348], edi
mov edi, dword [ecx + 0x34c]
mov dword [ebx + 0x34c], edi
mov edi, dword [ecx + 0x31c]
mov esi, dword [ecx + 0x1c0]
mov dword [ebx + 0x31c], edi
mov edi, dword [ecx + 0x70]
mov dword [ebx + 0x70], edi
mov edi, dword [ecx + 0x180]
mov dword [ebx + 0x180], edi
mov edi, dword [ecx + 0x184]
mov dword [ebx + 0x184], edi
mov edi, dword [ecx + 0x188]
mov dword [ebx + 0x188], edi
mov edi, dword [ecx + 0x18c]
mov dword [ebx + 0x18c], edi
mov edi, dword [ecx + 0x190]
mov dword [ebx + 0x190], edi
mov edi, dword [ecx + 0x2c8]
mov dword [ebx + 0x2c8], edi
mov edi, dword [ecx + 0x2cc]
mov dword [ebx + 0x2cc], edi
mov edi, dword [ecx + 0x1a0]
mov dword [ebx + 0x1a0], edi
mov edi, dword [ecx + 0x19c]
mov dword [ebx + 0x19c], edi
mov edi, dword [ecx + 0x1a4]
mov dword [ebx + 0x1a4], edi
mov edi, dword [ecx + 0x1c4]
mov dword [ebx + 0x1c0], esi
mov dword [ebx + 0x1c4], edi
mov edi, dword [ecx + 0x40]
mov edx, dword [edi + 0x34]
mov edi, dword [ebx + 0x40]
mov dword [edi + 0x34], edx
mov edx, dword [ecx + 0x328]
mov ecx, dword [ecx + 0x324]
mov dword [ebx + 0x324], ecx
mov ecx, dword [esp + 0x2c]
lea edi, [edx - 1]
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x74], edi
cmp dword [ecx + 0xc], edx
jl 0x6fa3b25c
mov dword [ecx + 0xc], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp + 0x80]
test edx, edx
cmovs eax, edx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x6fa3afe0
mov eax, dword [esp + 0x68]
mov dword [eax], 0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x6fa3afe0
jmp 0x6fa3b26e
mov eax, dword [esi + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x24]
mov dword [esp], eax
call fcn.6faf4bd0
mov dword [esi + 0x80], eax
jmp 0x6fa3af83
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.6fff6820
mov eax, edi
jmp 0x6fa3b26e
lea edi, [ebp + 0x20]
mov dword [esp], edi
call fcn.6fff5770
cmp dword [ebp + 0x84], 1
lea eax, [ebp + 0x14]
jne 0x6fa3b329
mov dword [esp + 0x3c], esi
mov esi, eax
mov esi, esi
lea edi, [edi]
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6fffc1a0
cmp dword [ebp + 0x84], 1
je 0x6fa3b310
mov esi, dword [esp + 0x3c]
mov dword [esp], edi
call fcn.6fff6820
jmp 0x6fa3aea1
mov edx, dword [eax + 0x1d8]
test edx, edx
jne 0x6fa3af15
cmp dword [eax + 0x1e4], sym.avcodec_56.dll_avcodec_default_get_buffer2
jne 0x6fa3af15
jmp 0x6fa3afad
mov dword [esp + 0x14], 0x13a
mov dword [esp + 0x10], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_pthread_frame.c
mov dword [esp + 0xc], str.p__avctx__codec_type__AVMEDIA_TYPE_VIDEO__p__avctx__codec_type__AVMEDIA_TYPE_AUDIO
mov dword [esp + 8], 0x705b649d
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.avutil_54.dll_av_log
call sub.msvcrt.dll_abort
lea esi, [esi]