Function at 0x140092a44
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 [0x140118a50]
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.140026b70
nop
lea r13d, [r12 + 8]
cmp qword [rbx + 0x18], r13
jb 0x140092aae
mov rcx, qword [rbx]
jmp 0x140092ab1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140092ac8
and eax, 0x10
test al, al
je 0x140092ac8
mov edi, r12d
jmp 0x140092ad2
call fcn.14009489c
mov edi, 0x80070002
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008aa68
nop
lea rdx, [rsp + 0x30]
call fcn.1400943f0
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x140092b02
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x140092e5e
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008aa68
mov r14d, 0xc
lea rdx, [rsp + 0x30]
call fcn.1400945e4
nop
cmp qword [rsp + 0x48], r13
jb 0x140092b3b
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 0x140092b56
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140003a6c
cmp edi, 0x80070002
jne 0x140092d63
mov rdx, rbx
call fcn.140092e98
test al, al
je 0x140092c00
call fcn.140093c04
mov esi, eax
mov edi, r12d
cmp qword [rbx + 0x18], r13
jb 0x140092b87
mov rcx, qword [rbx]
jmp 0x140092b8a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140092bb5
mov edx, eax
or edx, esi
cmp edx, eax
je 0x140092bc9
cmp qword [rbx + 0x18], r13
jb 0x140092ba8
mov rcx, qword [rbx]
jmp 0x140092bab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140092bc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x140092e5e
test byte [0x14011a1c0], 0x10
je 0x140092e5e
cmp qword [rbx + 0x18], r13
jb 0x140092be7
mov rbx, qword [rbx]
call fcn.140093c04
mov r8d, eax
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140091d84
jmp 0x140092e5e
mov edi, 0x80070003
test byte [0x14011a1c0], 0x10
je 0x140092c29
cmp qword [rbx + 0x18], r13
jb 0x140092c17
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400ce260]
call fcn.140035778
call fcn.14009489c
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], r13
jb 0x140092c3b
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, [0x1400ced70]
lea rcx, [rsp + 0x30]
call fcn.140006190
nop
call fcn.14001f8f8
lea rcx, [rax + 0x4680]
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x30]
call fcn.14004aa90
test al, al
sete sil
cmp qword [rsp + 0x48], r13
jb 0x140092c9b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test sil, sil
je 0x140092e5e
call fcn.14000a554
mov rcx, qword [rax]
test byte [rcx + 0x20], r13b
jbe 0x140092e5e
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.140006190
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.140006190
nop
call fcn.14000a554
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.14001f28c
nop
cmp qword [rsp + 0x70], r13
jb 0x140092d3e
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 0x140092e5e
mov rcx, qword [rsp + 0x30]
jmp 0x140092e31
test edi, edi
js 0x140092e39
cmp byte [r15 + 8], r12b
jne 0x140092e5e
mov rdx, rbx
call fcn.140093d7c
test al, al
jne 0x140092e5e
mov edi, 0x8007051b
test byte [0x14011a1c0], 0x10
je 0x140092dee
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008aa68
nop
mov dword [rsp + 0x50], 0x1d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008ab84
mov r14d, 0x1f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], r13
cmovae rcx, qword [rsp + 0x58]
cmp qword [rax + 0x18], r13
jb 0x140092dd5
mov rax, qword [rax]
cmp qword [rbx + 0x18], r13
jb 0x140092dde
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, rbx
call fcn.140091fc4
test r14b, 2
je 0x140092e1f
and r14d, 0xfffffffd
cmp qword [rsp + 0x48], r13
jb 0x140092e0a
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 0x140092e5e
cmp qword [rsp + 0x70], r13
jb 0x140092e5e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x140092e5e
test byte [0x14011a1c0], 0x10
je 0x140092e5e
cmp qword [rbx + 0x18], r13
jb 0x140092e4b
mov rbx, qword [rbx]
mov r9d, edi
mov r8, rbx
lea rdx, [0x1400ce260]
call fcn.140035778
nop
lea rcx, [rbp - 0x70]
call fcn.140026c80
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b6250
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret