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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp + 0x20], ecx
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x5c]
mov ebx, dword [edx + 0x60]
mov dword [ebp + 0x54], eax
mov eax, dword [edx + 0x58]
mov dword [ebp + 0x5c], ecx
mov ecx, dword [edx + 0x68]
mov dword [ebp + 0x60], ebx
mov ebx, dword [edx + 0x6c]
mov dword [ebp + 0x58], eax
mov eax, dword [edx + 0x130]
mov dword [ebp + 0x130], eax
mov eax, dword [edx + 0x134]
mov dword [ebp + 0x134], eax
mov eax, dword [edx + 0x138]
mov dword [ebp + 0x138], eax
mov eax, dword [edx + 0x13c]
mov dword [ebp + 0x68], ecx
mov ecx, dword [edx + 0x160]
mov dword [ebp + 0x6c], ebx
mov ebx, dword [edx + 0x164]
mov dword [ebp + 0x13c], eax
mov eax, dword [edx + 0x90]
mov dword [ebp + 0x160], ecx
mov dword [ebp + 0x164], ebx
mov dword [ebp + 0x90], eax
mov eax, dword [edx + 0x94]
mov ecx, dword [edx + 0x70]
mov ebx, dword [edx + 0x74]
mov dword [ebp + 0x94], eax
mov eax, dword [edx + 0x98]
mov dword [ebp + 0x98], eax
mov eax, dword [edx + 0x9c]
mov dword [ebp + 0x9c], eax
mov eax, dword [edx + 0xa8]
mov dword [ebp + 0xa8], eax
mov eax, dword [edx + 0x8c]
mov dword [ebp + 0x70], ecx
mov ecx, dword [edx + 0x108]
mov dword [ebp + 0x74], ebx
mov ebx, dword [edx + 0x10c]
mov dword [ebp + 0x8c], eax
mov eax, dword [edx + 0x124]
mov dword [ebp + 0x108], ecx
mov ecx, dword [edx + 0x110]
mov dword [ebp + 0x10c], ebx
mov ebx, dword [edx + 0x114]
mov dword [ebp + 0x124], eax
mov dword [ebp + 0x110], ecx
mov ecx, dword [edx + 0x78]
mov dword [ebp + 0x114], ebx
mov ebx, dword [edx + 0x7c]
mov dword [ebp + 0x78], ecx
mov ecx, dword [edx + 0xa0]
mov dword [ebp + 0x7c], ebx
mov ebx, dword [edx + 0xa4]
mov dword [ebp + 0xa0], ecx
mov dword [ebp + 0xa4], ebx
mov eax, dword [edx + 0x88]
mov dword [esp + 0x18], edx
mov ecx, dword [edx + 0x100]
mov ebx, dword [edx + 0x104]
mov dword [ebp + 0x88], eax
mov eax, dword [edx + 0x80]
mov dword [ebp + 0x100], ecx
mov dword [ebp + 0x104], ebx
mov dword [ebp + 0x80], eax
mov eax, dword [edx + 0x84]
mov dword [ebp + 0x84], eax
mov eax, dword [edx + 0xe8]
mov dword [ebp + 0xe8], eax
mov eax, dword [edx + 0x11c]
mov dword [ebp + 0x11c], eax
mov eax, dword [edx + 0xf0]
mov dword [ebp + 0xf0], eax
mov eax, dword [edx + 0xf4]
mov dword [ebp + 0xf4], eax
mov eax, dword [edx + 0xf8]
mov dword [ebp + 0xf8], eax
mov eax, dword [edx + 0xec]
mov dword [ebp + 0xec], eax
mov eax, dword [edx + 0xfc]
mov dword [ebp + 0xfc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [edx + 0x118]
mov dword [esp + 4], eax
lea eax, [ebp + 0x118]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_dict_copy
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xe4]
test eax, eax
jle 0x1001ab88
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x1001a9b3
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_alloc
mov dword [esp + 0x3c], eax
test eax, eax
mov esi, eax
je 0x1001aa80
mov eax, dword [ebp + 0xe4]
cmp eax, 0x1ffffffe
ja 0x1001aa80
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xe0]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_realloc
test eax, eax
je 0x1001aa80
mov dword [ebp + 0xe0], eax
mov dword [esp], 0x14
call sym.avutil_lav_57.dll_mv_mallocz
test eax, eax
je 0x1001aa80
mov dword [eax + 0x10], esi
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [eax], edi
mov esi, dword [ebp + 0xe0]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xe4]
mov dword [eax + 4], edx
mov dword [esp + 0x2c], edx
lea edi, [ecx + 1]
mov dword [ebp + 0xe4], edi
mov edi, dword [ebx + 8]
mov dword [esi + ecx*4], eax
mov esi, dword [ebx + 4]
mov dword [esp + 0x1c], edi
mov edi, edx
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x1c], 8
mov dword [esp + 0x24], esi
jae 0x1001ab40
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], edx
xor edx, edx
add eax, 0xc
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.avutil_lav_57.dll_mv_dict_copy
mov edx, dword [esp + 0x1c]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp dword [edx + 0xe4], eax
jle 0x1001ab88
mov eax, dword [edx + 0xe0]
mov esi, dword [esp + 0x18]
mov ebx, dword [eax + esi*4]
mov edi, dword [ebx]
test edi, edi
jne 0x1001a9d6
mov eax, dword [ebp + 0x44]
cmp dword [edx + 0x44], eax
jne 0x1001a99f
mov eax, dword [ebp + 0x48]
cmp dword [edx + 0x48], eax
jne 0x1001a99f
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1001a8c0
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_ref
mov esi, dword [ebx]
mov dword [esp + 0x3c], eax
test eax, eax
mov edi, eax
je 0x1001aaf0
mov eax, dword [ebp + 0xe4]
cmp eax, 0x1ffffffe
ja 0x1001aaf0
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xe0]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_realloc
test eax, eax
je 0x1001aaf0
mov dword [ebp + 0xe0], eax
mov dword [esp], 0x14
call sym.avutil_lav_57.dll_mv_mallocz
test eax, eax
je 0x1001aaf0
mov dword [eax + 0x10], edi
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 8]
mov dword [eax], esi
mov esi, dword [ebp + 0xe0]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xe4]
lea edi, [ecx + 1]
mov dword [ebp + 0xe4], edi
mov dword [esi + ecx*4], eax
jmp 0x1001a97f
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_unref
mov esi, dword [ebp + 0xe4]
test esi, esi
jle 0x1001aaca
xor ebx, ebx
mov eax, dword [ebp + 0xe0]
lea edi, [eax + ebx*4]
inc ebx
mov esi, dword [edi]
lea eax, [esi + 0x10]
add esi, 0xc
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_unref
mov dword [esp], esi
call sym.avutil_lav_57.dll_mv_dict_free
mov dword [esp], edi
call sym.avutil_lav_57.dll_mv_freep
cmp ebx, dword [ebp + 0xe4]
jl 0x1001aa98
lea eax, [ebp + 0xe0]
xor ecx, ecx
mov dword [ebp + 0xe4], ecx
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_freep
add esp, 0x4c
mov eax, 0xfffffff4
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_unref
mov ebx, dword [ebp + 0xe4]
test ebx, ebx
jle 0x1001aaca
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 0xe0]
lea edi, [eax + esi*4]
inc esi
mov ebx, dword [edi]
lea eax, [ebx + 0x10]
add ebx, 0xc
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_unref
mov dword [esp], ebx
call sym.avutil_lav_57.dll_mv_dict_free
mov dword [esp], edi
call sym.avutil_lav_57.dll_mv_freep
cmp esi, dword [ebp + 0xe4]
jl 0x1001ab0a
jmp 0x1001aaca
test edi, 1
jne 0x1001abd0
test edi, 2
jne 0x1001ac00
test edi, 4
je 0x1001a975
mov esi, dword [esp + 0x24]
add edi, 4
mov ecx, dword [esi]
mov dword [edi - 4], ecx
lea ecx, [esi + 4]
sub dword [esp + 0x1c], 4
mov dword [esp + 0x24], ecx
jmp 0x1001a975
mov dword [esp + 0x18], edx
mov eax, dword [edx + 0x12c]
mov dword [esp + 4], eax
lea eax, [ebp + 0x12c]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_replace
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [edx + 0x140]
mov dword [esp + 4], eax
lea eax, [ebp + 0x140]
mov dword [esp], eax
call sym.avutil_lav_57.dll_mv_buffer_replace
add esp, 0x4c
or eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ecx, byte [esi]
inc edi
mov byte [esp + 0x28], cl
mov byte [edi - 1], cl
mov ecx, dword [esp + 0x24]
dec dword [esp + 0x1c]
inc ecx
test edi, 2
mov dword [esp + 0x24], ecx
je 0x1001ab58
lea esi, [esi]
lea esi, [esi]
nop
mov esi, dword [esp + 0x24]
add edi, 2
movzx ecx, word [esi]
mov word [edi - 2], cx
lea ecx, [esi + 2]
sub dword [esp + 0x1c], 2
mov dword [esp + 0x24], ecx
jmp 0x1001ab58