Function at 0x14001c520
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov qword [rbp - 0x19], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
xor r15d, r15d
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea rcx, [rbp - 0x59]
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 r8, [rbp - 0x59]
lea rdx, [rbp - 0x11]
call fcn.14001ba10
nop
mov r14, qword [rbp - 9]
mov rax, qword [rbp - 0x11]
cmp rax, r14
je 0x14001c78e
lea rdi, [rax + 0x2c]
movabs r12, 0x7ffffffffffffffe
lea r13, [0x1400da084]
movzx ebx, byte [rsp + 0x40]
nop word [rax + rax]
test byte [rdi - 0x2c], 0x10
jne 0x14001c776
mov rcx, qword [rsi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x14001c824
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001c5eb
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov r8, rsi
movzx edx, bl
lea rcx, [rbp - 0x79]
call sym.AsusAppService.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_struct_std::_String_constructor_concat_tag__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64___wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x14001c615
mov rdx, rdi
lea rcx, [rbp - 0x79]
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__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x14001c697
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c830
call fcn.140061310
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], 7
mov word [rbp - 0x79], r15w
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
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, [rbp - 0x39]
call fcn.14001b7f0
test eax, eax
je 0x14001c736
mov edx, 0x5c
lea rcx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceLogSessionHelper.cpp
call fcn.14008d398
test rax, rax
je 0x14001c6fa
mov edx, 0x5c
lea rcx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceLogSessionHelper.cpp
call fcn.14008d398
inc rax
jmp 0x14001c701
lea rax, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceLogSessionHelper.cpp
mov qword [rsp + 0x20], rdi
lea r9, str.Delete_expired_file___s
lea r8, str.CleanupExpiredFile
mov edx, 0x28c
mov rcx, rax
call fcn.140015b90
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14001c776
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c771
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c836
call fcn.140061310
add rdi, 0x250
lea rax, [rdi - 0x2c]
cmp rax, r14
jne 0x14001c5c0
mov rax, qword [rbp - 0x11]
mov qword [rbp - 9], rax
cmp rax, qword [rbp - 1]
je 0x14001c7a2
lea rcx, [rbp - 0x11]
call fcn.14001cc60
nop
lea rcx, [rbp - 0x11]
call fcn.14001cc60
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14001c7e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14001c7e2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c82a
mov rcx, r8
call fcn.140061310
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400612f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001710
nop
call fcn.140091d94
nop
call fcn.140091d94
nop
call fcn.140091d94
int3