Function at 0x1400722dc
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x3f8]
sub rsp, 0x4e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
call fcn.14000cb18
nop
lea rdx, [0x14034fa44]
lea rcx, [rsp + 0x20]
call fcn.14000f884
mov r11d, 0x5c
mov word [rbp + 0x3b8], r11w
xor edi, edi
mov qword [rbp + 0x3c0], rdi
mov dword [rbp + 0x3c8], edi
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140063130
test eax, eax
je 0x1400724fa
mov edx, dword [rbp + 0x3c8]
mov eax, dword [rsp + 0x60]
test edx, edx
je 0x140072383
mov ecx, eax
shr ecx, 4
and ecx, 1
jmp 0x140072385
mov ecx, edi
test ecx, ecx
je 0x1400723f1
test edx, edx
je 0x1400723b9
shr eax, 4
and eax, 1
je 0x1400723b9
cmp word [rbp - 0x74], 0x2e
jne 0x1400723b9
movzx eax, word [rbp - 0x72]
test ax, ax
je 0x1400724a0
cmp ax, 0x2e
jne 0x1400723b9
cmp word [rbp - 0x70], di
je 0x1400724a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140062f70
nop
mov rdi, qword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
jne 0x1400723e5
mov rdx, rdi
mov rcx, rbx
call fcn.1400722dc
nop
mov rdx, qword [rsp + 0x30]
xor edi, edi
jmp 0x140072485
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140062f70
nop
mov rsi, qword [rax]
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140072480
cmp byte [rbx + 0x18], dil
je 0x140072446
xor edx, edx
mov rcx, rsi
call fcn.140223418
test eax, eax
jne 0x140072446
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edi, edi
test ebx, ebx
je 0x14007247b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400724a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
jne 0x1400724dc
mov rcx, qword [rbp + 0x3c0]
test rcx, rcx
je 0x1400724dc
cmp dword [rbp + 0x3c8], edi
je 0x1400724dc
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, eax
mov dword [rbp + 0x3c8], eax
test eax, eax
jne 0x140072371
xor edx, edx
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400724fa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
mov dword [rbp + 0x3c8], edi
mov rcx, qword [rbp + 0x3c0]
test rcx, rcx
je 0x14007251f
cmp rcx, 0xffffffffffffffff
je 0x14007251f
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp + 0x3c0], rdi
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007253f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400be110
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret