Function at 0x140001640
Capabilities:
Accept command line arguments
Check if file exists
Create thread
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x61], rcx
call qword [sym.imp.hlr.dll_public:_void___cdecl_HLRxProcessFeedbackInterface::constructor_void____ptr64]
nop
lea rax, vtable.InventorViewCompute.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
call fcn.140001568
nop
xor r15d, r15d
mov qword [rdi + 0x30], r15
lea rsi, [rdi + 0x38]
or rcx, 0xffffffffffffffff
mov qword [rsi], rcx
lea r13, [rdi + 0x40]
mov qword [r13], rcx
mov qword [rdi + 0x48], rcx
lea r14, [rdi + 0x50]
mov qword [r14], rcx
mov qword [rdi + 0x58], r15
lea rcx, [rdi + 0x60]
call qword [sym.imp.utx.dll_public:_void___cdecl_UTx::SetAsBackgroundThread::constructor_void____ptr64]
nop
mov dword [rdi + 0x68], r15d
mov byte [rdi + 0x6c], r15b
mov dl, 1
lea rcx, [rbp - 0x31]
call qword [sym.imp.utx.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_UTxStringAllocator_wchar_t_____cdecl_UTxUtil::GetTempDirectory_bool_]
nop
lea r8, str.InventorViewComputewait
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140001250
lea rcx, [rax + 8]
cmp qword [rcx + 0x18], 8
jb 0x140001705
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
cmp qword [rbp - 0x39], 8
jb 0x140001722
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.UTxShared.dll_void___cdecl_UTxShared::StringDeallocate_void____ptr64_]
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r15
mov word [rbp - 0x51], r15w
cmp qword [rbp - 0x11], 8
jb 0x140001745
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.UTxShared.dll_void___cdecl_UTxShared::StringDeallocate_void____ptr64_]
nop
test bl, bl
je 0x140001769
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001763
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400016d7
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov r12, r15
mov dword [rbp - 0x79], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x79]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov qword [rbp - 0x71], rax
mov r15d, 1
cmp dword [rbp - 0x79], r15d
je 0x140001944
mov r14d, r15d
mov rsi, qword [rbx + r14*8]
cmp r14, 1
jne 0x1400017cc
movups xmm0, xmmword [str._debug:]
movdqu xmmword [rbp + 0x17], xmm0
lea r8d, [r14 + 6]
lea rdx, [rbp + 0x17]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1400018b9
movups xmm0, xmmword [str._window:]
movups xmmword [rbp - 0x59], xmm0
movzx eax, word [0x1400059b0]
mov word [rbp - 0x49], ax
cmp qword [rdi + 0x30], 0
jne 0x140001812
mov r8d, 8
lea rdx, [rbp - 0x59]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140001812
lea rcx, [rsi + 0x10]
call fcn.1400035d8
mov qword [rdi + 0x30], rax
jmp 0x1400018a8
movsd xmm0, qword [str._stop:]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x1400059c0]
mov dword [rbp + 0xf], eax
movzx eax, word [0x1400059c4]
mov word [rbp + 0x13], ax
test r12, r12
jne 0x14000185c
lea r8d, [r12 + 6]
lea rdx, [rbp + 7]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14000185c
lea rcx, [rsi + 0xc]
call fcn.1400035d8
mov r12, rax
jmp 0x1400018a8
movsd xmm0, qword [str._meta:]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x1400059d0]
mov dword [rbp - 1], eax
movzx eax, word [0x1400059d4]
mov word [rbp + 3], ax
cmp qword [rdi + 0x58], 0
jne 0x1400018f6
mov r8d, 6
lea rdx, [rbp - 9]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400018f6
lea rcx, [rsi + 0xc]
call fcn.1400035d8
mov qword [rdi + 0x58], rax
inc r15d
inc r14
cmp r15d, dword [rbp - 0x79]
je 0x1400018ec
jmp 0x14000179d
xor r15d, r15d
cmp word [rsi + 0xe], r15w
jne 0x1400018c8
mov eax, r15d
jmp 0x1400018d2
lea rcx, [rsi + 0xe]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
lea rdx, [rsi + 0xe]
lea rcx, [rdi + 8]
call fcn.140002d40
lea rsi, [rdi + 0x38]
lea r14, [rdi + 0x50]
jmp 0x140001947
lea rsi, [rdi + 0x38]
lea r14, [rdi + 0x50]
jmp 0x140001944
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_command_line_parameter
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r15d, r15d
test rbx, rbx
je 0x140001955
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rdi + 0x20], r15
sete al
test al, al
je 0x140001ce6
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400019c0
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_window
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, [rbp - 0x71]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp - 0x71]
xor edx, edx
lea ecx, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.utx.dll_public:_void___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::reset_void____ptr64____ptr64]
mov rcx, rsi
call qword [sym.imp.utx.dll_public:_bool___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::is_valid_void_const___ptr64]
test al, al
jne 0x140001a44
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_window_process
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
test r12, r12
jne 0x140001a97
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_stop_mutex
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x71]
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140001b17
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Unable_to_duplicate_stop_mutex_handle
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rdx, qword [rbp - 0x71]
mov rcx, r13
call qword [sym.imp.utx.dll_public:_void___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::reset_void____ptr64____ptr64]
mov rcx, r13
call qword [sym.imp.utx.dll_public:_bool___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::is_valid_void_const___ptr64]
test al, al
jne 0x140001b7f
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_stop_mutex
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor edx, edx
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140001c8e
cmp qword [rdi + 0x58], r15
jne 0x140001bea
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_input_metafile
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.utx.dll_public:_void___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::reset_void____ptr64____ptr64]
mov rcx, r14
call qword [sym.imp.utx.dll_public:_bool___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::is_valid_void_const___ptr64]
test al, al
jne 0x140001c61
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.Invalid_progress_event
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rdi
lea r8, [0x140002678]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rdx, rax
lea rcx, [rdi + 0x48]
call qword [sym.imp.utx.dll_public:_void___cdecl_UTx::auto_closer_void____ptr64__struct_UTx::auto_closer_policy_void____ptr64__::reset_void____ptr64____ptr64]
jmp 0x140001ce6
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.View_compute_aborted
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x140006ee8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov cl, 1
call qword [sym.imp.Mi_Inv.dll_void___cdecl_mix::start_modeler_bool_]
call qword [sym.imp.Mi_Inv.dll_void___cdecl_RSeGeInitialize_void_]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140003d50
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret