Function at 0x14001319c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140049080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
call qword [sym.imp.Wex.Common.dll_protected:_void___cdecl_TAEF::Common::Application::constructor_void____ptr64]
nop
lea rax, vtable.WEX::TestExecution::TeApplication.0
mov qword [r14], rax
xor r15d, r15d
mov word [r14 + 0x10], r15w
mov byte [r14 + 0x12], r15b
lea rbx, [r14 + 0x18]
mov qword [rsp + 0x30], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov byte [rbx + 0x28], r15b
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
lfence
mov ebp, 0x120
mov ecx, ebp
call fcn.14001e834
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 0x30], rax
lea rbx, [r14 + 0x58]
mov qword [rsp + 0x30], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov byte [rbx + 0x28], r15b
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
lfence
mov ecx, ebp
call fcn.14001e834
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 0x30], rax
lea rsi, [r14 + 0x98]
mov qword [rsp + 0x30], rsi
lea ecx, [r15 + 0x50]
call fcn.14001e834
mov rdi, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_TAEF::Common::AbortList_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x58], rbx
xor edx, edx
lea r8d, [r15 + 0x40]
mov rcx, rbx
call fcn.140020880
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov byte [rbx + 0x28], r15b
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
lfence
mov ecx, ebp
call fcn.14001e834
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [r14 + 0xb0], r15
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140050fa8], eax
jg 0x1400133dc
lea rcx, [0x140013410]
mov qword [r14 + 0xa8], rcx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x1400133c1
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x140013391
lea r8, [rsp + 0x60]
mov edx, 4
lea rcx, str.___
call qword [sym.imp.Wex.Common.dll_unsigned_short_int_const____ptr64___cdecl_TAEF::Common::StringUtilities::SkipPrefix_unsigned_short_int_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_short_int_const____ptr64_]
test rax, rax
je 0x140013391
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001e7d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fc4
int3
lea rcx, [0x140050fa8]
call fcn.14001ec28
cmp dword [0x140050fa8], 0xffffffff
jne 0x140013335
mov qword [0x140050fa0], r14
lea rcx, [0x140050fa8]
call fcn.14001ebc8
jmp 0x140013335