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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x370], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x68], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], r14
lea rax, vtable.Core::Xml::XmlDocument.0
mov qword [rsp + 0x60], rax
mov byte [rbp - 0x68], r14b
lea rdx, [rsp + 0x60]
call fcn.14010e4d0
test al, al
jne 0x14010c6f1
xor dil, dil
jmp 0x14010cac8
lea r15, [0x140323de0]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r14
mov r8d, 1
lea rdx, [0x1403232c8]
mov rcx, rsi
call fcn.1401e8ee0
test al, al
je 0x14010c948
add rdi, 0x10c
jne 0x14010c72d
mov ebx, r14d
jmp 0x14010c766
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14010c731
test ebx, ebx
jle 0x14010c766
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
jmp 0x14010c76d
cmp dword [rsp + 0x2c], 0
jle 0x14010c779
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ea290
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1401eb840
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x28]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
cmp dword [rsp + 0x38], 0
jle 0x14010c7d1
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov edx, dword [rsp + 0x2c]
inc edx
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd rcx, dword [rsp + 0x2c]
mov edx, 0x5f
mov rax, qword [rsp + 0x20]
mov word [rax + rcx*2], dx
mov edx, dword [rsp + 0x2c]
inc edx
lea rcx, [rsp + 0x20]
call fcn.1401ea290
mov qword [rsp + 0x38], r14
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.yyyyMMddHHmmss
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea rcx, [rbp - 0x48]
call fcn.1400d1620
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400d3af0
mov rdi, rax
mov ebx, dword [rsp + 0x2c]
add ebx, dword [rax + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, dword [rdi + 0xc]
mov edx, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x2c]
sub edx, ecx
inc edx
movsxd rdx, edx
mov rax, qword [rsp + 0x20]
lea rcx, [rax + rcx*2]
mov r8, qword [rdi]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
cmp dword [rsp + 0x50], 0
jle 0x14010c8be
mov rcx, qword [rsp + 0x48]
call fcn.140298600
nop
lea rax, vtable.Core::DateTime.0
mov qword [rbp - 0x48], rax
cmp dword [rsp + 0x38], 0
jle 0x14010c8da
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea rdx, [0x14032c678]
lea rcx, [rsp + 0x20]
call fcn.1401e7680
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x28]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
cmp dword [rsp + 0x50], 0
jle 0x14010c97c
mov rcx, qword [rsp + 0x48]
call fcn.140298600
jmp 0x14010c97c
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, dword [rsi + 0xc]
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r8, qword [rsi]
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401ea290
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.1400d1ab0
nop
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14010c9b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14010ca0b
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1401ebac0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010c9eb
test al, 0x10
je 0x14010c9eb
cmp dword [rsp + 0x38], 0
jle 0x14010ca0b
mov rcx, qword [rsp + 0x30]
call fcn.140298600
jmp 0x14010ca0b
cmp dword [rsp + 0x38], 0
jle 0x14010c9fc
mov rcx, qword [rsp + 0x30]
call fcn.140298600
xor r8d, r8d
mov rdx, qword [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
xor dil, dil
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
lea rcx, [rsp + 0x20]
call fcn.1401f2360
mov rbx, rax
test rax, rax
je 0x14010caa6
mov word [rsp + 0x40], 0xfeff
mov r9, qword [rax]
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [r9 + 0x48]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 0x18]
mov rax, qword [rbx]
mov r8d, dword [rsp + 0x3c]
add r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x48]
nop
cmp dword [rsp + 0x38], 0
jle 0x14010ca8d
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov dil, 1
cmp dword [rbp - 0x58], 0
jle 0x14010cab6
mov rcx, qword [rbp - 0x60]
call fcn.140298600
nop
cmp dword [rsp + 0x28], 0
jle 0x14010cac8
mov rcx, qword [rsp + 0x20]
call fcn.140298600
nop
lea rax, vtable.Core::Xml::XmlNode.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1401f0710
mov rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
test rcx, rcx
je 0x14010cb0c
test rax, rax
je 0x14010cb02
mov qword [rcx + 0x28], rax
mov rcx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x70]
mov qword [rcx + 0x30], rax
jmp 0x14010cb15
mov rax, qword [rbp - 0x70]
mov qword [rax + 0x28], r14
jmp 0x14010cb15
test rax, rax
je 0x14010cb15
mov qword [rax + 0x30], r14
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14010cb50
lea rax, [rsp + 0x60]
cmp qword [rdx + 0x18], rax
jne 0x14010cb37
mov rcx, qword [rbp - 0x78]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
cmp qword [rdx + 0x20], rax
movzx eax, dil
jne 0x14010cb54
mov rcx, qword [rbp - 0x70]
mov qword [rdx + 0x20], rcx
jmp 0x14010cb54
movzx eax, dil
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret