Function at 0x140065920
Capabilities:
Check if file exists
Delete file
Move file
Reference absolute stream path on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.1400053e0
nop
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x240]
call fcn.140020770
nop
lea rcx, [rsp + 0x220]
call fcn.140001ea0
sub rax, 2
mov r8, rax
lea rdx, [0x1401313b8]
lea rcx, [rsp + 0x220]
call fcn.14006f480
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
cmp rax, 0xffffffffffffffff
jne 0x140065a0f
mov dword [rsp + 0x44], 0xffffffff
lea rcx, [rsp + 0x240]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x220]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x2e8]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x318]
call fcn.1400053b0
mov eax, dword [rsp + 0x44]
jmp 0x140065fe0
movsxd rax, dword [rsp + 0x40]
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x220]
call fcn.14004c1a0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x240]
call fcn.140033270
nop
lea rcx, [rsp + 0x2a0]
call fcn.1400053b0
nop
lea rdx, [0x1401313c0]
lea rcx, [rsp + 0x240]
call fcn.140005350
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x78], rax
lea rdx, [0x1401313d8]
mov rcx, qword [rsp + 0x68]
call fcn.1400053e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x78]
call fcn.140020770
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x108]
call fcn.14004d020
nop
lea rcx, [rsp + 0x108]
call fcn.14001f2d0
cmp rax, 2
jae 0x140065b62
mov dword [rsp + 0x48], 0xffffffff
lea rcx, [rsp + 0x108]
call fcn.14001f300
nop
lea rcx, [rsp + 0x240]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x220]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x2e8]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x318]
call fcn.1400053b0
mov eax, dword [rsp + 0x48]
jmp 0x140065fe0
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x1e0]
call fcn.140020770
nop
lea rdx, str.__hwaccel_auto___i__
lea rcx, [rsp + 0x1e0]
call fcn.140005350
mov rdx, qword [rsp + 0x2e8]
lea rcx, [rsp + 0x1e0]
call fcn.140042c70
lea rdx, [0x140131360]
lea rcx, [rsp + 0x1e0]
call fcn.140005350
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.140020770
nop
lea rdx, str.new.
lea rcx, [rsp + 0x200]
call fcn.140005350
mov edx, 1
lea rcx, [rsp + 0x108]
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.140042c70
nop
cmp dword [rsp + 0x2f0], 0
je 0x140065c2d
lea rdx, str.__c:v_libx265
lea rcx, [rsp + 0x1e0]
call fcn.140005350
nop
jmp 0x140065c42
lea rdx, str.__c:v_libx264
lea rcx, [rsp + 0x1e0]
call fcn.140005350
nop
lea rdx, str.___threads_2__preset_ultrafast__max_muxing_queue_size_9999
lea rcx, [rsp + 0x1e0]
call fcn.140005350
lea rdx, [0x140131598]
lea rcx, [rsp + 0x1e0]
call fcn.140005350
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x1e0]
call fcn.140042c70
lea rdx, [0x14013159c]
lea rcx, [rsp + 0x1e0]
call fcn.140005350
nop
lea rcx, [rsp + 0x200]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140065cc5
lea rcx, [rsp + 0x200]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rax, [rsp + 0x180]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x98]
call fcn.140020770
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x1e0]
call fcn.140005330
mov rdx, rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400053e0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x310]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x308]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x300]
mov r8d, dword [rsp + 0x2f8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x2e0]
call fcn.140066330
nop
lea rcx, [rsp + 0x200]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140065f3b
mov rcx, qword [rsp + 0x2e8]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x4c], eax
mov r8d, dword [rsp + 0x4c]
lea rdx, str.bDelRet:_d
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8296_:CPlayVideoWnd::ConvertBackupFileToSpecialFormat
call fcn.1400c46e0
nop
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0xc8]
call fcn.140020770
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x280]
call fcn.14004d530
nop
lea rax, [rsp + 0x140]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0xe0]
call fcn.140020770
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x260]
call fcn.14004d530
nop
lea rcx, [rsp + 0x260]
call fcn.140001eb0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x280]
call fcn.140001eb0
mov rcx, qword [rsp + 0xf8]
mov r9, rcx
mov r8, rax
lea rdx, str.srcFilePathStr:_s_dstFilePathStr:_s
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8301_:CPlayVideoWnd::ConvertBackupFileToSpecialFormat
call fcn.1400c46e0
lea rcx, [rsp + 0x280]
call fcn.140001eb0
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x260]
call fcn.140001eb0
mov rcx, qword [rsp + 0x100]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x50]
lea rdx, str.renameRet:_d
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8303_:CPlayVideoWnd::ConvertBackupFileToSpecialFormat
call fcn.1400c46e0
nop
lea rcx, [rsp + 0x260]
call fcn.140001f00
nop
lea rcx, [rsp + 0x280]
call fcn.140001f00
nop
jmp 0x140065f5f
lea rcx, [rsp + 0x200]
call fcn.140005330
mov r8, rax
lea rdx, str.dstFilePath:_s_not_Exist
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8307_:CPlayVideoWnd::ConvertBackupFileToSpecialFormat
call fcn.1400c4810
nop
lea rdx, [0x1401317b8]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8310_:CPlayVideoWnd::ConvertBackupFileToSpecialFormat
call fcn.1400c46e0
nop
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x200]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x108]
call fcn.14001f300
nop
lea rcx, [rsp + 0x240]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x220]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x2e8]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x318]
call fcn.1400053b0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x2d8
ret