Function at 0x140093424
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.140026964
nop
lea r13d, [r12 + 8]
cmp qword [rbx + 0x18], r13
jb 0x14009348e
mov rcx, qword [rbx]
jmp 0x140093491
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400934a8
and eax, 0x10
test al, al
je 0x1400934a8
mov edi, r12d
jmp 0x1400934b2
call fcn.14009527c
mov edi, 0x80070002
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008b41c
nop
lea rdx, [rsp + 0x30]
call fcn.140094dd0
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x1400934e2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x14009383e
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008b41c
mov r14d, 0xc
lea rdx, [rsp + 0x30]
call fcn.140094fc4
nop
cmp qword [rsp + 0x48], r13
jb 0x14009351b
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 0x140093536
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140003abc
cmp edi, 0x80070002
jne 0x140093743
mov rdx, rbx
call fcn.140093878
test al, al
je 0x1400935e0
call fcn.1400945e4
mov esi, eax
mov edi, r12d
cmp qword [rbx + 0x18], r13
jb 0x140093567
mov rcx, qword [rbx]
jmp 0x14009356a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140093595
mov edx, eax
or edx, esi
cmp edx, eax
je 0x1400935a9
cmp qword [rbx + 0x18], r13
jb 0x140093588
mov rcx, qword [rbx]
jmp 0x14009358b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400935a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14009383e
test byte [0x14011b2c0], 0x10
je 0x14009383e
cmp qword [rbx + 0x18], r13
jb 0x1400935c7
mov rbx, qword [rbx]
call fcn.1400945e4
mov r8d, eax
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140092760
jmp 0x14009383e
mov edi, 0x80070003
test byte [0x14011b2c0], 0x10
je 0x140093609
cmp qword [rbx + 0x18], r13
jb 0x1400935f7
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400cf2b0]
call fcn.14003477c
call fcn.14009527c
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], r13
jb 0x14009361b
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, [0x1400cfdc0]
lea rcx, [rsp + 0x30]
call fcn.1400061d0
nop
call fcn.14001f70c
lea rcx, [rax + 0x48e0]
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x30]
call fcn.14004adf0
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x14009367b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x14009383e
call fcn.14000a564
mov rcx, qword [rax]
test byte [rcx + 0x20], r13b
jbe 0x14009383e
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.1400061d0
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.1400061d0
nop
call fcn.14000a564
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.14001f0a0
nop
cmp qword [rsp + 0x70], r13
jb 0x14009371e
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 0x14009383e
mov rcx, qword [rsp + 0x30]
jmp 0x140093811
test edi, edi
js 0x140093819
cmp byte [r15 + 8], r12b
jne 0x14009383e
mov rdx, rbx
call fcn.14009475c
test al, al
jne 0x14009383e
mov edi, 0x8007051b
test byte [0x14011b2c0], 0x10
je 0x1400937ce
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008b41c
nop
mov dword [rsp + 0x50], 0x1d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008b538
mov r14d, 0x1f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], r13
cmovae rcx, qword [rsp + 0x58]
cmp qword [rax + 0x18], r13
jb 0x1400937b5
mov rax, qword [rax]
cmp qword [rbx + 0x18], r13
jb 0x1400937be
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, rbx
call fcn.1400929a0
test r14b, 2
je 0x1400937ff
and r14d, 0xfffffffd
cmp qword [rsp + 0x48], r13
jb 0x1400937ea
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 0x14009383e
cmp qword [rsp + 0x70], r13
jb 0x14009383e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x14009383e
test byte [0x14011b2c0], 0x10
je 0x14009383e
cmp qword [rbx + 0x18], r13
jb 0x14009382b
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400cf2b0]
call fcn.14003477c
nop
lea rcx, [rbp - 0x70]
call fcn.140026a74
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b6c20
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret