Function at 0x14000d694
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xffd8]
mov eax, 0x100b0
call fcn.1400203a0
sub rsp, rax
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rbp + 0xffa0], rax
xor r13d, r13d
lea rdx, [rsp + 0x50]
mov r12d, r13d
mov qword [rsp + 0x50], r13
mov esi, r13d
mov rbx, rcx
call fcn.14000dd00
mov rdi, rax
test rax, rax
je 0x14000dadd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, 0x2000
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14000daa2
mov qword [rsp + 0x30], r13
lea r8d, [r13 + 7]
mov dword [rsp + 0x28], 0x2200000
xor r9d, r9d
mov edx, 0x10000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000da93
lea rdx, [rsp + 0x68]
mov byte [rsp + 0x40], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
xor ebx, ebx
test eax, eax
je 0x14000d9a5
cmp dword [rbp - 0x70], 1
jbe 0x14000d9a5
cmp qword [0x140036708], rbx
je 0x14000d791
mov rax, qword [0x140036700]
test rax, rax
jne 0x14000d7df
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x14000d7d6
lea rdx, str.FindFirstFileNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.FindNextFileNameW
mov rcx, rbx
mov qword [0x140036708], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140036700], rax
jmp 0x14000d7dd
mov rax, qword [0x140036700]
xor ebx, ebx
cmp qword [0x140036708], rbx
je 0x14000d9a5
test rax, rax
je 0x14000d9a5
cmp qword [rsp + 0x50], rbx
je 0x14000d9a5
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x10000
call sub.msvcrt.dll_memset
xor r9d, r9d
lea r8, [rbp - 0x60]
mov edx, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [rsp + 0x44], eax
test eax, eax
je 0x14000d980
cmp word [rbp - 0x60], bx
je 0x14000d980
cmp word [rbp - 0x5e], 0x3a
jne 0x14000d980
lea rcx, [rbp - 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14000d84f
mov rcx, qword gs:[0x60]
inc eax
mov edx, 8
mov r14d, eax
mov rcx, qword [rcx + 0x30]
lea r8, [rax + rax]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x14000d958
lea r8, [rbp - 0x60]
mov edx, r14d
mov rcx, rax
call fcn.1400019b8
mov r14d, eax
test eax, eax
jns 0x14000d8c7
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
movzx ecx, r14w
mov ebx, eax
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], ecx
test rbx, rbx
je 0x14000d958
mov rax, qword [0x140036708]
lea r9, [rbp - 0x5c]
lea r8, [rsp + 0x44]
mov dword [rsp + 0x44], 0x7ffc
xor edx, edx
mov rcx, rdi
call qword [vtable._SH_.0]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000d942
mov rdx, rbx
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x14000d933
mov rax, qword [0x140036700]
lea r8, [rbp - 0x5c]
lea rdx, [rsp + 0x44]
mov dword [rsp + 0x44], 0x7ffc
mov rcx, r14
call qword [vtable._SH_.0]
test eax, eax
je 0x14000d939
jmp 0x14000d8fc
mov r13d, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d979
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.DeleteFileEx:_Unable_to_allocate_memory_for_the_full_path_name__GLE__0x_x
mov edx, 0x3000000
mov r9d, eax
lea rcx, [0x140036710]
call fcn.14000d048
mov r14d, dword [rsp + 0x48]
jmp 0x14000d9a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rdi
lea r8, str.DeleteFileEx:_Unable_to_get_full_path_name_on___s___GLE__0x_x
lea rcx, [0x140036710]
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
call fcn.14000d048
mov r9d, 1
mov dword [rsp + 0x20], 0xd
lea r8, [rsp + 0x40]
mov rcx, r15
lea rdx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ebx, eax
test eax, eax
jns 0x14000da0d
mov r9d, 4
mov dword [rsp + 0x4c], 1
lea r8, [rsp + 0x4c]
mov dword [rsp + 0x20], 0x40
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x14000da0d
cmp eax, 0xc0000003
cmovne ebx, eax
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov esi, eax
jmp 0x14000da13
mov r12d, 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
je 0x14000dac9
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14000dd00
mov r15d, 0x4000000
lea r9, [rbp - 0x60]
mov edx, r15d
lea r8, str.DeleteFileEx:_hardlink_given_to_us_is:__s
lea rcx, [0x140036710]
mov rbx, rax
call fcn.14000d048
mov r9, rbx
lea r8, str.DeleteFileEx:_Trying_to_set_back_attributes_on:__s
mov edx, r15d
lea rcx, [0x140036710]
call fcn.14000d048
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test rbx, rbx
je 0x14000dac9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000dac9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.DeleteFileEx:_Unable_to_delete___s___GLE__0x_x
jmp 0x14000daaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.DeleteFileEx:_Unable_to_clear_out_attributes_on___s___GLE__0x_x
mov r9, rbx
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
lea rcx, [0x140036710]
mov esi, eax
call fcn.14000d048
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r12d
mov rcx, qword [rbp + 0xffa0]
xor rcx, rsp
call fcn.14001fbe0
lea r11, [rsp + 0x100b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret