Function at 0x41fc30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0x422080
push ebx
and esp, 0xfffffff0
sub esp, 0x760
lea ebx, [esp + 0x148]
call fcn.0041d7b0
mov edi, ebx
mov ecx, 0x2c
mov dword [esp + 0xd0], 0
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xd0]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call fcn.00405640
lea eax, [esp + 0xe4]
mov dword [esp + 4], eax
lea eax, [esp + 0xe0]
mov dword [esp], eax
call fcn.004053a0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x108], 0x3c0
mov dword [esp + 0x104], 0
mov dword [esp + 0xa8], 0
fldz
fstp dword [esp + 0x4c]
fld1
fchs
mov dword [esp + 0x48], 1
fstp dword [esp + 0x60]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4237d2
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.0041eac0
cmp eax, 0xffffffff
je 0x41fec0
cmp eax, 0x3f
je 0x41fe87
nop
jle 0x41fd78
cmp eax, 0x56
je 0x41fd6c
cmp eax, 0x68
jne 0x41fd13
lea esi, [esi]
call fcn.00402690
xor eax, eax
call fcn.00402510
call fcn.004027d0
xor eax, eax
call fcn.00402510
test eax, eax
jne 0x41fd13
mov eax, dword [esp + 0xd0]
shl eax, 4
mov esi, dword [esp + eax + 0x148]
mov dword [esp + 4], str.help
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41fd5c
mov dword [esp + 4], str.quiet
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41fe96
mov dword [esp + 4], str.version
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41fd6c
mov dword [esp + 4], str.version_short
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41fd6c
mov dword [esp + 4], str.no_dither
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41fea3
mov dword [esp + 4], str.force_wav
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41feb0
mov dword [esp + 4], str.rate
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x42142d
mov dword [esp + 4], str.gain
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x42154f
mov dword [esp + 4], str.save_range
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4214ce
mov dword [esp + 4], str.packet_loss
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41fd13
mov eax, dword [0x42c4b0]
mov dword [esp], eax
call sub.msvcrt.dll_atof
fstp dword [esp + 0x60]
jmp 0x41fd13
call fcn.00402690
mov eax, 1
call fcn.00402510
mov dword [esp + 0x6c], 1
jmp 0x41fd13
mov dword [esp + 0x48], 0
jmp 0x41fd13
mov dword [esp + 0xc0], 1
jmp 0x41fd13
mov ecx, eax
mov ebx, dword [0x422710]
mov eax, dword [esp + 0xe0]
sub eax, ebx
lea edx, [eax - 1]
cmp edx, 1
ja 0x41fe87
mov edx, dword [esp + 0xe4]
cmp eax, 2
lea esi, [ebx*4]
mov ebx, dword [edx + ebx*4]
je 0x421446
cmp dword [esp + 0xa8], 0
mov dword [esp + 0xd8], 0
jne 0x41ff13
mov dword [esp + 0xa8], 0xbb80
mov dword [esp + 0x5c], 0x4237cf
mov dword [esp + 4], 0x4233a6
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4213f7
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__fileno]
mov dword [esp + 4], 0x8000
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__setmode]
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10c]
mov dword [esp], eax
call fcn.0041c320
mov dword [esp + 0xb4], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x88], 0
fld1
fstp dword [esp + 0xac]
fldz
mov dword [esp + 0x64], 0
fstp qword [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x10c]
mov dword [esp + 4], 0xc8
mov dword [esp], eax
call fcn.0041c450
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], 0xc8
mov dword [esp + 4], 1
mov dword [esp + 0xc], edi
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [esp + 4], eax
lea eax, [esp + 0x10c]
mov dword [esp], eax
call fcn.0041c4f0
lea eax, [esp + 0xec]
mov dword [esp + 4], eax
lea eax, [esp + 0x10c]
mov dword [esp], eax
call fcn.0041c6c0
cmp eax, 1
jne 0x421288
mov eax, dword [esp + 0x30]
test eax, eax
je 0x420f4f
lea eax, [esp + 0xec]
mov dword [esp], eax
call fcn.0041b790
cmp eax, dword [esp + 0x348]
je 0x4200dc
lea eax, [esp + 0xec]
mov dword [esp], eax
call fcn.0041b790
mov dword [esp + 4], eax
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041cc20
lea eax, [esp + 0xec]
mov dword [esp + 4], eax
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041c720
lea eax, [esp + 0xec]
mov dword [esp], eax
call fcn.0041b710
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
lea esi, [esi]
lea eax, [esp + 0x128]
mov dword [esp + 4], eax
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041ccc0
cmp eax, 1
jne 0x420645
mov eax, dword [esp + 0x130]
test eax, eax
je 0x420611
cmp dword [esp + 0x12c], 7
jle 0x420611
mov eax, dword [esp + 0x128]
mov dword [esp + 8], 8
mov dword [esp + 4], str.OpusHead
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x420611
mov eax, dword [esp + 0x44]
test eax, eax
je 0x420be2
mov edi, dword [esp + 0x88]
test edi, edi
je 0x420be2
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4201a5
mov dword [esp], eax
call sym.opusdec_opus_multistream_decoder_destroy
mov eax, dword [esp + 0x348]
mov dword [esp + 4], str._nWarning:_stream__I64d_ended_without_EOS_and_a_new_stream_began._n
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc0], 0
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edi, edx
or edi, eax
mov eax, dword [esp + 0x348]
je 0x420202
cmp eax, dword [esp + 0xb0]
je 0x421597
add dword [esp + 0x34], 1
mov edx, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x88], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb0], edx
cmp dword [esp + 0xb0], eax
jne 0x42063e
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edi, edx
or edi, eax
je 0x420670
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov eax, ebx
xor eax, 1
or eax, esi
je 0x420990
fldz
xor eax, eax
fld dword [esp + 0x60]
fucompi st(1)
fstp st(0)
jbe 0x4202d1
call sub.msvcrt.dll_rand
mov dword [esp + 0xc4], eax
xor eax, eax
fild dword [esp + 0xc4]
fmul dword [0x423c3c]
fdiv dword [0x423c18]
fld dword [esp + 0x60]
fucompi st(1)
fstp st(0)
seta al
mov edi, dword [esp + 0x134]
test edi, edi
je 0x4202f8
mov edi, dword [esp + 0xb0]
mov edx, 1
cmp dword [esp + 0x348], edi
cmovne edx, dword [esp + 0x58]
mov dword [esp + 0x58], edx
test eax, eax
je 0x4209e4
mov eax, dword [esp + 0x12c]
test eax, eax
jle 0x420980
mov dword [esp + 4], eax
mov eax, dword [esp + 0x128]
mov dword [esp], eax
call sym.opusdec_opus_packet_get_nb_frames
test eax, eax
mov ebx, eax
jle 0x420980
mov eax, dword [esp + 0x128]
mov dword [esp + 4], 0xbb80
mov dword [esp], eax
call sym.opusdec_opus_packet_get_samples_per_frame
mov edx, eax
mov eax, 0x1680
imul edx, ebx
test edx, edx
cmovle edx, eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.opusdec_opus_multistream_decode_float
mov dword [esp + 0x98], eax
mov esi, dword [esp + 0x6c]
test esi, esi
jne 0x4203dd
mov eax, dword [esp + 0xa8]
xor edx, edx
imul eax, dword [esp + 0xd4]
fild qword [esp + 0x70]
mov dword [esp + 0xbc], edx
add eax, eax
mov dword [esp + 0xb8], eax
fild qword [esp + 0xb8]
fdivp st(1)
fld qword [esp + 0x38]
fadd dword [0x423c28]
fxch st(1)
fucomi st(1)
fstp st(1)
jae 0x420aa6
fstp st(0)
mov ebx, dword [esp + 0x98]
test ebx, ebx
js 0x420bb2
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4204ae
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x360]
mov dword [esp + 0x80], eax
test edx, edx
jle 0x42046b
lea esi, [esp + 0xe8]
xor edi, edi
mov ebx, eax
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], esi
add esi, 1
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x1402
mov dword [esp], eax
call sym.opusdec_opus_multistream_decoder_ctl
mov eax, dword [esp + 0xe8]
mov dword [esp + 8], ebx
add ebx, 4
mov dword [esp + 4], 0xfbf
mov dword [esp], eax
call sym.opusdec_opus_decoder_ctl
cmp esi, dword [esp + 0xb4]
jne 0x420422
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00404b90
fldz
mov esi, dword [esp + 0xd4]
fld dword [esp + 0xac]
fucompi st(1)
fstp st(0)
jp 0x4204c6
je 0x4204f4
mov edx, dword [esp + 0x98]
imul edx, esi
test edx, edx
jle 0x4204f4
mov edi, dword [esp + 0x8c]
mov eax, edi
lea edx, [edi + edx*4]
fld dword [esp + 0xac]
add eax, 4
fmul dword [eax - 4]
fstp dword [eax - 4]
cmp eax, edx
jne 0x4204e0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0xa8]
cdq
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, edi
sar ebx, 0x1f
mov ecx, ebx
imul edx, edi
imul ecx, eax
mov dword [esp + 8], 0xbb80
mov dword [esp + 0xc], 0
add ecx, edx
mul edi
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0041ded0
mov edi, dword [esp + 0x48]
sub eax, dword [esp + 0x90]
sbb edx, dword [esp + 0x94]
mov ebx, edx
sar ebx, 0x1f
mov ecx, ebx
not ecx
sar ecx, 0x1f
mov ebx, ecx
and ecx, eax
mov eax, dword [esp + 0x5c]
and ebx, edx
xor edx, edx
cmp byte [eax], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
setne dl
xor eax, eax
test edi, edi
lea edi, [esp + 0xfc]
cmovne eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00402820
mov esi, dword [esp + 0xd4]
add dword [esp + 0x90], eax
mov ebx, esi
adc dword [esp + 0x94], edx
sar ebx, 0x1f
shld edx, eax, 1
mov ecx, ebx
add eax, eax
imul edx, esi
imul ecx, eax
add ecx, edx
mul esi
add edx, ecx
add dword [esp + 0x70], eax
adc dword [esp + 0x74], edx
add dword [esp + 0xa0], 1
adc dword [esp + 0xa4], 0
jmp 0x420110
mov ebx, dword [esp + 0x88]
test ebx, ebx
je 0x420645
mov edi, dword [esp + 0x348]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], edi
cmp dword [esp + 0xb0], eax
je 0x420264
mov dword [esp + 0xb0], eax
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x7c]
test ebx, ebx
setne al
test esi, esi
jne 0x420d4a
test al, al
jne 0x420eeb
mov dword [esp + 0x58], 0
jmp 0x420073
lea eax, [esp + 0x360]
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x80], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x128]
mov dword [esp], eax
call fcn.00401600
test eax, eax
je 0x421045
mov eax, dword [esp + 0x364]
test ebx, ebx
mov edi, dword [esp + 0x374]
lea edx, [esp + 0x380]
mov dword [esp + 0xd4], eax
jne 0x420a83
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x420a30
mov eax, dword [esp + 0x36c]
test eax, eax
mov dword [esp + 0xa8], eax
jne 0x420a30
mov dword [esp + 0xa8], 0xbb80
mov eax, dword [esp + 0x368]
lea esi, [esp + 0xe8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp], 0xbb80
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x37c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x378]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x364]
mov dword [esp + 4], eax
call sym.opusdec_opus_multistream_decoder_create
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xe8]
test eax, eax
jne 0x421077
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x42125b
mov eax, dword [esp + 0x378]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x370]
test eax, eax
jne 0x420795
fldz
fld dword [esp + 0x4c]
fucompi st(1)
fstp st(0)
jp 0x420795
je 0x420809
fnstcw word [esp + 0xca]
fld dword [esp + 0x4c]
fmul dword [0x423c2c]
mov dword [esp + 4], 0xfc2
movzx edx, word [esp + 0xca]
mov dh, 0xc
mov word [esp + 0xc8], dx
fldcw word [esp + 0xc8]
fistp dword [esp + 0xc4]
fldcw word [esp + 0xca]
mov ebx, dword [esp + 0xc4]
add ebx, eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym.opusdec_opus_multistream_decoder_ctl
cmp eax, 0xfffffffb
mov dword [esp + 0xe8], eax
je 0x420f1d
test eax, eax
jne 0x421209
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4208bc
mov edx, dword [esp + 0xd4]
mov ecx, 0x4237cf
mov eax, 0x4237d0
mov dword [esp + 4], str.Decoding_to__d_Hz___d_channel_s_
cmp edx, 2
cmovl eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x360]
cmp eax, 1
je 0x42087f
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.__Header_v_d
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x370]
test eax, eax
jne 0x420d15
fldz
fld dword [esp + 0x4c]
fucompi st(1)
fstp st(0)
jp 0x420cf0
jne 0x420cf0
lea eax, [esp + 0x128]
mov dword [esp + 4], eax
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041ccc0
test eax, eax
jne 0x421565
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
cmp byte [edx + eax - 1], 0xff
je 0x421565
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x420f9d
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x420f7e
cmp dword [esp + 0xa8], 0xbb80
je 0x420939
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x420fec
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4205fc
lea eax, [esp + 0xd4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
lea eax, [esp + 0xd8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00402530
mov dword [esp + 0x78], eax
jmp 0x4205fc
mov edx, 0x1680
jmp 0x420352
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x420c30
lea eax, [esp + 0x128]
mov dword [esp + 4], eax
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041ccc0
test eax, eax
jne 0x4215d1
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
cmp byte [edx + eax - 1], 0xff
je 0x4215d1
mov dword [esp + 0x44], 1
jmp 0x4205fc
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1680
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.opusdec_opus_multistream_decode_float
mov dword [esp + 0x98], eax
jmp 0x42038f
mov ebx, dword [esp + 0xa8]
mov eax, ebx
sub eax, 0x1f40
cmp eax, 0x2cec0
jbe 0x4206ff
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Warning:_Crazy_input_rate__d__decoding_to_48000_instead._n
mov dword [esp + 0xc0], edx
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xa8], 0xbb80
jmp 0x4206ff
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0xc0], edx
call fcn.00401bd0
mov edx, dword [esp + 0xc0]
jmp 0x4206cf
fnstcw word [esp + 0xca]
mov ebx, 0x88888889
mov dword [esp + 4], str._r__c___02d:_02d:_02d
movzx eax, word [esp + 0xca]
mov ah, 0xc
mov word [esp + 0xc8], ax
fldcw word [esp + 0xc8]
fist dword [esp + 0xc4]
fldcw word [esp + 0xca]
mov ecx, dword [esp + 0xc4]
fld st(0)
fdiv dword [0x423c40]
mov eax, ecx
imul ebx
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 5
sub eax, edx
imul eax, eax, 0x3c
sub ecx, eax
mov dword [esp + 0x14], ecx
fldcw word [esp + 0xc8]
fistp dword [esp + 0xc4]
fldcw word [esp + 0xca]
mov ecx, dword [esp + 0xc4]
fld st(0)
mov eax, ecx
imul ebx
fstp qword [esp + 0x80]
fdiv dword [0x423c44]
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 5
sub eax, edx
imul eax, eax, 0x3c
sub ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
and eax, 3
movsx eax, byte [eax + 0x423bfc]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
fldcw word [esp + 0xc8]
fistp dword [esp + 0xc]
fldcw word [esp + 0xca]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov ebx, dword [esp + 0x98]
add dword [esp + 0x40], 1
test ebx, ebx
fld qword [esp + 0x80]
fstp qword [esp + 0x38]
jns 0x4203ec
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.opusdec_opus_strerror
mov dword [esp + 4], str.Decoding_error:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x420645
mov esi, dword [esp + 0x88]
test esi, esi
je 0x4201da
mov eax, dword [esp + 0x348]
mov dword [esp + 4], str._nWarning:_ignoring_opus_stream__I64d_n
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [esp + 0x348]
mov eax, dword [esp + 0xb0]
jmp 0x420250
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x128]
cmp edx, 0xf
jle 0x420cbe
mov dword [esp + 0x98], edx
mov edi, str.OpusTags
mov ecx, 8
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x420cbe
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.Encoded_with
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
movsx eax, byte [ebx + 0xb]
movzx ecx, byte [ebx + 8]
shl eax, 0x18
or eax, ecx
movsx ecx, byte [ebx + 0xa]
shl ecx, 0x10
and ecx, 0xff0000
or eax, ecx
movsx ecx, byte [ebx + 9]
shl ecx, 8
movzx esi, cx
or esi, eax
js 0x420cbe
mov edx, dword [esp + 0x98]
lea eax, [edx - 0xf]
cmp esi, eax
jl 0x42109d
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Invalid_corrupted_comments_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x42099c
mov eax, dword [sym.imp.msvcrt.dll__iob]
fld dword [esp + 0x4c]
fstp qword [esp + 8]
add eax, 0x40
mov dword [esp + 4], str.Manual_gain:__f_dB_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4208bc
mov dword [esp + 0xc4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
fild dword [esp + 0xc4]
fmul dword [0x423c38]
mov dword [esp + 4], str.Playback_gain:__f_dB_n
add eax, 0x40
mov dword [esp], eax
fstp qword [esp + 8]
call sub.msvcrt.dll_fprintf
jmp 0x4208a6
test al, al
je 0x420662
imul eax, dword [esp + 0xd4], 0x64
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00404ae0
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], 0xbb80
mov dword [esp + 0xc], 0
mov ebx, ecx
sar ebx, 0x1f
mov edi, eax
mov eax, dword [esp + 0xa8]
cdq
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0xa8]
sbb edx, ebx
mov ebx, eax
mov eax, dword [esp + 0x9c]
imul ecx, edx
imul eax, ebx
add ecx, eax
mov eax, ebx
mul dword [esp + 0xa8]
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0041ded0
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
nop
cmp edi, 0x64
mov eax, 0x64
mov edx, dword [esp + 0x84]
cmovle eax, edi
mov ebx, eax
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x90]
sbb edx, dword [esp + 0x94]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x88]
cmp byte [eax], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
setne al
movzx eax, al
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], 0
mov dword [esp], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
call fcn.00402820
mov esi, dword [esp + 0xd4]
add dword [esp + 0x90], eax
mov ebx, esi
adc dword [esp + 0x94], edx
sar ebx, 0x1f
shld edx, eax, 1
mov ecx, ebx
add eax, eax
imul edx, esi
imul ecx, eax
add ecx, edx
mul esi
add edx, ecx
add dword [esp + 0x70], eax
adc dword [esp + 0x74], edx
sub edi, dword [esp + 0x98]
test edi, edi
jg 0x420e00
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.0041fb98
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00403fc0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x88], 0
test eax, eax
je 0x420073
mov dword [esp], eax
call sym.opusdec_opus_multistream_decoder_destroy
mov dword [esp + 0xc0], 0
jmp 0x420073
mov dword [esp + 0xc4], ebx
fild dword [esp + 0xc4]
fdiv dword [0x423c30]
fstp qword [esp + 8]
fld dword [0x423c34]
fstp qword [esp]
call fcn.0041ebb0
fstp dword [esp + 0xac]
jmp 0x420809
lea eax, [esp + 0xec]
mov dword [esp], eax
call fcn.0041b790
mov dword [esp + 4], eax
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041b8e0
mov dword [esp + 0x30], 1
jmp 0x4200a2
imul eax, dword [esp + 0xd4], 0x5a00
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0x8c], eax
jmp 0x420920
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], 0x10
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov dword [esp + 4], 0x10
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x104], eax
jmp 0x420911
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], 5
mov dword [esp + 4], 0xbb80
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call fcn.00404a50
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x360]
test eax, eax
jne 0x421232
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00404b10
jmp 0x420939
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x14
mov dword [esp + 4], 1
mov dword [esp], str.Cannot_parse_header_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, 1
call fcn.00402510
mov dword [esp], eax
call sym.opusdec_opus_strerror
mov dword [esp + 4], str.Cannot_create_encoder:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x42106d
mov eax, dword [sym.imp.msvcrt.dll__iob]
add ebx, 0xc
mov dword [esp], ebx
add ebx, esi
mov dword [esp + 8], esi
mov dword [esp + 4], 1
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 0x98], edx
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
movsx eax, byte [ebx + 3]
movzx ecx, byte [ebx]
mov edx, dword [esp + 0x98]
shl eax, 0x18
or eax, ecx
movsx ecx, byte [ebx + 2]
sub edx, esi
lea edi, [edx - 0x10]
shl ecx, 0x10
and ecx, 0xff0000
or eax, ecx
movsx ecx, byte [ebx + 1]
shl ecx, 8
movzx ecx, cx
or eax, ecx
mov edx, eax
mov dword [esp + 0x80], eax
js 0x420cbe
mov eax, edi
sar eax, 2
cmp edx, eax
jg 0x420cbe
test edx, edx
je 0x42099c
xor edx, edx
cmp edi, 3
lea esi, [ebx + 4]
jle 0x420cbe
mov eax, edi
mov edi, edx
mov edx, eax
jmp 0x4211cf
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x420cbe
mov eax, dword [sym.imp.msvcrt.dll__iob]
add edi, 1
mov dword [esp], esi
add esi, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 0x98], edx
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov edx, dword [esp + 0x98]
mov dword [esp], 0xa
add eax, 0x40
sub edx, ebx
mov dword [esp + 4], eax
mov dword [esp + 0x98], edx
call sub.msvcrt.dll_fputc
mov edx, dword [esp + 0x98]
cmp dword [esp + 0x80], edi
je 0x42099c
cmp edx, 3
jle 0x420cbe
movsx ebx, byte [esi + 3]
sub edx, 4
add esi, 4
movzx eax, byte [esi - 4]
shl ebx, 0x18
or ebx, eax
movsx eax, byte [esi - 2]
shl eax, 0x10
and eax, 0xff0000
or ebx, eax
movsx eax, byte [esi - 3]
shl eax, 8
movzx eax, ax
or ebx, eax
cmp ebx, edx
jle 0x421151
jmp 0x420cbe
mov dword [esp], eax
call sym.opusdec_opus_strerror
mov dword [esp + 4], str.Error_setting_gain:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x42106d
mov dword [esp], eax
call fcn.00404b70
mov dword [esp + 4], str.resampler_error:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x421034
mov dword [esp], 0
call sym.opusdec_opus_strerror
mov dword [esp + 4], str.Decoder_initialization_failed:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x42106d
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
je 0x420029
cmp dword [esp + 0x6c], 0
jne 0x4212db
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str._rDecoding_complete._________n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [esp + 0x5c]
cmp byte [eax], 0
je 0x421300
cmp dword [esp + 0x78], 0
je 0x421300
cmp dword [esp + 0xd8], 0
jle 0x421300
cmp dword [esp + 0x74], 0
jle 0x421603
cmp dword [esp + 0x34], 0
jne 0x42132f
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x23
mov dword [esp + 4], 1
mov dword [esp], str.This_doesnt_look_like_a_Opus_file_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x30], 0
je 0x421345
lea eax, [esp + 0x1f8]
mov dword [esp], eax
call fcn.0041b840
lea eax, [esp + 0x10c]
mov dword [esp], eax
call fcn.0041c390
mov eax, dword [esp + 0x5c]
cmp byte [eax], 0
jne 0x421362
call fcn.00402470
mov eax, dword [esp + 0x100]
test eax, eax
je 0x421375
mov dword [esp], eax
call fcn.0041fb98
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x421388
mov dword [esp], eax
call fcn.0041fb98
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42139b
mov dword [esp], eax
call fcn.0041fb98
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4213ab
mov dword [esp], eax
call sub.msvcrt.dll_fclose
cmp dword [esp + 0x28], 0
je 0x4213be
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4213ce
mov dword [esp], eax
call sub.msvcrt.dll_fclose
lea eax, [esp + 0xe4]
mov dword [esp + 4], eax
lea eax, [esp + 0xe0]
mov dword [esp], eax
call fcn.004054d0
call fcn.00405670
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x423878
mov dword [esp], ebx
call fcn.00405530
mov dword [esp + 0x28], 1
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x41ff63
mov dword [esp], ebx
call sub.msvcrt.dll_perror
mov eax, 1
call fcn.00402510
mov eax, dword [0x42c4b0]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [esp + 0xa8], eax
jmp 0x41fd13
mov edi, dword [edx + esi + 4]
xor eax, eax
mov esi, str..wav
mov dword [esp + 0x5c], edi
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x5c]
not ecx
lea eax, [ecx - 5]
not eax
shr eax, 0x1f
mov dword [esp + 0xd8], eax
lea edi, [edi + ecx - 1]
test esi, esi
mov ecx, dword [esp + 0xd8]
je 0x4214bb
test ecx, ecx
je 0x4214bb
add edi, 1
movsx eax, byte [edi - 5]
test al, al
je 0x4214bb
mov dword [esp + 0xb4], ecx
add esi, 1
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_tolower]
movsx edx, byte [esi - 1]
mov ecx, dword [esp + 0xb4]
cmp eax, edx
sete al
movzx eax, al
and eax, ecx
mov dword [esp + 0xd8], eax
jmp 0x421470
or ecx, dword [esp + 0xc0]
mov dword [esp + 0xd8], ecx
jmp 0x41ff1b
mov eax, dword [0x42c4b0]
mov dword [esp + 4], 0x42381f
mov dword [esp], eax
call fcn.00405530
test eax, eax
mov dword [esp + 0x68], eax
jne 0x41fd13
mov eax, dword [0x42c4b0]
mov dword [esp], eax
call sub.msvcrt.dll_perror
mov eax, dword [0x42c4b0]
mov dword [esp + 4], str.Could_not_open_save_range_file:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x23
mov dword [esp + 4], 1
mov dword [esp], str.Must_provide_a_writable_file_name._n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, 1
call fcn.00402510
mov eax, dword [0x42c4b0]
mov dword [esp], eax
call sub.msvcrt.dll_atof
fstp dword [esp + 0x4c]
jmp 0x41fd13
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x36
mov dword [esp + 4], 1
mov dword [esp], str.Extra_packets_on_initial_header_page._Invalid_stream._n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, 1
call fcn.00402510
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], str._nError:_Apparent_chaining_without_changing_serial_number___I64d_I64d_._n
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edx
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, 1
call fcn.00402510
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.Extra_packets_on_initial_tags_page._Invalid_stream._n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, 1
call fcn.00402510
jl 0x421613
cmp dword [esp + 0x70], 0x7ffffffe
ja 0x421300
mov eax, dword [esp + 0x78]
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x42172b
mov eax, dword [esp + 0x70]
lea ebx, [esp + 0x360]
add eax, dword [esp + 0xd8]
mov dword [esp + 8], 1
mov dword [esp + 4], 4
add eax, 0x14
mov dword [esp + 0x360], eax
mov eax, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
sub eax, 1
je 0x4216a0
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1a
mov dword [esp + 4], 1
mov dword [esp], str.Error_writing_end_length._n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0xd8]
mov dword [esp + 8], 1
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x421758
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 1
mov dword [esp + 4], 4
mov dword [esp], ebx
mov dword [esp + 0x360], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
sub eax, 1
je 0x421300
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.Error_writing_header_length._n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x421300
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x41
mov dword [esp + 4], 1
mov dword [esp], str.Cannot_seek_on_wav_file_output__wav_size_chunk_will_be_incorrect_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x421300
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str.First_seek_worked__second_didnt_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x421300