Function at 0x14008c614
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 [0x14011aa00]
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.1400442bc
nop
lea r13d, [r12 + 8]
cmp qword [rbx + 0x18], r13
jb 0x14008c67e
mov rcx, qword [rbx]
jmp 0x14008c681
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008c698
and eax, 0x10
test al, al
je 0x14008c698
mov edi, r12d
jmp 0x14008c6a2
call fcn.14008e434
mov edi, 0x80070002
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140084874
nop
lea rdx, [rsp + 0x30]
call fcn.14008df8c
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x14008c6d2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x14008ca2e
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140084874
mov r14d, 0xc
lea rdx, [rsp + 0x30]
call fcn.14008e17c
nop
cmp qword [rsp + 0x48], r13
jb 0x14008c70b
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 0x14008c726
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140003678
cmp edi, 0x80070002
jne 0x14008c933
mov rdx, rbx
call fcn.14008ca60
test al, al
je 0x14008c7d0
call fcn.14008d7a8
mov esi, eax
mov edi, r12d
cmp qword [rbx + 0x18], r13
jb 0x14008c757
mov rcx, qword [rbx]
jmp 0x14008c75a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008c785
mov edx, eax
or edx, esi
cmp edx, eax
je 0x14008c799
cmp qword [rbx + 0x18], r13
jb 0x14008c778
mov rcx, qword [rbx]
jmp 0x14008c77b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14008c799
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14008ca2e
test byte [0x14011c1c0], 0x10
je 0x14008ca2e
cmp qword [rbx + 0x18], r13
jb 0x14008c7b7
mov rbx, qword [rbx]
call fcn.14008d7a8
mov r8d, eax
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.14008bb08
jmp 0x14008ca2e
mov edi, 0x80070003
test byte [0x14011c1c0], 0x10
je 0x14008c7f9
cmp qword [rbx + 0x18], r13
jb 0x14008c7e7
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400ca220]
call fcn.140030518
call fcn.14008e434
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], r13
jb 0x14008c80b
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, [0x1400cad60]
lea rcx, [rsp + 0x30]
call fcn.140005bf4
nop
call fcn.14001b5b0
lea rcx, [rax + 0x4680]
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x30]
call fcn.140045680
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x14008c86b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x14008ca2e
call fcn.140009ce0
mov rcx, qword [rax]
test byte [rcx + 0x20], r13b
jbe 0x14008ca2e
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.140005bf4
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.140005bf4
nop
call fcn.140009ce0
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.1400200b8
nop
cmp qword [rsp + 0x70], r13
jb 0x14008c90e
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 0x14008ca2e
mov rcx, qword [rsp + 0x30]
jmp 0x14008ca01
test edi, edi
js 0x14008ca09
cmp byte [r15 + 8], r12b
jne 0x14008ca2e
mov rdx, rbx
call fcn.14008d91c
test al, al
jne 0x14008ca2e
mov edi, 0x8007051b
test byte [0x14011c1c0], 0x10
je 0x14008c9be
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140084874
nop
mov dword [rsp + 0x50], 0x1d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008498c
mov r14d, 0x1f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], r13
cmovae rcx, qword [rsp + 0x58]
cmp qword [rax + 0x18], r13
jb 0x14008c9a5
mov rax, qword [rax]
cmp qword [rbx + 0x18], r13
jb 0x14008c9ae
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, rbx
call fcn.14008bba8
test r14b, 2
je 0x14008c9ef
and r14d, 0xfffffffd
cmp qword [rsp + 0x48], r13
jb 0x14008c9da
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 0x14008ca2e
cmp qword [rsp + 0x70], r13
jb 0x14008ca2e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x14008ca2e
test byte [0x14011c1c0], 0x10
je 0x14008ca2e
cmp qword [rbx + 0x18], r13
jb 0x14008ca1b
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400ca220]
call fcn.140030518
nop
lea rcx, [rbp - 0x70]
call fcn.1400443c8
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400afd50
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret