Function at 0x1400106f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x300
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140032008]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov byte [0x1400337ca], 0
lea rcx, [0x140023b90]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx edx, byte [0x1400337ca]
mov r15d, 1
test eax, eax
cmovne edx, r15d
mov byte [0x1400337ca], dl
xor eax, eax
mov qword [rbp + 0x1d0], rax
lea r8, [0x140023b60]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400083e0
nop
lea r8, str.CRLogTransport.exe
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.1400083e0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, r15d
jg 0x1400107b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbp + 0x1d0]
lea rcx, [rbp - 0x50]
call fcn.140013940
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx - 0x40], 0
je 0x1400107ec
jmp 0x140010c95
lea r8, [rbp + 0x1d0]
lea rdx, [0x1400256a0]
lea rcx, [rsp + 0x40]
call fcn.140013650
nop
lea r8, [0x1400256a0]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400083e0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x1d0]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14001087e
cmp dword [rbx + 0x10], 0
jl 0x14001086d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14001086d
call fcn.140009a50
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140010860
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [r14 + 0x18]
mov qword [rbp + 0x1d0], rax
jmp 0x14001087e
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x1d0]
call fcn.140009ae0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001089d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400108bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor r14d, r14d
cmp byte [0x1400337ca], 1
jne 0x140010aff
xor eax, eax
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rax
lea ecx, [rax + 0x40]
call fcn.14001fad4
mov rbx, rax
mov qword [rbp - 0x78], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rbx], rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::empty_void_]
nop
mov rcx, qword [rax + 8]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov qword [rbp + 0x1e8], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rbx
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov rax, qword [rbp + 0x1e8]
mov dword [rax + 0x20], r14d
mov rcx, qword [rbp + 0x1e8]
add rcx, 0x28
lea rdx, [0x140023b8c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140010980
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140010980
mov r8, qword [rax]
mov edx, r15d
mov rcx, rax
call qword [r8]
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 2
lea rdx, str.C:windowsClientLogTransportProcessor.txt
lea rcx, [rbp + 0xc0]
call fcn.140007620
nop
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
lea r8, [rbp + 0x1e0]
lea rdx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400109f6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400109f6
mov r8, qword [rax]
mov edx, r15d
mov rcx, rax
call qword [r8]
nop
lea rdx, str.Going_to_execute_the_log_transport
lea rcx, [rbp + 0xc0]
call fcn.14000a670
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rbx, qword [rbp + 0x1d0]
lea rdx, str.LogTransport_path_is_:
lea rcx, [rbp + 0xc0]
call fcn.14000a670
mov rcx, rax
mov rdx, rbx
call fcn.14000a8d0
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rbp + 0xc8]
call fcn.140009510
test rax, rax
jne 0x140010a82
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xc8]
call fcn.1400082a0
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x140010aff
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140010aff
mov r8, qword [rax]
mov edx, r15d
mov rcx, rax
call qword [r8]
nop
xor eax, eax
mov qword [rbp + 0x1d8], rax
lea rcx, [rsp + 0x70]
call fcn.1400170a0
mov rbx, rax
mov r8, rsi
lea rdx, [0x1400256a0]
lea rcx, [rsp + 0x68]
call fcn.140013650
nop
lea r8, [0x1400256a0]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400083e0
nop
lea r8, [0x140025748]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400083e0
nop
lea r8, [0x1400256a0]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400083e0
nop
mov r8, qword [rbx]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400083e0
nop
lea r8, [0x1400256a0]
mov rdx, rax
lea rcx, [rbp + 0x1d8]
call fcn.1400083e0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010bb0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010bcf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010bee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010c0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010c2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010c4a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x1d8]
mov r8, qword [rbp + 0x1d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbp + 0x1d8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010c8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.1400143e0
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1d0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010cf2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140010d0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14001f400
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret