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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x358]
sub rsp, 0x440
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rbx, rdx
mov r12, rcx
xor edi, edi
test rcx, rcx
je 0x180011301
test rdx, rdx
je 0x180011301
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180024700
nop
lea rdx, str._tmp
lea rcx, [rsp + 0x20]
call fcn.180023560
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x20]
mov rcx, r12
call fcn.180010f90
mov r12d, eax
test eax, eax
je 0x1800112f2
lea r8d, [rdi + 1]
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r12d, eax
test eax, eax
jne 0x1800112e3
cmp esi, 0xffffffff
je 0x1800112c8
test sil, 1
je 0x1800111a8
and esi, 0xfffffffe
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov word [rsp + 0x30], di
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x32]
call fcn.180034650
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov r8, rbx
lea rdx, [0x1800a10b8]
lea rcx, [rsp + 0x30]
call fcn.180033468
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18001124f
nop dword [rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov r8, rbx
lea rdx, [0x1800a10b8]
lea rcx, [rsp + 0x30]
call fcn.180033468
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc edi
cmp edi, 0xa
jge 0x180011231
cmp eax, 0xffffffff
jne 0x1800111f0
jmp 0x18001124f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.180023290
mov eax, r12d
jmp 0x180011303
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r8d, 1
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test eax, eax
jne 0x1800112aa
lea r8d, [rax + 5]
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test eax, eax
jne 0x1800112aa
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1800112bc
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0x20]
call fcn.180023290
jmp 0x180011301
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.180023290
mov eax, r12d
jmp 0x180011303
lea rcx, [rsp + 0x20]
call fcn.180023290
mov eax, r12d
jmp 0x180011303
lea rcx, [rsp + 0x20]
call fcn.180023290
mov eax, r12d
jmp 0x180011303
mov eax, edi
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1800327a0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret