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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1ec
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], edx
mov edx, eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x74], ecx
add eax, 0x80000000
or eax, dword [edx + 0x28]
je 0x406052
mov ecx, dword [esp + 0x200]
lea edi, [esp + 0xf8]
mov dword [esp + 0x68], edi
test ecx, ecx
je 0x406630
mov esi, dword [esp + 0x200]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x200]
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 8]
lea eax, [ebx - 0x80000000]
or eax, edi
mov eax, dword [esp + 0x70]
je 0x406065
mov esi, dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0xd0]
mov eax, dword [esp + 0x70]
test edx, edx
mov ebp, dword [eax + 0xc]
je 0x406045
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00ad1870
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00ad1870
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov esi, dword [esp + 0x200]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x80000000
mov edx, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x405ddf
mov edi, dword [esp + 0x70]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.00ad1870
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
test ebp, ebp
je 0x406083
mov eax, dword [esp + 0x10c]
test eax, eax
jle 0x406127
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x28]
mov ebx, dword [edi + 0x2c]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ebx
mov esi, dword [esp + 0x200]
cmp dword [esi + 0x14], eax
je 0x405e4c
mov eax, dword [esp + 0x70]
mov edx, dword [esi + 0x18]
cmp dword [eax + 0x44], 1
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Multiple_frames_in_a_packet_from_stream__d_n
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x28
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00acfa00
mov eax, dword [esp + 0x70]
mov dword [eax + 0x44], 1
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0xd0]
cmp eax, 1
je 0x406755
cmp eax, 3
je 0x4068d0
test eax, eax
jne 0x4068c0
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x407829
mov dword [esp], eax
call fcn.00535f40
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0xfc], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], esi
test eax, eax
je 0x406c02
mov esi, dword [esp + 0x70]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov edi, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov edi, eax
sar edi, 0x1f
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call fcn.00ad1870
mov ebx, dword [ebx + 8]
mov esi, eax
test esi, esi
je 0x4075f0
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
add eax, 0x80000000
or edx, eax
je 0x4075f0
mov edx, esi
sar edx, 0x1f
add dword [esp + 0x98], esi
adc dword [esp + 0x9c], edx
lea eax, [esp + 0x1cc]
mov edi, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
call fcn.00537540
test eax, eax
mov dword [esp + 0xa0], eax
js 0x4077ae
mov ebx, dword [0x14d5098]
fldz
fstp dword [esp + 0xa4]
test ebx, ebx
je 0x405fa6
mov eax, dword [esp + 0x80]
fild dword [eax + 0x48]
fstp dword [esp + 0xa4]
mov ecx, dword [esp + 0x1cc]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x80000000
test ecx, ecx
jne 0x406f80
mov esi, dword [esp + 0xa0]
test esi, esi
js 0x40647d
mov ebx, dword [esp + 0x200]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0x80000000
mov dword [esp + 0x100], 0
test ebx, ebx
mov dword [esp + 0x104], 0x80000000
je 0x406f60
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
mov ebp, dword [edx + 0xc]
mov eax, dword [eax + 8]
cmp dword [eax + 0xd0], 1
mov eax, dword [esp + 0xa0]
cmovne eax, dword [esp + 0x10c]
add dword [esp + 0x108], eax
sub dword [esp + 0x10c], eax
jmp 0x405ddf
test ebp, ebp
jne 0x405d48
jmp 0x405d0e
mov ecx, edx
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
jmp 0x405cac
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x80000000
jmp 0x405d80
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
shl eax, 5
add eax, dword [0x14d5038]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x406690
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
mov ecx, dword [edx + 8]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], edi
mov eax, dword [ecx + 0xd0]
test eax, eax
jne 0x4065d7
mov ebx, dword [esp + 0x200]
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x406713
mov ebx, dword [ecx + 0x20]
test ebx, ebx
je 0x406141
mov eax, dword [edx + 0x64]
test eax, eax
je 0x407adb
mov ebp, dword [eax + 0x24]
add ebp, 1
mov eax, 0xf4240
imul ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x6c]
mov edx, ebp
sar edx, 0x1f
imul eax, edx
imul ebx, ebp
add ebx, eax
mov eax, dword [esp + 0x68]
mul ebp
add edx, ebx
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x6c], edx
jmp 0x4065f5
mov ecx, dword [esp + 0x200]
test ecx, ecx
jne 0x406141
mov edx, dword [esp + 0x1cc]
test edx, edx
jne 0x4066f6
mov eax, dword [esp + 0x200]
test eax, eax
je 0x406472
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x406472
mov ebx, dword [esp + 0x84]
xor ebp, ebp
jmp 0x40617a
add ebp, 1
add ebx, 0x228
cmp dword [esp + 0x74], ebp
jle 0x406472
mov eax, dword [esp + 0x70]
mov edx, ebx
call fcn.00401f90
test eax, eax
je 0x406167
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x406167
mov eax, dword [ebx]
mov esi, dword [0x14d5028]
lea eax, [eax + eax*4]
shl eax, 3
add eax, esi
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x68]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1870
mov esi, eax
mov edi, edx
lea eax, [esp + 0x140]
mov dword [esp], eax
call fcn.0053d610
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x406210
mov edx, dword [esp + 0x200]
test byte [edx + 0x1c], 1
jne 0x406210
mov eax, dword [ebx + 0x220]
test eax, eax
je 0x406167
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xd0]
cmp eax, 1
je 0x4065b0
test eax, eax
mov edx, dword [esp + 0x200]
je 0x406523
mov edx, dword [edx + 0x14]
mov dword [esp + 0xa0], edx
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x200]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x200]
mov edx, dword [edx]
mov eax, dword [eax + 4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
add eax, 0x80000000
or eax, edx
je 0x406588
mov eax, dword [esp + 0x70]
mov edx, dword [ecx + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov edx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esp], eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
call fcn.00ad1870
sub eax, esi
sbb edx, edi
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
mov edx, dword [esp + 0x200]
mov ecx, dword [esp + 0x200]
mov edx, dword [edx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x84], edx
mov eax, ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [ebx + 0xc]
add eax, 0x80000000
or eax, edx
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
je 0x406555
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1870
mov ecx, dword [esp + 0x40]
sub eax, esi
mov esi, dword [esp + 0x78]
sbb edx, edi
mov dword [esp + 0x148], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x14c], edx
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov esi, dword [esp + 0x200]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x40], ecx
mov edi, eax
sar edi, 0x1f
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00ad1870
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x1c]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x15c], edx
mov dword [esp + 0x168], eax
mov eax, dword [ecx + 0xd4]
cmp eax, 1
je 0x406490
cmp eax, 0x1c
je 0x406490
cmp eax, 2
je 0x406490
mov esi, dword [esp + 0xa0]
and edx, 1
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x200]
mov eax, dword [esi + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x154]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x150]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x64]
mov dword [esp], eax
call fcn.0053ef70
test eax, eax
je 0x406425
mov dword [esp + 0x16c], fcn.0053d550
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
test byte [edx + 0x28], 0x20
jne 0x4064c2
mov ecx, ebx
add ebp, 1
lea edx, [esp + 0x140]
call fcn.004052c0
mov eax, dword [ebx + 0xc]
lea esi, [esp + 0x140]
add ebx, 0x228
mov eax, dword [eax + 8]
add dword [eax + 0x4c], 1
mov dword [esp], esi
call fcn.0053dc10
cmp dword [esp + 0x74], ebp
jg 0x40617a
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xa0]
add esp, 0x1ec
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x200]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0xa0]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
test byte [edx + 0x28], 0x20
je 0x406438
mov eax, dword [ebx + 0xc]
lea esi, [esp + 0x1ac]
lea edi, [esp + 0x1ac]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 4], eax
call fcn.0053b240
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], 0x20
or dword [esp + 0x15c], 1
mov eax, dword [ecx]
jmp 0x406438
mov eax, dword [edx + 0x14]
mov edx, eax
sar edx, 0x1f
add dword [0x14d50f0], eax
mov eax, dword [esp + 0x200]
adc dword [0x14d50f4], edx
add dword [ebx + 0x20], 1
adc dword [ebx + 0x24], 0
mov eax, dword [eax + 0x14]
mov dword [esp + 0xa0], eax
jmp 0x40623e
mov edx, dword [esp + 0x70]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1870
mov ecx, dword [esp + 0x40]
jmp 0x406343
mov eax, dword [esp + 0x70]
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0x80000000
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
jmp 0x4062cd
mov eax, dword [esp + 0x200]
mov eax, dword [eax + 0x14]
mov edx, eax
sar edx, 0x1f
add dword [0x14d50e0], eax
adc dword [0x14d50e4], edx
mov dword [esp + 0xa0], eax
jmp 0x40623e
cmp eax, 1
jne 0x406141
mov eax, dword [ecx + 0x48]
mov ebx, 0xf4240
imul ebx
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x68]
mov edx, eax
mov ebx, dword [esp + 0x6c]
sar edx, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.01087f40
mov ebx, dword [esp + 0x70]
add eax, esi
adc edx, edi
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
jmp 0x406141
mov dword [esp], edi
call fcn.0053d610
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x98], 0
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x9c], 0x80000000
mov dword [esp + 0x78], 0
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
mov dword [esp + 0x7c], 0x80000000
jmp 0x405e4c
mov dword [esp + 0x10], 0xf4240
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1820
mov ebx, edx
mov esi, eax
call fcn.0047d090
mov edi, dword [esp + 0x70]
sub eax, dword [edi + 0x20]
sbb edx, dword [edi + 0x24]
cmp ebx, edx
jl 0x40609d
jg 0x4066e7
cmp esi, eax
jbe 0x40609d
sub esi, eax
mov dword [esp], esi
call fcn.01088650
jmp 0x40609d
mov edx, dword [esp + 0x70]
test eax, eax
mov ecx, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], ebx
jne 0x405e06
jmp 0x405e4c
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov ecx, dword [edx + 0x38]
mov ebx, dword [edx + 0x3c]
mov edx, eax
sar edx, 0x1f
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
call fcn.00ad1870
mov ecx, dword [esp + 0x70]
add eax, esi
adc edx, edi
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
jmp 0x406141
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call fcn.00ad1d80
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x40785f
mov dword [esp], eax
call fcn.00535f40
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], edi
mov dword [esp], ebx
mov dword [esp + 0xc4], eax
mov esi, dword [esp + 0xc4]
lea eax, [esp + 0x1cc]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call fcn.00537910
test eax, eax
mov dword [esp + 0xa0], eax
js 0x40647d
mov eax, dword [esp + 0x1cc]
test eax, eax
je 0x405fc5
mov eax, dword [esp + 0xc4]
mov edi, dword [eax + 0x3c]
mov esi, dword [eax + 0x38]
lea eax, [edi - 0x80000000]
or eax, esi
je 0x407850
mov edx, dword [esp + 0xc4]
mov ecx, 0xf4240
mov eax, ecx
mov ebp, dword [edx + 0xf0]
imul ebp
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0x8c]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.01087f40
mov ecx, dword [esp + 0x70]
add eax, esi
mov esi, dword [0x10d2018]
adc edx, edi
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
cmp esi, 0x100
je 0x406cc5
mov eax, dword [ebx + 0x40]
mov edi, dword [esp + 0x80]
imul eax, ebp
imul edi, eax
mov eax, dword [esp + 0xc4]
cmp dword [ebx + 0x44], 4
mov ecx, dword [eax]
jbe 0x40764c
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x44]
mov dword [esp], eax
call fcn.00ad1b70
mov dword [esp + 8], str.Audio_volume_adjustment_on_sample_format__s_is_not_supported._n
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
mov dword [esp], 1
call fcn.00403a40
lea esi, [esi]
mov dword [esp + 0xa0], 0xffffffff
jmp 0x40647d
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x1cc]
mov dword [esp + 8], eax
lea eax, [esp + 0x188]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0xc], edi
call fcn.00537bd0
test eax, eax
mov dword [esp + 0xa0], eax
js 0x40647d
mov edi, dword [esp + 0x1cc]
test edi, edi
je 0x405fc5
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
shl eax, 5
add eax, dword [0x14d5038]
mov esi, dword [eax + 0x1c]
test esi, esi
jne 0x407a75
mov ebx, dword [0x14d5034]
test ebx, ebx
jle 0x406f6c
mov dword [esp + 0xa4], 0
mov dword [esp + 0x90], 0
jmp 0x40697a
add dword [esp + 0x90], 1
mov esi, dword [esp + 0x90]
add dword [esp + 0xa4], 0x228
cmp esi, dword [0x14d5034]
jge 0x406f6c
mov ebp, dword [esp + 0xa4]
add ebp, dword [0x14d5030]
mov eax, dword [esp + 0x70]
mov edx, ebp
call fcn.00401f90
test eax, eax
je 0x406954
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x406954
mov eax, dword [ebp]
mov edx, dword [0x14d5028]
mov esi, dword [esp + 0xfc]
mov ebx, dword [esp + 0xf8]
lea eax, [eax + eax*4]
mov edi, dword [esp + 0x70]
lea eax, [edx + eax*8]
mov eax, dword [eax]
mov dword [esp + 0xb8], ebx
add edi, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], eax
mov eax, esi
add eax, 0x80000000
or eax, ebx
mov dword [esp + 0xbc], edi
je 0x408803
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], eax
mov eax, dword [0x14d50f8]
test eax, eax
je 0x40884b
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x80], 0
cmp dword [ebx + 0xd4], 0x17001
sete bl
movzx ebx, bl
add ebx, 1
mov dword [esp + 0xa8], ebx
jmp 0x406a67
mov eax, dword [esp + 0xac]
mov ecx, ebp
lea edx, [esp + 0x140]
call fcn.004052c0
mov ebx, dword [esp + 0xa8]
add dword [esp + 0x80], 1
cmp dword [esp + 0x80], ebx
jge 0x406954
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x14], 0xf4240
mov ebx, dword [esp + 0xb0]
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call fcn.00ad1870
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov dword [esp + 8], 1
mov dword [esp], ebx
mov dword [esp + 0xc], 0x3e8
mov dword [esp + 4], 0
mov esi, eax
mov edi, edx
call fcn.00ad1870
mov dword [esp + 0x18c], 0
mov dword [esp + 8], 0x100000
add eax, esi
adc edx, edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x1a0], eax
mov eax, dword [0x14d50f8]
lea esi, [esp + 0x188]
sub dword [esp + 0x190], ebx
mov dword [esp + 0x1a4], edx
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.005374e0
test eax, eax
mov ebx, eax
js 0x408972
lea eax, [esp + 0x140]
mov dword [esp], eax
call fcn.0053d610
mov eax, dword [ebp + 4]
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], eax
mov eax, dword [0x14d50f8]
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00ad1870
mov esi, dword [esp + 0x88]
cmp dword [esi + 0xd4], 0x17001
mov ecx, eax
mov ebx, edx
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
jne 0x406a36
mov edi, dword [esp + 0x80]
test edi, edi
jne 0x406bf8
imul eax, dword [esp + 0x18c], 0x5a
xor edx, edx
add eax, ecx
adc edx, ebx
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
jmp 0x406a36
imul eax, dword [esp + 0x190], 0x5a
jmp 0x406bdf
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
mov ebx, dword [eax + 8]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x40760b
mov eax, dword [eax + 0x64]
test eax, eax
je 0x408861
mov esi, dword [eax + 0x24]
add esi, 1
mov edi, 0xf4240
mov eax, ecx
imul edi
mov ebp, esi
sar ebp, 0x1f
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x7c]
imul eax, ebp
imul ecx, esi
lea edi, [ecx + eax]
mov eax, dword [esp + 0x78]
mul esi
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x24]
add edx, edi
mov dword [esp + 0x7c], edx
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov edx, eax
sar edx, 0x1f
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
call fcn.01087f40
mov esi, eax
jmp 0x405f17
test edi, edi
je 0x406cc5
xor edx, edx
jmp 0x406c98
mov esi, dword [0x10d2018]
movzx eax, byte [ecx + edx]
add eax, 0xffffff80
imul eax, esi
sub eax, 0xffffff80
sar eax, 8
sub eax, 0xffffff80
test eax, 0xffffff00
mov ebx, eax
je 0x406cbb
neg eax
mov ebx, eax
sar ebx, 0x1f
mov byte [ecx + edx], bl
add edx, 1
cmp edx, edi
jne 0x406c92
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
shl eax, 5
add eax, dword [0x14d5038]
mov edi, dword [eax + 0x1c]
test edi, edi
jne 0x4077c3
mov esi, dword [0x14d5034]
test esi, esi
jle 0x405fc5
mov dword [esp + 0xa4], 0
jmp 0x406d1b
add dword [esp + 0xa4], 1
mov ebx, dword [esp + 0xa4]
cmp ebx, dword [0x14d5034]
jge 0x405fc5
imul esi, dword [esp + 0xa4], 0x228
add esi, dword [0x14d5030]
mov eax, dword [esp + 0x70]
mov edx, esi
call fcn.00401f90
test eax, eax
je 0x406d00
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x406d00
mov eax, dword [esi]
mov edx, dword [0x14d5028]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x80]
mov ebp, dword [eax + 8]
mov eax, dword [ecx + 0x44]
mov dword [esp], eax
call fcn.00ad1d80
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x44]
mov dword [esp], eax
call fcn.00ad1d80
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0xc4]
mov ebx, dword [ebx]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], ebx
mov ebx, dword [ebp + 0x40]
mov eax, ebx
imul eax, dword [edi + 0xf0]
imul eax, dword [esp + 0xb8]
mov dword [esp + 0xb0], eax
mov edx, eax
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb8]
sar edx, 0x1f
mov dword [esp + 0xb4], edx
imul eax, ebx
mov ecx, eax
mov ebx, eax
mov eax, dword [ebp + 0x3c]
sar ebx, 0x1f
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xb4]
add eax, ecx
adc edx, ebx
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.01087f40
mov ebx, eax
mov eax, dword [esp + 0x80]
mov ecx, edx
mov edi, dword [eax + 0x3c]
mov edx, edi
sar edx, 0x1f
mov eax, edx
imul eax, ebx
imul ecx, edi
add ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mul edi
mov dword [esp + 0xc], ebx
add edx, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x94]
add eax, dword [esp + 0x88]
adc edx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.01087f40
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + 0x48]
add eax, 0x1388
adc edx, 0
mov ecx, ebx
sar ecx, 0x1f
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x8c], ecx
mov ecx, eax
mov eax, edx
cmp edx, dword [esp + 0x8c]
mov dword [esp + 0x88], ebx
jg 0x406ee9
jl 0x406ee0
cmp ecx, ebx
jae 0x406ee9
mov eax, dword [esp + 0x8c]
mov ecx, ebx
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0xa8]
imul edi, dword [ebx + 0x40]
mov ebx, eax
mov edx, edi
sar edx, 0x1f
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x8c]
imul ebx, edi
imul eax, ecx
add ebx, eax
mov eax, ecx
mul edi
add edx, ebx
cmp edx, 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
jle 0x407af1
mov dword [esp + 8], str.Buffer_sizes_too_large_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp], 1
call fcn.00403a40
lea esi, [esi]
mov eax, dword [esp + 0x70]
mov ebp, dword [eax + 0xc]
jmp 0x405ddf
lea edi, [esp + 0x188]
mov dword [esp], edi
call fcn.00537cc0
jmp 0x405fc5
call fcn.0053d3d0
mov edx, dword [esp + 0x80]
mov dword [esp + 8], 0x1103044
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00ad5200
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
lea eax, [ebx - 0x80000000]
or eax, ecx
mov eax, dword [esp + 0x70]
je 0x407ae6
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ebx
mov eax, esi
mov edx, esi
sar edx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x70]
adc edx, ebx
mov dword [esp + 0x10c], 0
mov dword [ecx + 0x2c], edx
mov edx, dword [0x14d509c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 4]
test edx, edx
mov ebx, dword [eax + 8]
jne 0x40797e
mov dword [esp + 0xb8], 0
call fcn.0053d3d0
mov esi, dword [esp + 0x80]
mov dword [esp + 8], 0x1103070
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00ad5200
mov edx, dword [0x14d5034]
test edx, edx
mov ebp, eax
jle 0x4070e0
mov edi, dword [esp + 0x80]
xor esi, esi
add edi, 0x10
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x70]
imul ebx, esi, 0x228
mov eax, edi
add ebx, dword [0x14d5030]
mov edx, ebx
call fcn.00401f90
test eax, eax
je 0x4070cf
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4070cf
mov eax, dword [ebp]
test eax, eax
jne 0x40707f
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x134]
mov eax, dword [eax + 0x130]
mov dword [ebp + 4], edx
mov dword [ebp], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [edi + 0x34]
mov dword [ecx + 0x38], eax
mov eax, dword [edi + 0x50]
mov dword [ecx + 0x3c], edx
test eax, eax
je 0x4070a6
cmp dword [ecx + 0x98], 2
je 0x407875
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x1f8]
mov dword [esp], eax
call fcn.0041b270
test eax, eax
js 0x408965
mov edx, dword [0x14d5034]
add esi, 1
cmp esi, edx
jl 0x407043
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx]
shl eax, 5
add eax, dword [0x14d5038]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x40791c
test edx, edx
jle 0x407628
xor ebp, ebp
mov esi, 1
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xa8], 0
jmp 0x40714b
mov eax, dword [ebx + 0x1fc]
xor esi, esi
mov dword [esp], eax
call fcn.00418db0
add dword [esp + 0xa8], 1
mov ebx, dword [esp + 0xa8]
cmp ebx, dword [0x14d5034]
jge 0x407628
imul ebx, dword [esp + 0xa8], 0x228
mov eax, ebp
add ebx, dword [0x14d5030]
mov edx, ebx
call fcn.00401f90
test eax, eax
je 0x407130
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x407130
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x40718a
mov eax, dword [ebx + 0x1f4]
mov dword [esp], eax
call fcn.0041b5c0
mov esi, eax
test esi, esi
je 0x407130
lea eax, [ebx + 0x1fc]
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x1f4]
test eax, eax
je 0x407353
mov edx, dword [eax + 0x14]
mov edx, dword [edx]
mov edi, dword [edx + 0x68]
mov esi, dword [edx + 0x64]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x90], esi
mov dword [esp + 4], edi
call fcn.0041b500
test eax, eax
js 0x407521
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4074f2
mov dword [esp], eax
call fcn.00535f40
mov edi, dword [ebp + 0x18]
mov ecx, 0x48
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], edi
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov eax, dword [ebx + 0x1fc]
test eax, eax
je 0x40726d
mov edi, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0041b6f0
mov esi, dword [ebx + 0x1fc]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1870
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
mov edx, dword [esi + 0x60]
test edx, edx
je 0x4072a7
fld dword [ebx + 0x180]
mov eax, 1
fldz
fucompi st(1)
fstp st(0)
setp cl
cmove eax, ecx
test al, al
jne 0x4072a7
mov eax, dword [ebx + 0xc]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov eax, dword [eax + 8]
mov dword [eax + 0x17c], esi
mov dword [eax + 0x180], edi
mov edi, dword [0x14d5098]
fld dword [esp + 0xa4]
test edi, edi
jne 0x4072d4
fstp st(0)
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
fild dword [eax + 0x1f8]
fstp dword [esp + 0xec]
fld dword [esp + 0xec]
mov eax, dword [ebx]
mov edx, ebx
mov esi, dword [0x14d5028]
mov edi, dword [esp + 0x78]
mov ecx, dword [ebp + 4]
fstp dword [esp + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
lea esi, [esp + 0x1dc]
mov dword [esp + 4], esi
mov dword [esp], edi
mov eax, dword [eax]
call fcn.00405640
mov edx, dword [0x14d504c]
test edx, edx
je 0x407319
mov esi, dword [esp + 0x1dc]
test esi, esi
jne 0x407360
mov eax, dword [ebx + 0x1f4]
test eax, eax
je 0x407120
mov dword [esp], eax
call fcn.0041b5c0
test eax, eax
je 0x407120
mov eax, dword [ebx + 0x1fc]
mov dword [esp], eax
call fcn.00418db0
mov eax, dword [ebx + 0x1f4]
test eax, eax
jne 0x4071a9
mov esi, dword [ebx + 0x1fc]
jmp 0x40726d
mov eax, dword [0x14d5048]
test eax, eax
je 0x4075b9
mov edx, dword [ebx + 0xc]
mov edi, dword [edx + 8]
mov edx, dword [edi + 0xd0]
test edx, edx
jne 0x407319
mov edx, dword [edi + 0x184]
fild dword [edx + 0x48]
fstp dword [esp + 0xec]
fld dword [esp + 0xec]
fdiv dword [0x1105f8c]
fstp qword [esp + 0xc]
mov edx, dword [ebx + 0x14]
mov dword [esp + 4], str.frame__5d_q__2.1f
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_fprintf
test byte [edi + 0xd], 0x80
jne 0x407542
mov eax, dword [0x14d5048]
mov dword [esp + 8], esi
mov dword [esp + 4], str.f_size__6d
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
fild dword [edi + 0x20]
fild dword [edi + 0x24]
fdivp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fild qword [ebx + 0x20]
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fmul st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fld st(0)
fld xword [0x1106030]
fucompi st(1)
jbe 0x407427
fstp st(0)
fstp st(0)
fld qword [0x1106020]
fld st(0)
mov eax, dword [0x14d50f0]
shl esi, 3
mov edx, dword [0x14d50f4]
mov dword [esp + 0xe8], esi
mov dword [esp + 4], str.s_size__8.0fkB_time__0.3f_br__7.1fkbits_s_avg_br__7.1fkbits_s
shld edx, eax, 3
shl eax, 3
mov dword [esp + 0xd8], eax
mov eax, dword [0x14d5048]
mov dword [esp + 0xdc], edx
fild qword [esp + 0xd8]
mov dword [esp], eax
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fdivrp st(1)
fld dword [0x1105fbc]
fdiv st(1), st(0)
fxch st(1)
fstp qword [esp + 0x20]
fild dword [esp + 0xe8]
fdivrp st(3)
fdivp st(2)
fxch st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fild qword [0x14d50f0]
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fld dword [0x1105fc0]
fmulp st(1)
fstp qword [esp + 8]
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 0x184]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
call fcn.00ad5290
mov dword [esp + 4], str.type__c_n
movsx eax, al
mov dword [esp + 8], eax
mov eax, dword [0x14d5048]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x407319
call fcn.00536030
test eax, eax
mov dword [ebp + 0x18], eax
jne 0x4071f0
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00ad0250
mov dword [esp + 0xa0], 0xfffffff4
jmp 0x40647d
mov dword [esp + 8], str.AV_Filter_told_us_it_has_a_frame_available_but_failed_to_output_one_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call fcn.00acfa00
jmp 0x407319
mov eax, dword [edi + 0x184]
fild qword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test eax, eax
js 0x407911
fstp qword [esp + 0xe0]
mov eax, dword [edi + 0x28]
imul eax, dword [edi + 0x2c]
fld qword [esp + 0xe0]
mov dword [esp + 0xe8], eax
fild dword [esp + 0xe8]
fld dword [0x1105fa4]
fmul st(1), st(0)
fmulp st(1)
fdivp st(1)
fstp qword [esp]
call fcn.01088550
mov eax, dword [0x14d5048]
mov dword [esp + 4], str.PSNR__6.2f
mov dword [esp], eax
fld dword [0x1105fa8]
fmulp st(1)
fdiv qword [0x1105fb0]
fstp qword [esp + 8]
call sub.msvcrt.dll_fprintf
jmp 0x4073bf
mov dword [esp + 4], 0x11030f5
mov dword [esp], edx
call sub.msvcrt.dll_fopen
test eax, eax
mov dword [0x14d5048], eax
jne 0x40736d
mov dword [esp], 0x11030f7
call sub.msvcrt.dll_perror
mov dword [esp], 1
call fcn.00403a40
nop
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x80000000
jmp 0x405f4d
xor esi, esi
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x80000000
jmp 0x405f4d
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00ad0250
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x80000000
jmp 0x405fc5
mov eax, dword [ebx + 0x44]
jmp dword [eax*4 + 0x11031b8]
shr edi, 2
test edi, edi
je 0x406cc5
mov dword [esp + 0xe8], esi
xor eax, eax
fild dword [esp + 0xe8]
fstp dword [esp + 0xec]
fld dword [esp + 0xec]
fmul dword [0x1106028]
fstp dword [esp + 0xec]
fld dword [esp + 0xec]
fld st(0)
fmul dword [ecx + eax*4]
fstp dword [ecx + eax*4]
add eax, 1
cmp eax, edi
jne 0x407693
fstp st(0)
jmp 0x406cc5
mov ebp, edi
xor ebx, ebx
shr ebp, 2
mov eax, esi
test ebp, ebp
jne 0x4076c5
jmp 0x406cc5
mov eax, dword [0x10d2018]
imul dword [ecx + ebx*4]
add eax, 0x80
adc edx, 0
mov esi, eax
mov edi, edx
shrd esi, edi, 8
mov dword [esp + 0x90], esi
sar edi, 8
add esi, 0x80000000
mov dword [esp + 0x94], edi
adc edi, 0
mov eax, dword [esp + 0x90]
test edi, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edi
je 0x407715
sar edx, 0x1f
mov eax, edx
xor eax, 0x7fffffff
mov dword [ecx + ebx*4], eax
add ebx, 1
cmp ebx, ebp
jne 0x4076c0
jmp 0x406cc5
mov ebp, edi
xor edx, edx
shr ebp, 1
je 0x406cc5
movsx eax, word [ecx + edx*2]
imul eax, esi
lea ebx, [eax + 0x80]
mov eax, ebx
sar eax, 8
lea edi, [eax + 0x8000]
and edi, 0xffff0000
je 0x407759
mov eax, ebx
sar eax, 0x1f
xor ax, 0x7fff
mov word [ecx + edx*2], ax
add edx, 1
cmp edx, ebp
jne 0x407730
jmp 0x406cc5
shr edi, 3
test edi, edi
je 0x406cc5
mov dword [esp + 0xe8], esi
xor eax, eax
fild dword [esp + 0xe8]
fmul dword [0x1106028]
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fld st(0)
fmul qword [ecx + eax*8]
fstp qword [ecx + eax*8]
add eax, 1
cmp eax, edi
jne 0x407798
fstp st(0)
jmp 0x406cc5
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x80000000
jmp 0x405fc5
mov dword [esp + 0x10], 0xf4240
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1820
mov esi, edx
mov ebx, eax
call fcn.0047d090
mov edi, dword [esp + 0x70]
sub eax, dword [edi + 0x20]
sbb edx, dword [edi + 0x24]
cmp esi, edx
jl 0x406cdf
jg 0x40781a
cmp ebx, eax
jbe 0x406cdf
sub ebx, eax
mov dword [esp], ebx
call fcn.01088650
jmp 0x406cdf
call fcn.00536030
test eax, eax
mov dword [esi + 0x14], eax
jne 0x405e85
mov dword [esp + 0xa0], 0xfffffff4
jmp 0x40647d
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
jmp 0x4067eb
call fcn.00536030
mov esi, dword [esp + 0x70]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x406776
jmp 0x407839
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [esp + 0x88]
mov eax, dword [eax + 8]
mov dword [esp + 0x90], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00419540
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 0x78], eax
mov dword [esp], eax
call fcn.0041b610
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x48], eax
mov eax, dword [ecx]
mov dword [ecx + 0x4c], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 0x48], 0x402440
mov dword [eax + 0x44], edx
add dword [edx + 0x3c], 1
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x1f8]
mov dword [esp], eax
call fcn.0041b230
jmp 0x4070cf
fadd dword [0x1105fa0]
jmp 0x407556
mov dword [esp + 0x10], 0xf4240
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1820
mov esi, edx
mov ebx, eax
call fcn.0047d090
mov edi, dword [esp + 0x70]
sub eax, dword [edi + 0x20]
sbb edx, dword [edi + 0x24]
cmp esi, edx
jle 0x408831
sub ebx, eax
mov dword [esp], ebx
call fcn.01088650
mov edx, dword [0x14d5034]
jmp 0x4070fa
mov eax, dword [ebx + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call fcn.0053b5a0
mov dword [esp], eax
call fcn.00ad00c0
test eax, eax
mov dword [esp + 0xb8], eax
je 0x406ffc
mov eax, dword [ebx + 0x2c]
lea esi, [esp + 0x1ac]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.0053b240
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0053c740
test eax, eax
js 0x40886c
cmp dword [esp + 0x80], esi
je 0x406ffc
mov eax, dword [esp + 0x1ac]
mov esi, dword [esp + 0x80]
mov dword [esi], eax
mov eax, dword [esp + 0x1b0]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1b4]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1b8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1bc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c0]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c4]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c8]
mov dword [esi + 0x1c], eax
jmp 0x406ffc
mov dword [esp + 0x10], 0xf4240
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1820
mov esi, edx
mov ebx, eax
call fcn.0047d090
mov edi, dword [esp + 0x70]
sub eax, dword [edi + 0x20]
sbb edx, dword [edi + 0x24]
cmp esi, edx
jl 0x40692e
jg 0x407acc
cmp ebx, eax
jbe 0x40692e
sub ebx, eax
mov dword [esp], ebx
call fcn.01088650
jmp 0x40692e
mov ebp, dword [ecx + 0x354]
jmp 0x4060eb
mov ecx, dword [eax + 0x28]
mov ebx, dword [eax + 0x2c]
jmp 0x406fbd
jl 0x407b04
cmp dword [esp + 0x88], 0x7fffffff
ja 0x406f35
mov ebx, dword [esp + 0xb4]
lea edi, [esi + 0x194]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xcc], edi
mov dword [esp + 0x94], ebx
lea ebx, [esi + 0x1f0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0xc8], ebx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], 0x14d5054
mov dword [esp], 0x14d5050
mov dword [esp + 8], edx
call fcn.00535690
mov eax, dword [0x14d5050]
test eax, eax
je 0x40894b
mov ecx, dword [esp + 0x80]
mov ebx, dword [ebp + 0x40]
cmp dword [ecx + 0x40], ebx
je 0x408396
mov edx, dword [ebp + 0x44]
mov dword [esi + 0x190], 1
mov ecx, 1
cmp dword [esi + 0x1d8], edx
mov eax, 1
je 0x408377
test ecx, ecx
je 0x407bae
mov edi, dword [esi + 0x1f0]
test edi, edi
je 0x40848c
test eax, eax
je 0x408344
mov dword [esp], edx
call fcn.00ad1b70
mov edx, dword [ebp + 0x3c]
mov ecx, dword [esi + 0x1dc]
mov edi, eax
mov eax, dword [esi + 0x1d8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.00ad1b70
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1e0]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov dword [esp + 8], str.Input_stream__d:_d_frame_changed_from_rate:_d_fmt:_s_ch:_d_to_rate:_d_fmt:_s_ch:_d_n
mov dword [esp + 4], 0x20
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0xc8]
mov dword [esi + 0x1d8], eax
mov eax, dword [ebp + 0x40]
mov dword [esi + 0x1dc], eax
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x1e0], eax
mov dword [esp], ecx
call fcn.00a8de10
mov edx, dword [ebp + 0x44]
cmp dword [0x14d507c], 1
jle 0x408357
mov ecx, dword [esp + 0x80]
mov edi, dword [ecx + 0x3c]
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov ecx, dword [ebp + 0x33c]
mov edx, dword [ebp + 0x338]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x338]
mov edx, dword [ecx + 0x33c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00a8dbf0
mov edi, dword [esi + 0x1d4]
test edi, edi
mov dword [esi + 0x1f0], eax
jne 0x4083c0
mov dword [esp + 0x10], 0
fld dword [esi + 0x1e4]
fstp qword [esp + 8]
mov dword [esp + 4], 0x1102ea1
mov dword [esp], eax
call fcn.00ad3a80
mov eax, dword [esi + 0x1d4]
test eax, eax
jne 0x4083de
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x40]
mov dword [esp + 4], 0x1102eaf
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00ad3a00
test eax, eax
js 0x408958
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], 0x1102eda
mov edi, eax
sar edi, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00ad3a00
test eax, eax
js 0x408924
cmp dword [0x14d507c], 1
jle 0x407dc9
mov dword [esp + 0x10], 0
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x1102900
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00ad3a00
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x40889c
mov dword [esp], eax
call fcn.00a8e0a0
test eax, eax
js 0x40845c
mov ebx, dword [esi + 0x1f0]
test ebx, ebx
je 0x40889c
mov ecx, dword [esi + 0x190]
test ecx, ecx
jne 0x407e14
mov ebx, dword [esp + 0x80]
mov edx, dword [ebp + 0x44]
mov eax, dword [ebx + 0x44]
cmp eax, edx
jne 0x408931
mov ecx, dword [0x14d507c]
mov eax, dword [esi]
mov edx, dword [esi + 0x18]
test ecx, ecx
lea eax, [eax + eax*4]
je 0x408552
mov edi, dword [0x14d5028]
mov ecx, dword [edx + 0x30]
mov ebx, dword [edx + 0x34]
lea eax, [edi + eax*8]
mov edi, dword [esp + 0x80]
sub ecx, dword [eax + 0x18]
sbb ebx, dword [eax + 0x1c]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ebx
fild qword [esp + 0xd8]
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fld dword [0x1105f78]
fdivp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fild dword [edi + 0x3c]
fmulp st(1)
fild qword [esi + 0x20]
fstp qword [esp + 0xe0]
mov eax, dword [esi + 0x1e8]
fld qword [esp + 0xe0]
fsubp st(1)
mov dword [esp], eax
fstp xword [esp + 0x40]
call fcn.00ad5370
mov ebx, dword [esp + 0xa8]
imul ebx, dword [edi + 0x40]
mov edx, eax
sar edx, 0x1f
idiv ebx
mov dword [esp + 0xe8], eax
fild dword [esp + 0xe8]
fld xword [esp + 0x40]
fsubrp st(1)
fstp qword [esp + 0xe0]
mov eax, dword [ebp + 0x3c]
fld qword [esp + 0xe0]
fld st(0)
mov edx, dword [edi + 0x3c]
fabs
mov ecx, dword [ebp + 0x40]
fld dword [0x110602c]
fxch st(1)
fucomi st(1)
fstp st(1)
jbe 0x40808b
mov ebx, dword [esp + 0x70]
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x407f38
fld dword [0x10d2004]
mov dword [esp + 0xe8], edx
fild dword [esp + 0xe8]
fstp dword [esp + 0xec]
fld dword [esp + 0xec]
fmulp st(1)
fxch st(1)
fucompi st(1)
fstp st(0)
ja 0x407f3a
jmp 0x408755
fstp st(0)
mov dword [esp + 0xe8], eax
mov ebx, dword [esp + 0xb8]
fild dword [esp + 0xe8]
mov dword [esp + 0xe8], edx
fnstcw word [esp + 0xd6]
fmulp st(1)
movzx eax, word [esp + 0xd6]
fild dword [esp + 0xe8]
mov ah, 0xc
mov word [esp + 0xd4], ax
fdivp st(1)
fldcw word [esp + 0xd4]
fistp dword [esp + 0xac]
fldcw word [esp + 0xd6]
imul ebx, dword [esp + 0xac]
imul ebx, ecx
test ebx, ebx
js 0x4084e2
mov edi, dword [esp + 0xbc]
mov eax, dword [0x14d5058]
add edi, ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00ad0100
mov edx, ebx
mov ecx, dword [esp + 0x94]
sar edx, 0x1f
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x90]
sub edx, dword [esp + 0xb0]
sbb ecx, dword [esp + 0xb4]
cmp dword [esp + 0x3c], ecx
mov dword [0x14d5058], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
jge 0x4081b0
mov edx, eax
mov eax, dword [esp + 0x70]
cmp dword [ebp + 0x44], 1
mov dword [eax + 0x40], 0
sbb eax, eax
and eax, 0x80
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
add ebx, dword [0x14d5058]
mov dword [esp + 4], ecx
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [0x14d5058]
mov ebx, dword [esp + 0xac]
mov dword [esp + 8], str.adding__d_audio_samples_of_silence_n
mov dword [esp + 4], 0x28
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp + 0xbc], edi
jmp 0x408093
fstp st(0)
fstp st(0)
jmp 0x408093
fstp st(0)
mov eax, dword [esp + 0xbc]
mov edx, eax
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x190]
sar edx, 0x1f
mov dword [esp + 0x94], edx
test eax, eax
jne 0x408605
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + 0x44]
cmp dword [ebp + 0x44], ecx
jne 0x40898c
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx + 0x78]
test byte [eax + 0x22], 1
jne 0x4084be
mov eax, dword [esi + 0x1e8]
mov dword [esp], eax
call fcn.00ad5370
add eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp], eax
call fcn.00ad5390
test eax, eax
js 0x40897f
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x1e8]
mov dword [esp], eax
call fcn.00ad54e0
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0xa8]
imul ebx, dword [edi + 0x48]
imul ebx, dword [edi + 0x40]
mov edi, dword [esp + 0xd0]
jmp 0x408195
mov eax, dword [0x14d5050]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp], eax
call fcn.00ad55a0
mov ecx, dword [0x14d5050]
mov edx, esi
mov eax, edi
mov dword [esp], ebx
call fcn.00405420
mov eax, dword [esi + 0x1e8]
mov dword [esp], eax
call fcn.00ad5370
cmp ebx, eax
jle 0x408160
jmp 0x406d00
jg 0x4081ba
cmp ebx, edx
jbe 0x408002
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
add ecx, dword [esp + 0x38]
adc ebx, dword [esp + 0x3c]
imul eax, dword [ebp + 0x40]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov edx, dword [esp + 0x94]
mov ecx, eax
mov ebx, eax
mov eax, dword [ebp + 0x3c]
sar ebx, 0x1f
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x88], eax
mov edi, eax
mov eax, dword [esp + 0x90]
sar edi, 0x1f
mov dword [esp + 0x8c], edi
add eax, ecx
adc edx, ebx
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.01087f40
mov ebx, eax
mov eax, dword [esp + 0x80]
mov ecx, edx
mov edi, dword [eax + 0x3c]
mov edx, edi
sar edx, 0x1f
mov eax, edx
imul eax, ebx
imul ecx, edi
add ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mul edi
mov dword [esp + 0xc], ebx
add edx, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x3c]
add eax, dword [esp + 0x88]
adc edx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.01087f40
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + 0x48]
add eax, 0x1388
adc edx, 0
mov ecx, ebx
sar ecx, 0x1f
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x8c], ecx
mov ecx, eax
mov eax, edx
cmp edx, dword [esp + 0x8c]
mov dword [esp + 0x88], ebx
jg 0x4082dc
jl 0x4082d3
cmp ecx, ebx
jae 0x4082dc
mov eax, dword [esp + 0x8c]
mov ecx, ebx
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0xa8]
imul edi, dword [ebx + 0x40]
mov ebx, eax
mov edx, edi
sar edx, 0x1f
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x8c]
imul ebx, edi
imul eax, ecx
add ebx, eax
mov eax, ecx
mul edi
add edx, ebx
cmp edx, 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
jl 0x407b3a
jg 0x406f35
cmp dword [esp + 0x88], 0x7fffffff
jbe 0x407b3a
jmp 0x406f35
mov eax, dword [esi + 0x1d4]
test eax, eax
jne 0x407c61
jmp 0x407dfb
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x408442
mov ebx, dword [esp + 0x80]
mov edi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x44]
jmp 0x407c7b
cmp ebx, dword [esi + 0x1dc]
jne 0x407b9c
mov edi, dword [ebp + 0x3c]
xor eax, eax
cmp dword [esi + 0x1e0], edi
setne al
jmp 0x407b9c
mov edx, dword [ebp + 0x44]
cmp dword [ecx + 0x44], edx
jne 0x407b7c
mov eax, dword [ebp + 0x3c]
cmp dword [ecx + 0x3c], eax
jne 0x407b7c
mov ecx, dword [esi + 0x190]
jmp 0x407b8b
mov ebx, dword [esp + 0xcc]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00a8db90
mov eax, dword [esi + 0x1f0]
jmp 0x407cef
mov dword [esp], eax
call fcn.00ad5d70
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0x1102ea7
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00ad3a00
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x1d4]
mov dword [esp + 4], 0x1102eab
mov edx, eax
sar edx, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00ad3a00
jmp 0x407d1f
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x44]
cmp dword [esi + 0x1d8], eax
je 0x4084a0
mov edi, dword [edi + 0x3c]
jmp 0x407c7b
mov dword [esp + 8], str.swr_init___failed_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
mov ecx, dword [esp + 0xc8]
mov dword [esp], ecx
call fcn.00a8de10
jmp 0x407de7
test eax, eax
je 0x407c61
jmp 0x407bb6
mov ebx, dword [edi + 0x40]
cmp dword [esi + 0x1dc], ebx
je 0x408730
mov ecx, dword [esp + 0x80]
mov edi, dword [ecx + 0x3c]
jmp 0x407c7b
mov eax, dword [esp + 0x90]
mov edx, esi
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
call fcn.00405420
jmp 0x406d00
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
mov dword [esp + 8], str.discarding__d_audio_samples_n
mov dword [esp + 4], 0x28
neg eax
cmp ebx, eax
cmovl ebx, eax
mov eax, ebx
imul edi, ecx
neg eax
mov edx, eax
sar edx, 0x1f
add dword [esp + 0xbc], ebx
idiv edi
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
mov edi, dword [esp + 0xbc]
test edi, edi
je 0x406d00
mov eax, dword [esp + 0x70]
sub dword [esp + 0xc0], ebx
mov dword [eax + 0x40], 0
jmp 0x408093
lea ecx, [eax*8]
mov eax, dword [edx + 0x30]
add ecx, dword [0x14d5028]
mov edx, dword [edx + 0x34]
sub eax, dword [ecx + 0x18]
sbb edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
fild qword [esp + 0xd8]
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fld dword [0x1105f78]
fdivp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fild dword [ecx + 0x3c]
fmulp st(1)
fstp dword [esp + 0xec]
fld dword [esp + 0xec]
fistp dword [esp + 0x1d0]
mov eax, dword [esi + 0x1e8]
mov ebx, dword [esp + 0x1d0]
mov dword [esp], eax
call fcn.00ad5370
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0xa8]
imul edi, dword [ecx + 0x40]
mov edx, eax
sar edx, 0x1f
idiv edi
sub ebx, eax
mov ecx, ebx
sar ecx, 0x1f
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ecx
jmp 0x408093
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
imul edi, dword [ebp + 0x40]
mov ecx, dword [esp + 0xc0]
mov edx, eax
mov ebx, dword [0x14d5050]
sar edx, 0x1f
idiv edi
mov dword [esp + 0x1d4], ecx
mov ecx, dword [esp + 0x80]
mov edi, eax
mov eax, dword [esp + 0xa8]
imul eax, dword [ecx + 0x40]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.01087f40
lea edx, [esp + 0x1d4]
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x1d8], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00a8e8b0
mov ecx, dword [esp + 0x80]
mov edi, dword [esi + 0x190]
mov dword [esp + 0xc0], ebx
imul dword [ecx + 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x94]
imul ecx, dword [esp + 0xa8]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x8c]
imul eax, dword [esp + 0x90]
add ecx, eax
mov eax, dword [esp + 0xa8]
mul dword [esp + 0x90]
add edx, ecx
test edi, edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
jne 0x4080ce
jmp 0x4080bb
mov ebx, dword [esp + 0x80]
mov edi, dword [ebx + 0x3c]
cmp dword [esi + 0x1e0], edi
jne 0x407c7b
mov dword [esi + 0x190], 0
jmp 0x407e0c
mov ecx, dword [0x14d507c]
cmp ecx, 1
jle 0x408091
fnstcw word [esp + 0xd6]
mov ebx, ecx
neg ebx
movzx eax, word [esp + 0xd6]
mov ah, 0xc
mov word [esp + 0xd4], ax
fldcw word [esp + 0xd4]
fist dword [esp + 0xe8]
fldcw word [esp + 0xd6]
mov eax, dword [esp + 0xe8]
cmp ebx, eax
jg 0x4087a8
cmp eax, ecx
mov ebx, ecx
cmovle ebx, eax
mov eax, dword [esi + 0x190]
test eax, eax
je 0x4088e9
mov dword [esp + 0x18], edx
fstp qword [esp + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 8], str.compensating_audio_timestamp_drift:_f_compensation:_d_in:_d_n
mov dword [esp + 4], 0x28
mov dword [esp], 0
call fcn.00acfa00
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1f0]
mov dword [esp], eax
call fcn.00a8f4b0
jmp 0x408093
mov dword [esp + 8], str.Subtitle_packets_must_have_a_pts_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00acfa00
mov eax, dword [0x14d5088]
test eax, eax
je 0x406954
jmp 0x406f51
jl 0x407973
cmp ebx, eax
lea esi, [esi]
ja 0x407969
jmp 0x407973
mov dword [esp], 0x100000
call fcn.00ad00c0
mov dword [0x14d50f8], eax
jmp 0x406a08
mov esi, dword [ebx + 0x354]
jmp 0x406c28
mov dword [esp + 8], str.Deinterlacing_failed_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call fcn.00acfa00
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00ad0250
jmp 0x406ff1
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 8], str.Can_not_resample__d_channels____d_Hz_to__d_channels____d_Hz_n
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
mov dword [esp], 1
call fcn.00403a40
fstp st(0)
mov dword [esp + 0x14], 0x4c0
mov dword [esp + 0x10], str._home_kyle_software_ffmpeg_source_ffmpeg_git_ffmpeg.c
mov dword [esp + 0xc], str.ost__audio_resample
mov dword [esp + 8], 0x1102328
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
call sub.msvcrt.dll_abort
mov dword [esp + 8], str.Unsupported_number_of_output_channels_n
jmp 0x406f3d
mov dword [esp + 0x14], 0x49b
mov dword [esp + 0x10], str._home_kyle_software_ffmpeg_source_ffmpeg_git_ffmpeg.c
mov dword [esp + 0xc], str.ost__audio_resample__dec__sample_fmtenc__sample_fmt
jmp 0x408903
mov dword [esp + 8], str.Out_of_memory_in_do_audio_out_n
jmp 0x406f3d
mov dword [esp + 8], str.Unsupported_number_of_input_channels_n
jmp 0x406f3d
mov dword [esp + 8], str.Failed_to_inject_frame_into_filter_network_n
jmp 0x406f3d
mov dword [esp + 8], str.Subtitle_encoding_failed_n
jmp 0x406f3d
mov dword [esp + 8], str.av_fifo_realloc2___failed_n
jmp 0x406f3d
mov dword [esp + 0x14], 0x4d5
mov dword [esp + 0x10], str._home_kyle_software_ffmpeg_source_ffmpeg_git_ffmpeg.c
mov dword [esp + 0xc], str.ost__audio_resample__dec__sample_fmtenc__sample_fmt
jmp 0x408903