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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
mov qword [rsp + 0x60], 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 + 0x88], rax
xor esi, esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x78], sil
lea r8d, [rsi + 0xc]
lea rdx, [0x180100c20]
lea rcx, [rbp - 0x78]
call fcn.180015d00
nop
lea rcx, [rbp + 0x68]
call fcn.180031db0
nop
lea r8, [rbp - 0x78]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.18002d490
nop
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.18001b8b0
mov rbx, rax
call fcn.1800146f0
mov rcx, rax
lea rdx, [rbp - 0x18]
call fcn.18002b920
nop
lea r8, [0x180100a48]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1800196f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180019320
nop
cmp qword [rbp + 0x60], 8
jb 0x180032ce8
mov rcx, qword [rbp + 0x48]
call fcn.1800b5700
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], rsi
mov word [rbp + 0x48], si
cmp qword [rbp], 8
jb 0x180032d08
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 + 0x20], 8
jb 0x180032d28
mov rcx, qword [rbp + 8]
call fcn.1800b5700
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rsi
mov word [rbp + 8], si
cmp qword [rbp + 0x40], 0x10
jb 0x180032d48
mov rcx, qword [rbp + 0x28]
call fcn.1800b5700
mov qword [rbp + 0x40], 0xf
mov qword [rbp + 0x38], rsi
mov byte [rbp + 0x28], 0
cmp qword [rbp + 0x80], 0x10
jb 0x180032d6b
mov rcx, qword [rbp + 0x68]
call fcn.1800b5700
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rsi
mov byte [rbp + 0x68], 0
cmp qword [rbp - 0x60], 0x10
jb 0x180032d8e
mov rcx, qword [rbp - 0x78]
call fcn.1800b5700
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x78], 0
cmp qword [rsp + 0x78], 0
je 0x1800330ed
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1800330ed
cmp qword [rsp + 0x78], 0
je 0x180032e4a
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x180032e03
lea rcx, [rsp + 0x68]
call fcn.180026860
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180026620
jmp 0x180032e4a
cmp qword [rsp + 0x78], 0
je 0x180032e4a
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x180032e4a
lea rcx, [rsp + 0x68]
call fcn.180025df0
test al, al
jne 0x180032e4a
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x78]
call fcn.180031950
mov rdi, rax
lea rcx, [rbp + 0x48]
call fcn.1800316b0
mov rbx, rax
lea rcx, [rbp - 0x18]
call fcn.180031590
nop
lea r8, [0x180100a48]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.180019600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.180018ea0
nop
lea r8, [0x180100a48]
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.1800196f0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.180018ea0
nop
cmp qword [rbp + 0x80], 8
jb 0x180032ec7
mov rcx, qword [rbp + 0x68]
call fcn.1800b5700
mov qword [rbp + 0x80], 7
mov qword [rbp + 0x78], rsi
mov word [rbp + 0x68], si
cmp qword [rbp + 0x40], 8
jb 0x180032eea
mov rcx, qword [rbp + 0x28]
call fcn.1800b5700
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], rsi
mov word [rbp + 0x28], si
cmp qword [rbp + 0x20], 8
jb 0x180032f0a
mov rcx, qword [rbp + 8]
call fcn.1800b5700
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rsi
mov word [rbp + 8], si
cmp qword [rbp], 8
jb 0x180032f2a
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 + 0x60], 8
jb 0x180032f4a
mov rcx, qword [rbp + 0x48]
call fcn.1800b5700
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], rsi
mov word [rbp + 0x48], si
cmp qword [rbp - 0x60], 8
jb 0x180032f6a
mov rcx, qword [rbp - 0x78]
call fcn.1800b5700
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
lea rcx, [rbp - 0x38]
call fcn.180031830
nop
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
call fcn.18002e010
test rax, rax
je 0x180033095
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001b
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call rax
test eax, eax
jne 0x180033095
call fcn.18002e0a0
test rax, rax
je 0x180033095
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call rax
mov cl, 1
movzx ebx, cl
test eax, eax
cmovne ebx, esi
call fcn.18002df80
test rax, rax
je 0x180033095
mov rcx, qword [rsp + 0x58]
call rax
test bl, bl
je 0x180033095
cmp qword [rbp - 0x20], 8
jb 0x18003304d
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 - 0x40], 8
jb 0x18003306d
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 - 0x80], 8
jb 0x18003308e
mov rcx, qword [rsp + 0x68]
call fcn.1800b5700
mov eax, 1
jmp 0x180033101
cmp qword [rbp - 0x20], 8
jb 0x1800330a5
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 - 0x40], 8
jb 0x1800330c5
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 - 0x80], 8
jb 0x1800330e6
mov rcx, qword [rsp + 0x68]
call fcn.1800b5700
mov eax, 0xfffffffe
jmp 0x180033101
cmp qword [rbp - 0x80], 8
jb 0x1800330fe
mov rcx, qword [rsp + 0x68]
call fcn.1800b5700
or eax, 0xffffffff
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret