Function at 0x1800e0e00
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 [0x180222e50]
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 0x1800e0e51
mov dword [rsp + 0xf0], 1
jmp 0x1800e0e5c
mov dword [rsp + 0xf0], 0
cmp dword [rsp + 0xf0], 0
jne 0x1800e131c
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 0x1800e131a
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.18012ea80
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1800e129d
mov rax, qword [0x1801cb9e0]
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 0x1800e1201
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, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800e0f9e
lea rcx, [rsp + 0x98]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0x98]
call fcn.1800e76c0
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 0x1800e1013
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 4
jge 0x1800e1201
cmp qword [rsp + 0x70], 0
je 0x1800e103c
mov eax, dword [rsp + 0x64]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1800fb1e0
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 0x1800e1118
cmp qword [rsp + 0x70], 0
je 0x1800e109e
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1800fb418
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.1800fb374
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800e10cb
jmp 0x1800e1201
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.1800fb1e0
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 0x1800e11fc
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x78], eax
ja 0x1800e11fc
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 0x1800e1182
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800e11fc
lea rcx, [rsp + 0xa0]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xa0]
call fcn.1800e76c0
jmp 0x1800e1003
cmp dword [rsp + 0x60], 0
jne 0x1800e129b
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1800fa440
mov dword [rsp + 0xa4], eax
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800e129b
lea rcx, [rsp + 0xa8]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xa8]
call fcn.1800e76c0
jmp 0x1800e131a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1800e12b6
mov dword [rsp + 0x40], 3
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800e131a
lea rcx, [rsp + 0xac]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xac]
call fcn.1800e76c0
jmp 0x1800e1324
mov dword [rsp + 0x40], 3
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1800fbf40
add rsp, 0x108
ret