Function at 0x1400c49e0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r13, rcx
lea rdi, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rdi
lea r14, str.CVssDeletingWriter::DeleteFilesFromSnapshot
mov qword [rsp + 0x40], r14
lea r15, str.WRTDELET
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], 0x107
mov ebx, 4
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x58], 0xff
xor r12d, r12d
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x74]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.140003840
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r12
mov qword [rbp + 0x18], r12
lea rax, [0x1400e5388]
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], r12
mov qword [rbp], 0x20019
mov esi, r12d
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x1400c4ac3
mov eax, r12d
jmp 0x1400c4ad0
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x140007ddd.0]
bt eax, 0x16
jb 0x1400c4b2a
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], VarUI4FromDisp
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
lea r8, str.skipping_file_deletion_since_autorecovery_isnt_enabled
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.1400037d0
jmp 0x1400c4e8b
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x1400c4b38
mov eax, r12d
jmp 0x1400c4b45
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x140007ddd.0]
mov edi, 0x7530
bt eax, 0x18
jae 0x1400c4b59
mov ebx, 1
mov eax, edi
jmp 0x1400c4b61
mov ebx, r12d
mov eax, 0x2710
mov r15d, eax
mov r14d, 0xc350
lea r8, str.SYSTEMCurrentControlSetServicesVSSSettings
mov rdx, 0xffffffff80000002
lea rcx, [rbp]
call fcn.140016250
test al, al
je 0x1400c4c0e
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x30]
lea rcx, [rbp]
test ebx, ebx
lea rdx, str.MaxDeletionTimeOptimized
jne 0x1400c4ba9
lea rdx, str.MaxDeletionTime
call fcn.140016904
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400c4bbd
imul r15d, eax, 0x3e8
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x30]
lea rdx, str.MaxScanningTimeFilespec
lea rcx, [rbp]
call fcn.140016904
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400c4be5
imul edi, eax, 0x3e8
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x30]
lea rdx, str.MaxScanningTimeGlobal
lea rcx, [rbp]
call fcn.140016904
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400c4c0e
imul r14d, eax, 0x3e8
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9b, 1
lea r8, [rbp - 0x20]
mov dl, r9b
mov rcx, r13
call fcn.1400c4f34
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
sub r8, rcx
movabs rax, 0xe38e38e38e38e39
imul r8
sar rdx, 2
mov r8, rdx
shr r8, 0x3f
add r8, rdx
lea r9, [0x1400c49c0]
mov rdx, qword [rbp - 0x10]
call fcn.1400c3db8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount64]
mov r14, rax
mov rbx, qword [rbp - 0x18]
add rbx, 0x10
mov r13d, 4
lea rcx, [rbx - 0x10]
cmp rcx, qword [rbp - 0x10]
je 0x1400c4e8b
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp esi, ecx
jne 0x1400c4cb2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount64]
lea rcx, [r15 + r14]
cmp rax, rcx
ja 0x1400c4e24
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx]
lea r8, [0x1400e9278]
mov edx, 0x104
lea rcx, [rbp + 0xa0]
call fcn.140006550
mov edi, eax
mov dword [rbp + 0x38], eax
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
test eax, eax
jns 0x1400c4d4c
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::DeleteFilesFromSnapshot
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x16c
call sub.msvcrt.dll_memset
mov r9d, edi
lea r8, str.StringCchPrintf_failed_with_0x_08lx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.1400037d0
jmp 0x1400c4e19
lea rdi, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rdi
lea rax, str.CVssDeletingWriter::DeleteFilesFromSnapshot
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x171
call sub.msvcrt.dll_memset
lea r9, [rbp + 0xa0]
lea r8, str.deleting_file__s
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.1400037d0
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteFileW]
test eax, eax
jne 0x1400c4e19
mov qword [rsp + 0x38], rdi
lea rax, str.CVssDeletingWriter::DeleteFilesFromSnapshot
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x175
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0xa0]
lea r8, str.failed_to_delete_file__s_from_snapshot.__Error__d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.1400037d0
add rbx, 0x48
inc esi
jmp 0x1400c4c77
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::DeleteFilesFromSnapshot
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x15c
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r9d, r13d
lea r8, [rsp + 0x38]
mov edx, 0x201c
lea rcx, [rbp + 0x30]
call fcn.140003a80
nop
lea rcx, [rbp]
call fcn.14003eb80
nop
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400c4ec4
mov rdi, qword [rbp - 0x10]
cmp rbx, rdi
je 0x1400c4ebc
mov rcx, rbx
call fcn.1400c4788
add rbx, 0x48
cmp rbx, rdi
jne 0x1400c4ea7
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.14001fa98
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r12
lea rcx, [rbp + 0x30]
call fcn.140003960
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14001ff30
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret