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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
lea edx, [esi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x34], eax
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4883a5
mov ecx, dword [esi + 4]
cmp dword [edi + 0x58], eax
je 0x48838f
mov eax, dword [esi]
cmp eax, ecx
jne 0x48836b
push eax
push 5
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004636d0
add esp, 0x18
movss xmm0, dword [0x50c520]
xor eax, eax
movss dword [esi + 0x74], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x3c]
push dword [ebp + 0x14]
push ecx
push dword [esp + 0x54]
push dword [ebp + 0x10]
call fcn.0045a300
add esp, 0x28
jmp 0x488356
push ecx
push 5
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00486940
add esp, 0x14
jmp 0x488356
mov eax, dword [esi + 4]
lea ecx, [esi + 0x20]
mov dword [esp + 0x30], eax
xor edx, edx
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
xor eax, eax
lock cmpxchg dword [ecx], edx
mov dword [esp + 0x10], eax
lea ecx, [esi + 0x24]
xor edx, edx
xor eax, eax
lock cmpxchg dword [ecx], edx
mov dword [esp + 0x38], eax
lea ecx, [esi + 0x28]
xor edx, edx
xor eax, eax
lock cmpxchg dword [ecx], edx
mov dword [esp + 0x3c], eax
lea ecx, [esi + 0x38]
xor edx, edx
xor eax, eax
lock cmpxchg dword [ecx], edx
mov dword [esp + 0x6c], eax
lea eax, [edi + 0x54]
push eax
call fcn.00488e10
movq xmm0, qword [edi + 0x48]
lea ecx, [edi + 0x54]
mov eax, dword [edi + 0x50]
add esp, 4
movq qword [esp + 0x88], xmm0
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x48841d
xor eax, eax
xchg dword [ecx], eax
movss xmm0, dword [edi + 0x18]
lea ecx, [esi + 0x10]
movss dword [esp + 0x7c], xmm0
xor edx, edx
xor eax, eax
lock cmpxchg dword [ecx], edx
cmp eax, 1
je 0x488479
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
push edi
push esi
call fcn.00487800
movq xmm0, qword [esp + 0x50]
add esp, 0x10
mov eax, dword [esp + 0x48]
movq qword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
movq qword [esp + 0x58], xmm0
jmp 0x4884d5
lea edi, [esi + 0x50]
push edi
call fcn.00488e10
movq xmm0, qword [esi + 0x44]
add esp, 4
mov ecx, dword [esi + 0x4c]
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x54], ecx
test edi, edi
je 0x4884a2
xor eax, eax
xchg dword [edi], eax
lea edi, [esi + 0x60]
movq qword [esp + 0x40], xmm0
push edi
mov dword [esp + 0x4c], ecx
call fcn.00488e10
movq xmm0, qword [esi + 0x54]
add esp, 4
mov eax, dword [esi + 0x5c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0xc], eax
test edi, edi
je 0x4884d2
xor eax, eax
xchg dword [edi], eax
mov edi, dword [ebp + 0xc]
movss xmm1, dword [esp + 0x44]
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x48850d
sqrtsd xmm0, xmm0
jmp 0x488512
call fcn.004dcf60
xorps xmm4, xmm4
lea edx, [esi + 0xc]
cvtsd2ss xmm4, xmm0
xor ecx, ecx
xor eax, eax
movss dword [esp + 0x50], xmm4
lock cmpxchg dword [edx], ecx
movss xmm6, dword [0x5116f0]
movss xmm0, dword [0x50c520]
cmp eax, 3
ja case.0x488543.0
jmp dword [eax*4 + 0x488dc0]
movss xmm1, dword [esp + 0x10]
movss xmm3, dword [esp + 0x38]
comiss xmm1, xmm3
jae case.0x488543.0
movaps xmm2, xmm4
minss xmm2, xmm3
comiss xmm1, xmm2
jbe 0x48856e
movaps xmm2, xmm1
subss xmm2, xmm1
mulss xmm2, dword [esp + 0x3c]
addss xmm2, xmm1
divss xmm1, xmm2
jmp 0x48861f
movss xmm1, dword [esp + 0x10]
movss xmm3, dword [esp + 0x38]
comiss xmm1, xmm3
jae case.0x488543.0
movaps xmm2, xmm4
minss xmm2, xmm3
comiss xmm1, xmm2
jbe 0x4885a9
movaps xmm2, xmm1
subss xmm2, xmm1
subss xmm3, xmm1
movaps xmm1, xmm0
mulss xmm2, dword [esp + 0x3c]
divss xmm2, xmm3
subss xmm1, xmm2
jmp 0x48861f
movss xmm1, dword [esp + 0x10]
movss xmm2, dword [esp + 0x38]
comiss xmm1, xmm2
jae case.0x488543.0
movaps xmm0, xmm4
minss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x4885e4
movaps xmm0, xmm1
divss xmm0, xmm1
movss xmm1, dword [esp + 0x3c]
xorps xmm1, xmm6
cvtps2pd xmm0, xmm0
cvtss2sd xmm1, xmm1
call fcn.004dbfb0
movss xmm4, dword [esp + 0x50]
xorps xmm1, xmm1
movss xmm6, dword [0x5116f0]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x50c520]
jmp 0x48861f
movaps xmm1, xmm0
comiss xmm4, dword [0x51159c]
movss dword [esp + 0x10], xmm1
jbe 0x4887e5
divss xmm0, xmm4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
movq xmm2, qword [esp + 0x80]
movss xmm5, dword [esp + 0x20]
movq qword [esp + 0x18], xmm2
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x40]
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x20], xmm5
jbe 0x4887ee
xor edx, edx
lea ecx, [esi + 0x2c]
xor eax, eax
lock cmpxchg dword [ecx], edx
mov dword [esp + 0x78], eax
lea ecx, [esi + 0x30]
xor edx, edx
xor eax, eax
lock cmpxchg dword [ecx], edx
mov dword [esp + 0x74], eax
lea ecx, [esi + 0x34]
xor edx, edx
xor eax, eax
lock cmpxchg dword [ecx], edx
sub esp, 0x18
mov dword [esp + 0x88], eax
movss xmm0, dword [esp + 0x88]
mov ecx, esp
xorps xmm2, xmm6
xorps xmm3, xmm6
xorps xmm5, xmm6
unpcklps xmm2, xmm3
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0xc], xmm0
sub esp, 0xc
movq xmm0, qword [esp + 0x7c]
movq qword [ecx], xmm2
movss dword [esp + 0xc4], xmm5
mov eax, dword [esp + 0xc4]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x30]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.00457ae0
fmul dword [esp + 0x34]
add esp, 0x24
movss xmm2, dword [edi + 0xc]
movss xmm0, dword [0x5115f8]
comiss xmm0, xmm2
fstp dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x10], xmm1
jbe 0x4887ee
cmp dword [edi + 8], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0xbf800000
je 0x488782
mov dword [esp + 0x60], 0x3f800000
movss xmm0, dword [edi + 0x14]
sub esp, 0x18
mov eax, dword [esp + 0x38]
mov ecx, esp
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x10], xmm0
movq xmm0, qword [esp + 0x30]
movss dword [esp + 0xc], xmm2
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x7c]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esp + 0x84]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.00457ae0
fmul dword [esp + 0x30]
add esp, 0x24
fstp dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
jmp 0x4887ee
xorps xmm0, xmm0
movss dword [esp + 0x50], xmm0
lea edx, [esi + 0x1c]
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov dword [esp + 0xc], eax
movss xmm0, dword [esp + 0xc]
comiss xmm0, xmm1
jbe 0x48880d
movaps xmm2, xmm1
jmp 0x48881f
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov dword [esp + 0xc], eax
movss xmm2, dword [esp + 0xc]
lea edi, [esi + 0x18]
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0xc], eax
xor ecx, ecx
movss xmm0, dword [esp + 0xc]
xor eax, eax
comiss xmm0, xmm2
jbe 0x48884f
lock cmpxchg dword [edi], ecx
mov edi, eax
mov dword [esp + 0x10], edi
movss xmm1, dword [esp + 0x10]
jmp 0x48887c
lock cmpxchg dword [edx], ecx
mov dword [esp + 0xc], eax
movss xmm0, dword [esp + 0xc]
comiss xmm0, xmm1
ja 0x488878
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov edi, eax
mov dword [esp + 0x10], edi
movss xmm1, dword [esp + 0x10]
jmp 0x48887c
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
xor ecx, ecx
test edx, edx
je 0x488940
cmp edx, 4
jb 0x4888e6
lea eax, [esi + 0x9c]
mov esi, dword [eax]
mov dword [esp + 0xc], eax
lea eax, [edx - 1]
mov dword [esp + 0x38], esi
lea eax, [esi + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
cmp esi, eax
mov esi, dword [ebp + 8]
ja 0x4888ba
cmp dword [esp + 0x3c], eax
jae 0x4888e6
mov eax, edx
and eax, 0xfffffffc
nop
add ecx, 4
cmp ecx, eax
jb 0x4888c0
shr eax, 2
shl eax, 4
shr eax, 2
mov dword [esp + 0xc], ecx
mov ecx, eax
mov eax, edi
mov edi, dword [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
cmp ecx, edx
jae 0x488940
mov eax, edx
sub eax, ecx
cmp eax, 4
jb 0x488928
lea edi, [edx - 3]
mov eax, dword [esi + 0x9c]
movss dword [eax + ecx*4], xmm1
mov eax, dword [esi + 0x9c]
movss dword [eax + ecx*4 + 4], xmm1
mov eax, dword [esi + 0x9c]
movss dword [eax + ecx*4 + 8], xmm1
mov eax, dword [esi + 0x9c]
movss dword [eax + ecx*4 + 0xc], xmm1
add ecx, 4
cmp ecx, edi
jb 0x4888f2
cmp ecx, edx
jae 0x488940
nop dword [eax]
mov eax, dword [esi + 0x9c]
movss dword [eax + ecx*4], xmm1
inc ecx
cmp ecx, edx
jb 0x488930
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x58], 0
je 0x488970
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [ebp + 0x14]
push edx
push dword [esp + 0x54]
push dword [ebp + 0x10]
call fcn.0045a300
add esp, 0x28
jmp 0x488986
push dword [esi + 4]
push 5
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00486940
add esp, 0x14
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4889a9
push 0xc55a
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pChannelMapOut_____void__0_
call fcn.004dbe9a
mov ecx, dword [esp + 0x40]
add esp, 0xc
movss xmm3, dword [esp + 0x50]
xorps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x488aba
movq xmm0, qword [esp + 0x80]
xor edi, edi
movss xmm1, dword [0x50c520]
movq qword [esp + 0x18], xmm0
movaps xmm0, xmm1
divss xmm0, xmm3
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
movss xmm3, dword [esp + 0x40]
movss xmm5, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x20]
mulss xmm3, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
movss dword [esp + 0x28], xmm3
test eax, eax
je 0x488aba
movss xmm7, dword [0x5115b0]
nop dword [eax + eax]
test ecx, ecx
jne 0x488a37
push edi
push eax
push ecx
call fcn.0045c760
add esp, 0xc
mov byte [esp + 0x17], al
mov cl, al
jmp 0x488a3e
mov cl, byte [edi + ecx]
mov byte [esp + 0x17], cl
test cl, cl
je 0x488a81
cmp cl, 1
je 0x488a81
cmp cl, 5
je 0x488a81
mov al, cl
sub al, 0x14
cmp al, 0x1f
jbe 0x488a81
movzx eax, cl
xor edx, edx
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*2]
lea ecx, [eax*8 + 0x627038]
movss xmm0, dword [ecx]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x488b62
inc edx
add ecx, 4
cmp edx, 6
jl 0x488a67
movaps xmm0, xmm1
movss xmm3, dword [esi + 0x78]
addss xmm0, xmm1
mulss xmm0, xmm7
comiss xmm0, xmm3
ja 0x488a99
movaps xmm0, xmm3
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x34]
mulss xmm0, dword [eax + edi*4]
movss dword [eax + edi*4], xmm0
inc edi
mov eax, dword [esp + 0x30]
cmp edi, eax
jb 0x488a20
lea edx, [esi + 0x7c]
test edx, edx
je 0x488c08
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x488bed
xor edi, edi
cmp dword [edx], edi
jbe 0x488b4d
mov esi, eax
nop
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
movss xmm4, dword [esi + edi*4]
movss xmm2, dword [eax + edi*4]
mov eax, dword [edx + 8]
subss xmm2, dword [ecx + edi*4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50c5e0]
mov eax, dword [edx + 4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50c5e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm2, xmm1
addss xmm2, dword [ecx + edi*4]
movss dword [ecx + edi*4], xmm2
mov eax, dword [edx + 0x14]
movss dword [eax + edi*4], xmm4
inc edi
cmp edi, dword [edx]
jb 0x488ae0
mov esi, dword [ebp + 8]
cmp dword [edx + 8], 0xffffffff
jne 0x488be4
mov eax, dword [edx + 4]
mov dword [edx + 8], eax
jmp 0x488bf1
cmp byte [esp + 0x17], 0x34
jb 0x488b79
movss xmm4, dword [0x511650]
movaps xmm3, xmm2
movaps xmm0, xmm2
jmp 0x488bac
mov eax, dword [esp + 0x2c]
lea eax, [eax + eax*2]
movq xmm0, qword [eax*4 + 0x626da0]
mov eax, dword [eax*4 + 0x626da8]
movq qword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x18]
mov dword [esp + 0x20], eax
movss xmm4, dword [esp + 0x20]
xor edx, edx
lea ecx, [esi + 0x3c]
xor eax, eax
lock cmpxchg dword [ecx], edx
mulss xmm3, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mulss xmm0, xmm5
mulss xmm4, xmm6
addss xmm0, xmm3
addss xmm0, xmm4
subss xmm0, xmm1
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
jmp 0x488a84
mov dword [edx + 8], 0
jmp 0x488bf1
test edx, edx
je 0x488c08
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x18]
push eax
push eax
push edx
call fcn.00474210
add esp, 0x14
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x6c]
comiss xmm0, xmm2
jbe 0x488356
lea edi, [esi + 0x50]
push edi
call fcn.00488e10
movq xmm0, qword [esi + 0x44]
add esp, 4
mov eax, dword [esi + 0x4c]
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
test edi, edi
je 0x488c3d
xor eax, eax
xchg dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x34
push edi
call fcn.00488e10
mov eax, dword [ebp + 0xc]
add esp, 4
movq xmm0, qword [eax + 0x28]
mov eax, dword [eax + 0x30]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], eax
test edi, edi
je 0x488c69
xor eax, eax
xchg dword [edi], eax
movss xmm0, dword [esp + 0x18]
lea edi, [esi + 0x70]
subss xmm0, dword [esp + 0x40]
push edi
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0x48]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
call fcn.00488e10
movq xmm0, qword [esi + 0x64]
add esp, 4
mov eax, dword [esi + 0x6c]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], eax
test edi, edi
je 0x488cc5
xor eax, eax
xchg dword [edi], eax
movss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x488cfd
sqrtsd xmm0, xmm0
jmp 0x488d02
call fcn.004dcf60
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
xorps xmm0, xmm0
ucomiss xmm5, xmm0
lahf
test ah, 0x44
jnp 0x488356
movss xmm3, dword [esp + 0xc]
movss xmm1, dword [esp + 0x28]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x88]
movaps xmm2, xmm1
mulss xmm2, dword [esp + 0x8c]
mulss xmm1, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x30]
addss xmm2, xmm0
mulss xmm3, dword [esp + 0x18]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x90]
mulss xmm4, dword [esp + 0x20]
addss xmm1, xmm3
movss xmm3, dword [esp + 0x6c]
addss xmm2, xmm0
addss xmm1, xmm4
movss xmm4, dword [esp + 0x7c]
movaps xmm0, xmm4
divss xmm2, xmm5
divss xmm0, xmm3
divss xmm1, xmm5
comiss xmm0, xmm2
ja 0x488d94
movaps xmm2, xmm0
comiss xmm0, xmm1
ja 0x488d9c
movaps xmm1, xmm0
mulss xmm2, xmm3
movaps xmm0, xmm4
xor eax, eax
mulss xmm1, xmm3
pop edi
subss xmm0, xmm2
subss xmm4, xmm1
divss xmm0, xmm4
movss dword [esi + 0x74], xmm0
pop esi
mov esp, ebp
pop ebp
ret