Function at 0x1400053b0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp dword [0x14022c12c], 0
jne 0x14000574d
lea rcx, str.MaxxAudioAPOShell64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.WavesFX_Initialize
mov rcx, rax
mov qword [0x14022c220], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Uninitialize
mov qword [0x14022c228], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_IsConnectionActive
mov qword [0x14022c230], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_SetParameter
mov qword [0x14022c238], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_GetParameter
mov qword [0x14022c240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_GetParametersArray
mov qword [0x14022c248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_SetParametersArray
mov qword [0x14022c250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_SetChunk
mov qword [0x14022c258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_GetChunk
mov qword [0x14022c260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_SetBypassMode
mov qword [0x14022c268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_SetProperty
mov qword [0x14022c270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_GetProperty
mov qword [0x14022c278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_RegisterChangeNotification
mov qword [0x14022c280], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_VendorSpecific
mov qword [0x14022c288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_SetActive
mov qword [0x14022c290], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetActive
mov qword [0x14022c298], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_SetParameter
mov qword [0x14022c2a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetParameter
mov qword [0x14022c2a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetDefaultParameter
mov qword [0x14022c2b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_SaveDefault
mov qword [0x14022c2b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_SaveDefault2
mov qword [0x14022c2c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_RevertToDefault
mov qword [0x14022c2c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_SetType
mov qword [0x14022c2d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetType
mov qword [0x14022c2d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetName
mov qword [0x14022c2e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_SetProperty
mov qword [0x14022c2e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetProperty
mov qword [0x14022c2f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_GetOutputName
mov qword [0x14022c2f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_RegisterChangeNotification
mov qword [0x14022c320], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_CreatePluginWindow
mov qword [0x14022c300], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_DetachPluginWindow
mov qword [0x14022c308], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14022c220]
lea rdx, str.WavesFX_Preset_RegisterFile
mov qword [0x14022c310], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14022c228], 0
mov ecx, 1
mov qword [0x14022c318], rax
mov eax, dword [0x14022c12c]
cmovne eax, ecx
mov dword [0x14022c12c], eax
xor eax, eax
add rsp, 0x28
ret