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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rax, qword [0x140176810]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [rcx + 0x10], 0
jne 0x1400c34fc
mov eax, dword [0x140184200]
test al, 1
jne 0x1400c34da
or eax, 1
mov dword [0x140184200], eax
call fcn.14003bda0
lea rcx, [0x140123810]
call fcn.1400dd8d0
nop
lea r8, str.Invalid_arguments_to_setFileAttributesToDefault
lea rdx, [0x14013d788]
lea rcx, [0x140184130]
call fcn.14003cff0
or eax, 0xffffffff
jmp 0x1400c36e0
mov qword [rbp - 0x10], 7
xor edi, edi
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
cmp qword [rcx + 0x18], 0x10
jb 0x1400c3518
mov rcx, qword [rcx]
lea rdx, [rbp - 0x28]
call fcn.1400355a0
test al, al
jne 0x1400c3569
mov eax, dword [0x140184200]
test al, 1
jne 0x1400c354a
or eax, 1
mov dword [0x140184200], eax
call fcn.14003bda0
lea rcx, [0x140123810]
call fcn.1400dd8d0
nop
lea r8, str.Failed_to_convert_string_to_NativeString_in_setFileAttributesToDefault
lea rdx, [0x14013d8f4]
lea rcx, [0x140184130]
call fcn.14003cb70
jmp 0x1400c36cb
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400c3606
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
mov eax, dword [0x140184200]
test al, 1
jne 0x1400c35b8
or eax, 1
mov dword [0x140184200], eax
call fcn.14003bda0
lea rcx, [0x140123810]
call fcn.1400dd8d0
nop
mov r9, rbx
lea r8, str.File__s_does_not_exist
lea rdx, str.Utilities
lea rcx, [0x140184130]
call fcn.14003ce50
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
call fcn.14003c140
mov rcx, rax
mov r9, rbx
lea r8, str.File_Path_:_s_does_not_exist
lea rdx, [0x14013d788]
call fcn.14003cff0
jmp 0x1400c36ce
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
test al, 1
je 0x1400c3685
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
call fcn.14003c140
mov rcx, rax
mov r9, rbx
lea r8, str.File_:_s_is_read_only
lea rdx, [0x14013d788]
call fcn.14003cff0
and esi, 0xfffffffe
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400c3685
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
call fcn.14003c140
lea r8, str.Failed_to_remove_readonly_attribute_from_File_:_s
jmp 0x1400c36b9
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400c36ce
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
call fcn.14003c140
lea r8, str.Failed_to_set_default_attributes_for_File_:_s
mov r9, rbx
lea rdx, [0x14013d788]
mov rcx, rax
call fcn.14003cff0
or edi, 0xffffffff
cmp qword [rbp - 0x10], 8
jb 0x1400c36de
mov rcx, qword [rbp - 0x28]
call fcn.1400400f0
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400dc400
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret