Function at 0x18001dea0
Capabilities:
Query environment variable

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x100
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x130], r15d
call qword [sym.imp.libmwservices.dll_svIsStandaloneMode]
test al, al
jne 0x18001e3a5
call qword [sym.imp.libmwservices.dll_svIsDMLWorkerMode]
test al, al
jne 0x18001e3a5
lea rcx, [rsp + 0x80]
call qword [sym.imp.ddux_loggingapi.dll_public:_void___cdecl_ddux::LoggingServiceOptions::constructor_void____ptr64]
nop
mov dword [rsp + 0x80], 1
call sym.ddux.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64___cdecl_ddux::getReleaseFamily_void_
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.libmwi18n.dll__to_ustring_i18n_fl__YA_AV__basic_string__SU__char_traits__S_std__V__allocator__S_2__std__AEBV__basic_string]
nop
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.libmwfoundation_paths.dll__getMatlabDefaultPrefdir_paths_foundation__YA_AV__basic_path__W_SU__path_traits__W_S_detail_file]
mov rbx, rax
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18000ecc0
movzx eax, byte [rbx + 0x20]
mov byte [rsp + 0xc0], al
lea rcx, [rsp + 0x20]
call fcn.180013ad0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x18001df87
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001df81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001df81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002a018
nop
mov word [rsp + 0x84], 0x101
lea rcx, [rsp + 0x20]
call fcn.180017040
mov rbx, rax
lea rax, [rsp + 0x88]
cmp rax, rbx
je 0x18001dfe6
lea rcx, [rsp + 0x88]
call fcn.1800138a0
mov rcx, qword [rbx]
mov qword [rsp + 0x88], rcx
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x90], rcx
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x98], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
lea rcx, [rsp + 0x20]
call fcn.1800138a0
lea rcx, str.MW_DDUX_SEND_VIA_MSH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rdx, [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.ddux_loggingapi.dll_bool___cdecl_ddux::util::charsToBool_char____ptr64__bool____ptr64_]
mov ecx, 1
movzx eax, al
cmp byte [rsp + 0x130], 0
cmovne ecx, eax
mov byte [rsp + 0x86], cl
lea rcx, str.MW_DDUX_RUN_LOCAL_IF_NO_MSH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rdx, [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.ddux_loggingapi.dll_bool___cdecl_ddux::util::charsToBool_char____ptr64__bool____ptr64_]
mov ecx, 1
movzx eax, al
cmp byte [rsp + 0x130], 0
cmovne ecx, eax
mov byte [rsp + 0x87], cl
mov eax, dword [0x180048f90]
test al, 1
je 0x18001e172
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_bool___cdecl_mwboost::log::v2_mt_nt6::core::get_logging_enabled_void_const___ptr64]
lea rdi, [0x180048f40]
test al, al
je 0x18001e0ce
mov qword [rsp + 0x70], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_mwboost::log::v2_mt_nt6::sources::aux::get_severity_level_void_]
mov dword [rax], 1
lea r8, [0x180048f58]
lea rdx, [rsp + 0x140]
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_class_mwboost::log::v2_mt_nt6::record___cdecl_mwboost::log::v2_mt_nt6::core::open_record_class_mwboost::log::v2_mt_nt6::attribute_set_const____ptr64____ptr64]
mov esi, 0x3e000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop
jmp 0x18001e0db
mov qword [rsp + 0x140], r15
mov esi, 0x2000
nop dword [rax + rax]
cmp qword [rsp + 0x140], 0
je 0x18001e170
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x140]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_static_struct_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::stream_compound____ptr64___cdecl_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::allocate_compound_class_mwboost::log::v2_mt_nt6::record____ptr64_]
mov rbx, rax
mov qword [rsp + 0x28], rax
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
mov r14d, eax
mov dword [rsp + 0x30], eax
bts esi, 7
lea rcx, [rbx + 8]
mov r8d, 0x17
lea rdx, str.Starting_LoggingService
call fcn.180016e40
nop
mov qword [rsp + 0x70], rbx
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
cmp r14d, eax
jb 0x18001e162
lea rcx, [rbx + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov rdx, qword [rbx + 0x108]
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_private:_void___cdecl_mwboost::log::v2_mt_nt6::core::push_record_move_class_mwboost::log::v2_mt_nt6::record____ptr64____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_static_void___cdecl_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::release_compound_struct_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::stream_compound____ptr64_]
jmp 0x18001e0e0
jmp 0x18001e179
lea rdi, [0x180048f40]
mov rdx, qword [sym.imp.ddux_loggingapi.dll_struct_ddux::ApplicationInfo_const_ddux::ApplicationInfo::emptyInfo]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ddux_loggingapi.dll_public:_static_void___cdecl_ddux::LoggingService::start_struct_ddux::LoggingServiceOptions_const____ptr64__struct_ddux::ApplicationInfo_const____ptr64_]
mov eax, dword [0x180048f90]
test al, 1
je 0x18001e2a2
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_bool___cdecl_mwboost::log::v2_mt_nt6::core::get_logging_enabled_void_const___ptr64]
test al, al
je 0x18001e1f9
mov qword [rsp + 0x140], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_mwboost::log::v2_mt_nt6::sources::aux::get_severity_level_void_]
mov dword [rax], 1
lea r8, [0x180048f58]
lea rdx, [rsp + 0x148]
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_class_mwboost::log::v2_mt_nt6::record___cdecl_mwboost::log::v2_mt_nt6::core::open_record_class_mwboost::log::v2_mt_nt6::attribute_set_const____ptr64____ptr64]
or esi, 0x1f00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop
jmp 0x18001e205
mov qword [rsp + 0x148], r15
bts esi, 8
nop word [rax + rax]
cmp qword [rsp + 0x148], 0
je 0x18001e2a2
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x148]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_static_struct_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::stream_compound____ptr64___cdecl_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::allocate_compound_class_mwboost::log::v2_mt_nt6::record____ptr64_]
mov rbx, rax
mov qword [rsp + 0x28], rax
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
mov r14d, eax
mov dword [rsp + 0x30], eax
or esi, 2
lea rcx, [rbx + 8]
mov r8d, 0x15
lea rdx, str.Starting_OptInService
call fcn.180016e40
nop
mov qword [rsp + 0x140], rbx
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
cmp r14d, eax
jb 0x18001e294
lea rcx, [rbx + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov rdx, qword [rbx + 0x108]
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_private:_void___cdecl_mwboost::log::v2_mt_nt6::core::push_record_move_class_mwboost::log::v2_mt_nt6::record____ptr64____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_static_void___cdecl_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::release_compound_struct_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::stream_compound____ptr64_]
jmp 0x18001e210
call qword [sym.imp.ddux_loggingapi.dll_public:_static_void___cdecl_ddux::OptInService::start_void_]
mov eax, dword [0x180048f90]
test al, 1
je 0x18001e390
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_bool___cdecl_mwboost::log::v2_mt_nt6::core::get_logging_enabled_void_const___ptr64]
test al, al
je 0x18001e30b
mov qword [rsp + 0x140], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_mwboost::log::v2_mt_nt6::sources::aux::get_severity_level_void_]
mov dword [rax], 1
lea r8, [0x180048f58]
lea rdx, [rsp + 0x48]
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_class_mwboost::log::v2_mt_nt6::record___cdecl_mwboost::log::v2_mt_nt6::core::open_record_class_mwboost::log::v2_mt_nt6::attribute_set_const____ptr64____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop
jmp 0x18001e310
mov qword [rsp + 0x48], r15
cmp qword [rsp + 0x48], 0
je 0x18001e390
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_static_struct_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::stream_compound____ptr64___cdecl_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::allocate_compound_class_mwboost::log::v2_mt_nt6::record____ptr64_]
mov rbx, rax
mov qword [rsp + 0x28], rax
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
mov esi, eax
mov dword [rsp + 0x30], eax
lea rcx, [rbx + 8]
mov r8d, 0x19
lea rdx, str.Starting_CoreMatlabLogger
call fcn.180016e40
nop
mov qword [rsp + 0x140], rbx
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
cmp esi, eax
jb 0x18001e385
lea rcx, [rbx + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov rdx, qword [rbx + 0x108]
mov rcx, qword [0x180048f48]
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_private:_void___cdecl_mwboost::log::v2_mt_nt6::core::push_record_move_class_mwboost::log::v2_mt_nt6::record____ptr64____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.mwboost_log_vc143_mt_x64_1_78.dll_public:_static_void___cdecl_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::release_compound_struct_mwboost::log::v2_mt_nt6::aux::stream_provider_char_::stream_compound____ptr64_]
jmp 0x18001e310
call sym.ddux.dll_public:_static_void___cdecl_ddux::CoreMatlabLogger::start_void_
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.ddux_loggingapi.dll_public:_void___cdecl_ddux::LoggingServiceOptions::destructor_void____ptr64]
nop
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret