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

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800ae969
mov al, 1
jmp 0x1800aec4a
mov rcx, rdi
call fcn.180003a80
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.180003bb0
nop
lea rcx, [rbp - 0x50]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1800aea7b
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rcx, [rbp - 0x50]
call fcn.180006030
cmp rax, 2
jbe 0x1800aea63
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + 2], 0x3a
jne 0x1800aea63
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x41
jb 0x1800aea02
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x5a
jbe 0x1800aea30
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x61
jb 0x1800aea63
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x7a
ja 0x1800aea63
lea rdx, str.__
lea rcx, [rbp - 0x28]
call fcn.180004070
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.180012d20
lea rcx, [rbp - 0x28]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
jmp 0x1800aea71
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.180003ae0
nop
lea rcx, [rbp - 0x28]
call fcn.180003b80
nop
lea rcx, [rbp - 0x50]
call fcn.180003b80
cmp esi, 0xffffffff
jne 0x1800aea90
xor al, al
jmp 0x1800aec4a
mov rcx, rdi
call fcn.180003a80
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.180003bb0
nop
lea rcx, [rbp - 0x50]
call fcn.180003a80
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1800aeac4
xor bl, bl
jmp 0x1800aebb4
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rcx, [rbp - 0x50]
call fcn.180006030
cmp rax, 2
jbe 0x1800aeb9b
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + 2], 0x3a
jne 0x1800aeb9b
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x41
jb 0x1800aeb2b
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x5a
jbe 0x1800aeb59
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x61
jb 0x1800aeb9b
lea rcx, [rbp - 0x50]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x7a
ja 0x1800aeb9b
lea rdx, str.__
lea rcx, [rbp - 0x28]
call fcn.180004070
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.180012d20
lea rcx, [rbp - 0x28]
call fcn.180003a80
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1800aeba9
lea rcx, [rbp - 0x28]
call fcn.180003b80
xor bl, bl
jmp 0x1800aebb4
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.180003ae0
nop
lea rcx, [rbp - 0x28]
call fcn.180003b80
mov bl, 1
lea rcx, [rbp - 0x50]
call fcn.180003b80
test bl, bl
jne 0x1800aea89
mov rcx, rdi
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800ae962
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1800aec70
test al, al
je 0x1800aec12
lea rcx, [rbp - 0x28]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800aec12
mov bl, 1
jmp 0x1800aec3e
mov rcx, rdi
call fcn.180003a80
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.180003bb0
nop
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.1800ae7e0
nop
lea rcx, [rbp - 0x50]
call fcn.180003b80
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.180003b80
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800d8050
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret