Function at 0x14026d660
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x1cf0]
mov eax, 0x1df0
call fcn.14010b140
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1e10], rbx
mov qword [rsp + 0x1e18], rsi
mov qword [rsp + 0x1e20], rdi
mov qword [rsp + 0x1e28], r12
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x1ce0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
xor r14d, r14d
lea r15, [0x14047dc30]
mov qword [rsp + 0x40], r15
lea rdi, vtable.juce::Timer.0
mov qword [0x14047dc30], rdi
mov rsi, 0xffffffffffffffff
mov qword [0x14047dc38], rsi
mov dword [0x14047dc40], r14d
lea rax, vtable.SensorManager.0
mov qword [0x14047dc30], rax
lea r12, [0x14047dc50]
mov qword [rsp + 0x30], r12
lea rax, vtable.WavesSharedMemoryManager.0
mov qword [0x14047dc50], rax
mov qword [0x14047dc58], r14
xorps xmm0, xmm0
movdqa xmmword [0x14047dc60], xmm0
mov dword [0x14047dc70], r14d
mov qword [0x14047dc78], r14
movdqa xmmword [0x14047dc80], xmm0
mov qword [0x14047dc90], r14
mov rcx, r12
call fcn.14012f700
nop
lea rax, vtable.SharedMemoryApplicationAccessor.0
mov qword [0x14047dc50], rax
mov rax, qword [0x14047dc60]
test rax, rax
je 0x14026d77b
mov word [rax + 0x2020], 1
mov byte [rax + 0x2022], r14b
lea rax, [0x14047dcb0]
mov qword [0x14047dc98], rax
mov qword [0x14047dca0], 0x3ff
mov qword [0x14047dca8], rax
mov byte [0x14047dcb0], 0
lea rcx, [0x14047e0b0]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_void____ptr64
nop
mov byte [0x14047e4e0], 0
mov qword [0x14047e4e8], r14
mov qword [0x14047e4f0], r14
mov qword [0x14047e4f8], r14
mov dword [0x14047e500], 1
mov qword [0x14047e518], r14
mov qword [0x14047e520], 0xf
mov byte [0x14047e508], 0
mov qword [0x14047e538], r14
mov qword [0x14047e540], 0xf
mov byte [0x14047e528], 0
mov byte [0x14047e548], 0
lea rax, [fcn.1400048c0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400048e0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [0x14047e550]
call fcn.14010ad34
nop
lea rbx, [0x14047e630]
mov qword [rsp + 0x30], rbx
lea rax, vtable.juce::HighResolutionTimer.0
mov qword [0x14047e630], rax
mov qword [0x14047e638], r14
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14010a334
mov qword [rax], rbx
mov dword [rax + 8], r14d
mov rcx, qword [0x14047e638]
mov qword [0x14047e638], rax
test rcx, rcx
je 0x14026d887
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14010a370
nop
lea rax, vtable.WNXHeadTrackerManager.0
mov qword [0x14047e630], rax
lea rax, vtable.WNX7000Connection.0
mov qword [0x14047e640], rax
lea rax, [0x14047e660]
mov qword [0x14047e648], rax
mov qword [0x14047e650], 0xff
mov qword [0x14047e658], rax
mov byte [0x14047e660], 0
mov qword [0x14047e760], r14
mov qword [0x14047e768], r14
mov qword [0x14047e770], r14
mov qword [0x14047e778], r14
mov qword [0x14047e780], r14
mov qword [0x14047e788], r14
mov dword [0x14047e790], r14d
mov dword [0x14047e798], 0
lea rax, [0x14047e7a0]
mov qword [rsp + 0x38], rax
lea rdx, vtable.WNXDeviceData.0
mov qword [0x14047e7a0], rdx
mov byte [0x14047e7a8], 0
lea rcx, [0x14047e640]
mov qword [0x14047e7b0], rcx
mov dword [0x14047e7b8], r14d
lea rax, vtable.WNXHostData.0
mov qword [0x14047e7a0], rax
mov dword [0x14047e7c0], 0x32444857
lea rax, [0x14047e7c8]
mov qword [rsp + 0x38], rax
mov qword [0x14047e7c8], rdx
mov byte [0x14047e7d0], 0
mov qword [0x14047e7d8], rcx
mov dword [0x14047e7e0], r14d
lea rax, vtable.WNXMetersData.0
mov qword [0x14047e7c8], rax
mov qword [0x14047e7e8], 0
mov qword [0x14047e7f0], 0
movsd xmm0, qword [0x1403a8cd8]
movsd qword [0x14047e7f8], xmm0
xorps xmm0, xmm0
movdqa xmmword [0x14047e800], xmm0
lea rax, [0x14047e818]
mov qword [rsp + 0x38], rax
mov qword [0x14047e818], rdi
mov qword [0x14047e820], rsi
mov dword [0x14047e828], r14d
lea rax, vtable.SensorManager::CUpdateFirmwareTimer.0
mov qword [0x14047e818], rax
mov qword [0x14047e840], r14
mov word [0x14047e830], 0
mov dword [0x14047e832], 0xfa0100
mov dword [0x14047e838], 7
mov qword [0x14047e858], r14
mov ecx, 0x40
call fcn.14010a334
mov rdx, rax
mov qword [rsp + 0x38], rax
lea rax, vtable.AudioGrid::Tracker::ISGTrackerServerLoader.0
mov qword [rdx], rax
lea rax, vtable.AudioGrid::Tracker::SGTrackerServerLoader.0
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
lea rcx, [rdx + 0x20]
mov qword [rsp + 0x30], rcx
lea rax, vtable.waves_sg_tracker_api_1_0::ISGTrackerLogger.0
mov qword [rcx], rax
lea rax, vtable.AudioGrid::Tracker::SGTrackerLoggerBridge.0
mov qword [rcx], rax
mov qword [rcx + 8], r14
lea rax, [rdx + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, vtable.waves_sg_tracker_api_1_0::IMUServerCallback.0
mov qword [rax], rcx
lea rcx, vtable.AudioGrid::Tracker::IMUServerCallbackBridge.0
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [0x14047e858], rdx
mov edx, 1
lea r8d, [rdx + 0xc]
lea rcx, [rbp + 0x1070]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_enum_WEFoldersDomain__enum_WESystemFolders____ptr64
nop
lea rdx, str.SoundGrid_SG_Modules
lea rcx, [rbp + 0x1070]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::Append_char_const____ptr64____ptr64
mov rdi, qword [0x14047e858]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x1070]
call sym.WavesHeadTracker.exe_public:_class_WCFixedString_1023____cdecl_wvWavesV11_0_1_1::FM::WCStPath::GetNativePathString_void____ptr64
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rdi
call rbx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x18e0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x400
lea rdx, [rbp + 0x18e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14026db24
movzx eax, ax
or eax, 0x80070000
test eax, eax
jne 0x14026dcf7
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], SafeArrayGetDim
mov byte [rsp + 0x60], 0
lea rax, [rbp + 0x18e0]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14026db51
lea rdx, [rbp + 0x18e0]
lea rcx, [rsp + 0x60]
call fcn.140004960
nop
lea rdx, [0x1403337d4]
lea rcx, [rsp + 0x60]
call fcn.140004ea0
mov rbx, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14026dbc1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14026dbbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14026dbbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], SafeArrayGetDim
mov byte [rsp + 0x60], 0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], SafeArrayGetDim
mov byte [rbp - 0x80], 0
lea rax, [rbp + 0x18e0]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14026dbf6
lea rdx, [rbp + 0x18e0]
lea rcx, [rbp - 0x80]
call fcn.140004960
nop
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004e30
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14026dc63
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14026dc5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14026dc5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], SafeArrayGetDim
mov byte [rbp - 0x80], 0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8b, 1
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_char_const____ptr64__bool____ptr64
nop
lea rdx, [rbp - 0x40]
lea rcx, [0x14047e0b0]
call sym.WavesHeadTracker.exe_public:_class_wvWavesV11_0_1_1::FM::WCStPath____ptr64___cdecl_wvWavesV11_0_1_1::FM::WCStPath::operator_class_wvWavesV11_0_1_1::FM::WCStPath_const____ptr64____ptr64
nop
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14026dce7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14026dce2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14026dce2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], SafeArrayGetDim
mov byte [rbp - 0x60], 0
lea rdx, [rbp + 0x18e0]
call fcn.14026cc20
call fcn.14026cef0
test eax, eax
je 0x14026dd18
mov byte [0x14047e500], 0
jmp 0x14026de6c
cmp byte [0x14047e500], 0
je 0x14026de6c
mov rcx, r15
call fcn.14026ce30
lea r8, [0x1402bc746]
lea rdx, [0x14047e0b0]
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_class_wvWavesV11_0_1_1::FM::WCStPath_const____ptr64__char_const____ptr64____ptr64
nop
lea rdx, str._Firmware_IMU_Rev1_app_FW.2.0
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::Append_char_const____ptr64____ptr64
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public:_class_WCFixedString_1023____cdecl_wvWavesV11_0_1_1::FM::WCStPath::GetPathString_void____ptr64
mov rdx, qword [rax]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14026dd70
lea rcx, [0x140471ac8]
call fcn.140004960
lea r8, [0x1402bc747]
lea rdx, [0x14047e0b0]
lea rcx, [rbp + 0xc40]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_class_wvWavesV11_0_1_1::FM::WCStPath_const____ptr64__char_const____ptr64____ptr64
nop
lea rdx, str._Firmware_IMU_Rev1_bl_FW.2.0
lea rcx, [rbp + 0xc40]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::Append_char_const____ptr64____ptr64
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0xc40]
call sym.WavesHeadTracker.exe_public:_class_WCFixedString_1023____cdecl_wvWavesV11_0_1_1::FM::WCStPath::GetPathString_void____ptr64
mov rdx, qword [rax]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14026ddd0
lea rcx, [0x14047e508]
call fcn.140004960
lea r8, [0x1402bc756]
lea rdx, [0x14047e0b0]
lea rcx, [rbp + 0x810]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_class_wvWavesV11_0_1_1::FM::WCStPath_const____ptr64__char_const____ptr64____ptr64
nop
lea rdx, str._Firmware_IMU_Rev1_sd_bl_FW.2.0
lea rcx, [rbp + 0x810]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::Append_char_const____ptr64____ptr64
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x810]
call sym.WavesHeadTracker.exe_public:_class_WCFixedString_1023____cdecl_wvWavesV11_0_1_1::FM::WCStPath::GetPathString_void____ptr64
mov rdx, qword [rax]
nop word [rax + rax]
inc rsi
cmp byte [rdx + rsi], 0
jne 0x14026de30
mov r8, rsi
lea rcx, [0x14047e528]
call fcn.140004960
nop
lea rcx, [rbp + 0x810]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
nop
lea rcx, [rbp + 0xc40]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
nop
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
xor edx, edx
mov r8d, 0xe0
lea rcx, [0x14047e550]
call sub.VCRUNTIME140.dll_memset
mov edx, reloc.WS2_32.dll_sendto
mov rcx, r15
call fcn.14016aae0
lea rcx, [rbp + 0x14a0]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::WCFeatureFlagsScanner::constructor_void____ptr64
nop
xor r8d, r8d
lea rdx, str.WNXHeadTrackerSupport
lea rcx, [rbp + 0x14a0]
call sym.WavesHeadTracker.exe_public:_bool___cdecl_wvWavesV11_0_1_1::WCFeatureFlagsScanner::IsFeatureFlagEnabled_char_const____ptr64__bool____ptr64
mov byte [0x14047e810], al
test al, al
je 0x14026dfac
lea r8, str.R2Clib64.dll
lea rdx, [0x14047e0b0]
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::constructor_class_wvWavesV11_0_1_1::FM::WCStPath_const____ptr64__char_const____ptr64____ptr64
nop
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public:_class_WCFixedString_1023____cdecl_wvWavesV11_0_1_1::FM::WCStPath::GetNativePathString_void____ptr64
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_int___cdecl_wvWavesV11_0_1_1::Utils::LoadDLL_class_wvWavesV11_0_1_1::FM::WCStPath_const____ptr64__struct_WTNativeDLLRefType____ptr64____ptr64_
mov ebx, eax
lea rcx, [rbp - 0x40]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
test ebx, ebx
jne 0x14026df97
lea rdx, str.RvcLib_Initialize
mov rcx, qword [rsp + 0x30]
call sym.WavesHeadTracker.exe_void____cdecl___void____cdecl_wvWavesV11_0_1_1::Utils::GetSymbol_struct_WTNativeDLLRefType__const___ptr64__char_const____ptr64_
mov qword [0x14047e760], rax
lea rdx, str.RvcLib_UnInitialize
mov rcx, qword [rsp + 0x30]
call sym.WavesHeadTracker.exe_void____cdecl___void____cdecl_wvWavesV11_0_1_1::Utils::GetSymbol_struct_WTNativeDLLRefType__const___ptr64__char_const____ptr64_
mov qword [0x14047e768], rax
lea rdx, str.UAC_Open
mov rcx, qword [rsp + 0x30]
call sym.WavesHeadTracker.exe_void____cdecl___void____cdecl_wvWavesV11_0_1_1::Utils::GetSymbol_struct_WTNativeDLLRefType__const___ptr64__char_const____ptr64_
mov qword [0x14047e770], rax
lea rdx, str.UAC_Close
mov rcx, qword [rsp + 0x30]
call sym.WavesHeadTracker.exe_void____cdecl___void____cdecl_wvWavesV11_0_1_1::Utils::GetSymbol_struct_WTNativeDLLRefType__const___ptr64__char_const____ptr64_
mov qword [0x14047e778], rax
lea rdx, str.ReadI2CRegister_DSP
mov rcx, qword [rsp + 0x30]
call sym.WavesHeadTracker.exe_void____cdecl___void____cdecl_wvWavesV11_0_1_1::Utils::GetSymbol_struct_WTNativeDLLRefType__const___ptr64__char_const____ptr64_
mov qword [0x14047e780], rax
lea rdx, str.ReadSensorData
mov rcx, qword [rsp + 0x30]
call sym.WavesHeadTracker.exe_void____cdecl___void____cdecl_wvWavesV11_0_1_1::Utils::GetSymbol_struct_WTNativeDLLRefType__const___ptr64__char_const____ptr64_
mov qword [0x14047e788], rax
lea rax, [0x14047d6c8]
mov qword [0x14047e800], rax
mov qword [0x14047e808], r12
lea rcx, [rbp + 0x14a0]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
nop
lea rcx, [rbp + 0x1070]
call sym.WavesHeadTracker.exe_public_virtual:_void___cdecl_wvWavesV11_0_1_1::FM::WCStPath::destructor_void____ptr64
nop
mov rax, r15
mov rcx, qword [rbp + 0x1ce0]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0x1df0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret