Function at 0x5640b0
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Sexy::BASS_INSTANCE.0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x5640de
jmp 0x5649a3
push str.BASS_Init
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.BASS_Init
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_Free
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
push str.BASS_Free
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_Stop
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
push str.BASS_Stop
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_Start
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
push str.BASS_Start
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SetGlobalVolumes
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
push str.BASS_SetVolume
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28], 0
jne 0x5641eb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x5641eb
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.005cdd3a
push str.BASS_SetConfig
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x34], eax
push str.BASS_GetConfig
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
push str.BASS_GetVolume
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
push str.BASS_GetVolume
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_GetInfo
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
push str.BASS_GetInfo
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_GetVersion
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push str.BASS_GetVersion
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelStop
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], eax
push str.BASS_ChannelStop
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelPlay
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
push str.BASS_ChannelPlay
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelPause
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
push str.BASS_ChannelPause
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x44]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelSetAttributes
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
push str.BASS_ChannelSetAttributes
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelGetAttributes
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], eax
push str.BASS_ChannelGetAttributes
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelSetPosition
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
push str.BASS_ChannelSetPosition
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x50]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelGetPosition
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
push str.BASS_ChannelGetPosition
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelIsActive
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], eax
push str.BASS_ChannelIsActive
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelSetFlags
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], eax
push str.BASS_ChannelSetFlags
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x58]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelSlideAttributes
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
push str.BASS_ChannelSlideAttributes
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x60]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelIsSliding
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
push str.BASS_ChannelIsSliding
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x64]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelGetLevel
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], eax
push str.BASS_ChannelGetLevel
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelSetSync
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
push str.BASS_ChannelSetSync
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelRemoveSync
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x84], eax
push str.BASS_ChannelRemoveSync
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelGetData
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x78], eax
push str.BASS_ChannelGetData
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x78]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_FXSetParameters
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], eax
push str.BASS_FXSetParameters
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x9c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_FXGetParameters
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa0], eax
push str.BASS_FXGetParameters
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa0]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelSetFX
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
push str.BASS_ChannelSetFX
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ChannelRemoveFX
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
push str.BASS_ChannelRemoveFX
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x70]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_MusicLoad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x88], eax
push str.BASS_MusicLoad
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x88]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_MusicFree
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x90], eax
push str.BASS_MusicFree
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x90]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_MusicGetAttribute
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa4], eax
push str.BASS_MusicGetAttribute
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa4]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_MusicSetAttribute
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa8], eax
push str.BASS_MusicSetAttribute
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_StreamCreateFile
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x94], eax
push str.BASS_StreamCreateFile
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x94]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_StreamFree
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x98], eax
push str.BASS_StreamFree
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x98]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_MusicGetOrders
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xac], eax
push str.BASS_MusicGetOrders
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xac]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_MusicGetOrderPosition
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
push str.BASS_MusicGetOrderPosition
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SampleLoad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb8], eax
push str.BASS_SampleLoad
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb8]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SampleFree
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xbc], eax
push str.BASS_SampleFree
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xbc]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SampleSetInfo
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc0], eax
push str.BASS_SampleSetInfo
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc0]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SampleGetInfo
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc4], eax
push str.BASS_SampleGetInfo
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc4]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SampleGetChannel
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc8], eax
push str.BASS_SampleGetChannel
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc8]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_SampleStop
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xcc], eax
push str.BASS_SampleStop
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xcc]
push eax
call fcn.005649b0
add esp, 8
push str.BASS_ErrorGetCode
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xd0], eax
push str.BASS_ErrorGetCode
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xd0]
push eax
call fcn.005649b0
add esp, 8
mov ecx, dword [ebp - 4]
xor edx, edx
cmp dword [ecx + 0x34], 0
setne dl
mov eax, dword [ebp - 4]
mov byte [eax + 8], dl
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x56498c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x8c], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x88], 0
push str.BASS_PluginLoad
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb4], eax
push str.BASS_ChannelGetLength
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x74], eax
push 0x619010
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x7c], eax
jmp 0x5649a3
mov edx, dword [ebp - 4]
mov dword [edx + 0xb4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x7c], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4