Function at 0x14001d2e0
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 [0x1402a98a8]
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, [0x1402be800]
mov qword [rsp + 0x68], rax
mov rcx, rax
call fcn.140160230
test eax, eax
je 0x14001d354
mov ecx, eax
call fcn.14016039c
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 0x14001d855
cmp byte [rdi + 0x100], r15b
je 0x14001d84d
mov ebx, dword [rdi + 0x4c]
lea rcx, [rbp - 0x50]
call fcn.140147700
nop
mov edx, r12d
cmp ebx, 4
cmovne edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140148160
mov ebx, dword [rdi + 0x50]
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14001eec0
nop
cmp qword [rbp - 0x80], 0
jne 0x14001d60e
call fcn.14000c990
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea rsi, [rax + 0x33158]
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14001d3e9
mov rsi, qword [rsi]
cmp r14, 8
jae 0x14001d400
movups xmm6, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm6
mov qword [rbp - 0x58], 7
jmp 0x14001d447
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.1400069a0
mov qword [rbp - 0x70], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14019f8d0
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.1400068d0
movups xmmword [rsp + 0x70], xmm6
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1401e5030]
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.140006aa0
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 0x14001d4db
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 0x14001d4f0
lea rcx, [rsp + 0x70]
call fcn.140006aa0
xor ecx, ecx
call fcn.1401acba0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.1401acac0
test rax, rax
jne 0x14001d584
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001d561
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d55c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db1c
call fcn.1401812c4
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea rcx, [rbp - 0x50]
call fcn.140147750
xor r15b, r15b
jmp 0x14001dac6
mov r9, rax
lea r8, str._Y__m__d__H_M_S
mov edx, 0x20
lea rcx, [rbp - 0x20]
call fcn.1401abbf8
mov r8d, 1
lea rdx, [0x1401e7528]
lea rcx, [rsp + 0x70]
call fcn.140006aa0
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001d5c0
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140006aa0
lea rcx, [rdi + 0xe0]
lea rax, [rsp + 0x70]
cmp rcx, rax
je 0x14001d605
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
call fcn.140006d70
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.14019fed0
test rax, rax
je 0x14001d657
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 0x14001d674
xor eax, 1
mov edx, eax
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r8, [0x1401e7530]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140147f70
test rax, rax
je 0x14001d7e3
mov rax, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7d6
mov rcx, qword [rax + 0x8d0]
call fcn.14000fa10
mov r14, rax
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9d8
mov rcx, qword [rcx + 0x8d0]
call fcn.14000fa10
mov r13, rax
mov rsi, r12
cmp ebx, 0xffffffff
jne 0x14001d6f8
movsxd r8, r14d
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140147fa0
mov rsi, rax
test r14d, r14d
jne 0x14001d7c4
lea esi, [rbx + 2]
jmp 0x14001d7c4
call fcn.14000ca20
mov qword [rsp + 0x40], rax
xor eax, eax
mov r12d, eax
test r14d, r14d
jle 0x14001d7b8
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.140028080
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.14002c0e0
sub ebx, dword [rsp + 0x48]
movsxd r8, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140147fa0
mov rsi, rax
add r12d, ebx
cmp r12d, r14d
mov eax, 0
mov ecx, 0x20004
jl 0x14001d720
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.140147f20
mov r13, qword [rsp + 0x50]
cmp rsi, 1
jne 0x14001d7e3
mov byte [rdi + 0x100], 0
movzx r15d, sil
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001d824
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d81f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db22
call fcn.1401812c4
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea rcx, [rbp - 0x50]
call fcn.140147750
test r15b, r15b
je 0x14001dac6
jmp 0x14001dab5
mov r15b, 1
jmp 0x14001dac6
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 0x14001d875
mov rbx, qword [rdi]
movabs r12, 0x7ffffffffffffffe
cmp r15, 8
jae 0x14001d89b
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
mov esi, 7
mov qword [rbp - 8], rsi
mov r14, qword [rbp - 0x20]
jmp 0x14001d8d4
mov rsi, r15
or rsi, 7
cmp rsi, r12
cmova rsi, r12
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x20]
call fcn.1400069a0
mov r14, rax
mov qword [rbp - 0x20], rax
lea r8, [r15*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.14019f8d0
mov qword [rbp - 8], rsi
mov qword [rbp - 0x10], r15
mov ebx, 4
mov dword [rsp + 0x34], ebx
test r15, r15
je 0x14001da60
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov r15, qword [rdi + 0x10]
mov r13, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001d903
mov r13, qword [rdi]
cmp r15, 8
jae 0x14001d91c
movups xmm0, xmmword [r13]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x58], 7
jmp 0x14001d952
mov rbx, r15
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x70]
call fcn.1400069a0
mov qword [rbp - 0x70], rax
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rax
call fcn.14019f8d0
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 [0x1401e5030]
movdqu xmmword [rbp - 0x40], xmm1
xor r12d, r12d
mov word [rbp - 0x50], r12w
lea rax, [rbp - 0x50]
cmp rdi, rax
je 0x14001d995
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.140006d70
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14001d9d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d9d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db28
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
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 0x14001da47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001da42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db2e
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
mov r13, qword [rsp + 0x50]
jmp 0x14001da63
xor r12d, r12d
mov r15b, 1
and ebx, 0xfffffffb
mov dword [rsp + 0x34], ebx
cmp rsi, 8
jb 0x14001daa4
lea rdx, [rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001da9c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db16
mov rcx, r14
call fcn.1401812c4
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
cmp byte [rsp + 0x30], 0
je 0x14001dac6
mov rcx, qword [r13]
call fcn.1400c97a0
nop
lea rcx, [0x1402be800]
call fcn.140160290
test eax, eax
je 0x14001dadd
mov ecx, eax
call fcn.14016039c
movzx eax, r15b
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1401813e0
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.1401a2d8c
nop
call fcn.1401a2d8c
int3
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
int3