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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0x80]
lea edx, [eax - 4]
mov eax, 0xffffffea
cmp edx, 0x3c
jbe 0x664e6f
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0057d7d0
mov ebp, eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0057d7d0
lea edx, [eax - 3]
fldz
cmp edx, 1
fldz
ja 0x664c28
cmp ebp, 2
je 0x664c12
cmp ebp, 1
je 0x664c1e
test ebp, ebp
jne 0x664c28
fstp st(1)
fld dword [0x714748]
fxch st(1)
jmp 0x664c28
fstp st(1)
fld dword [0x714740]
fxch st(1)
jmp 0x664c28
fstp st(1)
fld dword [0x714744]
fxch st(1)
cmp eax, 2
sete dl
cmp ebp, 2
jne 0x664c44
test dl, dl
je 0x664c44
test byte [ebx + 0x2b20], 0x1f
fld1
fcmove st(0), st(2)
fstp st(2)
cmp ebp, 1
jne 0x664c57
test dl, dl
je 0x664c5b
fstp st(1)
fld dword [0x71474c]
jmp 0x664c5d
fxch st(1)
jmp 0x664c5d
fxch st(1)
test ebp, ebp
sete cl
test dl, dl
je 0x664c72
test cl, cl
je 0x664c72
fstp st(0)
fld dword [0x714750]
dec eax
jne 0x664c81
test cl, cl
je 0x664c81
fstp st(0)
fld dword [0x714754]
cmp ebp, 2
fmul dword [ebx + 0x88]
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
jne 0x664cbc
mov eax, dword [ebx + 0x2b20]
test eax, eax
je 0x664cbc
mov ecx, 0x20
sub ecx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x18], eax
fimul dword [esp + 0x18]
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fucomi st(1)
fstp st(1)
jp 0x664cd7
jne 0x664cd7
fstp st(0)
mov dword [ebx + 0x80], 0
xor eax, eax
jmp 0x664e6f
mov dword [ebx + 0x9c], 0
fst dword [esp + 0x44]
lea edx, [ebx + 0xf0]
xor eax, eax
mov ecx, 0xa00
mov dword [esp + 0x24], 0
fld dword [esp + 0x44]
mov edi, edx
mov dword [esp + 0x40], ebp
fst dword [ebx + 0x8c]
fstp dword [ebx + 0x94]
fld1
fdivrp st(1)
fstp dword [ebx + 0x98]
rep stosd dword es:[edi], eax
fld1
mov ecx, 0x713e00
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x10]
test eax, eax
mov dword [esp + 0x28], eax
je 0x664e3e
mov eax, dword [ecx]
mov ebp, dword [ebx + 0x2c]
sub ebp, eax
mov dword [esp + 0x18], eax
mov edi, ebp
sar edi, 0x1f
mov edx, edi
mov esi, edi
sar edx, 0x1f
xor ebp, edx
xor esi, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
sub esi, edx
sbb edi, edx
mov eax, esi
imul esi, edi, 0x14
mov edi, 0x14
mul edi
mov edi, eax
mov eax, dword [esp + 0x18]
mov ebp, edx
add ebp, esi
cdq
cmp ebp, edx
jg 0x664e32
jl 0x664d96
cmp edi, dword [esp + 0x18]
ja 0x664e32
mov eax, dword [esp + 0x34]
cmp dword [ecx + 0x14], eax
jne 0x664e32
imul eax, dword [esp + 0x24], 0x18
mov ebp, dword [esp + 0x40]
mov edx, dword [eax + 0x713e08]
xor eax, eax
mov dword [ebx + 0x90], edx
cmp edx, eax
je 0x664dcf
mov esi, dword [esp + 0x28]
fld qword [esi + eax*8]
fstp dword [ebx + eax*4 + 0xa0]
inc eax
jmp 0x664dba
fstp xword [esp + 0x28]
imul eax, dword [esp + 0x24], 0x18
fld xword [0x714760]
fimul dword [eax + 0x713e0c]
fld xword [str._np_n]
fmulp st(1)
fstp qword [esp]
call fcn.005adcf0
fstp qword [esp + 0x18]
mov dword [esp], ebp
call fcn.0057d8d0
fld qword [esp + 0x18]
lea ecx, [eax*8]
mov edx, 1
xor eax, eax
fadd st(0)
shl edx, cl
mov dword [esp + 0x18], edx
fidiv dword [esp + 0x18]
fld xword [esp + 0x28]
fsubrp st(1)
fmul dword [ebx + 0x98]
fstp dword [ebx + 0x98]
jmp 0x664e6f
inc dword [esp + 0x24]
add ecx, 0x18
jmp 0x664d2d
fstp st(0)
cmp dword [esp + 0x34], 0x40
jle 0x664e6d
mov dword [esp + 8], str.Requested_noise_shaping_dither_not_available_at_this_sampling_rate__using_triangular_hp_dither_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.0056b9c0
mov dword [ebx + 0x80], 3
xor eax, eax
jmp 0x664e6f
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret