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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140122f00]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rdx
mov r13, rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x50], r12d
lea r8, str.Repository::CreateRepositoryPath__
lea rdx, str.CscChangeManager
lea rcx, [rbp - 0x70]
call fcn.140047830
nop
cmp qword [rbx + 0x18], 8
jb 0x14009020d
mov rcx, qword [rbx]
jmp 0x140090210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x80070002
cmp eax, 0xffffffff
je 0x14009022f
and eax, 0x10
test al, al
je 0x14009022f
mov r14d, r12d
mov edi, r12d
jmp 0x140090239
mov edi, ecx
mov r14d, ecx
call fcn.140091fe0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008f4cc
nop
mov rdx, rax
call fcn.140091b54
test al, al
sete sil
cmp qword [rsp + 0x48], 8
jb 0x140090268
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x1400905cc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008f4cc
nop
mov rdx, rax
call fcn.140091d48
nop
cmp qword [rsp + 0x48], 8
jb 0x14009029b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
lea rsi, [r13 + 0x10]
cmp rsi, rbx
je 0x1400902b6
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1400034bc
cmp r14d, 0x80070002
jne 0x1400904cf
mov rdx, rbx
call fcn.140090604
test al, al
je 0x140090364
call fcn.14009136c
mov esi, eax
mov edi, r12d
cmp qword [rbx + 0x18], 8
jb 0x1400902e9
mov rcx, qword [rbx]
jmp 0x1400902ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140090318
mov edx, eax
or edx, esi
cmp edx, eax
je 0x14009032c
cmp qword [rbx + 0x18], 8
jb 0x14009030b
mov rcx, qword [rbx]
jmp 0x14009030e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14009032c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x1400905cc
test byte [0x140124700], 0x10
je 0x1400905cc
cmp qword [rbx + 0x18], 8
jb 0x14009034b
mov rbx, qword [rbx]
call fcn.14009136c
mov r8d, eax
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.14008f674
jmp 0x1400905cc
mov edi, 0x80070003
test byte [0x140124700], 0x10
je 0x14009038e
cmp qword [rbx + 0x18], 8
jb 0x14009037c
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400d15c0]
call fcn.1400329b4
call fcn.140091fe0
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], 8
jb 0x1400903a1
mov rsi, qword [rsi]
mov word [rsi], r12w
mov ebx, 7
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
xor r8d, r8d
lea rdx, [0x1400d2100]
lea rcx, [rsp + 0x30]
call fcn.140005c18
nop
call fcn.14001df98
lea rcx, [rax + 0x4680]
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x30]
call fcn.140048ca8
test al, al
sete sil
cmp qword [rsp + 0x48], 8
jb 0x140090402
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x1400905cc
call fcn.14000a314
mov rcx, qword [rax]
test byte [rcx + 0x20], 8
jbe 0x1400905cc
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
mov r8d, 0x3c
lea rdx, str.Failed_to_clear_Active_Directory_settings_storage_path_cache
lea rcx, [rsp + 0x30]
call fcn.140005c18
nop
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov r8d, 0x10
lea rdx, str.CscChangeManager
lea rcx, [rsp + 0x58]
call fcn.140005c18
nop
call fcn.14000a314
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r9, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
mov edx, 8
mov rcx, qword [rax]
call fcn.140022d18
nop
cmp qword [rsp + 0x70], 8
jb 0x1400904a9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
cmp qword [rsp + 0x48], 8
jb 0x1400905cc
mov rcx, qword [rsp + 0x30]
jmp 0x14009059e
test r14d, r14d
js 0x1400905a6
cmp byte [r13 + 8], r12b
jne 0x1400905cc
mov rdx, rbx
call fcn.1400914e4
test al, al
jne 0x1400905cc
mov edi, 0x8007051b
test byte [0x140124700], 0x10
je 0x140090559
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008f4cc
mov rsi, rax
mov dword [rsp + 0x50], 1
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008811c
mov r15d, 3
cmp qword [rsi + 0x18], 8
jb 0x140090535
mov rsi, qword [rsi]
cmp qword [rax + 0x18], 8
jb 0x14009053f
mov rax, qword [rax]
cmp qword [rbx + 0x18], 8
jb 0x140090549
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rsi
mov r9, rax
mov r8, rbx
call fcn.14008f720
test r15b, 2
je 0x14009058b
and r15d, 0xfffffffd
cmp qword [rsp + 0x48], 8
jb 0x140090576
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov ebx, 7
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
test r15b, 1
je 0x1400905cc
cmp qword [rsp + 0x70], 8
jb 0x1400905cc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x1400905cc
test byte [0x140124700], 0x10
je 0x1400905cc
cmp qword [rbx + 0x18], 8
jb 0x1400905b9
mov rbx, qword [rbx]
mov r9d, r14d
mov r8, rbx
lea rdx, [0x1400d15c0]
call fcn.1400329b4
nop
lea rcx, [rbp - 0x70]
call fcn.140047940
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b3bf0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret