Function at 0x140013b28
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x140049080]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov r14, r9
mov r15, r8
mov qword [rsp + 0x128], r8
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x130], rcx
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x140], rcx
mov r8, qword [rsp + 0x1d0]
mov r9, qword [rsp + 0x1d8]
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x38], rax
mov r12, qword [rsp + 0x1e8]
lea rcx, [rsp + 0xc0]
call fcn.1400135c0
mov rdx, rax
mov rcx, r14
call fcn.140012fb8
lea rcx, [rsp + 0xc0]
call fcn.140012ec0
mov rbx, qword [r14 + 0x10]
mov al, byte [rbx + 0x180]
mov byte [rdi + 0x12], al
xor esi, esi
cmp byte [rbx + 0x270], sil
jne 0x140013bfd
call fcn.14001c9f4
test al, al
je 0x140013c04
xor ecx, ecx
call fcn.140012038
mov edi, 1
cmp byte [rbx + 0x2e8], sil
je 0x140013c1b
mov cl, dil
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::SetFlushWrites_bool_]
lea rcx, [rbx + 0x2ec]
cmp byte [rcx + 8], sil
je 0x140013c2e
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::SetPosition_struct_TAEF::Common::ConsoleMeasure_const____ptr64_]
lea rcx, [rbx + 0x2f8]
cmp byte [rcx + 8], sil
je 0x140013c41
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::SetSize_struct_TAEF::Common::ConsoleMeasure_const____ptr64_]
cmp byte [rbx + 0x2ea], sil
je 0x140013c94
mov r15b, byte [rbx + 0x2e9]
call qword [sym.imp.Wex.Common.dll_bool___cdecl_TAEF::Common::Console::GetTopmost_void_]
mov sil, al
mov byte [rsp + 0x120], al
cmp al, r15b
je 0x140013c8a
mov cl, r15b
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::SetTopmost_bool_]
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x31], dil
movzx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x130]
mov word [rcx + 0x10], ax
xor esi, esi
mov r15, qword [rsp + 0x128]
cmp dword [rbx + 0x150], esi
jne 0x140013ca4
cmp dword [rbx + 0x154], esi
je 0x140013d04
mov word [rsp + 0x30], 0x100
movzx eax, word [rsp + 0x30]
mov word [rbx + 0xc0], ax
mov rax, qword [r14 + 0x20]
cmp qword [r14 + 0x18], rax
je 0x140013d04
mov edx, 0xe
lea rcx, [rsp + 0x148]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::AutoConsoleColor::constructor_enum_TAEF::Common::TextColor____ptr64]
lea rcx, str.Not_in_execution_mode._Ignoring__testmode_switch.
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::WriteLine_unsigned_short_int_const____ptr64_]
mov r8, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x18]
call fcn.140009990
mov rax, qword [r14 + 0x18]
mov qword [r14 + 0x20], rax
lea rcx, [rsp + 0x148]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::AutoConsoleColor::destructor_void____ptr64]
lea rsi, [rbx + 0x308]
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.1400128b8
nop
mov rdx, rax
mov rcx, rsi
call fcn.140005c4c
nop
lea rcx, [rsp + 0x80]
call fcn.140002d80
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.TE.Model.dll_public:_void___cdecl_WEX::TestExecution::DebuggerExtension::ControllerDebuggerData::SetSettings_class_WEX::TestExecution::TaefSettings_const____ptr64____ptr64]
call qword [sym.imp.Wex.Common.dll_bool___cdecl_TAEF::Common::ProcessInformation::IsPerformanceLogUser_void_]
xor r14d, r14d
test al, al
jne 0x140013d64
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.Wex.Common.dll_bool___cdecl_TAEF::Common::ProcessInformation::IsElevated_void____ptr64_]
test al, al
mov cl, r14b
je 0x140013d67
mov cl, dil
cmp byte [rbx + 0x33e], r14b
je 0x140013d78
mov al, byte [rbx + 0x33d]
jmp 0x140013d7b
mov al, r14b
test al, al
je 0x140013dfd
test cl, cl
jne 0x140013df1
lea rdx, str._EnableEtwLogging_was_specified__but_the_user_is_neither_running_elevated_nor_a_member_of_the_Performance_Log_Users_group._Please_add_user_to_Performance_Log_Users_group_or_rerun_as_elevated_to_enable_ETW_logging.
lea rcx, [rsp + 0x60]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::String::constructor_unsigned_short_int_const____ptr64____ptr64]
nop
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x140013dd4
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
add qword [r13 + 8], 0x20
jmp 0x140013de2
lea r8, [rsp + 0x60]
mov rcx, r13
call fcn.1400094e8
nop
lea rcx, [rsp + 0x60]
call fcn.140002d80
jmp 0x140013e80
mov rcx, qword [rsp + 0x38]
call fcn.140007c24
jmp 0x140013e00
mov al, r14b
test al, al
je 0x140013e80
lea r8, [rbx + 0x308]
lea rdx, [rbx + 0x340]
mov r9b, byte [rbx + 0x33f]
lea rcx, [rsp + 0x60]
call qword [sym.imp.TE.Model.dll_class_std::unique_ptr_class_WEX::TestExecution::IEtwManager__struct_std::default_delete_class_WEX::TestExecution::IEtwManager_____cdecl_WEX::TestExecution::EtwManagerFactory::GetEtwManager_class_std::filesystem::path_const____ptr64__class_std::filesystem::path_const____ptr64__struct_WEX::TestExecution::EtwManagerFactory::EtwManagerOptions_]
cmp r12, rax
je 0x140013e4a
mov rdx, qword [rax]
mov qword [rax], r14
mov rcx, qword [r12]
mov qword [r12], rdx
test rcx, rcx
je 0x140013e4a
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax]
call qword [0x14002d718]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140013e62
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax]
call qword [0x14002d718]
mov rcx, qword [r12]
mov rax, qword [rcx]
cmp qword [rbx + 0x1f8], r14
setne dl
mov r8, r13
mov rax, qword [rax + 8]
call qword [0x14002d718]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.14001bb30
lea rdx, str.10.43.1909.4003
lea rcx, str.Test_Authoring_and_Execution_Framework_v10.43k_for_x64
call fcn.14001bbb8
mov cl, byte [rbx + 0x338]
test cl, cl
je 0x140013ec2
movzx eax, word [rbx + 0x334]
mov word [rsp + 0x32], ax
mov byte [rsp + 0x34], dil
mov eax, dword [rsp + 0x32]
jmp 0x140013ec5
mov eax, r14d
shr eax, 0x10
test al, al
je 0x140013fde
test cl, cl
je 0x140013eeb
movzx eax, word [rbx + 0x334]
mov word [rsp + 0x38], ax
mov byte [rsp + 0x3a], dil
mov eax, dword [rsp + 0x38]
jmp 0x140013eee
mov eax, r14d
mov dword [rsp + 0x128], eax
mov r15, qword [rsp + 0x130]
lea r9, [r15 + 0x58]
lea r8, [r15 + 0x18]
lea rcx, [rsp + 0x130]
mov qword [rsp + 0x20], rcx
movzx edx, ax
lea rcx, [rsp + 0x138]
call qword [sym.imp.TE.Model.dll_class_std::unique_ptr_class_WEX::TestExecution::RemoteController__struct_std::default_delete_class_WEX::TestExecution::RemoteController_____cdecl_WEX::TestExecution::TryWaitForRemoteControllerConnection_unsigned_short_int__class_TAEF::Common::AbortList____ptr64__class_TAEF::Common::AbortList____ptr64__enum_WEX::TestExecution::RemoteController::ConnectionState____ptr64_]
mov rsi, qword [rsp + 0x40]
cmp rsi, rax
je 0x140013f4c
mov rdx, qword [rax]
mov qword [rax], r14
mov rcx, qword [rsi]
mov qword [rsi], rdx
test rcx, rcx
je 0x140013f4c
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax]
call qword [0x14002d718]
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140013f67
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax]
call qword [0x14002d718]
cmp qword [rsi], r14
jne 0x140013fe6
mov ebx, dword [rsp + 0x130]
mov edx, 0xc
lea rcx, [rsp + 0x128]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::AutoConsoleColor::constructor_enum_TAEF::Common::TextColor____ptr64]
sub ebx, 1
je 0x140013fb9
cmp ebx, 1
lea rcx, str.Aborting_test_run_due_to_a_timeout_while_waiting_for_the_remote_controller_to_connect_to_TE.exe.
jne 0x140013f9e
lea rcx, str.Aborting_test_run_due_to_a_CtrlC_while_waiting_for_the_remote_controller_to_connect_to_TE.exe.
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::WriteLine_unsigned_short_int_const____ptr64_]
lea rcx, [rsp + 0x128]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::AutoConsoleColor::destructor_void____ptr64]
mov eax, 0xb
jmp 0x140013fd9
lea rcx, str.Aborting_test_run_because_the_remote_controller_and_TE.exe_did_not_share_a_compatible_protocol_version.
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::WriteLine_unsigned_short_int_const____ptr64_]
lea rcx, [rsp + 0x128]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::AutoConsoleColor::destructor_void____ptr64]
mov eax, 0xa
jmp 0x1400140cb
mov r15, qword [rsp + 0x130]
lea rsi, [rbx + 0x1e8]
mov r12d, 0x30
mov ecx, r12d
call fcn.14001e834
mov r10, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rcx, qword [r15 + 0xa0]
test rcx, rcx
je 0x14001402e
lock add dword [rcx + 8], edi
mov rcx, qword [r15 + 0xa0]
mov rax, qword [r15 + 0x98]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140012850]
lea r8, [rbx + 0x308]
lea rdx, [rbx + 0x50]
mov rcx, r10
call qword [sym.imp.TE.Model.dll_public:_void___cdecl_WEX::TestExecution::Taef::constructor_class_WEX::Logging::LogSettings_const____ptr64__class_std::filesystem::path_const____ptr64__void____cdecl___unsigned_short_int_const____ptr64__long_int___class_std::shared_ptr_class_TAEF::Common::AbortList___class_TAEF::Common::String_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x140]
cmp rcx, rdx
je 0x1400140a1
xor ebx, ebx
mov rdi, qword [rcx]
mov qword [rcx], rax
test rdi, rdi
je 0x1400140bb
mov rcx, rdi
call qword [sym.imp.TE.Model.dll_public:_void___cdecl_WEX::TestExecution::Taef::destructor_void____ptr64]
mov rdx, r12
mov rcx, rdi
call fcn.14001e82c
xor eax, eax
test rax, rax
je 0x1400140bb
mov rcx, rbx
call qword [sym.imp.TE.Model.dll_public:_void___cdecl_WEX::TestExecution::Taef::destructor_void____ptr64]
mov rdx, r12
mov rcx, rbx
call fcn.14001e82c
nop
xor eax, eax
jmp 0x1400140cb
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14001e7d0
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret