Function at 0x581120
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov dword [esi], vtable.Sexy::BASS_INSTANCE.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 4], eax
je 0x58139b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BASS_Init
push eax
call edi
push str.BASS_Init
push eax
mov dword [esi + 0xc], eax
call fcn.005810c0
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_Free
push ecx
call edi
push str.BASS_Free
push eax
mov dword [esi + 0x14], eax
call fcn.005810c0
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_Stop
push edx
call edi
push str.BASS_Stop
push eax
mov dword [esi + 0x18], eax
call fcn.005810c0
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_Start
push eax
call edi
push str.BASS_Start
push eax
mov dword [esi + 0x1c], eax
call fcn.005810c0
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_SetGlobalVolumes
push ecx
call edi
mov edx, dword [esi + 4]
push str.BASS_SetVolume
push edx
mov dword [esi + 0x20], eax
call edi
test eax, eax
mov dword [esi + 0x24], eax
jne 0x5811f7
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x5811f7
push 0x10
push str.Error
push str.Neither_BASS_SetGlobalVolumes_or_BASS_SetVolume_found_in_bass.dll
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005e4c65
mov eax, dword [esi + 4]
push str.BASS_SetConfig
push eax
call edi
mov ecx, dword [esi + 4]
push str.BASS_MusicSetAmplify
push ecx
mov dword [esi + 0x2c], eax
call edi
push str.BASS_MusicSetAmplify
push eax
mov dword [esi + 0x28], eax
call fcn.005810c0
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelStop
push edx
call edi
push str.BASS_ChannelStop
push eax
mov dword [esi + 0x30], eax
call fcn.005810c0
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelPause
push eax
call edi
push str.BASS_ChannelPause
push eax
mov dword [esi + 0x34], eax
call fcn.005810c0
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelResume
push ecx
call edi
push str.BASS_ChannelResume
push eax
mov dword [esi + 0x38], eax
call fcn.005810c0
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetAttributes
push edx
call edi
push str.BASS_ChannelSetAttributes
push eax
mov dword [esi + 0x3c], eax
call fcn.005810c0
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelIsActive
push eax
call edi
push str.BASS_ChannelIsActive
push eax
mov dword [esi + 0x44], eax
call fcn.005810c0
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_MusicLoad
push ecx
call edi
push str.BASS_MusicLoad
push eax
mov dword [esi + 0x48], eax
call fcn.005810c0
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_MusicPlay
push edx
call edi
push str.BASS_MusicPlay
push eax
mov dword [esi + 0x50], eax
call fcn.005810c0
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_MusicPlayEx
push eax
call edi
push str.BASS_MusicPlayEx
push eax
mov dword [esi + 0x54], eax
call fcn.005810c0
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_MusicFree
push ecx
call edi
push str.BASS_MusicFree
push eax
mov dword [esi + 0x58], eax
call fcn.005810c0
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_StreamCreateFile
push edx
call edi
push str.BASS_StreamCreateFile
push eax
mov dword [esi + 0x5c], eax
call fcn.005810c0
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_StreamFree
push eax
call edi
push str.BASS_StreamFree
push eax
mov dword [esi + 0x60], eax
call fcn.005810c0
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_StreamPlay
push ecx
call edi
push str.BASS_StreamPlay
push eax
mov dword [esi + 0x64], eax
call fcn.005810c0
mov edx, dword [esi + 0x2c]
add esp, 8
test edx, edx
setne al
test al, al
mov byte [esi + 8], al
pop edi
je 0x58139b
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], 0
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], 0
mov eax, esi
pop esi
pop ebp
ret 4