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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x5d0
mov eax, dword [0x1018fc64]
xor eax, ebp
mov dword [esp + 0x5c8], eax
mov eax, dword [ecx + 0x108]
mov ebx, 0xbebbb1b7
cmp eax, 2
jg 0x1004692a
mov edi, ecx
lea esi, [ecx + 0x5c8]
mov ebx, 0xffffffff
cmp eax, 1
jne 0x100465f1
mov ecx, edi
mov edx, 0x10151560
push 0
call fcn.10044e70
add esp, 4
mov ebx, eax
cmp eax, 1
jne 0x100465eb
mov eax, dword [edi + 4]
push 1
push 0
push 0
push dword [eax + 0x10]
call fcn.1003b610
add esp, 0x10
add eax, 0xfffffffc
adc edx, 0xffffffff
mov dword [edi + 0x628], eax
mov dword [edi + 0x62c], edx
mov ecx, edi
mov edx, 0x10152c70
push esi
call fcn.10044e70
add esp, 4
mov ebx, eax
test eax, eax
js 0x1004692a
mov eax, dword [edi + 0x108]
test eax, eax
je 0x10046650
cmp eax, 2
jne 0x1004692a
mov ecx, edi
mov edx, 0x10152ca0
push esi
call fcn.10044e70
add esp, 4
mov ebx, eax
test eax, eax
js 0x100468f4
mov ecx, dword [edi + 0x5e0]
test ecx, ecx
jle 0x100468f4
mov eax, dword [edi + 0x5d8]
or eax, dword [edi + 0x5dc]
je 0x1004669a
mov eax, 0x80000000
xor eax, dword [edi + 0x5d4]
xor edx, edx
or eax, dword [edi + 0x5d0]
sete dl
mov dword [esp + 0x34], edx
jmp 0x100466a2
mov eax, dword [edi + 4]
push dword [eax + 0x10]
call fcn.1003bd20
add esp, 4
test eax, eax
jne 0x10046686
mov eax, dword [edi + 4]
push dword [eax + 0x10]
call fcn.1003be00
add esp, 4
mov eax, dword [edi + 4]
push dword [eax + 0x10]
call fcn.1003bd20
add esp, 4
test eax, eax
je 0x10046942
mov dword [edi + 0x1a8], 1
mov ebx, 0xdfb9b0bb
jmp 0x1004692a
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [edi + 0x600]
mov dword [esp + 0x80], eax
test eax, eax
mov dword [esp + 8], ecx
jle 0x100466c6
mov eax, dword [edi + 0x608]
mov dword [esp + 0x90], eax
jmp 0x100466d1
mov dword [esp + 0x90], 0
mov eax, dword [edi + 0x61c]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x618]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x62c]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x628]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x5fc]
mov dword [esp + 0xa4], eax
pcmpeqd xmm0, xmm0
mov eax, dword [edi + 0x5f8]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 0x5c8]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x5cc]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x624]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x620]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x5f4]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x5f0]
mov dword [esp + 0x84], eax
mov ebx, dword [edi + 0x5e8]
mov eax, dword [edi + 0x5e4]
mov dword [esp + 0x6c], eax
movdqa xmmword [esp + 0x150], xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x164], 0xffffffff
mov dword [esp + 0x160], 0xffffffff
lea eax, [esp + 0x1c8]
push 0x400
push 0xff
push eax
call fcn.10105ec0
add esp, 0xc
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0xa8], 0xffffffff
sub esp, 0x20
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 4], ebx
lea ebx, [esp + 0xd0]
mov dword [esp], ebx
mov dword [esp + 0x1c], 0
call fcn.1003adf0
add esp, 0x20
lea eax, [esp + 0xa8]
mov ecx, edi
mov edx, ebx
push 1
push eax
push 8
call fcn.10046030
add esp, 0xc
mov ebx, eax
test eax, eax
js 0x100468f4
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x18], edi
mov edx, dword [edi + 0x150]
test edx, edx
jle 0x100468d3
add dword [esp + 0x38], ebx
sub dword [esp + 8], ebx
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 0x158]
add edi, 0x19c
nop dword [eax]
mov ebx, dword [edi - 0x19c]
xor ebx, eax
mov esi, dword [edi - 0x198]
xor esi, ecx
or esi, ebx
je 0x1004695b
add edi, 0x5b0
add edx, 0xffffffff
jne 0x100468b0
push ecx
push eax
push str.Invalid_track_number__llu_n
push 0x10
mov eax, dword [esp + 0x28]
push dword [eax + 4]
call fcn.1006fc50
add esp, 0x14
mov ebx, 0xbebbb1b7
mov esi, dword [esp + 0x1c]
mov ecx, 0x10152ec0
mov edx, esi
call fcn.10045ba0
pxor xmm0, xmm0
movdqu xmmword [esi + 0x40], xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov ecx, dword [esp + 0x5c8]
xor ecx, ebp
call fcn.10102288
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.File_extends_beyond_end_of_segment._n
push 0x18
push dword [edi + 4]
call fcn.1006fc50
add esp, 0xc
mov ebx, 0xbebbb1b7
jmp 0x1004692a
mov dword [esp + 0x14], edi
cmp dword [esp + 8], 3
mov esi, dword [esp + 0x1c]
jge 0x10046971
mov ebx, 0xbebbb1b7
jmp 0x100468f4
mov edx, dword [esp + 0x14]
mov edx, dword [edx - 0x14]
test edx, edx
je 0x10046a2a
xor ebx, ebx
mov dword [esp + 0x30], edx
cmp dword [edx + 0x34], 0x2f
jg 0x100468f4
mov dword [esp + 0x40], 0
xor ecx, ecx
add ecx, 0xffffffff
mov edx, 0x80000000
adc edx, 0xffffffff
mov edi, dword [esp + 0x2c]
cmp edi, ecx
mov ebx, dword [esp + 0xc]
mov eax, ebx
sbb eax, edx
cmovb edx, ebx
mov dword [esp + 0x64], edx
cmovb ecx, edi
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x38]
movzx edx, word [eax]
rol dx, 8
movzx eax, byte [eax + 2]
mov dword [esp + 0x2c], eax
shr eax, 7
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffff
cmovne eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x50]
and ecx, dword [esp + 0x10]
movsx eax, dx
mov dword [esp + 0xc], eax
mov dword [esp + 0x60], ecx
cmp ecx, 0xffffffff
je 0x10046a19
test dx, dx
jns 0x10046a49
mov eax, dword [esp + 0xc]
neg eax
mov ecx, eax
sar ecx, 0x1f
cmp dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
sbb eax, ecx
jae 0x10046a49
mov dword [esp + 0x3c], 0x80000000
mov ebx, dword [esp + 0x18]
jmp 0x10046aed
push ecx
push eax
push str.No_stream_associated_to_TrackNumber__llu._Ignoring_Block_with_this_TrackNumber._n
push 0x28
mov eax, dword [esp + 0x28]
push dword [eax + 4]
call fcn.1006fc50
add esp, 0x14
xor ebx, ebx
jmp 0x100468f4
mov word [esp + 4], dx
mov ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
mov eax, dword [esp + 0x50]
add eax, ecx
adc edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub eax, dword [ecx - 0x1c]
mov dword [esp + 0x40], eax
sbb edx, dword [ecx - 0x18]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx - 0x18c]
xor eax, 0x11
or eax, dword [ecx - 0x188]
mov ebx, dword [esp + 0x18]
jne 0x10046ad9
cmp dword [esp + 0x54], 0
je 0x10046ae0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
cmp eax, dword [ecx - 0xc]
mov eax, dword [esp + 0x3c]
sbb eax, dword [ecx - 8]
jb 0x10046ae0
mov edi, ebx
mov ebx, dword [esp + 0x30]
push dword [ebx]
push dword [edi + 4]
call fcn.1002ffd0
add esp, 8
push 1
push 0
push 0
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x60]
push dword [esp + 0x3c]
push ebx
mov ebx, edi
call fcn.10030050
add esp, 0x20
jmp 0x10046ae8
cmp dword [esp + 0x54], 0
jne 0x10046aa3
mov dword [esp + 0x54], 0
movzx edx, word [esp + 4]
cmp dword [ebx + 0x1ac], 0
je 0x10046b55
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0x18c]
xor eax, 0x11
or eax, dword [ecx - 0x188]
je 0x10046b55
mov ecx, ebx
xor ebx, ebx
mov eax, dword [esp + 0x40]
cmp eax, dword [ecx + 0x1b0]
mov eax, dword [esp + 0x3c]
sbb eax, dword [ecx + 0x1b4]
jl 0x100468f4
cmp dword [esp + 0x54], 0
je 0x10046b40
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x1ac], 0
jmp 0x10046b55
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x1bc], 0
mov ebx, dword [esp + 0x18]
je 0x10047ff5
add dword [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
shr eax, 1
and eax, 3
test al, al
je 0x10046c39
mov ebx, 0xbebbb1b7
mov edi, dword [esp + 8]
cmp edi, 4
jl 0x10047fc5
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax]
mov dword [esp + 0x24], ecx
add ecx, 1
mov dword [esp + 0x34], ecx
add eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add edi, 0xfffffffc
mov dword [esp + 8], edi
cmp eax, 3
je 0x10047cf3
cmp eax, 2
je 0x10047e5b
cmp eax, 1
jne 0x10047f9b
mov word [esp + 4], dx
cmp byte [esp + 0x24], 0
je 0x10047fe0
xor eax, eax
xor ecx, ecx
mov dword [esp + ecx*4 + 0x1c8], 0
xor edx, edx
mov edi, dword [esp + 8]
mov dword [esp + 0x2c], ecx
cmp edi, eax
jbe 0x10047fc1
mov ecx, dword [esp + 0x38]
movzx esi, byte [ecx]
add eax, esi
add edx, esi
add ecx, 1
mov dword [esp + 0x38], ecx
add edi, 0xffffffff
mov ecx, dword [esp + 0x2c]
mov dword [esp + ecx*4 + 0x1c8], edx
cmp esi, 0xff
je 0x10046be9
mov dword [esp + 8], edi
add ecx, 1
cmp ecx, dword [esp + 0x24]
jne 0x10046bd4
cmp dword [esp + 8], eax
mov esi, dword [esp + 0x1c]
jae 0x10047fe2
jmp 0x10047fc5
mov eax, dword [esp + 8]
add eax, 0xfffffffd
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax - 0x84]
ucomisd xmm0, qword [0x10150c10]
jne 0x10046c95
jp 0x10046c95
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
cmp dword [eax + 4], 0x15003
jne 0x10046c95
cmp dword [eax + 0x6c], 0x1f40
jne 0x10046cdf
mov ecx, dword [esp + 0x68]
or ecx, dword [esp + 0x64]
jne 0x10046cdf
cmp dword [eax + 0x74], 0
jne 0x10046c9f
jmp 0x10046cdf
mov eax, dword [esp + 0x68]
or eax, dword [esp + 0x64]
jne 0x10046cdf
mov edi, dword [esp + 0x34]
mov eax, edi
mov ecx, dword [esp + 0x14]
mov word [esp + 4], dx
mul dword [ecx - 0x154]
mov ecx, dword [ecx - 0x150]
imul ecx, edi
add edx, ecx
push dword [ebx + 0x124]
push dword [ebx + 0x120]
push edx
push eax
call fcn.101026d0
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
movzx edx, word [esp + 4]
cmp dword [esp + 0x60], 0xffffffff
je 0x10046d34
test dx, dx
jns 0x10046d00
mov ecx, dword [esp + 0xc]
neg ecx
mov eax, ecx
sar eax, 0x1f
cmp dword [esp + 0x50], ecx
sbb dword [esp + 0x10], eax
jb 0x10046d34
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
mov ecx, dword [edi - 8]
mov edx, dword [esp + 0x68]
add edx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
adc esi, dword [esp + 0x3c]
cmp edx, eax
mov ebx, esi
sbb ebx, ecx
cmovb esi, ecx
cmovb edx, eax
mov dword [edi - 0xc], edx
mov dword [edi - 8], esi
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [ebx + 0x1a4]
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x1a0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
add eax, 8
mov dword [esp + 0x9c], eax
xor ecx, ecx
mov edi, ecx
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x64]
imul ecx, edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], edx
mul edx
add edx, ecx
push 0
push dword [esp + 0x38]
push edx
push eax
call fcn.101026d0
mov ebx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x68]
mul edi
mov ecx, dword [esp + 0x64]
imul ecx, edi
add ecx, edx
push 0
push dword [esp + 0x38]
push ecx
push eax
call fcn.101026d0
sub ebx, eax
mov dword [esp + 0x60], ebx
sbb dword [esp + 0x24], edx
mov dword [esp + 8], edi
mov edx, dword [esp + edi*4 + 0x1c8]
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov edi, edx
mov dword [esp + 0x4c], edx
je 0x10046e8f
cmp edx, 0x98967f
ja 0x1004696a
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0x28]
mov ecx, dword [eax + 0x10]
xor ecx, 3
or ecx, dword [eax + 0x14]
jne 0x1004696a
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x20]
test ebx, ebx
je 0x10046e06
test eax, eax
je 0x10047fa4
mov dword [esp + 0x6c], 0
test ebx, ebx
je 0x10046e85
mov dword [esp + 0x10], eax
lea eax, [ebx + edx]
add eax, 0x40
push eax
call sym.ffmpeg.dll_av_malloc
add esp, 4
test eax, eax
je 0x1004805a
mov edi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [ebx + eax]
mov dword [esp + 0xc], ecx
push ebx
push dword [esp + 0x14]
push edi
call fcn.101053c0
add esp, 0xc
mov eax, edi
add eax, ebx
mov ebx, dword [esp + 0x4c]
push ebx
push dword [esp + 0x3c]
push eax
call fcn.101053c0
add esp, 0xc
xorpd xmm0, xmm0
mov eax, dword [esp + 0xc]
movupd xmmword [edi + eax], xmm0
movupd xmmword [edi + eax + 0x10], xmm0
movupd xmmword [edi + eax + 0x20], xmm0
mov dword [esp + 4], edi
movupd xmmword [edi + eax + 0x30], xmm0
mov edi, eax
jmp 0x10046e8f
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov edi, edx
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0x44]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
test ecx, ecx
je 0x10046fda
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], edi
mov edi, dword [eax + 0x70]
mov dword [esp + 0x10], edi
mov edi, dword [edx - 0x60]
mov ecx, dword [edx - 0x5c]
cmp dword [edx - 0x50], 0
lea edx, [esp + 0x180]
je 0x1004707e
imul ecx, edi
mov dword [esp + 8], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
movdqa xmmword [esp + 0x180], xmm0
mov dword [esp + 0x1c4], 0xffffffff
mov dword [esp + 0x1c0], 0xffffffff
mov edi, dword [esp + 0x10]
push edi
push edx
call sym.ffmpeg.dll_av_new_packet
add esp, 8
test eax, eax
js 0x1004734f
mov ecx, dword [esp + 0x198]
mov eax, dword [esp + 8]
cdq
idiv edi
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx - 0x50]
lea esi, [edx - 1]
mov dword [ebx - 0x50], esi
mov esi, ebx
sub eax, edx
imul eax, edi
add eax, dword [ebx - 0x44]
push edi
push eax
push ecx
call fcn.101053c0
add esp, 0xc
movsd xmm0, qword [ebx - 0x4c]
movsd qword [esp + 0x188], xmm0
mov eax, 0x80000000
mov dword [ebx - 0x48], eax
mov dword [ebx - 0x4c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x1a0], eax
push 0
push 0
lea ebx, [esp + 0x188]
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x3c]
call fcn.1000ac00
add esp, 0x14
test eax, eax
mov edx, ebx
js 0x10047356
cmp dword [esi - 0x50], 0
mov esi, dword [esp + 0x1c]
jne 0x10046ed5
xor ebx, ebx
jmp 0x100473f3
cmp dword [eax + 4], 0x17809
mov ebx, dword [esp + 0x18]
jne 0x100470fb
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
movdqa xmmword [esp + 0x180], xmm0
mov dword [esp + 0x1c4], 0xffffffff
mov dword [esp + 0x1c0], 0xffffffff
mov ebx, 0xbebbb1b7
test edi, edi
jle 0x10047c78
mov eax, edi
mov edi, dword [esp + 4]
mov dword [esp + 0xc], eax
lea edx, [edi + eax]
lea ecx, [edi + 1]
cmp edx, ecx
mov eax, ecx
mov dword [esp + 8], edx
cmova eax, edx
mov dword [esp + 4], edi
sub eax, edi
xor edi, edi
movzx edx, byte [ecx - 1]
cmp dl, 0xa
je 0x10047407
cmp dl, 0xd
je 0x10047407
add ecx, 1
add edi, 1
cmp eax, edi
jne 0x10047059
jmp 0x10047c78
mov dword [esp + 8], ecx
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0x54]
test ecx, ecx
jne 0x100470ad
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov dword [eax - 0x4c], edx
mov edx, dword [esp + 0x3c]
mov dword [eax - 0x48], edx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 4]
cmp eax, 0x15029
mov edi, dword [esp + 0x18]
je 0x100473b9
cmp eax, 0x13001
jne 0x100473ce
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 0x64]
mov ebx, dword [esp + 0x28]
mov eax, ebx
mov dword [esp + 0x48], edx
imul eax, edx
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
cmp edx, dword [esp + 0xc]
jle 0x100474c1
push str.Corrupt_int4_RM_style_audio_packet_size_n
jmp 0x100473e1
cmp dword [esp + 8], 0
mov ecx, 0
cmove ecx, dword [esp + 0x54]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x174], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
movdqa xmmword [esp + 0x180], xmm0
mov dword [esp + 0x1c4], 0xffffffff
mov dword [esp + 0x1c0], 0xffffffff
cmp dword [eax + 4], 0x15019
jne 0x1004736d
mov dword [esp + 0x178], 0
mov ebx, 0xbebbb1b7
cmp edi, 0xc
jl 0x10047a7f
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0xc]
movzx eax, word [eax]
mov word [esp + 0x48], ax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
add edi, 0xfffffffc
lea ecx, [eax + 4]
mov dword [esp + 0x10], 0
mov edx, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov eax, ebx
and eax, 0x1800
cmp eax, 0x1800
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ebx
jne 0x100471f0
add ecx, 8
mov dword [esp + 8], ecx
add edx, 0xfffffff8
mov dword [esp + 0x58], edx
mov edi, edx
mov eax, dword [esp + 0xc]
jmp 0x1004721d
mov ebx, 0xbebbb1b7
cmp edx, 0xc
jl 0x10047a6f
mov eax, dword [ecx + 8]
add edx, 0xfffffff4
mov edi, eax
cmp edx, eax
mov eax, dword [esp + 0xc]
jb 0x10047a6f
mov dword [esp + 0x58], edx
add ecx, 0xc
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
add eax, edi
add eax, 0x60
push eax
push ecx
call fcn.100708e0
add esp, 8
test eax, eax
je 0x10047a6a
mov dword [esp + 0x178], eax
mov ebx, dword [esp + 0x20]
mov dword [eax + ebx], 0x6b707677
lea eax, [edi + 0x18]
mov ecx, dword [esp + 0x178]
mov dword [ecx + ebx + 4], eax
mov eax, dword [esp + 0x178]
movzx ecx, word [esp + 0x48]
mov word [eax + ebx + 8], cx
mov eax, dword [esp + 0x178]
mov word [eax + ebx + 0xa], 0
mov eax, dword [esp + 0x178]
mov dword [eax + ebx + 0xc], 0
mov eax, dword [esp + 0x178]
mov dword [eax + ebx + 0x10], 0
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x78]
mov dword [eax + ebx + 0x14], ecx
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x44]
mov dword [eax + ebx + 0x18], ecx
mov eax, dword [esp + 0xc]
lea eax, [edi + eax + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x28]
mov dword [eax + ebx + 0x1c], ecx
mov eax, dword [esp + 0x178]
mov dword [esp + 0x10], eax
lea eax, [eax + ebx + 0x20]
push edi
push dword [esp + 0xc]
push eax
call fcn.101053c0
mov ecx, dword [esp + 0x14]
add esp, 0xc
add ecx, edi
mov edx, dword [esp + 0x58]
sub edx, edi
add ebx, edi
add ebx, 0x20
mov dword [esp + 0x20], ebx
cmp edx, 7
jg 0x100471bf
pxor xmm0, xmm0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
movdqu xmmword [eax + edi + 0x30], xmm0
movdqu xmmword [eax + edi + 0x20], xmm0
movdqu xmmword [eax + edi + 0x10], xmm0
movdqu xmmword [eax + edi], xmm0
cmp dword [esp + 0x6c], 0
jne 0x10047347
lea eax, [esp + 0x174]
push eax
call fcn.100709e0
add esp, 4
mov ebx, dword [esp + 0x18]
xor ecx, ecx
jmp 0x10047375
mov ebx, eax
jmp 0x100473f3
push edx
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov ebx, 0xfffffff4
mov esi, dword [esp + 0x1c]
jmp 0x100473f3
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
cmp dword [eax + 4], 0x93
jne 0x1004747e
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x10]
push dword [eax + 4]
call fcn.1010d8c5
add esp, 4
cmp eax, 0x69637066
jne 0x10047805
mov ebx, edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 8]
jmp 0x10047484
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0xc]
jle 0x1004760b
push str.Corrupt_sipr_RM_style_audio_packet_size_n
jmp 0x100473e1
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0xc]
jle 0x1004762b
push str.Corrupt_generic_RM_style_audio_packet_size_n
push 0x10
push dword [edi + 4]
call fcn.1006fc50
add esp, 0xc
mov ebx, 0xbebbb1b7
cmp dword [esp + 0x6c], 0
jne 0x10047c8c
push dword [esp + 4]
jmp 0x10047c84
lea eax, [ecx - 1]
cmp dl, 0xd
mov edx, eax
cmove edx, ecx
mov eax, dword [esp + 8]
cmp edx, eax
jae 0x10047c78
cmp byte [edx], 0xa
jne 0x10047c78
lea esi, [edx + 1]
mov dword [esp + 0x10], 0xffffffff
mov ecx, esi
cmp esi, eax
jae 0x10047aeb
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], edx
sub eax, edx
mov ecx, dword [esp + 4]
add eax, ecx
add eax, 0xffffffff
mov dword [esp + 0x10], eax
xor edx, edx
xor ecx, ecx
movzx eax, byte [esi + edx]
cmp al, 0xd
je 0x10047acb
cmp al, 0xa
je 0x10047acb
add ecx, 0xffffffff
add edx, 1
mov eax, dword [esp + 0x10]
add eax, ecx
jne 0x10047457
jmp 0x10047c74
mov ebx, edi
mov edi, dword [esp + 0x10]
mov eax, ebx
or eax, dword [esp + 0x80]
je 0x100477fc
lea eax, [esp + 0x180]
push eax
mov dword [esp + 0xc], ecx
call sym.ffmpeg.dll_av_init_packet
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
je 0x10047894
push eax
call fcn.10068390
add esp, 4
jmp 0x100478a7
cmp ebx, 2
mov edx, ebx
jl 0x10047794
mov eax, dword [esp + 0x48]
imul ecx, eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
add edx, ecx
push eax
push dword [esp + 8]
push edx
call fcn.101053c0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov eax, edx
and eax, 0xfffffffe
cmp eax, 2
je 0x10047794
mov esi, edx
shr esi, 0x1f
add esi, edx
sar esi, 1
mov ecx, dword [esp + 8]
add ecx, ecx
mov dword [esp + 0x8c], ecx
add esi, 0xffffffff
mov dword [esp + 0x70], esi
mov ecx, 1
cmp eax, 4
je 0x100475cc
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
lea edi, [ecx + eax]
mov eax, dword [esp + 8]
lea edx, [eax*4]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x48]
add edx, edx
mov dword [esp + 0x74], edx
lea eax, [ecx + eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
and eax, 0xfffffffe
neg eax
mov dword [esp + 0x7c], eax
mov ecx, 1
mov ebx, dword [esp + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0x44]
add eax, edi
mov edi, dword [esp + 0x48]
lea ecx, [ebx + edi]
push edi
push ecx
push eax
call fcn.101053c0
add esp, 0xc
mov eax, dword [esi - 0x44]
mov esi, dword [esp + 0xc]
add eax, esi
add ebx, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x24]
push ebx
push eax
call fcn.101053c0
mov ecx, dword [esp + 0x64]
add esp, 0xc
mov eax, dword [esp + 0x78]
add edi, eax
add esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x7c]
add eax, ecx
add eax, 2
add ecx, 2
cmp eax, 1
jne 0x1004756c
mov ebx, ecx
test byte [esp + 0x70], 1
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
je 0x10047794
mov eax, dword [esp + 0x14]
add ecx, dword [eax - 0x44]
mov eax, dword [esp + 0x8c]
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x48]
imul ebx, eax
add ebx, dword [esp + 4]
push eax
push ebx
push ecx
jmp 0x10047788
imul ecx, eax
mov edx, dword [esp + 0x20]
add edx, ecx
push eax
push dword [esp + 8]
push edx
call fcn.101053c0
add esp, 0xc
mov edx, dword [esp + 0x28]
jmp 0x10047794
mov eax, dword [esp + 0x14]
mov ebx, dword [eax - 0x58]
mov eax, edx
cdq
mov dword [esp + 0xc], ebx
idiv ebx
mov dword [esp + 0x44], eax
test eax, eax
mov edx, dword [esp + 0x28]
jle 0x10047794
lea eax, [edx + 1]
shr eax, 0x1f
add eax, edx
add eax, 1
sar eax, 1
mov ebx, ecx
and ebx, 1
imul ebx, eax
sar ecx, 1
lea eax, [ebx + ecx]
mov dword [esp + 0x7c], eax
imul eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
add edx, eax
push dword [esp + 0xc]
push dword [esp + 8]
push edx
mov edi, ecx
call fcn.101053c0
mov edx, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x44], 1
je 0x10047794
mov ecx, edi
mov edi, dword [esp + 0x44]
lea eax, [edi - 1]
mov dword [esp + 0x70], eax
mov edx, 1
cmp edi, 2
je 0x10047758
mov eax, dword [esp + 0x28]
add ecx, eax
add ecx, ebx
mov edx, dword [esp + 0xc]
imul ecx, edx
lea edi, [eax + eax]
imul edi, edx
mov dword [esp + 0x48], edi
lea edi, [edx + edx]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x7c]
lea eax, [edi + eax*2]
imul eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
and eax, 0xfffffffe
neg eax
mov dword [esp + 0x74], eax
mov edx, 1
mov ebx, dword [esp + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0x44]
add eax, ecx
mov edx, dword [esp + 0xc]
lea ecx, [ebx + edx]
push edx
push ecx
push eax
call fcn.101053c0
add esp, 0xc
mov eax, dword [edi - 0x44]
mov edi, dword [esp + 0x20]
add eax, edi
add ebx, dword [esp + 0x78]
push dword [esp + 0xc]
push ebx
push eax
call fcn.101053c0
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x48]
add ecx, eax
add edi, eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x74]
add eax, edx
add eax, 2
add edx, 2
cmp eax, 1
jne 0x100476f5
mov ebx, edx
test byte [esp + 0x70], 1
mov edx, dword [esp + 0x28]
je 0x10047794
mov eax, ebx
imul eax, edx
mov edx, dword [esp + 0x7c]
add edx, eax
mov ecx, dword [esp + 0xc]
imul edx, ecx
mov eax, dword [esp + 0x14]
add edx, dword [eax - 0x44]
imul ebx, ecx
add ebx, dword [esp + 4]
push ecx
push ebx
push edx
call fcn.101053c0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0x54]
add eax, 1
mov dword [ecx - 0x54], eax
cmp eax, edx
jge 0x100477aa
mov eax, dword [ecx - 0x50]
jmp 0x100477e0
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
mov ebx, 0xbebbb1b7
cmp dword [eax + 4], 0x15029
je 0x100473f3
mov ecx, dword [esp + 0x14]
mov dword [ecx - 0x54], 0
mov eax, dword [esp + 8]
imul eax, edx
cdq
idiv dword [esp + 0x10]
mov dword [ecx - 0x50], eax
test eax, eax
lea edx, [esp + 0x180]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 8]
jne 0x10046ece
jmp 0x10046fd3
xor ebx, ebx
mov eax, ecx
jmp 0x10047abe
lea eax, [edi + 0x48]
push eax
call sym.ffmpeg.dll_av_malloc
add esp, 4
test eax, eax
je 0x10047a9f
mov ecx, edi
mov edi, eax
lea ebx, [ecx + 8]
push ebx
mov dword [esp + 0x10], ecx
call fcn.1010d8c5
add esp, 4
mov dword [edi], eax
push 0x69637066
call fcn.1010d8c5
add esp, 4
mov dword [edi + 4], eax
mov eax, edi
add eax, 8
push dword [esp + 0xc]
push dword [esp + 0x14]
push eax
call fcn.101053c0
add esp, 0xc
pxor xmm0, xmm0
movdqu xmmword [edi + ebx], xmm0
movdqu xmmword [edi + ebx + 0x10], xmm0
movdqu xmmword [edi + ebx + 0x20], xmm0
movdqu xmmword [edi + ebx + 0x30], xmm0
xor ecx, ecx
cmp dword [esp + 8], 0
jne 0x10047484
lea eax, [esp + 0x174]
push eax
call fcn.100709e0
xor ecx, ecx
add esp, 4
jmp 0x10047484
lea eax, [ebx + 0x40]
push 0
push 0
push 0
push eax
push edi
call sym.ffmpeg.dll_av_buffer_create
add esp, 0x14
mov dword [esp + 0x180], eax
test eax, eax
je 0x10047a63
mov dword [esp + 0x198], edi
mov dword [esp + 0x19c], ebx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x1a0], eax
cmp dword [esp + 0x80], 0
jle 0x10047948
push dword [esp + 0x9c]
push 0xf
lea eax, [esp + 0x188]
push eax
call fcn.1000a5d0
add esp, 0xc
test eax, eax
je 0x1004804a
mov ebx, eax
push dword [esp + 0xa0]
call fcn.1010d8c5
add esp, 4
mov edi, eax
push dword [esp + 0xa4]
call fcn.1010d8c5
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx], eax
add ebx, 8
push dword [esp + 0x80]
push dword [esp + 0x94]
push ebx
call fcn.101053c0
add esp, 0xc
mov eax, dword [esp + 0x94]
or eax, dword [esp + 0x98]
lea edx, [esp + 0x180]
je 0x100479c3
push 0xa
push 0xb
push edx
call fcn.1000a5d0
add esp, 0xc
test eax, eax
je 0x1004804a
mov ebx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
push dword [eax + 0x6c]
push 1
push 0x3b9aca00
push 1
push dword [esp + 0xa8]
push dword [esp + 0xa8]
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
mov ecx, eax
neg ecx
mov esi, 0
sbb esi, edx
mov esi, dword [esp + 0x1c]
lea edx, [ebx + 4]
cmovge edx, ebx
cmovl ecx, eax
mov dword [edx], ecx
lea edx, [esp + 0x180]
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 4], 0
setne al
mov ecx, dword [esp + 0x40]
mov dword [esp + eax*8 + 0x188], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + eax*8 + 0x18c], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xb0]
cmp dword [eax + 4], 0x17808
jne 0x10047a41
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c4], eax
push 0
push 0
push edx
push dword [esp + 0x5c]
push dword [esp + 0x3c]
call fcn.1000ac00
add esp, 0x14
test eax, eax
jns 0x10047c94
jmp 0x1004804a
mov ebx, 0xfffffff4
jmp 0x10047aba
mov ebx, 0xfffffff4
lea eax, [esp + 0x178]
push eax
call fcn.100709e0
add esp, 4
push str.Error_parsing_a_wavpack_block._n
push 0x10
mov eax, dword [esp + 0x20]
push dword [eax + 4]
call fcn.1006fc50
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 4]
jmp 0x10047abe
push str.Error_parsing_a_prores_block._n
push 0x10
push dword [ebx + 4]
call fcn.1006fc50
add esp, 0xc
mov ebx, 0xfffffff4
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 8]
test eax, eax
jne 0x10047c8c
jmp 0x10047c83
mov edx, esi
sub edx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
sub edx, ecx
neg ecx
mov dword [esp + 0x10], ecx
add edx, 2
cmp al, 0xd
cmovne edx, dword [esp + 0xc]
mov ecx, edx
cmp ecx, dword [esp + 8]
jae 0x10047c74
cmp byte [ecx], 0xa
jne 0x10047c74
lea edx, [ecx + 1]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], edx
sub eax, edx
test eax, eax
jle 0x10047c74
mov edx, eax
jmp 0x10047b25
lea eax, [edx - 1]
cmp edx, 1
mov edx, eax
jle 0x10047c74
movzx eax, byte [ecx + edx]
cmp al, 0xd
je 0x10047b17
cmp al, 0xa
je 0x10047b17
mov dword [esp + 8], edx
push edx
lea eax, [esp + 0x184]
push eax
call sym.ffmpeg.dll_av_new_packet
add esp, 8
test eax, eax
js 0x10047c5b
push dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0x1a0]
call fcn.101053c0
add esp, 0xc
test edi, edi
jle 0x10047b92
push edi
push 0x10
lea eax, [esp + 0x188]
push eax
call fcn.1000a5d0
add esp, 0xc
test eax, eax
je 0x10047c5f
push edi
push dword [esp + 8]
push eax
call fcn.101053c0
add esp, 0xc
cmp dword [esp + 0x10], 0
jle 0x10047bc5
push dword [esp + 0x10]
push 0x11
lea eax, [esp + 0x188]
push eax
call fcn.1000a5d0
add esp, 0xc
test eax, eax
je 0x10047c5f
push dword [esp + 0x10]
push esi
push eax
call fcn.101053c0
add esp, 0xc
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1b8], eax
push 0
push 0
lea eax, [esp + 0x188]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x3c]
call fcn.1000ac00
add esp, 0x14
xor ebx, ebx
test eax, eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
jns 0x10047c7c
lea eax, [esp + 0x180]
push eax
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov ebx, 0xfffffff4
jmp 0x10047c7c
mov ebx, eax
jmp 0x10047c74
lea eax, [esp + 0x180]
push eax
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov ebx, 0xfffffff4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
cmp dword [esp + 0x6c], 0
jne 0x10047c8c
push edi
call sym.ffmpeg.dll_av_free
add esp, 4
test ebx, ebx
jne 0x100468f4
mov ebx, dword [esp + 0x3c]
mov eax, ebx
mov ecx, 0x80000000
xor eax, ecx
mov edi, dword [esp + 0x40]
or eax, edi
sete byte [esp + 8]
mov eax, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x24]
or ecx, edx
sete cl
add eax, edi
adc edx, ebx
xor ebx, ebx
or cl, byte [esp + 8]
mov ecx, 0x80000000
cmovne edx, ecx
mov ecx, dword [esp + 0x5c]
cmovne eax, ebx
mov edi, dword [esp + 0x4c]
add dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
cmp ecx, dword [esp + 0x34]
jne 0x10046d5b
jmp 0x100468f4
mov word [esp + 4], dx
mov dword [esp + 0x17c], 0xffffffff
mov dword [esp + 0x178], 0xffffffff
push 0
push 4
lea esi, [esp + 0xb8]
push esi
call fcn.1003bc70
add esp, 0xc
lea eax, [esp + 0x178]
mov ecx, dword [esp + 0x18]
mov edx, esi
push 1
push eax
push 8
call fcn.10046030
add esp, 0xc
test eax, eax
js 0x10047fbf
mov esi, eax
mov edx, dword [esp + 0x178]
mov edi, dword [esp + 0x17c]
mov ebx, 0xbebbb1b7
xor eax, eax
mov ecx, 0x7fffffff
mov dword [esp + 0x5c], edx
cmp ecx, edx
mov dword [esp + 0x20], edi
sbb eax, edi
jb 0x10047fc1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c8], eax
cmp byte [esp + 0x24], 2
jb 0x10048010
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x5c]
mov edi, esi
mov esi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x184], 0xffffffff
mov dword [esp + 0x180], 0xffffffff
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xb0]
push 1
lea eax, [esp + 0x184]
push eax
push 8
call fcn.10046030
add esp, 0xc
test eax, eax
js 0x10047fbf
lea ecx, [eax*8]
sub ecx, eax
add cl, 0xff
mov edx, 0xffffffff
shl edx, cl
test cl, 0x20
mov ecx, 0xffffffff
cmovne ecx, edx
mov esi, 0
cmovne edx, esi
mov esi, dword [esp + 0x2c]
add esi, edx
adc ecx, 0
add esi, dword [esp + 0x180]
adc ecx, dword [esp + 0x184]
add esi, 1
adc ecx, 0
mov edx, 0x7fffffff
cmp edx, esi
mov edx, 0
sbb edx, ecx
jb 0x10047fc1
add dword [esp + 0x5c], esi
adc dword [esp + 0x20], ecx
add edi, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + eax*4 + 0x1c8], esi
add eax, 1
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x24], eax
jne 0x10047d98
jmp 0x10048012
mov word [esp + 4], dx
mov eax, dword [esp + 8]
xor edx, edx
div dword [esp + 0x34]
xor ecx, ecx
test edx, edx
jne 0x10047fc5
cmp byte [esp + 0x24], 7
jb 0x10047f77
mov ecx, dword [esp + 0x34]
and ecx, 0xfffffff8
movd xmm0, eax
pshufd xmm0, xmm0, 0
lea esi, [ecx - 8]
mov ebx, esi
shr ebx, 3
add ebx, 1
mov edi, ebx
and edi, 7
xor edx, edx
cmp esi, 0x38
jb 0x10047f4d
and ebx, 0xfffffff8
neg ebx
xor edx, edx
movdqu xmmword [esp + edx*4 + 0x1c8], xmm0
movdqu xmmword [esp + edx*4 + 0x1d8], xmm0
movdqu xmmword [esp + edx*4 + 0x1e8], xmm0
movdqu xmmword [esp + edx*4 + 0x1f8], xmm0
movdqu xmmword [esp + edx*4 + 0x208], xmm0
movdqu xmmword [esp + edx*4 + 0x218], xmm0
movdqu xmmword [esp + edx*4 + 0x228], xmm0
movdqu xmmword [esp + edx*4 + 0x238], xmm0
movdqu xmmword [esp + edx*4 + 0x248], xmm0
movdqu xmmword [esp + edx*4 + 0x258], xmm0
movdqu xmmword [esp + edx*4 + 0x268], xmm0
movdqu xmmword [esp + edx*4 + 0x278], xmm0
movdqu xmmword [esp + edx*4 + 0x288], xmm0
movdqu xmmword [esp + edx*4 + 0x298], xmm0
movdqu xmmword [esp + edx*4 + 0x2a8], xmm0
movdqu xmmword [esp + edx*4 + 0x2b8], xmm0
add edx, 0x40
add ebx, 8
jne 0x10047eb1
test edi, edi
je 0x10047f71
lea edx, [esp + edx*4]
add edx, 0x1d8
shl edi, 5
xor ebx, ebx
movdqu xmmword [edx + ebx - 0x10], xmm0
movdqu xmmword [edx + ebx], xmm0
add ebx, 0x20
cmp edi, ebx
jne 0x10047f5f
cmp dword [esp + 0x34], ecx
je 0x10047f89
mov edx, dword [esp + 0x34]
mov dword [esp + ecx*4 + 0x1c8], eax
add ecx, 1
cmp edx, ecx
jne 0x10047f7b
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
movzx edx, word [esp + 4]
jmp 0x10046c4f
mov ebx, dword [esp + 0x18]
jmp 0x10046c4f
push str.Compression_size_but_no_data_in_headerstrip_n
push 0x10
push 0
call fcn.1006fc50
add esp, 0xc
mov ebx, 0xffffffff
jmp 0x100468f4
mov ebx, eax
mov esi, dword [esp + 0x1c]
push str.Error_parsing_frame_sizes._n
push 0x10
mov eax, dword [esp + 0x20]
push dword [eax + 4]
call fcn.1006fc50
add esp, 0xc
jmp 0x100468f4
xor eax, eax
mov edi, dword [esp + 8]
sub edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x1c8], edi
jmp 0x1004803c
push str.File_is_broken__keyframes_not_correctly_marked__n
push 0x10
push dword [ebx + 4]
mov edi, edx
call fcn.1006fc50
mov edx, edi
add esp, 0xc
jmp 0x10046b34
mov edi, esi
mov ecx, dword [esp + 8]
sub ecx, edi
mov eax, ecx
sar eax, 0x1f
sub ecx, dword [esp + 0x5c]
sbb eax, dword [esp + 0x20]
jb 0x10047fc1
mov edx, edi
add dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x1c8], ecx
mov esi, dword [esp + 0x1c]
movzx edx, word [esp + 4]
mov ebx, dword [esp + 0x18]
jmp 0x10046c4f
lea eax, [esp + 0x180]
push eax
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov ebx, 0xfffffff4
jmp 0x100468f4