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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov r14, rcx
lea r12, [0x140348ca0]
mov qword [rsp + 0x20], r12
xor r15d, r15d
mov qword [rsp + 0x28], r15
lea r8d, [r15 + 1]
lea rdx, [0x140347f58]
mov rcx, rsi
call fcn.1401ff110
test al, al
je 0x14010ca4e
lea rdi, [r14 + 0x10c]
test rdi, rdi
jne 0x14010c841
mov ebx, r15d
jmp 0x14010c87a
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14010c845
test ebx, ebx
jle 0x14010c87a
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
jmp 0x14010c881
cmp dword [rsp + 0x2c], 0
jle 0x14010c88d
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140200570
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140201b20
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
cmp dword [rsp + 0x38], 0
jle 0x14010c8e5
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov edx, dword [rsp + 0x2c]
inc edx
lea rcx, [rsp + 0x20]
call fcn.1401ff260
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.140200570
mov qword [rsp + 0x38], r15
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.yyyyMMddHHmmss
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rcx, [r14 + 0x228]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.1400d6f20
mov rdi, rax
mov ebx, dword [rsp + 0x2c]
add ebx, dword [rax + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ff260
movsxd r9, dword [rdi + 0xc]
mov r8d, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x2c]
sub r8d, ecx
inc r8d
movsxd rdx, r8d
mov rax, qword [rsp + 0x20]
lea rcx, [rax + rcx*2]
mov r8, qword [rdi]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
cmp dword [rsp + 0x58], 0
jle 0x14010c9cf
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x14010c9e0
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea rdx, str..txt
lea rcx, [rsp + 0x20]
call fcn.1401fd8b0
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
cmp dword [rsp + 0x58], 0
jle 0x14010ca82
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
jmp 0x14010ca82
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
call fcn.140200570
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400d2ff0
nop
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14010cabd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14010cb14
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140201da0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010caf3
test al, 0x10
je 0x14010caf3
cmp dword [rsp + 0x38], 0
jle 0x14010cb14
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
jmp 0x14010cb14
cmp dword [rsp + 0x38], 0
jle 0x14010cb04
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14010d330
test al, al
je 0x14010cb43
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1402089a0
movzx ebx, al
jmp 0x14010cb45
xor bl, bl
cmp dword [rsp + 0x48], 0
jle 0x14010cb57
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x68], 0
jle 0x14010cb69
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x28], 0
jle 0x14010cb7a
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
movzx eax, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret