Function at 0x14005e190
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x6a0
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov r14, rcx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x668
call fcn.1400cfef0
mov r11d, dword [r14 + 0x14]
test r11b, 4
je 0x14005e1e4
mov dword [rsp + 0x28], 0x413
jmp 0x14005e1f9
test r11b, 8
mov eax, 0x113
mov ecx, 0x213
cmovne eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [r14]
xor edx, edx
test rax, rax
je 0x14005e249
mov ecx, 0x7fffffff
mov r8d, edx
nop
nop
cmp word [rax], dx
je 0x14005e22a
add rax, 2
sub rcx, 1
jne 0x14005e210
mov r8d, 0x80070057
mov rax, rdx
jmp 0x14005e242
test rcx, rcx
jne 0x14005e23a
mov r8d, 0x80070057
mov rax, rdx
jmp 0x14005e242
mov eax, 0x7fffffff
sub rax, rcx
test r8d, r8d
jns 0x14005e252
jmp 0x14005e24f
mov r8d, 0x80070057
mov rax, rdx
test r8d, r8d
mov rsi, rdx
cmovns rsi, rax
mov rax, qword [r14 + 8]
add rsi, 1
test rax, rax
je 0x14005e2aa
mov ecx, 0x7fffffff
mov r8d, edx
cmp word [rax], dx
je 0x14005e28b
add rax, 2
sub rcx, 1
jne 0x14005e271
mov r8d, 0x80070057
mov rax, rdx
jmp 0x14005e2a3
test rcx, rcx
jne 0x14005e29b
mov r8d, 0x80070057
mov rax, rdx
jmp 0x14005e2a3
mov eax, 0x7fffffff
sub rax, rcx
test r8d, r8d
jns 0x14005e2b6
jmp 0x14005e2b0
mov r8d, 0x80070057
mov rax, rdx
test r8d, r8d
cmovns rdx, rax
mov eax, 2
mov rdi, 0xffffffffffffffff
lea rbx, [rdx + rsi + 1]
mul rbx
cmovo rax, rdi
mov rcx, rax
call fcn.1400913a4
test rbx, rbx
mov rdx, qword [r14]
mov rcx, rax
mov qword [rsp + 0x20], rax
mov r13d, 0x7ffffffe
je 0x14005e337
cmp rbx, 0x7fffffff
ja 0x14005e337
mov r8, r13
sub r8, rbx
nop
lea rax, [r8 + rbx]
test rax, rax
je 0x14005e324
movzx eax, word [rdx]
test ax, ax
je 0x14005e324
mov word [rcx], ax
add rcx, 2
add rdx, 2
sub rbx, 1
jne 0x14005e300
jmp 0x14005e329
test rbx, rbx
jne 0x14005e32d
sub rcx, 2
mov word [rcx], 0
mov rcx, qword [rsp + 0x20]
call fcn.1400201b0
mov rbx, qword [r14 + 8]
cmp word [rbx], 0
mov rax, rbx
je 0x14005e364
nop
nop
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], 0
jne 0x14005e350
cmp rbx, rax
ja 0x14005e38f
movzx ecx, word [rax]
cmp cx, 0x2f
je 0x14005e38f
cmp cx, 0x5c
je 0x14005e38f
cmp cx, 0x3a
je 0x14005e38f
cmp rax, rbx
je 0x14005e39b
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rbx, rax
jbe 0x14005e364
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.1400202c0
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.1400913a4
test rsi, rsi
mov r9, qword [r14]
mov rbp, rax
je 0x14005e410
cmp rsi, 0x7fffffff
ja 0x14005e410
mov r8, r13
mov rdx, rsi
mov rcx, rax
sub r8, rsi
sub r9, rax
nop
lea rax, [r8 + rdx]
test rax, rax
je 0x14005e402
movzx eax, word [r9 + rcx]
test ax, ax
je 0x14005e402
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005e3e0
jmp 0x14005e407
test rdx, rdx
jne 0x14005e40b
sub rcx, 2
mov word [rcx], 0
mov rcx, rbp
mov qword [rsp + 0x38], rbp
call fcn.1400201b0
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call fcn.14001fc70
cmp dword [rsp + 0x40], 1
mov r12d, eax
jne 0x14005e613
mov rdi, qword [r14 + 8]
mov rax, rdi
cmp word [rdi], 0
je 0x14005e460
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], 0
jne 0x14005e447
cmp rdi, rax
ja 0x14005e48b
nop
nop
movzx ecx, word [rax]
cmp cx, 0x2f
je 0x14005e48b
cmp cx, 0x5c
je 0x14005e48b
cmp cx, 0x3a
je 0x14005e48b
cmp rax, rdi
je 0x14005e497
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rdi, rax
jbe 0x14005e460
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov rbx, qword [r14]
mov rax, rbx
cmp word [rbx], 0
je 0x14005e4b7
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], 0
jne 0x14005e4a3
cmp rbx, rax
ja 0x14005e4e2
movzx ecx, word [rax]
cmp cx, 0x2f
je 0x14005e4e2
cmp cx, 0x5c
je 0x14005e4e2
cmp cx, 0x3a
je 0x14005e4e2
cmp rax, rbx
je 0x14005e4ee
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rbx, rax
jbe 0x14005e4b7
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400cdd20
test eax, eax
je 0x14005e613
mov rbx, qword [r14]
mov rax, rbx
cmp word [rbx], 0
je 0x14005e524
nop
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], 0
jne 0x14005e510
cmp rbx, rax
ja 0x14005e54f
movzx ecx, word [rax]
cmp cx, 0x2f
je 0x14005e54f
cmp cx, 0x5c
je 0x14005e54f
cmp cx, 0x3a
je 0x14005e54f
cmp rax, rbx
je 0x14005e55b
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rbx, rax
jbe 0x14005e524
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
lea rdx, [rsp + 0x278]
mov rcx, rbx
call fcn.1400cdd20
test eax, eax
je 0x14005e613
test rsi, rsi
je 0x14005e5c3
cmp rsi, 0x7fffffff
ja 0x14005e5c3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
sub r13, rsi
nop
lea rax, [r13 + rsi]
test rax, rax
je 0x14005e5b5
movzx eax, word [rdx]
test ax, ax
je 0x14005e5b5
mov word [rcx], ax
add rcx, 2
add rdx, 2
sub rsi, 1
jne 0x14005e590
jmp 0x14005e5ba
test rsi, rsi
jne 0x14005e5be
sub rcx, 2
mov word [rcx], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x278]
call fcn.1400202c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsp + 0x20]
mov edx, eax
mov ebx, eax
and edx, 0xfffffffc
bts edx, 7
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rdx, qword [r14]
mov rcx, qword [rsp + 0x20]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rcx, qword [r14]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbp
call fcn.1400913ac
mov rcx, qword [rsp + 0x20]
call fcn.1400913ac
mov eax, r12d
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1400cd6e0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret