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

Disassembly:
push ebx
push str.._bass.dll
mov dword [esi], vtable.Sexy::BASS_INSTANCE.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], eax
je 0x4ebff6
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 + 0x10], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_Free
push eax
call edi
push str.BASS_Free
push eax
mov dword [esi + 0x18], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_Stop
push ecx
call edi
push str.BASS_Stop
push eax
mov dword [esi + 0x1c], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_Start
push edx
call edi
push str.BASS_Start
push eax
mov dword [esi + 0x20], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_SetGlobalVolumes
push eax
call edi
mov ecx, dword [esi + 4]
push str.BASS_SetVolume
push ecx
mov dword [esi + 0x24], eax
call edi
cmp eax, ebx
mov dword [esi + 0x28], eax
jne 0x4ebb31
cmp dword [esi + 0x24], ebx
jne 0x4ebb31
push 0x10
push str.Error
push str.Neither_BASS_SetGlobalVolumes_or_BASS_SetVolume_found_in_bass.dll
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.005b6b7e
mov edx, dword [esi + 4]
push str.BASS_SetConfig
push edx
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.BASS_GetConfig
push eax
call edi
mov ecx, dword [esi + 4]
push str.BASS_GetVolume
push ecx
mov dword [esi + 0x38], eax
call edi
push str.BASS_GetVolume
push eax
mov dword [esi + 0x2c], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_GetInfo
push edx
call edi
push str.BASS_GetInfo
push eax
mov dword [esi + 0x30], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_GetVersion
push eax
call edi
push str.BASS_GetVersion
push eax
mov dword [esi + 0xc], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelStop
push ecx
call edi
push str.BASS_ChannelStop
push eax
mov dword [esi + 0x3c], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelPlay
push edx
call edi
push str.BASS_ChannelPlay
push eax
mov dword [esi + 0x40], eax
call fcn.004eba00
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 + 0x44], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetAttributes
push ecx
call edi
push str.BASS_ChannelSetAttributes
push eax
mov dword [esi + 0x48], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelGetAttributes
push edx
call edi
push str.BASS_ChannelGetAttributes
push eax
mov dword [esi + 0x4c], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetPosition
push eax
call edi
push str.BASS_ChannelSetPosition
push eax
mov dword [esi + 0x50], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelGetPosition
push ecx
call edi
push str.BASS_ChannelGetPosition
push eax
mov dword [esi + 0x54], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelIsActive
push edx
call edi
push str.BASS_ChannelIsActive
push eax
mov dword [esi + 0x5c], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetFlags
push eax
call edi
push str.BASS_ChannelSetFlags
push eax
mov dword [esi + 0x58], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSlideAttributes
push ecx
call edi
push str.BASS_ChannelSlideAttributes
push eax
mov dword [esi + 0x60], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelIsSliding
push edx
call edi
push str.BASS_ChannelIsSliding
push eax
mov dword [esi + 0x64], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelGetLevel
push eax
call edi
push str.BASS_ChannelGetLevel
push eax
mov dword [esi + 0x68], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetSync
push ecx
call edi
push str.BASS_ChannelSetSync
push eax
mov dword [esi + 0x80], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelRemoveSync
push edx
call edi
push str.BASS_ChannelRemoveSync
push eax
mov dword [esi + 0x84], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelGetData
push eax
call edi
push str.BASS_ChannelGetData
push eax
mov dword [esi + 0x78], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_FXSetParameters
push ecx
call edi
push str.BASS_FXSetParameters
push eax
mov dword [esi + 0x9c], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_FXGetParameters
push edx
call edi
push str.BASS_FXGetParameters
push eax
mov dword [esi + 0xa0], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetFX
push eax
call edi
push str.BASS_ChannelSetFX
push eax
mov dword [esi + 0x6c], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelRemoveFX
push ecx
call edi
push str.BASS_ChannelRemoveFX
push eax
mov dword [esi + 0x70], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_MusicLoad
push edx
call edi
push str.BASS_MusicLoad
push eax
mov dword [esi + 0x88], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_MusicFree
push eax
call edi
push str.BASS_MusicFree
push eax
mov dword [esi + 0x90], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_MusicGetAttribute
push ecx
call edi
push str.BASS_MusicGetAttribute
push eax
mov dword [esi + 0xa4], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_MusicSetAttribute
push edx
call edi
push str.BASS_MusicSetAttribute
push eax
mov dword [esi + 0xa8], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_StreamCreateFile
push eax
call edi
push str.BASS_StreamCreateFile
push eax
mov dword [esi + 0x94], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_StreamFree
push ecx
call edi
push str.BASS_StreamFree
push eax
mov dword [esi + 0x98], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_MusicGetOrders
push edx
call edi
push str.BASS_MusicGetOrders
push eax
mov dword [esi + 0xac], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_MusicGetOrderPosition
push eax
call edi
push str.BASS_MusicGetOrderPosition
push eax
mov dword [esi + 0xb0], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_SampleLoad
push ecx
call edi
push str.BASS_SampleLoad
push eax
mov dword [esi + 0xb8], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_SampleFree
push edx
call edi
push str.BASS_SampleFree
push eax
mov dword [esi + 0xbc], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_SampleSetInfo
push eax
call edi
push str.BASS_SampleSetInfo
push eax
mov dword [esi + 0xc0], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_SampleGetInfo
push ecx
call edi
push str.BASS_SampleGetInfo
push eax
mov dword [esi + 0xc4], eax
call fcn.004eba00
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_SampleGetChannel
push edx
call edi
push str.BASS_SampleGetChannel
push eax
mov dword [esi + 0xc8], eax
call fcn.004eba00
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_SampleStop
push eax
call edi
push str.BASS_SampleStop
push eax
mov dword [esi + 0xcc], eax
call fcn.004eba00
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ErrorGetCode
push ecx
call edi
push str.BASS_ErrorGetCode
push eax
mov dword [esi + 0xd0], eax
call fcn.004eba00
add esp, 8
cmp dword [esi + 0x34], ebx
setne al
cmp al, bl
mov byte [esi + 8], al
je 0x4ebfec
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 4]
push str.BASS_PluginLoad
push ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], ebx
call edi
mov edx, dword [esi + 4]
push str.BASS_ChannelGetLength
push edx
mov dword [esi + 0xb4], eax
call edi
mov dword [esi + 0x74], eax
mov eax, dword [esi + 4]
push str.BASS_ChannelPreBuf
push eax
call edi
pop edi
mov dword [esi + 0x7c], eax
mov eax, esi
pop ebx
ret
mov dword [esi + 0xb4], ebx
mov dword [esi + 0x7c], ebx
pop edi
mov eax, esi
pop ebx
ret