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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov edx, ecx
mov dword [esp + 0x30], ecx
mov ecx, eax
mov eax, dword [eax + 0x40]
test edx, edx
mov ebp, dword [eax + 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], eax
jle 0x6fa3b620
xor eax, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], 0
mov ebp, eax
jmp 0x6fa3b5d2
add dword [esp + 0x2c], 1
add ebp, 0xa8
mov dword [ebx + 0x7c], 0
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
je 0x6fa3b82f
mov eax, dword [esp + 0x34]
mov ebx, dword [eax]
add ebx, ebp
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x6fa3b5b2
lea esi, [ebx + 0x20]
lea edi, [ebx + 0x18]
mov dword [esp], esi
call fcn.6fff5770
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x6fa3b616
lea esi, [esi]
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.6fffc1a0
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x6fa3b600
mov dword [esp], esi
call fcn.6fff6820
jmp 0x6fa3b5b2
mov eax, dword [ebp + 4]
test eax, eax
je 0x6fa3b643
mov ecx, dword [ebp]
cmp eax, ecx
je 0x6fa3b643
mov edx, dword [eax + 0x24]
mov eax, dword [ecx + 0x24]
xor ecx, ecx
call fcn.6fa3a850
test eax, eax
js 0x6fa3b850
mov ebx, dword [esp + 0x30]
mov dword [ebp + 0x18], 1
test ebx, ebx
jle 0x6fa3b7e3
xor esi, esi
nop
lea esi, [esi]
imul edx, esi, 0xa8
add edx, dword [ebp]
lea ebx, [edx + 0x1c]
mov edi, edx
mov dword [esp], ebx
call fcn.6fff5770
lea eax, [edi + 0x10]
mov dword [esp], eax
call fcn.6fff8d80
mov dword [esp], ebx
call fcn.6fff6820
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x6fa3b810
mov eax, dword [esp + 0x3c]
mov dword [edi + 0xc], 0
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x6fa3b6ae
mov ecx, dword [edi + 0x24]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
mov edx, dword [edi + 0x8c]
mov dword [eax + 0xc], 0
mov eax, dword [edi]
test edx, edx
lea ebx, [eax + 8]
jle 0x6fa3b71d
nop
lea esi, [esi]
mov dword [esp], ebx
call fcn.6fff5770
mov eax, dword [edi + 0x24]
cmp dword [eax + 8], 1
ja 0x6fa3b88d
mov eax, dword [edi + 0x8c]
sub eax, 1
mov dword [edi + 0x8c], eax
imul eax, eax, 0x1e0
add eax, dword [edi + 0x88]
mov dword [eax + 0x40], eax
mov dword [esp], eax
call fcn.6fc60670
mov dword [esp], ebx
call fcn.6fff6820
mov eax, dword [edi + 0x8c]
test eax, eax
jg 0x6fa3b6d0
lea edx, [edi + 0x78]
add esi, 1
mov dword [esp], edx
call fcn.6fc60648
cmp dword [esp + 0x30], esi
jg 0x6fa3b660
xor edi, edi
xor esi, esi
lea esi, [esi]
mov ebx, dword [ebp]
add ebx, edi
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.6fff7240
lea eax, [ebx + 0x20]
mov dword [esp], eax
call fcn.6fff7240
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.6fff7680
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.6fff7680
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.6fff7680
lea eax, [ebx + 0x28]
mov dword [esp], eax
call sym.avcodec_56.dll_av_packet_unref
lea eax, [ebx + 0x88]
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
test esi, esi
je 0x6fa3b7b7
mov eax, dword [ebx + 0x24]
add eax, 0x3c
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
mov eax, dword [ebx + 0x24]
add eax, 0xdc
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
mov eax, dword [ebx + 0x24]
add ebx, 0x24
add esi, 1
add edi, 0xa8
add eax, 0x40
mov dword [esp], eax
call sub.avutil_54.dll_av_freep
mov dword [esp], ebx
call sub.avutil_54.dll_av_freep
cmp dword [esp + 0x30], esi
jg 0x6fa3b740
mov dword [esp], ebp
call sub.avutil_54.dll_av_freep
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.6fff7240
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x40]
add eax, 0x1c
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.avutil_54.dll_av_freep
mov dword [esp + 8], 0
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.6fffd5c0
jmp 0x6fa3b694
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 4]
test eax, eax
jne 0x6fa3b627
mov dword [ebp + 0x18], 1
jmp 0x6fa3b656
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Final_thread_update_failed_n
mov dword [esp + 4], 0x10
mov dword [esp], eax
call sub.avutil_54.dll_av_log
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov eax, dword [eax + 0x24]
mov edx, dword [edx + 0x24]
mov eax, dword [eax + 0x40]
mov edx, dword [edx + 0x40]
mov ecx, dword [eax]
mov dword [edx], ecx
mov dword [eax], 1
jmp 0x6fa3b643
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]
lea edi, [edi]