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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
cmp dword [rax - 8], 0
jne 0x1800dfb51
mov dword [rsp + 0xf0], 1
jmp 0x1800dfb5c
mov dword [rsp + 0xf0], 0
cmp dword [rsp + 0xf0], 0
jne 0x1800e001c
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800e001a
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call fcn.18012bf00
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1800dff9d
mov rax, qword [0x1801c8440]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x18]
add eax, 0x41
mov word [rsp + 0x58], ax
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xffffffff
je 0x1800dff01
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd0], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [rsp + 0x7c], eax
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800dfc9e
lea rcx, [rsp + 0x98]
call fcn.1800e4b10
nop
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
lea r9, str.CTsbFolderMonitor::MakeDir_SetFileAttributesW__lu__attr_0x_08X__Folder__s_
lea r8, str.FileCache
mov edx, 0xffffffff
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0x98]
call fcn.1800e4b40
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
mov dword [rsp + 0x8c], 2
mov dword [rsp + 0x90], 4
mov dword [rsp + 0x94], 8
mov dword [rsp + 0x9c], 0
jmp 0x1800dfd13
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 4
jge 0x1800dff01
cmp qword [rsp + 0x70], 0
je 0x1800dfd3c
mov eax, dword [rsp + 0x64]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1800f8660
movsxd rax, dword [rsp + 0x9c]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + rax*4 + 0x88]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x78], eax
jbe 0x1800dfe18
cmp qword [rsp + 0x70], 0
je 0x1800dfd9e
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1800f8898
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.1800f87f4
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800dfdcb
jmp 0x1800dff01
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1800f8660
movsxd rax, dword [rsp + 0x9c]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + rax*4 + 0x88]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1800dfefc
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x78], eax
ja 0x1800dfefc
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x9c]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + rax*4 + 0x88]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x1800dfe82
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800dfefc
lea rcx, [rsp + 0xa0]
call fcn.1800e4b10
nop
movsxd rax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x28], ecx
mov eax, dword [rsp + rax*4 + 0x88]
mov dword [rsp + 0x20], eax
lea r9, str.CTsbFolderMonitor::MakeDir_SetFileSecurityW_type__lu____lu__Folder__s_
lea r8, str.FileCache
mov edx, 0xffffffff
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xa0]
call fcn.1800e4b40
jmp 0x1800dfd03
cmp dword [rsp + 0x60], 0
jne 0x1800dff9b
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1800f78c0
mov dword [rsp + 0xa4], eax
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800dff9b
lea rcx, [rsp + 0xa8]
call fcn.1800e4b10
nop
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x20], eax
lea r9, str.CTsbFolderMonitor::MakeDir_SetFileRights_Everyone__lu__Folder__s_
lea r8, str.FileCache
mov edx, 0xffffffff
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xa8]
call fcn.1800e4b40
jmp 0x1800e001a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1800dffb6
mov dword [rsp + 0x40], 3
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800e001a
lea rcx, [rsp + 0xac]
call fcn.1800e4b10
nop
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
lea r9, str.CTsbFolderMonitor::MakeDir_Failed__Folder__s__error__d_
lea r8, str.FileCache
mov edx, 0xffffffff
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xac]
call fcn.1800e4b40
jmp 0x1800e0024
mov dword [rsp + 0x40], 3
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x108
ret