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

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x60]
push ebx
push ebp
push esi
lea ebp, [ecx + 0x60]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], ecx
je 0x4532e3
fld dword [ebp + 4]
fsub dword [ebp + 8]
fabs
fld dword [ebp + 0xc]
fabs
fcompp
fnstsw ax
test ah, 0x41
jne 0x453217
mov eax, dword [ebp + 8]
mov dword [ebp + 4], eax
mov al, byte [ebp + 0x10]
test al, al
mov dword [ebp + 0xc], edi
je 0x453220
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.ImxEx.dll_IMXStreamClose]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ebp], edi
jmp 0x453220
fld dword [ebp + 0xc]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
mov esi, dword [ebp]
cmp esi, edi
mov ebx, dword [sym.imp.ImxEx.dll_IMXChannelSetAttributes]
je 0x453243
fld dword [ebp + 4]
push edi
push 0xffffffffffffff9b
call fcn.004fc6c0
push eax
push esi
call ebx
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp dword [ebp], edi
jne 0x45330c
lea eax, [ecx + 0x74]
mov esi, eax
mov ecx, 5
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 0
mov eax, dword [ebp]
test eax, eax
je 0x45327e
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x71]
test cl, cl
je 0x45327e
push 1
push eax
call dword [sym.imp.ImxEx.dll_IMXStreamPlay]
add esp, 8
fld dword [ebp + 4]
fsub dword [ebp + 8]
fabs
fld dword [ebp + 0xc]
fabs
fcompp
fnstsw ax
test ah, 0x41
jne 0x4532be
mov eax, dword [ebp + 8]
mov dword [ebp + 4], eax
mov al, byte [ebp + 0x10]
test al, al
mov dword [ebp + 0xc], 0
je 0x4532c7
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.ImxEx.dll_IMXStreamClose]
add esp, 4
mov dword [ebp], 0
jmp 0x4532c7
fld dword [ebp + 0xc]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
mov esi, dword [ebp]
test esi, esi
je 0x4532e1
fld dword [ebp + 4]
push 0
push 0xffffffffffffff9b
call fcn.004fc6c0
push eax
push esi
call ebx
add esp, 0x10
xor edi, edi
mov ecx, dword [0x553094]
cmp ecx, edi
jne 0x453392
push 0x1c
call fcn.004fc0e2
add esp, 4
cmp eax, edi
je 0x453389
mov ecx, eax
call fcn.0043c320
jmp 0x45338b
mov al, byte [ecx + 0x85]
test al, al
jne 0x4532e3
fld dword [ecx + 0x78]
fsub dword [ecx + 0x7c]
fabs
fld dword [ecx + 0x80]
fabs
fcompp
fnstsw ax
test ah, 0x41
jne 0x45335b
mov al, byte [ecx + 0x84]
test al, al
mov edx, dword [ecx + 0x7c]
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x80], edi
je 0x453367
mov eax, dword [ecx + 0x74]
push eax
call dword [sym.imp.ImxEx.dll_IMXStreamClose]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x74], edi
jmp 0x453367
fld dword [ecx + 0x80]
fadd dword [ecx + 0x78]
fstp dword [ecx + 0x78]
mov esi, dword [ecx + 0x74]
cmp esi, edi
je 0x4532e3
fld dword [ecx + 0x78]
push edi
push 0xffffffffffffff9b
call fcn.004fc6c0
push eax
push esi
call ebx
add esp, 0x10
jmp 0x4532e3
xor eax, eax
mov dword [0x553094], eax
mov ecx, eax
call fcn.0043c6a0
mov ebp, eax
mov edx, dword [ebp + 4]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 4]
je 0x4535cc
mov bl, byte [esp + 0x13]
mov eax, dword [eax + 8]
sub eax, 0x1a
je 0x4533cc
dec eax
jne 0x4535b9
mov ecx, dword [esp + 0x14]
call fcn.00453150
jmp 0x4535b9
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x27]
push edx
push 0x5312f0
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.00401aa0
lea ecx, [esp + 0x2c]
call fcn.00420d10
sub esp, 0x10
add eax, 4
mov ecx, esp
push eax
call fcn.00403270
call fcn.00489460
mov ecx, dword [esp + 0x44]
add esp, 0x24
cmp ecx, edi
je 0x45344c
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 4
cmp eax, 2
je 0x453499
mov esi, eax
mov eax, dword [0x5530d4]
cmp eax, edi
jne 0x453457
push 0x1c
call fcn.004fc0e2
add esp, 4
cmp eax, edi
je 0x453450
mov ecx, eax
call fcn.0044eab0
jmp 0x453452
xor esi, esi
jmp 0x45342c
xor eax, eax
mov dword [0x5530d4], eax
push esi
push str.MusicStart_message_takes_two_arguments_only:_path_and_switch_type._Got__i.
push 2
push eax
call fcn.0044ef30
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00424340
mov edx, dword [esp + 0x20]
push edx
call fcn.004ef70e
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
jmp 0x4535b9
mov ecx, dword [ecx + 0x14]
cmp ecx, edi
jne 0x4534a5
mov ecx, 0x5153a8
push str.Instant
push ecx
call fcn.005010c0
add esp, 8
test eax, eax
je 0x453507
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
cmp eax, edi
jne 0x4534c7
mov eax, 0x5153a8
push str.ThroughSilence
push eax
call fcn.005010c0
add esp, 8
test eax, eax
jne 0x4534e0
mov eax, 1
jmp 0x453507
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
cmp eax, edi
jne 0x4534f0
mov eax, 0x5153a8
push str.CrossFade
push eax
call fcn.005010c0
add esp, 8
test eax, eax
jne 0x453534
mov eax, 2
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push edx
call fcn.00452e50
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x4535a0
push 0
mov ecx, esi
call fcn.0048e5d0
add esi, 0x10
cmp esi, edi
jne 0x453522
jmp 0x45359c
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
cmp eax, edi
mov esi, 0x5153a8
je 0x453546
mov esi, eax
mov eax, dword [0x5530d4]
cmp eax, edi
jne 0x45356d
push 0x1c
call fcn.004fc0e2
add esp, 4
cmp eax, edi
je 0x453566
mov ecx, eax
call fcn.0044eab0
jmp 0x453568
xor eax, eax
mov dword [0x5530d4], eax
push esi
push str.Unknown_MusicStart_message_argument___s_._You_can_use_Instant__ThroughSilence_or_CrossFade_only.
push 2
push eax
call fcn.0044ef30
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 0x10
cmp esi, eax
mov edi, eax
je 0x4535a0
push 0
mov ecx, esi
call fcn.0048e5d0
add esi, 0x10
cmp esi, edi
jne 0x45358c
mov esi, dword [esp + 0x20]
push esi
call fcn.004ef70e
xor eax, eax
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
xor edi, edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 4]
jne 0x4533af
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret