Function at 0x14010b540
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 [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov r14, rcx
lea r12, [0x140346ce0]
mov qword [rsp + 0x20], r12
xor r15d, r15d
mov qword [rsp + 0x28], r15
lea r8d, [r15 + 1]
lea rdx, [0x140345f98]
mov rcx, rsi
call fcn.1401fc9f0
test al, al
je 0x14010b7ce
lea rdi, [r14 + 0x10c]
test rdi, rdi
jne 0x14010b5c1
mov ebx, r15d
jmp 0x14010b5fa
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14010b5c5
test ebx, ebx
jle 0x14010b5fa
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x20]
call fcn.1402ba94c
jmp 0x14010b601
cmp dword [rsp + 0x2c], 0
jle 0x14010b60d
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fde50
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1401ff400
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
cmp dword [rsp + 0x38], 0
jle 0x14010b665
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov edx, dword [rsp + 0x2c]
inc edx
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
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.1401fde50
mov qword [rsp + 0x38], r15
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.yyyyMMddHHmmss
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea rcx, [r14 + 0x228]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.1400d6eb0
mov rdi, rax
mov ebx, dword [rsp + 0x2c]
add ebx, dword [rax + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
cmp dword [rsp + 0x58], 0
jle 0x14010b74f
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
nop
cmp dword [rsp + 0x38], 0
jle 0x14010b760
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
lea rdx, str..txt
lea rcx, [rsp + 0x20]
call fcn.1401fb190
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
cmp dword [rsp + 0x58], 0
jle 0x14010b802
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
jmp 0x14010b802
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
call fcn.1401fde50
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400d2fc0
nop
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14010b83d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14010b894
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1401ff680
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010b873
test al, 0x10
je 0x14010b873
cmp dword [rsp + 0x38], 0
jle 0x14010b894
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
jmp 0x14010b894
cmp dword [rsp + 0x38], 0
jle 0x14010b884
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
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.14010c0b0
test al, al
je 0x14010b8c3
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140206280
movzx ebx, al
jmp 0x14010b8c5
xor bl, bl
cmp dword [rsp + 0x48], 0
jle 0x14010b8d7
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
nop
cmp dword [rsp + 0x68], 0
jle 0x14010b8e9
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
nop
cmp dword [rsp + 0x28], 0
jle 0x14010b8fa
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
movzx eax, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1402b6d40
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