Function at 0x14001d2a0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r13, rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
lea rax, [0x1402bb760]
mov qword [rsp + 0x68], rax
mov rcx, rax
call fcn.14015e550
test eax, eax
je 0x14001d314
mov ecx, eax
call fcn.14015e6bc
nop
mov rax, qword [r13]
mov rcx, qword [rax + 0x8d0]
mov rdi, qword [rcx + 0x40]
mov qword [rsp + 0x58], rdi
xor r15b, r15b
mov byte [rsp + 0x30], r15b
cmp byte [rdi + 0x48], r15b
je 0x14001d815
cmp byte [rdi + 0x100], r15b
je 0x14001d80d
mov ebx, dword [rdi + 0x4c]
lea rcx, [rbp - 0x50]
call fcn.140145a30
nop
mov edx, r12d
cmp ebx, 4
cmovne edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140146490
mov ebx, dword [rdi + 0x50]
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14001ee60
nop
cmp qword [rbp - 0x80], 0
jne 0x14001d5ce
call fcn.14000c980
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea rsi, [rax + 0x33150]
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14001d3a9
mov rsi, qword [rsi]
cmp r14, 8
jae 0x14001d3c0
movups xmm6, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm6
mov qword [rbp - 0x58], 7
jmp 0x14001d407
mov rbx, r14
or rbx, 7
movabs r12, 0x7ffffffffffffffe
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x70]
call fcn.140006990
mov qword [rbp - 0x70], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14019dbf0
mov qword [rbp - 0x58], rbx
movups xmm6, xmmword [rbp - 0x70]
xor r12d, r12d
mov qword [rbp - 0x60], r14
mov ebx, 2
mov dword [rsp + 0x34], ebx
lea rcx, [rsp + 0x70]
call fcn.1400068c0
movups xmmword [rsp + 0x70], xmm6
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r12w
and ebx, 0xfffffffd
mov dword [rsp + 0x34], ebx
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r12w
mov r8d, 8
lea rdx, str._backup_
lea rcx, [rsp + 0x70]
call fcn.140006a90
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001d49b
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rdi + 0xd0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001d4b0
lea rcx, [rsp + 0x70]
call fcn.140006a90
xor ecx, ecx
call fcn.1401aaec0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.1401aade0
test rax, rax
jne 0x14001d544
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001d521
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dadc
call fcn.14017f5e4
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea rcx, [rbp - 0x50]
call fcn.140145a80
xor r15b, r15b
jmp 0x14001da86
mov r9, rax
lea r8, str._Y__m__d__H_M_S
mov edx, 0x20
lea rcx, [rbp - 0x20]
call fcn.1401a9f18
mov r8d, 1
lea rdx, [0x1401e5528]
lea rcx, [rsp + 0x70]
call fcn.140006a90
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001d580
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140006a90
lea rcx, [rdi + 0xe0]
lea rax, [rsp + 0x70]
cmp rcx, rax
je 0x14001d5c5
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
call fcn.140006d60
mov byte [rsp + 0x30], 1
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
xor r9d, r9d
lea r8, [rbp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edx, 0x7e
lea rcx, [rbp + 0x20]
call fcn.14019e1f0
test rax, rax
je 0x14001d617
mov r8d, 0x104
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14001d634
xor eax, 1
mov edx, eax
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r8, [0x1401e5530]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1401462a0
test rax, rax
je 0x14001d7a3
mov rax, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7d6
mov rcx, qword [rax + 0x8d0]
call fcn.14000fa00
mov r14, rax
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9d8
mov rcx, qword [rcx + 0x8d0]
call fcn.14000fa00
mov r13, rax
mov rsi, r12
cmp ebx, 0xffffffff
jne 0x14001d6b8
movsxd r8, r14d
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1401462d0
mov rsi, rax
test r14d, r14d
jne 0x14001d784
lea esi, [rbx + 2]
jmp 0x14001d784
call fcn.14000ca10
mov qword [rsp + 0x40], rax
xor eax, eax
mov r12d, eax
test r14d, r14d
jle 0x14001d778
mov ecx, 0x20004
mov r15, qword [rsp + 0x40]
mov edi, dword [rsp + 0x38]
nop
mov ebx, r14d
sub ebx, r12d
cmp ebx, ecx
cmovg ebx, ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x38], eax
movsxd rdx, r12d
add rdx, r13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, 0xfde9
mov rcx, r15
call fcn.140028020
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x38]
mov r8d, edi
mov rdx, rax
mov rcx, r15
call fcn.14002c080
sub ebx, dword [rsp + 0x48]
movsxd r8, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1401462d0
mov rsi, rax
add r12d, ebx
cmp r12d, r14d
mov eax, 0
mov ecx, 0x20004
jl 0x14001d6e0
mov rdi, qword [rsp + 0x58]
xor r15b, r15b
test r14d, r14d
mov eax, 1
cmove rsi, rax
xor r12d, r12d
lea rcx, [rbp - 0x50]
call fcn.140146250
mov r13, qword [rsp + 0x50]
cmp rsi, 1
jne 0x14001d7a3
mov byte [rdi + 0x100], 0
movzx r15d, sil
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001d7e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d7df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dae2
call fcn.14017f5e4
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea rcx, [rbp - 0x50]
call fcn.140145a80
test r15b, r15b
je 0x14001da86
jmp 0x14001da75
mov r15b, 1
jmp 0x14001da86
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
add rdi, 0xe0
mov r15, qword [rdi + 0x10]
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001d835
mov rbx, qword [rdi]
movabs r12, 0x7ffffffffffffffe
cmp r15, 8
jae 0x14001d85b
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
mov esi, 7
mov qword [rbp - 8], rsi
mov r14, qword [rbp - 0x20]
jmp 0x14001d894
mov rsi, r15
or rsi, 7
cmp rsi, r12
cmova rsi, r12
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x20]
call fcn.140006990
mov r14, rax
mov qword [rbp - 0x20], rax
lea r8, [r15*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.14019dbf0
mov qword [rbp - 8], rsi
mov qword [rbp - 0x10], r15
mov ebx, 4
mov dword [rsp + 0x34], ebx
test r15, r15
je 0x14001da20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov r15, qword [rdi + 0x10]
mov r13, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001d8c3
mov r13, qword [rdi]
cmp r15, 8
jae 0x14001d8dc
movups xmm0, xmmword [r13]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x58], 7
jmp 0x14001d912
mov rbx, r15
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x70]
call fcn.140006990
mov qword [rbp - 0x70], rax
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rax
call fcn.14019dbf0
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], r15
mov ebx, 0xc
mov dword [rsp + 0x34], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x40], xmm1
xor r12d, r12d
mov word [rbp - 0x50], r12w
lea rax, [rbp - 0x50]
cmp rdi, rax
je 0x14001d955
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.140006d60
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14001d995
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d990
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dae8
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r12w
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [rsp + 0x30], 1
and ebx, 0xfffffff7
mov dword [rsp + 0x34], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14001da07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001da02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001daee
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
mov r13, qword [rsp + 0x50]
jmp 0x14001da23
xor r12d, r12d
mov r15b, 1
and ebx, 0xfffffffb
mov dword [rsp + 0x34], ebx
cmp rsi, 8
jb 0x14001da64
lea rdx, [rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001da5c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dad6
mov rcx, r14
call fcn.14017f5e4
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
cmp byte [rsp + 0x30], 0
je 0x14001da86
mov rcx, qword [r13]
call fcn.1400c8280
nop
lea rcx, [0x1402bb760]
call fcn.14015e5b0
test eax, eax
je 0x14001da9d
mov ecx, eax
call fcn.14015e6bc
movzx eax, r15b
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3