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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rdx
mov r13, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8, str.Repository::CreateRepositoryPath__
lea rdx, str.CscChangeManager
lea rcx, [rsp + 0x70]
call fcn.14004c300
nop
cmp qword [rbx + 0x18], 8
jb 0x14009c851
mov rcx, qword [rbx]
jmp 0x14009c854
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14009c86e
test al, 0x10
je 0x14009c86e
mov edi, r12d
jmp 0x14009c878
call fcn.14009e8e0
mov edi, 0x80070002
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140094584
nop
lea rdx, [rbp - 0x10]
call fcn.14009e400
test al, al
sete sil
cmp qword [rbp + 8], 8
jb 0x14009c8ab
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
test sil, sil
je 0x14009cca7
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140094584
mov esi, 0xc
lea rdx, [rbp - 0x10]
call fcn.14009e608
nop
cmp qword [rbp + 8], 8
jb 0x14009c8e6
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
lea r14, [r13 + 0x10]
or r15, 0xffffffffffffffff
cmp r14, rbx
je 0x14009c904
mov r9, r15
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call fcn.140003c44
cmp edi, 0x80070002
jne 0x14009cba1
mov rdx, rbx
call fcn.14009cce4
test al, al
je 0x14009ca2f
call fcn.14009db4c
mov esi, eax
mov edi, r12d
cmp qword [rbx + 0x18], 8
jb 0x14009c936
mov rcx, qword [rbx]
jmp 0x14009c939
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14009c971
mov edx, eax
or edx, esi
cmp edx, eax
je 0x14009c98b
cmp qword [rbx + 0x18], 8
jb 0x14009c95e
mov rcx, qword [rbx]
jmp 0x14009c961
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x14009c98b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14009cca7
test byte [0x140111b00], 0x10
je 0x14009cca7
cmp qword [rbx + 0x18], 8
jb 0x14009c9aa
mov rbx, qword [rbx]
call fcn.14009db4c
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x38]
mov qword [rbp], rax
mov r9d, 4
mov qword [rbp + 8], r9
test rbx, rbx
je 0x14009c9e3
inc r15
cmp word [rbx + r15*2], r12w
jne 0x14009c9cf
lea ecx, [r15*2 + 2]
jmp 0x14009c9e8
mov ecx, 0xa
lea rax, [0x1400d9fc0]
test rbx, rbx
cmovne rax, rbx
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], r12d
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], r9
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400dac40]
lea rcx, [0x14010a1c0]
call fcn.140002dbc
jmp 0x14009cca7
mov edi, 0x80070003
test byte [0x140111b00], 0x10
je 0x14009ca59
cmp qword [rbx + 0x18], 8
jb 0x14009ca47
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400dabe0]
call fcn.14009bb6c
call fcn.14009e8e0
cmp qword [r14 + 0x18], 8
jb 0x14009ca6a
mov rax, qword [r14]
jmp 0x14009ca6d
mov rax, r14
mov qword [r14 + 0x10], r12
mov word [rax], r12w
call fcn.140020f24
mov rbx, rax
mov r14d, 7
mov qword [rbp + 8], r14
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
xor r8d, r8d
lea rdx, [0x1400db6f0]
lea rcx, [rbp - 0x10]
call fcn.1400063d0
nop
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x10]
lea rcx, [rbx + 0x48e0]
call fcn.14004d75c
test al, al
sete bl
cmp qword [rbp + 8], 8
jb 0x14009cad5
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
test bl, bl
je 0x14009cca7
call fcn.14000ab48
mov rcx, qword [rax]
test byte [rcx + 0x20], 8
jbe 0x14009cca7
call fcn.14000ab48
mov rbx, rax
mov qword [rbp + 8], r14
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
mov r8d, 0x3c
lea rdx, str.Failed_to_clear_Active_Directory_settings_storage_path_cache
lea rcx, [rbp - 0x10]
call fcn.1400063d0
nop
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
mov r8d, 0x10
lea rdx, str.CscChangeManager
lea rcx, [rsp + 0x40]
call fcn.1400063d0
nop
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r9, qword [rbp - 0x10]
lea r8, [rsp + 0x40]
mov edx, 8
mov rcx, qword [rbx]
call fcn.1400209f0
nop
cmp qword [rsp + 0x58], 8
jb 0x14009cb7d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
cmp qword [rbp + 8], 8
jb 0x14009cca7
mov rcx, qword [rbp - 0x10]
jmp 0x14009cc73
test edi, edi
js 0x14009cc81
cmp byte [r13 + 8], r12b
jne 0x14009cca7
mov rdx, rbx
call fcn.14009dcdc
test al, al
jne 0x14009cca7
mov edi, 0x8007051b
test byte [0x140111b00], 0x10
je 0x14009cc2d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140094584
nop
mov dword [rsp + 0x30], 0x1d
lea r14, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r14, qword [rsp + 0x40]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1400946a4
mov esi, 0x1f
cmp qword [rax + 0x18], 8
jb 0x14009cc13
mov rax, qword [rax]
cmp qword [rbx + 0x18], 8
jb 0x14009cc1d
mov rbx, qword [rbx]
mov qword [rsp + 0x20], r14
mov r9, rax
mov r8, rbx
call fcn.14009bcd8
test sil, 2
je 0x14009cc60
and esi, 0xfffffffd
cmp qword [rbp + 8], 8
jb 0x14009cc4d
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov r14d, 7
mov qword [rbp + 8], r14
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
test sil, 1
je 0x14009cca7
cmp qword [rsp + 0x58], 8
jb 0x14009cca7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
jmp 0x14009cca7
test byte [0x140111b00], 0x10
je 0x14009cca7
cmp qword [rbx + 0x18], 8
jb 0x14009cc94
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400dabe0]
call fcn.14009bb6c
nop
lea rcx, [rsp + 0x70]
call fcn.14004c414
mov eax, edi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400c2d60
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret