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

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0xf4]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x160]
mov dword [ebx + 0x160], eax
mov eax, dword [esi + 0xf0]
mov dword [ebx + 0xf4], edx
mov edx, dword [esi + 0x60]
mov dword [ebx + 0xf0], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x180]
mov dword [ebx + 0x180], eax
mov eax, dword [esi + 0x184]
mov dword [ebx + 0x184], eax
mov eax, dword [esi + 0x188]
mov edx, dword [esi + 0x6c]
mov dword [ebx + 0x188], eax
mov eax, dword [esi + 0x18c]
mov dword [ebx + 0x18c], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x6c], edx
mov edx, dword [esi + 0x74]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0xd0]
mov dword [ebx + 0xd0], eax
mov eax, dword [esi + 0xd4]
mov dword [ebx + 0xd4], eax
mov eax, dword [esi + 0xd8]
mov dword [ebx + 0xd8], eax
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov eax, dword [esi + 0xe8]
mov dword [ebx + 0xe8], eax
mov eax, dword [esi + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x74], edx
mov edx, dword [esi + 0x7c]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x7c], edx
mov edx, dword [esi + 0x14c]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x148]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x148], eax
mov eax, dword [esi + 0x164]
mov edx, dword [esi + 0x154]
mov dword [ebx + 0x164], eax
mov eax, dword [esi + 0x150]
mov dword [ebx + 0x154], edx
mov edx, dword [esi + 0xe4]
mov dword [ebx + 0x150], eax
mov eax, dword [esi + 0xe0]
mov dword [ebx + 0xe4], edx
mov edx, dword [esi + 0x144]
mov dword [ebx + 0xe0], eax
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x140]
mov dword [ebx + 0x144], edx
mov dword [ebx + 0x140], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x84], eax
mov eax, dword [esi + 0x128]
mov dword [ebx + 0x128], eax
mov eax, dword [esi + 0x15c]
mov dword [ebx + 0x15c], eax
mov eax, dword [esi + 0x130]
mov dword [ebx + 0x130], eax
mov eax, dword [esi + 0x134]
mov dword [ebx + 0x134], eax
mov eax, dword [esi + 0x138]
mov dword [ebx + 0x138], eax
mov eax, dword [esi + 0x12c]
mov dword [ebx + 0x12c], eax
mov eax, dword [esi + 0x13c]
mov dword [ebx + 0x13c], eax
mov dword [esp + 8], 0
mov eax, dword [esi + 0x158]
mov dword [esp + 4], eax
lea eax, [ebx + 0x158]
mov dword [esp], eax
call sym.avutil_56.dll_av_dict_copy
mov ecx, dword [esi + 0x90]
mov dword [ebx + 0x90], ecx
mov ecx, dword [esi + 0x94]
mov dword [ebx + 0x94], ecx
mov ecx, dword [esi + 0x98]
mov dword [ebx + 0x98], ecx
mov ecx, dword [esi + 0x9c]
mov dword [ebx + 0x9c], ecx
mov ecx, dword [esi + 0xa0]
mov dword [ebx + 0xa0], ecx
mov ecx, dword [esi + 0xa4]
mov dword [ebx + 0xa4], ecx
mov ecx, dword [esi + 0xa8]
mov dword [ebx + 0xa8], ecx
mov ecx, dword [esi + 0xac]
mov dword [ebx + 0xac], ecx
mov ecx, dword [esi + 0xb0]
mov dword [ebx + 0xb0], ecx
mov ecx, dword [esi + 0xb4]
mov dword [ebx + 0xb4], ecx
mov ecx, dword [esi + 0xb8]
mov dword [ebx + 0xb8], ecx
mov ecx, dword [esi + 0xbc]
mov dword [ebx + 0xbc], ecx
mov ecx, dword [esi + 0xc0]
mov dword [ebx + 0xc0], ecx
mov ecx, dword [esi + 0xc4]
mov dword [ebx + 0xc4], ecx
mov ecx, dword [esi + 0xc8]
mov dword [ebx + 0xc8], ecx
mov edx, dword [esi + 0xcc]
mov dword [ebx + 0xcc], edx
mov edx, dword [esi + 0x124]
test edx, edx
jg 0x10025357
jmp 0x10025431
mov eax, dword [ebx + 0x44]
cmp dword [esi + 0x44], eax
je 0x100256b2
add edi, 1
cmp edi, edx
jge 0x10025431
mov eax, dword [esi + 0x120]
mov ebp, dword [eax + edi*4]
mov eax, dword [ebp]
test eax, eax
je 0x10025340
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
je 0x10025640
mov eax, dword [ebx + 0x124]
cmp eax, 0x1ffffffe
ja 0x10025640
lea eax, [eax*4 + 4]
mov ecx, dword [ebp]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
call sym.avutil_56.dll_av_realloc
test eax, eax
je 0x10025640
mov dword [ebx + 0x120], eax
mov dword [esp], 0x14
call sym.avutil_56.dll_av_mallocz
test eax, eax
je 0x10025640
mov edx, dword [esp + 0x18]
add edi, 1
mov ecx, dword [edx + 4]
mov dword [eax + 0x10], edx
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x124]
mov dword [eax], ecx
lea ecx, [edx + 1]
mov dword [ebx + 0x124], ecx
mov ecx, dword [ebx + 0x120]
mov dword [ecx + edx*4], eax
mov dword [esp + 8], 0
add eax, 0xc
mov edx, dword [ebp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.avutil_56.dll_av_dict_copy
mov edx, dword [esi + 0x124]
cmp edi, edx
jl 0x10025357
lea eax, [ebx + 0x174]
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x170], 0
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
mov eax, dword [esi + 0x174]
test eax, eax
je 0x1002549a
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
test eax, eax
mov dword [ebx + 0x174], eax
je 0x1002549a
mov eax, dword [eax + 4]
mov dword [ebx + 0x168], eax
mov eax, dword [esi + 0x16c]
mov dword [ebx + 0x16c], eax
mov eax, dword [esi + 0x170]
mov dword [ebx + 0x170], eax
lea eax, [ebx + 0x17c]
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
lea eax, [ebx + 0x190]
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x100254d6
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
test eax, eax
mov dword [ebx + 0x17c], eax
je 0x100256a5
mov eax, dword [esi + 0x190]
test eax, eax
je 0x100254f6
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
test eax, eax
mov dword [ebx + 0x190], eax
je 0x100256a5
mov eax, dword [esi + 0xf8]
xor edi, edi
test eax, eax
jne 0x10025517
jmp 0x1002579b
mov eax, dword [esi + edi*4 + 0xf8]
test eax, eax
je 0x10025532
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
test eax, eax
mov dword [ebx + edi*4 + 0xf8], eax
je 0x100255c3
add edi, 1
cmp edi, 8
jne 0x10025510
mov ebp, dword [esi + 0x118]
test ebp, ebp
je 0x100256c3
mov eax, dword [esi + 0x11c]
mov dword [esp], 4
mov dword [esp + 4], eax
call sym.avutil_56.dll_av_mallocz_array
test eax, eax
mov dword [ebx + 0x118], eax
je 0x100255c3
mov edx, dword [esi + 0x11c]
mov dword [ebx + 0x11c], edx
mov edi, dword [esi + 0x11c]
test edi, edi
jle 0x100256c3
xor edi, edi
jmp 0x1002559f
add edi, 1
cmp dword [esi + 0x11c], edi
jle 0x100256c3
lea ebp, [eax + edi*4]
mov eax, dword [esi + 0x118]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
mov dword [ebp], eax
mov eax, dword [ebx + 0x118]
mov ecx, dword [eax + edi*4]
test ecx, ecx
jne 0x10025590
mov dword [esp + 0x18], 0xfffffff4
mov edx, dword [ebx + 0x124]
xor ebp, ebp
test edx, edx
jle 0x10025614
mov esi, esi
lea edi, [edi]
mov eax, dword [ebx + 0x120]
lea edi, [eax + ebp*4]
add ebp, 1
mov esi, dword [edi]
lea eax, [esi + 0x10]
add esi, 0xc
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
mov dword [esp], esi
call sym.avutil_56.dll_av_dict_free
mov dword [esp], edi
call sym.avutil_56.dll_av_freep
cmp ebp, dword [ebx + 0x124]
jl 0x100255e0
lea eax, [ebx + 0x120]
mov dword [ebx + 0x124], 0
mov dword [esp], eax
call sym.avutil_56.dll_av_freep
mov eax, ebx
call fcn.10023420
mov eax, dword [esp + 0x18]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x2c]
xor edi, edi
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
mov eax, dword [ebx + 0x124]
test eax, eax
jle 0x1002568d
mov eax, dword [ebx + 0x120]
lea ebp, [eax + edi*4]
add edi, 1
mov esi, dword [ebp]
lea eax, [esi + 0x10]
add esi, 0xc
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
mov dword [esp], esi
call sym.avutil_56.dll_av_dict_free
mov dword [esp], ebp
call sym.avutil_56.dll_av_freep
cmp edi, dword [ebx + 0x124]
jl 0x10025658
mov dword [ebx + 0x124], 0
add ebx, 0x120
mov dword [esp], ebx
call sym.avutil_56.dll_av_freep
add esp, 0x3c
mov eax, 0xfffffff4
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x48]
cmp dword [esi + 0x48], eax
jne 0x1002534c
jmp 0x10025367
mov eax, dword [esi + 0x178]
test eax, eax
je 0x100256e3
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_ref
test eax, eax
mov dword [ebx + 0x178], eax
je 0x100255c3
cmp dword [esi + 0x40], esi
je 0x10025814
mov ebp, dword [esi + 0x160]
mov dword [esp + 0x18], 0xffffffea
test ebp, ebp
je 0x100255cb
mov dword [esp + 4], ebp
mov dword [esp], 4
call sym.avutil_56.dll_av_malloc_array
test eax, eax
mov dword [ebx + 0x40], eax
je 0x100255c3
mov edx, dword [esi + 0x40]
shl ebp, 2
mov dword [esp], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esi + 0x20]
xor eax, eax
mov dword [ebx + 0x20], ecx
mov ecx, dword [esi + 0x24]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esi + 0x28]
mov dword [ebx + 0x28], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esi + 0x30]
mov dword [ebx + 0x30], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebx + 0x34], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [ebx + 0x3c], edx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.avutil_56.dll_av_frame_get_buffer
test eax, eax
js 0x10025637
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym.avutil_56.dll_av_frame_copy
test eax, eax
mov dword [esp + 0x18], eax
jns 0x10025637
mov eax, dword [ebx + 0x124]
xor ebp, ebp
test eax, eax
jle 0x10025614
mov eax, dword [ebx + 0x120]
lea edi, [eax + ebp*4]
add ebp, 1
mov esi, dword [edi]
lea eax, [esi + 0x10]
add esi, 0xc
mov dword [esp], eax
call sym.avutil_56.dll_av_buffer_unref
mov dword [esp], esi
call sym.avutil_56.dll_av_dict_free
mov dword [esp], edi
call sym.avutil_56.dll_av_freep
cmp ebp, dword [ebx + 0x124]
jl 0x100257db
jmp 0x10025614
mov dword [ebx + 0x40], ebx
jmp 0x10025733