Function at 0x1400205c4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r14d, r14d
mov r13, rcx
or qword [rbp - 0x40], 0xffffffffffffffff
mov edi, r14d
mov qword [rbp - 0x30], r14
mov esi, r14d
mov qword [rbp - 0x50], r14
mov r12d, r14d
mov qword [rbp - 0x48], r14
mov r15d, r14d
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x38], r14d
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140020653
test byte [rcx + 0x1c], 1
je 0x140020653
cmp byte [rcx + 0x19], 4
jb 0x140020653
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x25d
call fcn.14000c0e8
mov rcx, qword [r13 + 0x1d8]
lea rax, [rbp - 0x30]
lea r9, str..vhdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
call fcn.14010bb40
mov ebx, eax
test eax, eax
js 0x140020d39
mov rcx, qword [r13 + 0x1d8]
lea r8, [rbp - 0x28]
mov edx, 0x7fffffff
mov qword [rbp - 0x28], r14
call fcn.14003ac4c
mov ebx, eax
test eax, eax
js 0x140020d39
cmp byte [r13 + 0x187], r14b
je 0x140020701
mov rcx, qword [r13 + 0x340]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x38]
call fcn.14000f178
test eax, eax
jns 0x1400206f9
mov rcx, qword [0x14016a048]
lea rdx, [0x14016a048]
cmp rcx, rdx
je 0x1400206f9
test byte [rcx + 0x1c], 1
je 0x1400206f9
cmp byte [rcx + 0x19], 3
jb 0x1400206f9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x25e
mov r9d, eax
call fcn.14000c114
mov r15d, dword [rbp - 0x38]
mov r12, qword [rbp - 0x20]
mov r14, qword [rbp - 0x30]
lea r8, [rbp - 0x40]
mov rcx, r14
lea rdx, [rbp - 0x50]
xor r9d, r9d
call fcn.1400fb2bc
mov ebx, eax
test eax, eax
jns 0x14002076e
mov rcx, qword [0x14016a048]
lea r13, [0x14016a048]
cmp rcx, r13
je 0x140020d33
test byte [rcx + 0x1c], 1
je 0x140020d33
cmp byte [rcx + 0x19], 2
jb 0x140020d33
mov edx, 0x25f
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov r9, r14
call fcn.140014f78
mov rdi, qword [rbp - 0x50]
jmp 0x140020d44
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x140020aa2
test rsi, rsi
je 0x140020794
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x48], 0
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x48]
inc rax
xor r8d, r8d
lea rcx, [rdi + rax*2]
call fcn.14008a470
mov rsi, qword [rbp - 0x48]
mov ebx, eax
test eax, eax
js 0x140020d3d
mov r8d, 3
lea rdx, [0x140149428]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x14002088e
mov edx, dword [r13 + 0x170]
mov ecx, ebx
test edx, edx
je 0x140020808
mov rax, qword [r13 + 0xd8]
add rax, 0x54
test byte [rax], 1
jne 0x140020808
inc ecx
add rax, 0x170
cmp ecx, edx
jb 0x1400207f7
cmp ecx, edx
jne 0x140020a69
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140020a69
mov rax, qword [0x14016a048]
lea rcx, [0x14016a048]
cmp rax, rcx
je 0x140020a69
test byte [rax + 0x1c], 1
je 0x140020a69
cmp byte [rax + 0x19], 2
jb 0x140020a69
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14002086a
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [0x14016a048]
lea r8, [0x14014a790]
mov edx, 0x260
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000c114
jmp 0x140020a69
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bx
jne 0x140020892
cmp rax, 0x24
jb 0x140020a32
mov word [rsi + 0x48], bx
lea rdx, [rbp - 0x20]
movups xmm0, xmmword [0x140147ba0]
mov rcx, rsi
movdqu xmmword [rbp - 0x20], xmm0
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
nop dword [rax + rax]
test eax, eax
jne 0x140020a0c
mov r11, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov rax, r11
sub rax, qword [0x140147ba0]
jne 0x1400208ee
mov rax, r9
sub rax, qword [0x140147ba8]
test rax, rax
jne 0x140020913
lea r8, str.guidBagVolumeId___GUID_NULL
mov edx, 0x3800
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
mov r9, qword [rbp - 0x18]
mov r11, qword [rbp - 0x20]
mov r10d, dword [r13 + 0x170]
mov r8d, ebx
test r10d, r10d
je 0x140020952
mov rdx, qword [r13 + 0xd8]
mov eax, r8d
imul rcx, rax, 0x170
mov rax, qword [rcx + rdx + 0x44]
sub rax, r11
jne 0x140020945
mov rax, qword [rcx + rdx + 0x4c]
sub rax, r9
test rax, rax
je 0x140020952
inc r8d
cmp r8d, r10d
jb 0x140020929
mov ecx, ebx
test r15d, r15d
je 0x14002097b
mov edx, ecx
add rdx, rdx
mov rax, qword [r12 + rdx*8]
sub rax, r11
jne 0x14002096f
mov rax, qword [r12 + rdx*8 + 8]
sub rax, r9
test rax, rax
je 0x14002097b
inc ecx
cmp ecx, r15d
jb 0x140020959
cmp r8d, r10d
jne 0x140020a69
cmp ecx, r15d
jne 0x140020a69
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140020a69
mov rax, qword [0x14016a048]
lea rcx, [0x14016a048]
cmp rax, rcx
je 0x140020a69
test byte [rax + 0x1c], 1
je 0x140020a69
cmp byte [rax + 0x19], 2
jb 0x140020a69
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x1400209e7
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [0x14016a048]
lea r8, [0x14014a790]
mov edx, 0x261
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.140014f78
jmp 0x140020a69
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140020a69
test byte [rcx + 0x1c], 1
je 0x140020a69
cmp byte [rcx + 0x19], 3
jb 0x140020a69
mov edx, 0x262
jmp 0x140020a56
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140020a69
test byte [rcx + 0x1c], 1
je 0x140020a69
cmp byte [rcx + 0x19], 3
jb 0x140020a69
mov edx, 0x263
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov r9, rdi
call fcn.140014f10
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x40]
lea r8, [rbp - 0x50]
xor r9d, r9d
mov qword [rbp - 0x50], rbx
mov rcx, r14
call fcn.1400fb638
mov ebx, eax
test eax, eax
jns 0x14002076e
mov rdi, qword [rbp - 0x50]
jmp 0x140020d3d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
or qword [rbp - 0x40], 0xffffffffffffffff
xor r15d, r15d
test r14, r14
je 0x140020ad2
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x30], r15
mov rcx, qword [r13 + 0x1d8]
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
call fcn.14010bf9c
mov ebx, eax
test eax, eax
js 0x140020d39
mov r14, qword [rbp - 0x30]
lea r8, [rbp - 0x40]
mov rcx, r14
lea rdx, [rbp - 0x50]
xor r9d, r9d
call fcn.1400fb2bc
mov ebx, eax
test eax, eax
jns 0x140020b4f
mov rcx, qword [0x14016a048]
lea r13, [0x14016a048]
cmp rcx, r13
je 0x140020d33
test byte [rcx + 0x1c], 1
je 0x140020d33
cmp byte [rcx + 0x19], 3
jb 0x140020d33
mov edx, 0x264
mov dword [rsp + 0x20], eax
jmp 0x140020752
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x140020d3d
test rsi, rsi
je 0x140020b74
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x48], r15
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x48]
inc rax
xor r8d, r8d
lea rcx, [rdi + rax*2]
call fcn.14008a470
mov rsi, qword [rbp - 0x48]
mov ebx, eax
test eax, eax
js 0x140020d3d
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r15w
jne 0x140020b9d
cmp rax, 0x24
jb 0x140020ca3
mov word [rsi + 0x48], r15w
lea rdx, [rbp - 0x20]
movups xmm0, xmmword [0x140147ba0]
mov rcx, rsi
movdqu xmmword [rbp - 0x20], xmm0
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
nop dword [rax + rax]
test eax, eax
jne 0x140020c7d
mov rax, qword [rbp - 0x20]
sub rax, qword [r13 + 0x128]
jne 0x140020bf5
mov rax, qword [rbp - 0x18]
sub rax, qword [r13 + 0x130]
test rax, rax
je 0x140020cda
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140020cda
mov rax, qword [0x14016a048]
lea rcx, [0x14016a048]
cmp rax, rcx
je 0x140020cda
test byte [rax + 0x1c], 1
je 0x140020cda
cmp byte [rax + 0x19], 3
jb 0x140020cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140020c58
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [0x14016a048]
lea r8, [0x14014a790]
mov edx, 0x265
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.140014f78
jmp 0x140020cda
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140020cda
test byte [rcx + 0x1c], 1
je 0x140020cda
cmp byte [rcx + 0x19], 3
jb 0x140020cda
mov edx, 0x266
jmp 0x140020cc7
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140020cda
test byte [rcx + 0x1c], 1
je 0x140020cda
cmp byte [rcx + 0x19], 3
jb 0x140020cda
mov edx, 0x267
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov r9, rdi
call fcn.140014f10
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x40]
lea r8, [rbp - 0x50]
xor r9d, r9d
mov qword [rbp - 0x50], r15
mov rcx, r14
call fcn.1400fb638
mov ebx, eax
test eax, eax
jns 0x140020b4f
mov rcx, qword [0x14016a048]
lea r13, [0x14016a048]
cmp rcx, r13
je 0x140020d33
test byte [rcx + 0x1c], 1
je 0x140020d33
cmp byte [rcx + 0x19], 2
jb 0x140020d33
mov edx, 0x268
jmp 0x140020b46
mov rdi, qword [rbp - 0x50]
jmp 0x140020d4b
mov r14, qword [rbp - 0x30]
lea r13, [0x14016a048]
mov rcx, qword [0x14016a048]
test r14, r14
je 0x140020d66
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rdi, rdi
je 0x140020d81
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rsi, rsi
je 0x140020d9c
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
cmp qword [rbp - 0x40], 0xffffffffffffffff
je 0x140020dba
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test r12, r12
je 0x140020dd5
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140020dfb
test byte [rcx + 0x1c], 1
je 0x140020dfb
cmp byte [rcx + 0x19], 4
jb 0x140020dfb
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x269
call fcn.14000c0e8
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400071e0
lea r11, [rsp + 0x80]
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