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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [eax + 0x3c]
cmp ebx, eax
mov dword [esp + 0x18], edx
mov edx, dword [edx + 0xebc]
mov dword [esp + 0x20], ecx
je 0x6c3415be
test edx, edx
je 0x6c340cf5
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0xe90]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0xe90], edi
je 0x6c3405a0
mov eax, dword [ebx + 0x187c]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx]
mov dword [edx + 0x31c], eax
mov eax, ebx
add eax, 0x813cc
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0xe90]
mov ebx, dword [esp + 0x18]
add ebp, 0x6dec4
mov dword [ebx + 0xe90], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xe94]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xe94], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6de74]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x6de74], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6de78]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x6de78], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6de80]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x6de80], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6de7c]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x6de7c], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x13cc]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x13cc], eax
mov ebx, dword [esp + 0x20]
add ebx, 0x6dec4
mov dword [esp + 0x1c], ebx
xor ebx, ebx
jmp 0x6c340429
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x6c340486
test dl, 1
mov edi, edx
mov esi, ecx
mov eax, 0x4b4
jne 0x6c340471
test edi, 2
jne 0x6c340460
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x6c340413
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x6c34041e
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
add ebx, 1
add ebp, 4
cmp ebx, 0x20
je 0x6c3404a0
mov edx, dword [ebp]
test edx, edx
jne 0x6c3403d6
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x6c34041e
mov dword [esp], 0x4b4
call sub.avutil_52.dll_av_malloc
test eax, eax
mov dword [ebp], eax
je 0x6c340bb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ebx*4]
jmp 0x6c340491
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c3403fb
movzx eax, byte [ecx]
add edi, 1
add esi, 1
mov byte [edx], al
mov eax, 0x4b3
jmp 0x6c3403f3
mov dword [esp], ebp
call sub.avutil_52.dll_av_freep
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x6c34041e
mov edx, dword [ebp]
jmp 0x6c3403e5
mov edi, dword [esp + 0x18]
mov ecx, 0x12d
mov esi, dword [esp + 0x20]
add edi, 0x13dc
add esi, 0x13dc
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
add ebx, 0x6df44
mov dword [esp + 0x1c], ebx
add ebp, 0x6df44
xor ebx, ebx
jmp 0x6c340535
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x6c340646
test dl, 1
mov edi, edx
mov esi, ecx
mov eax, 0x2d8
jne 0x6c340584
test edi, 2
jne 0x6c340570
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x6c340518
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x6c340523
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
add ebx, 1
add ebp, 4
cmp ebx, 0x100
je 0x6c340661
mov edx, dword [ebp]
test edx, edx
jne 0x6c3404d7
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x6c340523
mov dword [esp], 0x2d8
call sub.avutil_52.dll_av_malloc
test eax, eax
mov dword [ebp], eax
je 0x6c340bb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ebx*4]
jmp 0x6c340651
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c340500
movzx eax, byte [ecx]
add edi, 1
add esi, 1
mov byte [edx], al
mov eax, 0x2d7
jmp 0x6c3404f8
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0xe94]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0xe94], edi
jne 0x6c34030d
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x6de78]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x6de78], edi
jne 0x6c34030d
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x6de74]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x6de74], edi
mov eax, dword [ebx + 0x187c]
jne 0x6c340313
mov ebx, dword [esp + 0x20]
cmp eax, dword [ebx + 0x187c]
jne 0x6c340313
mov edi, dword [ebx + 0x13e8]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x13e8], edi
jne 0x6c340313
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x145c]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x145c], edi
jne 0x6c340313
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
jmp 0x6c34069e
mov dword [esp], ebp
call sub.avutil_52.dll_av_freep
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x6c340523
mov edx, dword [ebp]
jmp 0x6c3404e6
mov edi, dword [esp + 0x18]
mov ecx, 0xb6
mov edx, 1
mov esi, dword [esp + 0x20]
add edi, 0x1890
add esi, 0x1890
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
call fcn.6c33fb50
test eax, eax
mov dword [esp + 0x24], eax
js 0x6c341802
mov dword [esp + 0x2c], 1
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xe98]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xe98], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xe9c]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xe9c], eax
lea edi, [ebx + 0x1244]
mov ebx, dword [esp + 0x20]
test edi, 1
mov eax, 0x180
lea esi, [ebx + 0x1244]
jne 0x6c341724
test edi, 2
jne 0x6c34168d
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
jne 0x6c3411c1
test al, 1
jne 0x6c3411b5
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov ebx, dword [edi]
mov edx, dword [edi + 0x9d0]
mov eax, dword [ecx]
xor esi, esi
xor ebp, ebp
test edx, edx
mov ecx, dword [eax + 0x84]
mov dword [ebx + 0x84], ecx
mov ecx, dword [eax + 0x80]
mov dword [ebx + 0x80], ecx
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xeb4]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xeb4], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2afc0]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x2afc0], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2afbc]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x2afbc], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xea8]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xea8], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xeac]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xeac], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xeb8]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xeb8], eax
jne 0x6c340855
jmp 0x6c34099c
test edi, 2
jne 0x6c340908
mov ecx, edx
mov eax, ebp
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6c3407f2
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c3407fa
mov byte [edi], 0
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x9d0]
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x9d0]
test ecx, ecx
je 0x6c34083b
add ecx, esi
mov eax, dword [ecx + 0x168]
test eax, eax
je 0x6c34083b
mov eax, dword [esp + 0x18]
add edx, esi
call fcn.6c32e2d0
test eax, eax
js 0x6c340994
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x9d0]
test edx, edx
je 0x6c34099c
add esi, 0x4a8
cmp esi, 0xa7a0
je 0x6c34099e
lea ebx, [edx + esi]
mov eax, dword [ebx + 0x168]
test eax, eax
je 0x6c340804
mov edi, dword [esp + 0x18]
lea eax, [ebx + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [edi]
lea edi, [ebx + 0x1e4]
mov dword [esp], eax
call fcn.6c509d50
lea eax, [ebx + 0x23c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x1fc]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x1ec]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x20c]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x1f0]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
lea eax, [ebx + 0x210]
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x2c4
je 0x6c3407d0
lea edi, [ebx + 0x1e5]
mov dl, 0xc3
test edi, 2
mov byte [ebx + 0x1e4], 0
je 0x6c3407dc
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c3407dc
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x81330]
mov ebx, dword [esp + 0x18]
test esi, esi
mov dword [ebx + 0x81330], eax
jne 0x6c3415e4
mov ecx, dword [ebx + 0x9d4]
test ecx, ecx
je 0x6c3415be
mov edx, dword [ebx + 0xeac]
test edx, edx
je 0x6c3415f4
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x6e36c]
mov dword [ebx + 0x6e370], eax
mov eax, dword [ebx + 0x6e360]
mov dword [ebx + 0x6e374], eax
mov eax, dword [ebx + 0x80f18]
mov dword [ebx + 0x80f14], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x8132c]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x8132c], eax
mov eax, dword [esp + 0x24]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
xor edx, edx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x9d4]
test eax, eax
je 0x6c3415c8
mov ecx, dword [ebx + 0x9d0]
xor ebx, ebx
cmp eax, ecx
jae 0x6c3410a3
mov edi, dword [esp + 0x18]
mov ebp, dword [edi + 0xb40]
mov dword [edi + 0x9d4], ebx
mov ebx, edi
add ebx, 0x9d8
test ebp, ebp
je 0x6c340aa3
mov eax, edi
add eax, 0xbb0
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call fcn.6c509d50
mov eax, edi
add eax, 0xc14
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov edi, dword [esp + 0x18]
add edi, 0xbbc
mov dword [esp], edi
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [esp + 0x18]
add eax, 0xbd4
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [esp + 0x18]
add eax, 0xbc4
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [esp + 0x18]
add eax, 0xbe4
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [esp + 0x18]
add eax, 0xbc8
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
mov eax, dword [esp + 0x18]
add eax, 0xbe8
mov dword [esp], eax
call sub.avutil_52.dll_av_buffer_unref
test edi, 1
mov edx, 0x2c4
jne 0x6c341642
test edi, 2
jne 0x6c341632
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c3410be
and edx, 1
jne 0x6c3410cf
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0xb40]
test edi, edi
je 0x6c340acc
mov eax, dword [esp + 0x18]
mov ecx, edx
mov edx, ebx
add ecx, 0x9d8
call fcn.6c32e2d0
test eax, eax
js 0x6c340994
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0xec4]
mov ebx, dword [esp + 0x18]
add ebp, 0x6dec4
mov dword [ebx + 0xec4], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xeb8]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xeb8], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xeac]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0xeac], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6deb0]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x6deb0], eax
mov ebx, dword [esp + 0x20]
add ebx, 0x6dec4
mov dword [esp + 0x1c], ebx
xor ebx, ebx
jmp 0x6c340b8b
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x6c340be6
test dl, 1
mov edi, edx
mov esi, ecx
mov eax, 0x4b4
jne 0x6c340bd1
test edi, 2
jne 0x6c340bc0
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x6c340b75
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x6c340b80
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
add ebx, 1
add ebp, 4
cmp ebx, 0x20
je 0x6c340c01
mov edx, dword [ebp]
test edx, edx
jne 0x6c340b38
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x6c340bee
mov dword [esp], 0x4b4
call sub.avutil_52.dll_av_malloc
test eax, eax
mov dword [ebp], eax
jne 0x6c340bee
mov eax, 0xfffffff4
jmp 0x6c340994
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c340b5d
movzx eax, byte [ecx]
add edi, 1
add esi, 1
mov byte [edx], al
mov eax, 0x4b3
jmp 0x6c340b55
mov dword [esp], ebp
call sub.avutil_52.dll_av_freep
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x6c340b80
mov edx, dword [ebp]
jmp 0x6c340b47
mov edi, dword [esp + 0x18]
mov ecx, 0x12d
mov esi, dword [esp + 0x20]
add edi, 0x13dc
add esi, 0x13dc
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
add ebx, 0x6df44
mov dword [esp + 0x1c], ebx
add ebp, 0x6df44
xor ebx, ebx
jmp 0x6c340c96
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x6c341084
test dl, 1
mov edi, edx
mov esi, ecx
mov eax, 0x2d8
jne 0x6c340ce0
test edi, 2
jne 0x6c340cc8
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x6c340c79
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x6c340c84
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
add ebx, 1
add ebp, 4
cmp ebx, 0x100
je 0x6c341265
mov edx, dword [ebp]
test edx, edx
jne 0x6c340c38
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x6c34108c
mov dword [esp], 0x2d8
call sub.avutil_52.dll_av_malloc
test eax, eax
mov dword [ebp], eax
jne 0x6c34108c
jmp 0x6c340bb0
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c340c61
movzx eax, byte [ecx]
add edi, 1
add esi, 1
mov byte [edx], al
mov eax, 0x2d7
jmp 0x6c340c59
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0xe98]
lea esi, [ecx + 0x1244]
mov dword [edx + 0xe98], eax
mov eax, dword [edi + 0xe9c]
lea edi, [edx + 0x1244]
test edi, 1
mov dword [edx + 0xe9c], eax
mov eax, 0x180
jne 0x6c341670
test edi, 2
jne 0x6c34165c
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
jne 0x6c3410e3
test al, 1
jne 0x6c3410d7
mov edi, dword [esp + 0x18]
xor esi, esi
lea eax, [edi + esi*4 + 0x6dec4]
add esi, 1
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
cmp esi, 0x20
jne 0x6c340d61
mov edi, dword [esp + 0x18]
xor si, si
nop
lea eax, [edi + esi*4 + 0x6df44]
add esi, 1
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
cmp esi, 0x100
jne 0x6c340d80
mov eax, dword [esp + 0x18]
add eax, 0x6dea0
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
mov eax, dword [esp + 0x18]
add eax, 0x6dea4
mov dword [esp], eax
call sub.avutil_52.dll_av_freep
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 0x6c630
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x18]
mov edx, edi
add edx, 0x6d700
mov dword [esp + 4], edx
mov dword [esp + 8], 0x13f00
add eax, 0x6d700
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edi, dword [esp + 0x18]
mov edx, pe_nt_image_headers32
add edi, 0x6dec4
test edi, 1
jne 0x6c3417e5
test edi, 2
jne 0x6c341799
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c34111b
and edx, 1
jne 0x6c341113
mov edi, dword [esp + 0x18]
mov edx, 0x400
add edi, 0x6df44
test edi, 1
jne 0x6c3417a9
test edi, 2
jne 0x6c3417c5
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c341100
and edx, 1
jne 0x6c3410f8
mov edi, dword [esp + 0x18]
mov edx, 0xa8
add edi, 0x928
test edi, 1
jne 0x6c3416a1
test edi, 2
jne 0x6c3416ea
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c341187
and edx, 1
jne 0x6c34117f
mov edi, dword [esp + 0x18]
mov edx, 0x158
add edi, 0x2b4
test edi, 1
jne 0x6c3416fa
test edi, 2
jne 0x6c341714
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c34116c
and edx, 1
jne 0x6c341164
mov edi, dword [esp + 0x18]
mov edx, 0xc00
add edi, 0x6c640
test edi, 1
jne 0x6c3416bd
test edi, 2
jne 0x6c3416da
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c341151
and edx, 1
jne 0x6c341149
mov edi, dword [esp + 0x18]
mov edx, 0xc0
add edi, 0x6d240
test edi, 1
jne 0x6c341751
test edi, 2
jne 0x6c34176b
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c341136
and edx, 1
jne 0x6c34112e
mov edi, dword [esp + 0x18]
mov edx, 0x400
add edi, 0x6d300
test edi, 1
jne 0x6c34177b
test edi, 2
jne 0x6c3417d5
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c3411a2
and edx, 1
jne 0x6c34119a
mov ecx, dword [esp + 0x20]
xor edx, edx
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 0xebc]
mov dword [eax], ebx
mov dword [eax + 0x9d0], 0
mov dword [eax + 0x815e4], 0
test ecx, ecx
mov dword [eax + 0x815e8], 0
mov dword [eax + 0x815f0], 0
mov dword [eax + 0x815ec], 0
mov dword [eax + 0x6dea0], 0
mov dword [eax + 0x6dea8], 0
mov dword [eax + 0x6dea4], 0
mov dword [eax + 0x6deac], 0
jne 0x6c3411d6
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0xebc]
mov dword [ecx + 0x813cc], 0
mov dword [ecx + 0x815dc], 0
mov dword [ecx + 0x81248], ecx
mov dword [ecx + 0xebc], eax
mov ecx, edi
jmp 0x6c34071c
mov dword [esp], ebp
call sub.avutil_52.dll_av_freep
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x6c340c84
mov edx, dword [ebp]
jmp 0x6c340c47
lea esi, [ecx + 0xa7a0]
cmp eax, esi
jae 0x6c3409c0
sub eax, ecx
and eax, 0xfffffff8
lea ebx, [edx + eax]
jmp 0x6c3409c0
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340aa3
mov byte [edi], 0
jmp 0x6c340aa3
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
jmp 0x6c340d5b
movzx edx, word [esi]
test al, 1
mov word [edi], dx
mov edx, 2
je 0x6c340d5b
jmp 0x6c3410d7
mov byte [edi], 0
jmp 0x6c340e81
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340e81
jmp 0x6c3410f8
mov byte [edi], 0
jmp 0x6c340e3f
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340e3f
jmp 0x6c341113
mov byte [edi], 0
jmp 0x6c340f89
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340f89
jmp 0x6c34112e
mov byte [edi], 0
jmp 0x6c340f47
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340f47
jmp 0x6c341149
mov byte [edi], 0
jmp 0x6c340f05
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340f05
jmp 0x6c341164
mov byte [edi], 0
jmp 0x6c340ec3
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340ec3
jmp 0x6c34117f
mov byte [edi], 0
jmp 0x6c340fcb
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6c340fcb
jmp 0x6c34119a
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
jmp 0x6c34070c
movzx edx, word [esi]
test al, 1
mov word [edi], dx
mov edx, 2
je 0x6c34070c
jmp 0x6c3411b5
mov esi, eax
mov dx, 0x4a8
add esi, 0x9d8
test esi, 1
mov edi, esi
mov dword [eax + 0xebc], 0
jne 0x6c3418a3
test edi, 2
jne 0x6c341893
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x6c3415d7
and edx, 1
jne 0x6c3415cf
mov dword [esp], esi
call sub.avutil_52.dll_av_frame_unref
mov edi, dword [esp + 0x18]
mov dword [edi + 0xbb0], esi
mov dword [esp], edi
call fcn.6c33f7b0
test eax, eax
js 0x6c34186e
mov eax, dword [esp + 0x18]
call fcn.6c3282b0
test eax, eax
js 0x6c3418b4
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
mov edx, dword [eax + 0x9d0]
jmp 0x6c34103f
mov edi, dword [esp + 0x18]
mov ecx, 0xb6
mov esi, dword [esp + 0x20]
add edi, 0x1890
add esi, 0x1890
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 8], 0x29400
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
add ebx, 0x1b6c
add esi, 0x1b6c
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2af6c]
mov ecx, dword [edi + 0x2af84]
sub eax, esi
and eax, 0xffffffc0
add eax, ebx
mov dword [edx + 0x2af6c], eax
mov eax, dword [edi + 0x2af70]
sub eax, esi
and eax, 0xffffffc0
add eax, ebx
mov dword [edx + 0x2af70], eax
mov eax, dword [edi + 0x2af74]
sub eax, esi
and eax, 0xffffffc0
add eax, ebx
mov dword [edx + 0x2af74], eax
mov eax, dword [edi + 0x2af78]
sub eax, esi
and eax, 0xffffffc0
add eax, ebx
mov dword [edx + 0x2af78], eax
mov eax, dword [edi + 0x2af7c]
sub eax, esi
and eax, 0xffffffc0
add eax, ebx
mov dword [edx + 0x2af7c], eax
mov eax, dword [edi + 0x2af80]
sub eax, esi
and eax, 0xffffffc0
add eax, ebx
mov ebx, dword [esp + 0x18]
mov dword [edx + 0x2af80], eax
mov eax, edx
mov edx, edi
add edx, 0x9f6c
add eax, 0x9f6c
sub ecx, edx
xor cl, cl
add ecx, eax
mov dword [ebx + 0x2af84], ecx
mov ecx, dword [edi + 0x2af88]
sub ecx, edx
xor cl, cl
add ecx, eax
mov dword [ebx + 0x2af88], ecx
mov ecx, dword [edi + 0x2af8c]
sub ecx, edx
xor cl, cl
add ecx, eax
mov dword [ebx + 0x2af8c], ecx
mov ecx, dword [edi + 0x2af90]
sub ecx, edx
xor cl, cl
add ecx, eax
mov dword [ebx + 0x2af90], ecx
mov ecx, dword [edi + 0x2af94]
sub ecx, edx
xor cl, cl
add ecx, eax
mov dword [ebx + 0x2af94], ecx
mov ecx, dword [edi + 0x2af98]
sub ecx, edx
mov edx, edi
xor cl, cl
add edx, 0x6e34c
add eax, ecx
mov dword [ebx + 0x2af98], eax
mov eax, dword [edi + 0x6e344]
mov dword [ebx + 0x6e344], eax
mov ecx, dword [edi + 0x6e34c]
mov eax, 0x4bc
mov dword [ebx + 0x6e34c], ecx
mov ecx, dword [edi + 0x6e350]
mov dword [ebx + 0x6e350], ecx
mov ecx, dword [edi + 0x6e354]
mov dword [ebx + 0x6e354], ecx
mov ecx, dword [edi + 0x6e358]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0x6e358], ecx
mov ecx, dword [edi + 0x6e35c]
add ebp, 0x80d88
mov dword [ebx + 0x6e35c], ecx
mov ecx, dword [edi + 0x6e360]
mov dword [ebx + 0x6e360], ecx
mov ecx, dword [edi + 0x6e364]
mov dword [ebx + 0x6e364], ecx
mov ecx, dword [edi + 0x6e368]
mov dword [ebx + 0x6e368], ecx
mov ecx, dword [edi + 0x6e36c]
mov dword [ebx + 0x6e36c], ecx
mov ecx, dword [edi + 0x6e370]
mov dword [ebx + 0x6e370], ecx
mov ecx, dword [edi + 0x6e374]
mov dword [ebx + 0x6e374], ecx
mov ecx, dword [edi + 0x6e378]
mov dword [ebx + 0x6e378], ecx
mov edx, dword [edx + 0x30]
mov dword [ebx + 0x6e37c], edx
mov ebx, edi
mov edi, ebp
add ebx, 0x80d88
test ebp, 1
mov esi, ebx
jne 0x6c34183d
test edi, 2
jne 0x6c341829
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x6c341499
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x6c3414a4
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
mov ecx, dword [esp + 0x18]
xor eax, eax
mov esi, ebx
mov edi, dword [esp + 0x20]
add ecx, 0x9d0
add edi, 0x9d0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edi
jmp 0x6c3414f5
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
xor ecx, ecx
cmp edx, ebx
jb 0x6c3414e9
lea edi, [ebx + 0xa7a0]
cmp edx, edi
jae 0x6c3414e9
mov ecx, edx
mov edx, dword [esp + 0x28]
sub ecx, ebx
and ecx, 0xfffffff8
add ecx, dword [edx]
mov dword [ebp + eax*4], ecx
add eax, 1
cmp eax, 0x20
je 0x6c34150a
mov edx, dword [esi + eax*4]
test edx, edx
jne 0x6c3414c6
xor ecx, ecx
mov dword [ebp + eax*4], ecx
add eax, 1
cmp eax, 0x20
jne 0x6c3414f5
mov esi, dword [esp + 0x20]
xor al, al
mov ebp, dword [esp + 0x18]
add esi, 0x80e08
add ebp, 0x80e08
jmp 0x6c341551
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
xor ecx, ecx
cmp edx, ebx
jb 0x6c341545
lea edi, [ebx + 0xa7a0]
cmp edx, edi
jae 0x6c341545
mov ecx, edx
mov edx, dword [esp + 0x28]
sub ecx, ebx
and ecx, 0xfffffff8
add ecx, dword [edx]
mov dword [ebp + eax*4], ecx
add eax, 1
cmp eax, 0x20
je 0x6c341566
mov edx, dword [esi + eax*4]
test edx, edx
jne 0x6c341522
xor ecx, ecx
mov dword [ebp + eax*4], ecx
add eax, 1
cmp eax, 0x20
jne 0x6c341551
mov esi, dword [esp + 0x20]
xor al, al
mov ebp, dword [esp + 0x18]
add esi, 0x80e88
add ebp, 0x80e88
jmp 0x6c3415b3
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
xor ecx, ecx
cmp edx, ebx
jb 0x6c3415a3
lea edi, [ebx + 0xa7a0]
cmp edx, edi
jae 0x6c3415a3
mov ecx, edx
mov edx, dword [esp + 0x28]
sub ecx, ebx
and ecx, 0xfffffff8
add ecx, dword [edx]
mov dword [ebp + eax*4], ecx
add eax, 1
cmp eax, 0x12
je 0x6c340918
mov edx, dword [esi + eax*4]
test edx, edx
jne 0x6c341580
xor ecx, ecx
jmp 0x6c3415a3
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
jmp 0x6c3409c0
mov byte [edi], 0
jmp 0x6c341221
mov word [edi], 0
add edi, 2
jmp 0x6c341218
mov eax, ebx
call fcn.6c327e80
mov ebx, dword [esp + 0x18]
jmp 0x6c340938
mov eax, dword [ebx + 0x81234]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, ebx
add eax, 0x80f1c
mov dword [esp + 4], eax
call fcn.6c378870
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x6e350]
mov dword [ebx + 0x6e364], eax
mov eax, dword [ebx + 0x6e34c]
mov dword [ebx + 0x6e368], eax
jmp 0x6c340954
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340a88
mov eax, dword [esp + 0x18]
mov dl, 0xc3
mov edi, eax
mov byte [eax + 0xbbc], 0
add edi, 0xbbd
jmp 0x6c340a7c
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c340d42
movzx eax, byte [ecx + 0x1244]
add edi, 1
add esi, 1
mov byte [edx + 0x1244], al
mov eax, 0x17f
jmp 0x6c340d36
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c3406f3
mov edi, dword [esp + 0x18]
mov dl, 0xa7
mov byte [edi + 0x928], 0
mov edi, dword [esp + 0x18]
add edi, 0x929
jmp 0x6c340e9c
mov edx, dword [esp + 0x18]
mov edi, edx
mov byte [edx + 0x6c640], 0
add edi, 0x6c641
mov edx, 0xbff
jmp 0x6c340f20
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340f2c
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340ea8
mov eax, dword [esp + 0x18]
mov dl, 0x57
mov edi, eax
mov byte [eax + 0x2b4], 0
add edi, 0x2b5
jmp 0x6c340ede
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340eea
movzx eax, byte [ebx + 0x1244]
mov ebx, dword [esp + 0x18]
mov byte [ebx + 0x1244], al
mov esi, dword [esp + 0x20]
mov edi, ebx
add edi, 0x1245
mov eax, 0x17f
add esi, 0x1245
jmp 0x6c3406e7
mov ecx, dword [esp + 0x18]
mov dl, 0xbf
mov edi, ecx
mov byte [ecx + 0x6d240], 0
add edi, 0x6d241
jmp 0x6c340f62
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340f6e
mov edi, dword [esp + 0x18]
mov dx, 0x3ff
mov byte [edi + 0x6d300], 0
mov edi, dword [esp + 0x18]
add edi, 0x6d301
jmp 0x6c340fa4
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340e24
mov ecx, dword [esp + 0x18]
mov dx, 0x3ff
mov edi, ecx
mov byte [ecx + 0x6df44], 0
add edi, 0x6df45
jmp 0x6c340e5a
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340e66
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c340fb0
mov edx, dword [esp + 0x18]
mov edi, edx
mov byte [edx + 0x6dec4], 0
add edi, 0x6dec5
mov edx, 0x7f
jmp 0x6c340e18
mov ebx, dword [esp + 0x18]
mov dword [esp + 8], str.h264_slice_header_init___failed
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, dword [esp + 0x24]
jmp 0x6c340994
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6c341481
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
movzx eax, byte [edi + 0x80d88]
mov edi, edx
add edi, 0x80d89
mov byte [edx + 0x80d88], al
mov esi, dword [esp + 0x20]
mov eax, 0x4bb
add esi, 0x80d89
jmp 0x6c341475
mov dword [esp + 8], str.Could_not_allocate_memory_n
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x14], eax
call sub.avutil_52.dll_av_log
mov eax, dword [esp + 0x14]
jmp 0x6c340994
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6c341206
mov byte [eax + 0x9d8], 0
add edi, 1
mov dl, 0xa7
jmp 0x6c3411fa
mov dword [esp + 8], str.context_init___failed._n
jmp 0x6c341876