Function at 0x14002bff0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
mov eax, 0x40
call fcn.140189b00
sub rsp, rax
mov rdi, rcx
lea rbp, str.DeleteBackupSampleFile
lea r9, [0x1401cd578]
lea ecx, [rax + 4]
lea rdx, str..cnttmss_UploadSample.cpp
mov r8d, 0x20b
mov qword [rsp + 0x20], rbp
call fcn.1400382e0
cmp qword [rdi + 0x18], 0
jbe 0x14002c20f
cmp qword [rdi + 0xc0], 0x10
jb 0x14002c04c
mov rdx, qword [rdi + 0xa8]
jmp 0x14002c053
lea rdx, [rdi + 0xa8]
cmp qword [rdi + 0x20], 0x10
mov qword [rsp + 0x50], rbx
jb 0x14002c069
mov rcx, qword [rdi + 8]
lea rbx, [rdi + 8]
jmp 0x14002c070
lea rbx, [rdi + 8]
mov rcx, rbx
call fcn.140048d30
test eax, eax
je 0x14002c20a
cmp qword [rdi + 0x20], 0x10
jb 0x14002c089
mov rcx, qword [rbx]
jmp 0x14002c08c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14002c1d8
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x20], 0x10
mov esi, eax
jb 0x14002c0b3
mov rcx, qword [rbx]
jmp 0x14002c0b6
mov rcx, rbx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea r9, str._s___Fail_to_delete_backup_sample_file__error__d___file__s_
lea rdx, str..cnttmss_UploadSample.cpp
mov r8d, 0x213
mov ecx, 0x45
mov qword [rsp + 0x20], rbp
call fcn.1400382e0
cmp esi, 5
mov rsi, qword [rsp + 0x58]
jne 0x14002c20a
cmp qword [rdi + 0x20], 0x10
jb 0x14002c0fc
mov rcx, qword [rbx]
jmp 0x14002c0ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x14002c20a
cmp qword [rdi + 0x20], 0x10
jb 0x14002c119
mov rcx, qword [rbx]
jmp 0x14002c11c
mov rcx, rbx
and eax, 0xfffffffe
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x14002c14c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str._s___SetFileAttributes____error__d_
mov r8d, 0x21c
mov dword [rsp + 0x28], eax
mov ecx, 0x45
jmp 0x14002c1f9
lea r9, str._s___Successfully_SetFileAttributes__
lea rdx, str..cnttmss_UploadSample.cpp
mov r8d, 0x21f
mov ecx, 0x44
mov qword [rsp + 0x20], rbp
call fcn.1400382e0
cmp qword [rdi + 0x20], 0x10
jb 0x14002c17b
mov rcx, qword [rbx]
jmp 0x14002c17e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14002c1c6
cmp qword [rdi + 0x20], 0x10
jb 0x14002c192
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
lea r9, str._s___Fail_to_delete_backup_sample_file__error__d___file__s_
mov dword [rsp + 0x28], eax
lea rdx, str..cnttmss_UploadSample.cpp
mov r8d, 0x222
mov ecx, 0x45
mov qword [rsp + 0x20], rbp
call fcn.1400382e0
jmp 0x14002c20a
cmp qword [rdi + 0x20], 0x10
jb 0x14002c1d0
mov rbx, qword [rbx]
mov r8d, 0x224
jmp 0x14002c1e8
cmp qword [rdi + 0x20], 0x10
jb 0x14002c1e2
mov rbx, qword [rbx]
mov r8d, 0x22a
mov qword [rsp + 0x28], rbx
lea r9, str._s___Delete_backup_sample_file__s_
mov ecx, 0x44
lea rdx, str..cnttmss_UploadSample.cpp
mov qword [rsp + 0x20], rbp
call fcn.1400382e0
mov rbx, qword [rsp + 0x50]
lea r9, str._s_____
lea rdx, str..cnttmss_UploadSample.cpp
mov r8d, 0x22d
mov ecx, 0x44
mov qword [rsp + 0x20], rbp
call fcn.1400382e0
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret