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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, qword [rdx + 0x20]
mov r15, rdx
mov rdx, qword [rdx + 8]
mov r12, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x30]
mov r14, qword [rbp + 0x38]
mov r13d, ecx
mov rcx, r12
call fcn.14001daf0
mov ebx, 1
mov rdi, rax
xor eax, eax
test byte [rbp + 8], 2
jne 0x14001e853
mov eax, dword [rbp + 0xc]
test eax, eax
jne 0x14001e835
cmp word [rdi], 0
mov rax, rdi
je 0x14001e7e6
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], 0
jne 0x14001e7d2
cmp rdi, rax
ja 0x14001e811
movzx ecx, word [rax]
cmp cx, 0x2f
je 0x14001e811
cmp cx, 0x5c
je 0x14001e811
cmp cx, 0x3a
je 0x14001e811
cmp rax, rdi
je 0x14001e830
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rdi, rax
jbe 0x14001e7e6
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400cdd20
test eax, eax
je 0x14001e851
xor eax, eax
mov ebx, eax
jmp 0x14001e853
mov rax, rdi
jmp 0x14001e81a
cmp eax, ebx
jne 0x14001e851
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.14001da40
test eax, eax
mov eax, 0
cmove ebx, eax
jmp 0x14001e853
xor eax, eax
movsxd rbx, ebx
test rbx, rbx
jne 0x14001e874
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x14001ebbe
test rsi, rsi
je 0x14001e88f
mov r9, rdi
mov r8, r15
mov edx, r13d
mov rcx, r14
mov qword [rsp + 0x20], rax
call rsi
mov rbx, rax
test rbx, rbx
jle 0x14001eba9
movsxd rax, dword [r15]
add qword [rbp + 0x28], rax
cmp word [rdi], 0
mov rax, rdi
je 0x14001e8c4
nop
nop
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], 0
jne 0x14001e8b0
cmp rdi, rax
ja 0x14001e8ef
movzx ecx, word [rax]
cmp cx, 0x2f
je 0x14001e8ef
cmp cx, 0x5c
je 0x14001e8ef
cmp cx, 0x3a
je 0x14001e8ef
cmp rax, rdi
je 0x14001e935
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rdi, rax
jbe 0x14001e8c4
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov r9, rax
lea rdx, [rbp + 0x258]
mov esi, 0x104
sub r9, rdx
mov r8, rsi
nop
lea rcx, [r8 + 0x7ffffefa]
test rcx, rcx
je 0x14001e93a
movzx eax, word [r9 + rdx]
test ax, ax
je 0x14001e93a
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x14001e910
jmp 0x14001e93f
mov r9, rdi
jmp 0x14001e8fb
test r8, r8
jne 0x14001e943
sub rdx, 2
mov word [rdx], 0
test byte [rbp + 8], 4
je 0x14001e959
add dword [rbp + 0x20], 1
xor ebx, ebx
jmp 0x14001eba9
mov rdx, qword [r15 + 8]
mov rcx, r12
call fcn.14001daf0
mov rcx, rax
mov rbx, rax
call fcn.1400201b0
xor edx, edx
mov rcx, rax
call fcn.14001d310
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdx, qword [r15 + 8]
mov rcx, r12
call fcn.14001dc50
mov rcx, qword [rbp]
and dword [rbp + 8], 0xbfffffff
mov rdx, rdi
mov r13, rax
call fcn.1400cdd20
test eax, eax
je 0x14001e9c0
mov rcx, rdi
call fcn.14001de50
test eax, eax
je 0x14001e9c0
jle 0x14001e9c7
or dword [rbp + 8], 0x40000000
xor r14d, r14d
bt dword [rbp + 8], 0x1e
jae 0x14001eb4d
test r12, r12
mov edx, 0x7fffffff
je 0x14001ea1e
mov rax, rdx
mov r8d, r14d
cmp word [r12], r8w
je 0x14001ea01
add r12, 2
sub rax, 1
jne 0x14001e9e5
mov r8d, 0x80070057
mov rcx, r14
jmp 0x14001ea17
test rax, rax
jne 0x14001ea11
mov r8d, 0x80070057
mov rcx, r14
jmp 0x14001ea17
mov rcx, rdx
sub rcx, rax
test r8d, r8d
jns 0x14001ea27
jmp 0x14001ea24
mov r8d, 0x80070057
mov rcx, r14
mov rax, qword [r15 + 8]
test r8d, r8d
mov r9, r14
cmovns r9, rcx
test rax, rax
je 0x14001ea74
mov rcx, rdx
mov r8d, r14d
cmp byte [rax], 0
je 0x14001ea5a
add rax, 1
sub rcx, 1
jne 0x14001ea40
mov r8d, 0x80070057
mov rdx, r14
jmp 0x14001ea6d
test rcx, rcx
jne 0x14001ea6a
mov r8d, 0x80070057
mov rdx, r14
jmp 0x14001ea6d
sub rdx, rcx
test r8d, r8d
jns 0x14001ea7d
jmp 0x14001ea7a
mov r8d, 0x80070057
mov rdx, r14
test r8d, r8d
mov rax, r14
mov rcx, rdi
cmovns rax, rdx
lea rdx, [rax + r9 + 0x100]
call fcn.14001df40
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rdi
call fcn.14000fe50
lea rdx, [rbp + 0x4c]
sub rax, rdx
nop
nop
lea rcx, [rsi + 0x7ffffefa]
test rcx, rcx
je 0x14001eae4
movzx ecx, word [rax + rdx]
test cx, cx
je 0x14001eae4
mov word [rdx], cx
add rdx, 2
sub rsi, 1
jne 0x14001eac0
jmp 0x14001eae9
test rsi, rsi
jne 0x14001eaed
sub rdx, 2
mov qword [rsp + 0x38], r14
mov word [rdx], 0
mov qword [rsp + 0x30], r14
xor edx, edx
or r9d, 0xffffffff
mov r8, rdi
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, 0x40
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov r13, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rcx, r13
and eax, 0xfffffff8
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r9d, r9d
mov qword [rsp + 0x30], r14
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov rcx, r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret