Function at 0x41d5a0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x44dbb8]
test eax, eax
je 0x41d5af
mov eax, 1
ret
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x41d5bd
cmp byte [edi], 0
jne 0x41d5c2
mov edi, str.BASS.DLL
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x44dbb8], eax
jne 0x41d5e5
push edi
push str.Cant_load_sound_module__s_
push eax
call fcn.004133e0
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 [0x44da98], eax
call eax
shr eax, 0x10
cmp eax, 0x203
je 0x41d61a
push edi
push str.Incorrect_sound_module__s_version_
push 0
call fcn.004133e0
add esp, 0xc
pop esi
xor eax, eax
pop edi
ret
mov eax, dword [0x44dbb8]
push str.BASS_GetDeviceDescription
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_Init
push ecx
mov dword [0x44da6c], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_Free
push edx
mov dword [0x44daec], eax
call esi
mov dword [0x44daa0], eax
mov eax, dword [0x44dbb8]
push str.BASS_Start
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_Pause
push ecx
mov dword [0x44dbb4], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_Stop
push edx
mov dword [0x44db60], eax
call esi
mov dword [0x44db0c], eax
mov eax, dword [0x44dbb8]
push str.BASS_SetConfig
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_GetConfig
push ecx
mov dword [0x44da84], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_SampleLoad
push edx
mov dword [0x44da68], eax
call esi
mov dword [0x44db4c], eax
mov eax, dword [0x44dbb8]
push str.BASS_SampleCreate
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_SampleCreateDone
push ecx
mov dword [0x44db90], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_SampleGetInfo
push edx
mov dword [0x44dac0], eax
call esi
mov dword [0x44da90], eax
mov eax, dword [0x44dbb8]
push str.BASS_SampleGetChannel
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_SampleFree
push ecx
mov dword [0x44daf4], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_StreamCreateFile
push edx
mov dword [0x44dbb0], eax
call esi
mov dword [0x44db2c], eax
mov eax, dword [0x44dbb8]
push str.BASS_StreamFree
push eax
call esi
mov dword [0x44da38], eax
push str.BASS_ChannelGetInfo
mov ecx, dword [0x44dbb8]
push ecx
call esi
mov edx, dword [0x44dbb8]
push str.BASS_ChannelGetAttributes
push edx
mov dword [0x44db9c], eax
call esi
mov dword [0x44db6c], eax
mov eax, dword [0x44dbb8]
push str.BASS_ChannelSetAttributes
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_ChannelSlideAttributes
push ecx
mov dword [0x44db40], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_ChannelIsSliding
push edx
mov dword [0x44da60], eax
call esi
mov dword [0x44db20], eax
mov eax, dword [0x44dbb8]
push str.BASS_ChannelSetFlags
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_ChannelGetData
push ecx
mov dword [0x44da44], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_ChannelPlay
push edx
mov dword [0x44dac4], eax
call esi
mov dword [0x44db10], eax
mov eax, dword [0x44dbb8]
push str.BASS_ChannelPause
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_ChannelStop
push ecx
mov dword [0x44db58], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_ChannelIsActive
push edx
mov dword [0x44daf8], eax
call esi
mov dword [0x44da50], eax
mov eax, dword [0x44dbb8]
push str.BASS_ChannelGetLength
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_ChannelGetPosition
push ecx
mov dword [0x44da40], eax
call esi
mov edx, dword [0x44dbb8]
push str.BASS_ChannelSetPosition
push edx
mov dword [0x44da80], eax
call esi
mov dword [0x44db30], eax
mov eax, dword [0x44dbb8]
push str.BASS_ChannelSeconds2Bytes
push eax
call esi
mov ecx, dword [0x44dbb8]
push str.BASS_ChannelBytes2Seconds
push ecx
mov dword [0x44dbac], eax
call esi
push 0
mov dword [0x44db38], eax
push 0
mov esi, dword [esp + 0x18]
push 0
push esi
push 0xffffffffffffffff
call dword [0x44daec]
test eax, eax
jne 0x41d8ad
push str.Sound_system_init_failed__using_no_sound_
push eax
call fcn.004133e0
add esp, 8
push 0
push 0
push 0
push esi
push 0
call dword [0x44daec]
mov dword [0x44dbc0], 1
mov eax, dword [0x44dbb8]
test eax, eax
je 0x41d8d3
push 0x64
push 4
call dword [0x44da84]
mov eax, dword [0x44dbb8]
test eax, eax
je 0x41d8d3
push 0x64
push 5
call dword [0x44da84]
pop esi
mov eax, 1
pop edi
ret