Function at 0x14006f720
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push rdi
sub rsp, 0x370
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x360], rax
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 8
lea rcx, [rsp + 0x140]
call fcn.14000c8b0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x140]
call fcn.14000fff0
nop
mov edx, 8
lea rcx, [rsp + 0x128]
call fcn.14000c8b0
lea r8, [0x1401d3b30]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x128]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x128]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006f804
lea rcx, [rsp + 0x128]
call fcn.140010050
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 8
lea rcx, [rsp + 0x148]
call fcn.14000c8b0
lea r8, [0x1401d3af8]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x148]
call fcn.14000fed0
nop
mov edx, 8
lea rcx, [rsp + 0x130]
call fcn.14000c8b0
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x130]
call fcn.140010d70
nop
lea rdx, [0x1401d3b10]
lea rcx, [rsp + 0x130]
call fcn.1400229e0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rdx, [0x1401d3b78]
mov rcx, qword [rsp + 0x38]
call fcn.14000fff0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call fcn.140010d70
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov dx, 0x79
mov rcx, qword [rsp + 0x60]
call fcn.14001bdc0
mov edx, 8
lea rcx, [rsp + 0x138]
call fcn.14000c8b0
lea rdx, [0x1401b4f24]
lea rcx, [rsp + 0x30]
call fcn.140022af0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x138]
call fcn.140022670
nop
lea rcx, [rsp + 0x30]
call fcn.14000ffc0
lea rcx, [rsp + 0x138]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140023080
nop
lea rcx, [rsp + 0x130]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140023080
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x108]
call fcn.14001ab50
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xe8]
call fcn.14001ab50
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400097a0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400097a0
xor r8d, r8d
mov rcx, qword [rsp + 0x88]
mov rdx, rcx
mov rcx, rax
call fcn.14008c6b0
nop
lea rcx, [rsp + 0xe8]
call fcn.140009960
nop
lea rcx, [rsp + 0x108]
call fcn.140009960
nop
lea rcx, [rsp + 0xa8]
call fcn.140010220
nop
lea rcx, [rsp + 0xc8]
call fcn.140010220
lea rcx, [rsp + 0x130]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x138]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x130]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x148]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x128]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140138320
add rsp, 0x370
pop rdi
ret