Function at 0x1400192c0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
lea rdi, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceLogSessionHelper.cpp
mov rcx, rdi
mov edx, 0x5c
call fcn.14008d398
test rax, rax
je 0x140019320
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
inc rax
jmp 0x140019323
mov rax, rdi
lea r9, str.Start
mov edx, 0x61
lea r8, str.StartAllLogSession
mov rcx, rax
call fcn.140015b90
cmp qword [rsi + 0x20], 8
lea rcx, [rsi + 8]
jb 0x14001934d
mov rcx, qword [rsi + 8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r12d, r12d
test eax, eax
jne 0x140019384
lea rdx, [rsi + 8]
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001bca0
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
test rax, rax
je 0x1400193a8
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
inc rax
jmp 0x1400193ab
mov rax, rdi
lea r9, str.Start
mov edx, 0x81
lea r8, str.StopAllOldNamingLogSession
mov rcx, rax
call fcn.140015b90
mov rdx, qword [rsi + 0xa0]
mov r14d, r12d
mov rax, qword [rsi + 0xa8]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14001947b
mov rbx, r12
nop word [rax + rax]
cmp qword [rdx + rbx + 0x18], 8
lea r8, [rdx + rbx]
jb 0x1400193ff
mov r8, qword [r8]
lea rdx, str.stop___s___ets
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
inc r8
cmp word [rax + r8*2], r12w
jne 0x140019430
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call sym.AsusAppService.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rdx, [rsp + 0x20]
call fcn.140019f30
mov rdx, qword [rsi + 0xa0]
inc r14d
mov rcx, qword [rsi + 0xa8]
add rbx, 0x20
sub rcx, rdx
movsxd rax, r14d
sar rcx, 5
cmp rax, rcx
jb 0x1400193f0
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
test rax, rax
je 0x14001949f
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
inc rax
jmp 0x1400194a2
mov rax, rdi
lea r9, [0x1400db980]
mov edx, 0x8a
lea r8, str.StopAllOldNamingLogSession
mov rcx, rax
call fcn.140015b90
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
test rax, rax
je 0x1400194e1
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
inc rax
jmp 0x1400194e4
mov rax, rdi
lea r9, str.Start
mov edx, 0x8f
lea r8, str.DeleteAllOldNamingLogSession
mov rcx, rax
call fcn.140015b90
mov rdx, qword [rsi + 0xa0]
mov r14d, r12d
mov rax, qword [rsi + 0xa8]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x1400195ae
mov rbx, r12
cmp qword [rdx + rbx + 0x18], 8
lea r8, [rdx + rbx]
jb 0x140019532
mov r8, qword [r8]
lea rdx, str.delete___s_
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
inc r8
cmp word [rax + r8*2], r12w
jne 0x140019563
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call sym.AsusAppService.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rdx, [rsp + 0x20]
call fcn.140019f30
mov rdx, qword [rsi + 0xa0]
inc r14d
mov rcx, qword [rsi + 0xa8]
add rbx, 0x20
sub rcx, rdx
movsxd rax, r14d
sar rcx, 5
cmp rax, rcx
jb 0x140019523
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
test rax, rax
je 0x1400195d2
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
inc rax
jmp 0x1400195d5
mov rax, rdi
lea r9, [0x1400db980]
mov edx, 0x98
lea r8, str.DeleteAllOldNamingLogSession
mov rcx, rax
call fcn.140015b90
mov rcx, rsi
call fcn.1400196f0
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001a270
lea rdx, [rsi + 8]
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
lea rdx, [rsp + 0x20]
call fcn.14001c520
lea rdx, [rsi + 0x28]
mov rcx, rsi
call fcn.140019870
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001b4e0
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
test rax, rax
je 0x1400196a2
mov edx, 0x5c
mov rcx, rdi
call fcn.14008d398
lea rdi, [rax + 1]
lea r9, [0x1400db980]
mov edx, 0x73
lea r8, str.StartAllLogSession
mov rcx, rdi
call fcn.140015b90
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400612f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret