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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x12
mov ebx, dword [edi + 0x10]
mov edi, dword [edi + 0xc]
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0xe4]
shr eax, 4
not eax
and eax, 1
mov dword [ebp - 0xc], eax
call sym.avformat_58.dll_avio_w8
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
push 0
push ebx
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
call sym.avformat_58.dll_avio_wb24
push dword [ebp + 0xc]
push ebx
call sym.avformat_58.dll_avio_wb24
push 0
push ebx
call sym.avformat_58.dll_avio_wb32
push 2
push ebx
call sym.avformat_58.dll_avio_w8
push 0xa
push ebx
call sym.avformat_58.dll_avio_wb16
add esp, 0x40
push 0xa
push str.onMetaData
push ebx
call sym.avformat_58.dll_avio_write
push 8
push ebx
call sym.avformat_58.dll_avio_w8
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
mov esi, dword [edi + 0xd0]
add esp, 0x24
mov ecx, dword [edi + 0xd4]
neg esi
mov dword [ebp - 0x14], edx
sbb esi, esi
mov dword [ebp - 0x18], eax
and esi, 5
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 4
lea eax, [esi + ecx]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
setne dl
add edx, eax
cmp dword [ebp - 0xc], 0
mov dword [ebp - 4], edx
je 0x10068a7c
xor edx, edx
test ecx, ecx
setne dl
add edx, 2
add edx, eax
push edx
push ebx
mov dword [ebp - 4], edx
call sym.avformat_58.dll_avio_wb32
push 8
push ebx
call sym.avformat_58.dll_avio_wb16
push 8
push str.duration
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
add esp, 0x2c
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], edx
push 0
push 0xf4240
push dword [eax + 0x434]
push dword [eax + 0x430]
call fcn.10001c1c
mov ecx, eax
call fcn.10001d66
push 0
push ebx
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x14
jmp 0x10068a86
push edx
push ebx
call sym.avformat_58.dll_avio_wb32
add esp, 8
cmp dword [edi + 0xd4], 0
je 0x10068c2f
push 5
push ebx
call sym.avformat_58.dll_avio_wb16
push 5
push str.width
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd4]
push 0
push ebx
movd xmm0, dword [eax + 0x30]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 6
push ebx
call sym.avformat_58.dll_avio_wb16
push 6
push str.height
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd4]
push 0
push ebx
movd xmm0, dword [eax + 0x34]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
add esp, 0x44
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 0xd
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xd
push str.videodatarate
push ebx
call sym.avformat_58.dll_avio_write
mov ecx, dword [edi + 0xd4]
add esp, 0x20
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
call fcn.10001d66
mulsd xmm0, qword [0x10200c30]
push 0
push ebx
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
movsd xmm0, qword [edi + 0xd8]
add esp, 0x14
ucomisd xmm0, qword [0x101fab68]
lahf
test ah, 0x44
jnp 0x10068bd7
push 9
push ebx
call sym.avformat_58.dll_avio_wb16
push 9
push str.framerate
push ebx
call sym.avformat_58.dll_avio_write
movsd xmm0, qword [edi + 0xd8]
push 0
push ebx
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x28
inc dword [ebp - 4]
push 0xc
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xc
push str.videocodecid
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd4]
push 0
push ebx
mov eax, dword [eax + 8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101fbb70]
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x28
cmp dword [edi + 0xd0], 0
je 0x10068dbe
push 0xd
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xd
push str.audiodatarate
push ebx
call sym.avformat_58.dll_avio_write
mov ecx, dword [edi + 0xd0]
add esp, 0x14
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
call fcn.10001d66
mulsd xmm0, qword [0x10200c30]
push 0
push ebx
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 0xf
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xf
push str.audiosamplerate
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd0]
push 0
push ebx
movd xmm0, dword [eax + 0x6c]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 0xf
push ebx
call sym.avformat_58.dll_avio_wb16
add esp, 0x44
push 0xf
push str.audiosamplesize
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd0]
xor ebx, ebx
push 0
push dword [ebp - 8]
cmp dword [eax + 4], 0x10005
setne bl
lea ebx, [ebx*8 + 8]
call sym.avformat_58.dll_avio_w8
movd xmm0, ebx
mov ebx, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 6
push ebx
call sym.avformat_58.dll_avio_wb16
push 6
push str.stereo
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd0]
push 1
push ebx
mov esi, dword [eax + 0x68]
call sym.avformat_58.dll_avio_w8
xor eax, eax
cmp esi, 2
sete al
push eax
push ebx
call sym.avformat_58.dll_avio_w8
add esp, 0x44
push 0xc
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xc
push str.audiocodecid
push ebx
call sym.avformat_58.dll_avio_write
mov eax, dword [edi + 0xd0]
push 0
push ebx
mov eax, dword [eax + 8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101fbb70]
movsd qword [ebp - 0x20], xmm0
call sym.avformat_58.dll_avio_w8
movsd xmm0, qword [ebp - 0x20]
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x28
cmp dword [edi + 0xe0], 0
je 0x10068dfb
push 0xa
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xa
push str.datastream
push ebx
call sym.avformat_58.dll_avio_write
push 0
push ebx
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x28
mov esi, dword [ebp + 8]
push esi
call fcn.100010b4
push 2
push 0
push 0x101e9a07
push dword [esi + 0x48c]
call sub.avutil_56.dll_av_dict_get
add esp, 0x14
mov dword [ebp - 8], eax
test eax, eax
je 0x100692da
mov edi, dword [eax]
mov edx, str.width
mov ecx, edi
nop
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10068e50
test al, al
je 0x10068e4c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10068e50
add ecx, 2
add edx, 2
test al, al
jne 0x10068e30
xor eax, eax
jmp 0x10068e55
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.height
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068e84
test dl, dl
je 0x10068e80
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068e84
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068e64
xor eax, eax
jmp 0x10068e89
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.videodatarate
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068eb8
test dl, dl
je 0x10068eb4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068eb8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068e98
xor eax, eax
jmp 0x10068ebd
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.framerate
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068ef0
test dl, dl
je 0x10068eec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068ef0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068ed0
xor eax, eax
jmp 0x10068ef5
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.videocodecid
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068f24
test dl, dl
je 0x10068f20
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068f24
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068f04
xor eax, eax
jmp 0x10068f29
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.audiodatarate
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068f58
test dl, dl
je 0x10068f54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068f58
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068f38
xor eax, eax
jmp 0x10068f5d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.audiosamplerate
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068f90
test dl, dl
je 0x10068f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068f70
xor eax, eax
jmp 0x10068f95
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.audiosamplesize
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068fc4
test dl, dl
je 0x10068fc0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068fc4
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068fa4
xor eax, eax
jmp 0x10068fc9
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.stereo
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10068ff8
test dl, dl
je 0x10068ff4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10068ff8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10068fd8
xor eax, eax
jmp 0x10068ffd
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.audiocodecid
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069030
test dl, dl
je 0x1006902c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069030
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069010
xor eax, eax
jmp 0x10069035
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.duration
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069064
test dl, dl
je 0x10069060
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069064
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069044
xor eax, eax
jmp 0x10069069
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.onMetaData
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069098
test dl, dl
je 0x10069094
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069098
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069078
xor eax, eax
jmp 0x1006909d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.datasize
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100690d0
test dl, dl
je 0x100690cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100690d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100690b0
xor eax, eax
jmp 0x100690d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.lasttimestamp
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069104
test dl, dl
je 0x10069100
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069104
add eax, 2
add ecx, 2
test dl, dl
jne 0x100690e4
xor eax, eax
jmp 0x10069109
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.totalframes
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069138
test dl, dl
je 0x10069134
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069138
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069118
xor eax, eax
jmp 0x1006913d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.hasAudio
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069170
test dl, dl
je 0x1006916c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069170
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069150
xor eax, eax
jmp 0x10069175
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.hasVideo
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100691a4
test dl, dl
je 0x100691a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100691a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069184
xor eax, eax
jmp 0x100691a9
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.hasCuePoints
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100691d8
test dl, dl
je 0x100691d4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100691d8
add eax, 2
add ecx, 2
test dl, dl
jne 0x100691b8
xor eax, eax
jmp 0x100691dd
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.hasMetadata
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069210
test dl, dl
je 0x1006920c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069210
add eax, 2
add ecx, 2
test dl, dl
jne 0x100691f0
xor eax, eax
jmp 0x10069215
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov ecx, str.hasKeyframes
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069244
test dl, dl
je 0x10069240
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069244
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069224
xor eax, eax
jmp 0x10069249
sbb eax, eax
or eax, 1
test eax, eax
je 0x100692a3
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10069252
sub esi, ecx
push esi
push ebx
call sym.avformat_58.dll_avio_wb16
push esi
push edi
push ebx
call sym.avformat_58.dll_avio_write
push 2
push ebx
call sym.avformat_58.dll_avio_w8
mov edi, dword [ebp - 8]
add esp, 0x1c
mov edi, dword [edi + 4]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10069280
sub esi, ecx
push esi
push ebx
call sym.avformat_58.dll_avio_wb16
push esi
push edi
push ebx
call sym.avformat_58.dll_avio_write
mov esi, dword [ebp + 8]
add esp, 0x14
inc dword [ebp - 4]
jmp 0x100692b4
push edi
push str.Ignoring_metadata_for__s_n
push 0x30
push esi
call sub.avutil_56.dll_av_log
add esp, 0x10
push 2
push dword [ebp - 8]
push 0x101e9a07
push dword [esi + 0x48c]
call sub.avutil_56.dll_av_dict_get
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x10068e26
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0
je 0x10069326
push 8
push ebx
call sym.avformat_58.dll_avio_wb16
push 8
push str.filesize
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
push 0
push ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x38
test byte [edi + 0xe4], 4
je 0x10069668
push 8
push ebx
mov dword [edi + 0xb0], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
call sym.avformat_58.dll_avio_wb16
push 8
push str.hasVideo
push ebx
call sym.avformat_58.dll_avio_write
mov esi, dword [edi + 0xd4]
push 1
push ebx
call sym.avformat_58.dll_avio_w8
xor eax, eax
test esi, esi
setne al
push eax
push ebx
call sym.avformat_58.dll_avio_w8
push 0xc
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xc
push str.hasKeyframes
push ebx
call sym.avformat_58.dll_avio_write
push 1
push ebx
call sym.avformat_58.dll_avio_w8
add esp, 0x40
push 1
push ebx
call sym.avformat_58.dll_avio_w8
push 8
push ebx
call sym.avformat_58.dll_avio_wb16
push 8
push str.hasAudio
push ebx
call sym.avformat_58.dll_avio_write
mov esi, dword [edi + 0xd0]
push 1
push ebx
call sym.avformat_58.dll_avio_w8
xor eax, eax
test esi, esi
setne al
push eax
push ebx
call sym.avformat_58.dll_avio_w8
push 0xb
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xb
push str.hasMetadata
push ebx
call sym.avformat_58.dll_avio_write
add esp, 0x40
push 1
push ebx
call sym.avformat_58.dll_avio_w8
push 1
push ebx
call sym.avformat_58.dll_avio_w8
push 0xc
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xc
push str.canSeekToEnd
push ebx
call sym.avformat_58.dll_avio_write
push 1
push ebx
call sym.avformat_58.dll_avio_w8
push 1
push ebx
call sym.avformat_58.dll_avio_w8
push 8
push ebx
call sym.avformat_58.dll_avio_wb16
push 8
push str.datasize
push ebx
call sym.avformat_58.dll_avio_write
add esp, 0x48
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
push 0
push ebx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 9
push ebx
call sym.avformat_58.dll_avio_wb16
push 9
push str.videosize
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
add esp, 0x48
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
push 0
push ebx
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 9
push ebx
call sym.avformat_58.dll_avio_wb16
push 9
push str.audiosize
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
push 0
push ebx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
call sym.avformat_58.dll_avio_w8
add esp, 0x40
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 0xd
push ebx
call sym.avformat_58.dll_avio_wb16
push 0xd
push str.lasttimestamp
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
xorps xmm0, xmm0
mov dword [edi + 0x80], eax
push 0
push ebx
mov dword [edi + 0x84], edx
movsd qword [edi + 0x88], xmm0
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
add esp, 0x44
push 0x15
push ebx
call sym.avformat_58.dll_avio_wb16
push 0x15
push str.lastkeyframetimestamp
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
xorps xmm0, xmm0
mov dword [edi + 0x90], eax
push 0
push ebx
mov dword [edi + 0x94], edx
movsd qword [edi + 0x98], xmm0
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 0x14
push ebx
call sym.avformat_58.dll_avio_wb16
add esp, 0x40
push 0x14
push str.lastkeyframelocation
push ebx
call sym.avformat_58.dll_avio_write
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
push 0
push ebx
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], edx
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
call sym.avformat_58.dll_avio_w8
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call sym.avformat_58.dll_avio_wb64
push 9
push ebx
call sym.avformat_58.dll_avio_wb16
push 9
push str.keyframes
push ebx
call sym.avformat_58.dll_avio_write
add esp, 0x44
push 3
push ebx
call sym.avformat_58.dll_avio_w8
add dword [ebp - 4], 0xc
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
add esp, 0x18
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], edx
push 0
push ebx
call sym.avformat_58.dll_avio_wb16
push 0
push 0x101e9a07
push ebx
call sym.avformat_58.dll_avio_write
push 9
push ebx
call sym.avformat_58.dll_avio_w8
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
sub eax, dword [edi + 0x60]
push 0
sbb edx, dword [edi + 0x64]
sub eax, 0xa
push dword [ebp - 0x14]
sbb edx, 0
mov dword [edi + 0x70], eax
push dword [ebp - 0x18]
mov dword [edi + 0x74], edx
push ebx
call sym.avformat_58.dll_avio_seek
push dword [ebp - 4]
push ebx
call sym.avformat_58.dll_avio_wb32
add esp, 0x44
push 0
push dword [edi + 0x64]
push dword [edi + 0x60]
push ebx
call sym.avformat_58.dll_avio_seek
push dword [edi + 0x70]
push ebx
call sym.avformat_58.dll_avio_wb24
mov ecx, dword [edi + 0x70]
mov eax, dword [edi + 0x74]
add ecx, 7
adc eax, 0
push eax
push ecx
push ebx
call sym.avformat_58.dll_avio_skip
push 1
push 0
push 0
push ebx
call sym.avformat_58.dll_avio_seek
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x70]
add eax, 0xb
mov dword [edi + 0x6c], edx
push eax
push ebx
call sym.avformat_58.dll_avio_wb32
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret