Function at 0x14006c810
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x310]
add rax, 0x3b0
mov rcx, rax
call fcn.14001fca0
test rax, rax
je 0x14006cdf6
lea rcx, [0x1405fd9f0]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
lea rcx, [0x1405fd9f0]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x230]
call fcn.1400053e0
nop
mov edx, 0xffffffff
lea rcx, [0x1405fd9f0]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
lea rcx, [rsp + 0x230]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006c8c1
lea rcx, [rsp + 0x230]
call fcn.140005330
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x1e
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x1ec]
movzx ecx, word [rsp + 0x1ea]
movzx edx, word [rsp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
movzx edi, word [rsp + 0x1e6]
movzx r8d, word [rsp + 0x1e2]
movzx r9d, word [rsp + 0x1e0]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
lea r8, str._04d_02d_02d_02d_02d_02d
mov edx, 0x1e
lea rcx, [rsp + 0x2d0]
call fcn.140002f30
nop
lea rax, [rsp + 0x110]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x68]
call fcn.140020770
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x210]
call fcn.14004d530
nop
lea rdx, [0x140133384]
lea rcx, [rsp + 0x210]
call fcn.140005470
lea rdx, str.FilePlayedInfo
lea rcx, [rsp + 0x210]
call fcn.140005470
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x210]
call fcn.140005470
lea rdx, [0x1401334ac]
lea rcx, [rsp + 0x210]
call fcn.140005470
nop
lea rcx, [rsp + 0x210]
call fcn.140001eb0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14006ca1c
lea rcx, [rsp + 0x210]
call fcn.140001eb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
xor edx, edx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll__wsetlocale]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsp + 0x60], rax
lea rdx, [0x1401334b8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll__wsetlocale]
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x80]
call fcn.1400333b0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x270]
call fcn.14004d330
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.mfc140u.dll_CSmartDockingStandaloneGuide::CSmartDockingStandaloneGuide]
nop
lea rcx, [rsp + 0x270]
call fcn.140005330
xor r9d, r9d
mov r8d, 0x3001
mov rdx, rax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.mfc140u.dll_CMFCToolBarsListPropertyPage::OnTextLabels]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14006cda1
mov rax, qword [rsp + 0x310]
add rax, 0x3b0
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14001fd90
nop
jmp 0x14006cb16
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x58]
call fcn.14001f320
nop
mov rax, qword [rsp + 0x310]
add rax, 0x3b0
lea rdx, [rsp + 0xd8]
mov rcx, rax
call fcn.14001f260
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001f170
movzx eax, al
test eax, eax
je 0x14006cd92
lea rcx, [rsp + 0x58]
call fcn.14001f1f0
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140056980
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x1f0]
call fcn.1400333b0
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1401334c0]
lea rcx, [rsp + 0x1f0]
call fcn.140033350
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14006cc0e
mov eax, dword [rsp + 0x50]
inc eax
cdqe
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x1f0]
call fcn.1400332f0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1f0]
call fcn.14000bc10
nop
lea rcx, [rsp + 0x290]
call fcn.140001f00
nop
lea rdx, [0x1401334c4]
lea rcx, [rsp + 0x1f0]
call fcn.140005470
nop
movzx eax, byte [rsp + 0x194]
mov edx, eax
lea rcx, [rsp + 0x2b0]
call fcn.1400325b0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x1f0]
call fcn.140020820
nop
lea rcx, [rsp + 0x2b0]
call fcn.140001f00
nop
lea rdx, [0x14013349c]
lea rcx, [rsp + 0x1f0]
call fcn.140005470
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x1f0]
call fcn.140020820
lea rdx, [0x1401334a0]
lea rcx, [rsp + 0x1f0]
call fcn.140005470
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x1f0]
call fcn.140020820
lea rdx, [0x1401334a4]
lea rcx, [rsp + 0x1f0]
call fcn.140005470
lea rdx, [0x1401334a8]
lea rcx, [rsp + 0x1f0]
call fcn.140005470
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0xb8]
call fcn.1400333b0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x250]
call fcn.14004d330
nop
lea rcx, [rsp + 0x250]
call fcn.140005330
mov rdx, rax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.mfc140u.dll_CPaneContainer::StoreRecentDockSiteInfo]
nop
lea rcx, [rsp + 0x250]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x1f0]
call fcn.140001f00
nop
lea rcx, [rsp + 0x170]
call fcn.140033230
nop
jmp 0x14006cb00
lea rcx, [rsp + 0xe0]
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows7::CleanUp]
nop
mov rdx, qword [rsp + 0x60]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll__wsetlocale]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.mfc140u.dll_CScrollView::CScrollView]
nop
lea rcx, [rsp + 0x270]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x210]
call fcn.140001f00
nop
lea rcx, [rsp + 0x230]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x300
pop rdi
ret