Function at 0x4e10c0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x56a584]
test eax, eax
je 0x4e10cf
mov eax, 1
ret
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4e10dd
cmp byte [edi], 0
jne 0x4e10e2
mov edi, str.BASS.DLL
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x56a584], eax
jne 0x4e1105
push edi
push str.Cant_load_sound_module__s_
push eax
call fcn.004d40b0
add esp, 0xc
xor eax, eax
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BASS_GetVersion
push eax
call esi
mov dword [0x56a464], eax
call eax
shr eax, 0x10
cmp eax, 0x203
je 0x4e113a
push edi
push str.Incorrect_sound_module__s_version_
push 0
call fcn.004d40b0
add esp, 0xc
pop esi
xor eax, eax
pop edi
ret
mov eax, dword [0x56a584]
push str.BASS_GetDeviceDescription
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_Init
push ecx
mov dword [0x56a438], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_Free
push edx
mov dword [0x56a4b8], eax
call esi
mov dword [0x56a46c], eax
mov eax, dword [0x56a584]
push str.BASS_Start
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_Pause
push ecx
mov dword [0x56a580], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_Stop
push edx
mov dword [0x56a52c], eax
call esi
mov dword [0x56a4d8], eax
mov eax, dword [0x56a584]
push str.BASS_SetConfig
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_SampleLoad
push ecx
mov dword [0x56a450], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_SampleCreate
push edx
mov dword [0x56a518], eax
call esi
mov dword [0x56a55c], eax
mov eax, dword [0x56a584]
push str.BASS_SampleCreateDone
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_SampleGetInfo
push ecx
mov dword [0x56a48c], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_SampleGetChannel
push edx
mov dword [0x56a45c], eax
call esi
mov dword [0x56a4c0], eax
mov eax, dword [0x56a584]
push str.BASS_SampleFree
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_MusicLoad
push ecx
mov dword [0x56a57c], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_MusicFree
push edx
mov dword [0x56a4b4], eax
call esi
mov dword [0x56a514], eax
mov eax, dword [0x56a584]
push str.BASS_MusicGetOrders
push eax
call esi
mov dword [0x56a558], eax
push str.BASS_MusicGetOrderPosition
mov ecx, dword [0x56a584]
push ecx
call esi
mov edx, dword [0x56a584]
push str.BASS_MusicSetAttribute
push edx
mov dword [0x56a53c], eax
call esi
mov dword [0x56a484], eax
mov eax, dword [0x56a584]
push str.BASS_MusicGetAttribute
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_StreamCreateFile
push ecx
mov dword [0x56a570], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_StreamFree
push edx
mov dword [0x56a4f8], eax
call esi
mov dword [0x56a404], eax
mov eax, dword [0x56a584]
push str.BASS_ChannelGetInfo
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_ChannelGetAttributes
push ecx
mov dword [0x56a568], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_ChannelSetAttributes
push edx
mov dword [0x56a538], eax
call esi
mov dword [0x56a50c], eax
mov eax, dword [0x56a584]
push str.BASS_ChannelSlideAttributes
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_ChannelIsSliding
push ecx
mov dword [0x56a42c], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_ChannelSetFlags
push edx
mov dword [0x56a4ec], eax
call esi
mov dword [0x56a410], eax
mov eax, dword [0x56a584]
push str.BASS_ChannelGetData
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_ChannelPlay
push ecx
mov dword [0x56a490], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_ChannelPause
push edx
mov dword [0x56a4dc], eax
call esi
mov dword [0x56a524], eax
mov eax, dword [0x56a584]
push str.BASS_ChannelStop
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_ChannelIsActive
push ecx
mov dword [0x56a4c4], eax
call esi
mov edx, dword [0x56a584]
mov dword [0x56a41c], eax
push str.BASS_ChannelGetLength
push edx
call esi
mov dword [0x56a40c], eax
mov eax, dword [0x56a584]
push str.BASS_ChannelGetPosition
push eax
call esi
mov ecx, dword [0x56a584]
push str.BASS_ChannelSetPosition
push ecx
mov dword [0x56a44c], eax
call esi
mov edx, dword [0x56a584]
push str.BASS_ChannelSeconds2Bytes
push edx
mov dword [0x56a4fc], eax
call esi
mov dword [0x56a578], eax
mov eax, dword [0x56a584]
push str.BASS_ChannelBytes2Seconds
push eax
call esi
mov esi, dword [esp + 0x10]
push 0
push 0
push 0
push esi
push 0xffffffffffffffff
mov dword [0x56a504], eax
call dword [0x56a4b8]
test eax, eax
jne 0x4e142a
push str.Sound_system_init_failed__using_no_sound_
push eax
call fcn.004d40b0
add esp, 8
push 0
push 0
push 0
push esi
push 0
call dword [0x56a4b8]
mov dword [0x56a58c], 1
mov eax, dword [0x56a584]
test eax, eax
je 0x4e1463
push 0x64
push 4
call dword [0x56a450]
mov eax, dword [0x56a584]
test eax, eax
je 0x4e1463
push 0x64
push 5
call dword [0x56a450]
mov eax, dword [0x56a584]
test eax, eax
je 0x4e1463
push 0x64
push 6
call dword [0x56a450]
pop esi
mov eax, 1
pop edi
ret