Function at 0x1400933d4
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 [0x140119ad0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
lea r8, str.Repository::CreateRepositoryPath__
lea rdx, str.CscChangeManager
lea rcx, [rbp - 0x70]
call fcn.140026914
nop
lea r13d, [r12 + 8]
cmp qword [rbx + 0x18], r13
jb 0x14009343e
mov rcx, qword [rbx]
jmp 0x140093441
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140093458
and eax, 0x10
test al, al
je 0x140093458
mov edi, r12d
jmp 0x140093462
call fcn.14009522c
mov edi, 0x80070002
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008b3cc
nop
lea rdx, [rsp + 0x30]
call fcn.140094d80
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x140093492
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x1400937ee
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008b3cc
mov r14d, 0xc
lea rdx, [rsp + 0x30]
call fcn.140094f74
nop
cmp qword [rsp + 0x48], r13
jb 0x1400934cb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
lea rsi, [r15 + 0x10]
cmp rsi, rbx
je 0x1400934e6
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140003a6c
cmp edi, 0x80070002
jne 0x1400936f3
mov rdx, rbx
call fcn.140093828
test al, al
je 0x140093590
call fcn.140094594
mov esi, eax
mov edi, r12d
cmp qword [rbx + 0x18], r13
jb 0x140093517
mov rcx, qword [rbx]
jmp 0x14009351a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140093545
mov edx, eax
or edx, esi
cmp edx, eax
je 0x140093559
cmp qword [rbx + 0x18], r13
jb 0x140093538
mov rcx, qword [rbx]
jmp 0x14009353b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140093559
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x1400937ee
test byte [0x14011b240], 0x10
je 0x1400937ee
cmp qword [rbx + 0x18], r13
jb 0x140093577
mov rbx, qword [rbx]
call fcn.140094594
mov r8d, eax
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140092710
jmp 0x1400937ee
mov edi, 0x80070003
test byte [0x14011b240], 0x10
je 0x1400935b9
cmp qword [rbx + 0x18], r13
jb 0x1400935a7
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400cf290]
call fcn.14003472c
call fcn.14009522c
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], r13
jb 0x1400935cb
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, [0x1400cfda0]
lea rcx, [rsp + 0x30]
call fcn.140006180
nop
call fcn.14001f6bc
lea rcx, [rax + 0x48e0]
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x30]
call fcn.14004ada0
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x14009362b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x1400937ee
call fcn.14000a514
mov rcx, qword [rax]
test byte [rcx + 0x20], r13b
jbe 0x1400937ee
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.140006180
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.140006180
nop
call fcn.14000a514
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], r13
cmovae r9, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
mov edx, r13d
mov rcx, qword [rax]
call fcn.14001f050
nop
cmp qword [rsp + 0x70], r13
jb 0x1400936ce
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], r13
jb 0x1400937ee
mov rcx, qword [rsp + 0x30]
jmp 0x1400937c1
test edi, edi
js 0x1400937c9
cmp byte [r15 + 8], r12b
jne 0x1400937ee
mov rdx, rbx
call fcn.14009470c
test al, al
jne 0x1400937ee
mov edi, 0x8007051b
test byte [0x14011b240], 0x10
je 0x14009377e
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008b3cc
nop
mov dword [rsp + 0x50], 0x1d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008b4e8
mov r14d, 0x1f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], r13
cmovae rcx, qword [rsp + 0x58]
cmp qword [rax + 0x18], r13
jb 0x140093765
mov rax, qword [rax]
cmp qword [rbx + 0x18], r13
jb 0x14009376e
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, rbx
call fcn.140092950
test r14b, 2
je 0x1400937af
and r14d, 0xfffffffd
cmp qword [rsp + 0x48], r13
jb 0x14009379a
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 r14b, 1
je 0x1400937ee
cmp qword [rsp + 0x70], r13
jb 0x1400937ee
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x1400937ee
test byte [0x14011b240], 0x10
je 0x1400937ee
cmp qword [rbx + 0x18], r13
jb 0x1400937db
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400cf290]
call fcn.14003472c
nop
lea rcx, [rbp - 0x70]
call fcn.140026a24
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b6b90
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret