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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x18]
call fcn.180031a50
mov rdi, rax
lea rcx, [rbp - 0x58]
call fcn.1800085c0
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.18000c010
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.180018ea0
nop
lea r8, [0x180100a48]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800196f0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180018ea0
nop
cmp qword [rbp - 0x80], 8
jb 0x1800331db
mov rcx, qword [rsp + 0x68]
call fcn.1800b5700
mov qword [rbp - 0x80], 7
xor esi, esi
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
cmp qword [rbp - 0x20], 8
jb 0x1800331ff
mov rcx, qword [rbp - 0x38]
call fcn.1800b5700
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x38], si
cmp qword [rbp - 0x60], 8
jb 0x18003321f
mov rcx, qword [rbp - 0x78]
call fcn.1800b5700
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
cmp qword [rbp - 0x40], 8
jb 0x18003323f
mov rcx, qword [rbp - 0x58]
call fcn.1800b5700
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
cmp qword [rbp], 8
jb 0x18003325f
mov rcx, qword [rbp - 0x18]
call fcn.1800b5700
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
lea rcx, [rsp + 0x68]
call fcn.180031c00
mov rdi, rax
lea rcx, [rbp - 0x38]
call fcn.1800085c0
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.18000c010
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.180018ea0
nop
lea r8, [0x180100a48]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1800196f0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180018ea0
nop
cmp qword [rbp], 8
jb 0x1800332d7
mov rcx, qword [rbp - 0x18]
call fcn.1800b5700
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
cmp qword [rbp - 0x40], 8
jb 0x1800332f7
mov rcx, qword [rbp - 0x58]
call fcn.1800b5700
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
cmp qword [rbp - 0x60], 8
jb 0x180033317
mov rcx, qword [rbp - 0x78]
call fcn.1800b5700
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
cmp qword [rbp - 0x20], 8
jb 0x180033337
mov rcx, qword [rbp - 0x38]
call fcn.1800b5700
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x38], si
cmp qword [rbp - 0x80], 8
jb 0x180033358
mov rcx, qword [rsp + 0x68]
call fcn.1800b5700
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
cmp qword [rsp + 0x58], 0
je 0x1800333ee
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1800333a5
lea rcx, [rsp + 0x48]
call fcn.180026860
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.180026620
jmp 0x1800333ee
cmp qword [rsp + 0x58], 0
je 0x1800333ee
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1800333ee
lea rcx, [rsp + 0x48]
call fcn.180025df0
test al, al
jne 0x1800333ee
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsp + 0x38], 0
je 0x180033473
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x180033429
lea rcx, [rsp + 0x28]
call fcn.180026860
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.180026620
jmp 0x180033473
cmp qword [rsp + 0x38], 0
je 0x180033473
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x180033473
lea rcx, [rsp + 0x28]
call fcn.180025df0
test al, al
jne 0x180033473
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x40], 8
jb 0x180033485
mov rcx, qword [rsp + 0x28]
call fcn.1800b5700
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
cmp qword [rsp + 0x60], 8
jb 0x1800334aa
mov rcx, qword [rsp + 0x48]
call fcn.1800b5700
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
mov al, 1
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret