Function at 0x140013010
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.1401b39f0
sub rsp, rax
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov edi, dword [0x1403a0018]
lea rcx, [rbp + 0x170]
mov rbx, qword [0x1403c0cb0]
xor edx, edx
mov r8d, 0x208
call fcn.1401b8eb0
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.1401b8eb0
xor edx, edx
lea rcx, [rbp + 0x590]
mov r8d, 0x208
call fcn.1401b8eb0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401b8eb0
xor edx, edx
lea rcx, [rbp + 0xbc0]
mov r8d, 0x800
call fcn.1401b8eb0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
test rbx, rbx
je 0x14001337e
mov r9, qword [rbx]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [r9 + 0x40]
mov r10, qword [rbx]
lea rax, [rsp + 0x40]
mov r8d, dword [rsp + 0x4c]
xor r14d, r14d
mov edx, dword [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea r9d, [r14 + 0x15]
mov dword [rsp + 0x20], 2
call qword [r10 + 0x120]
test eax, eax
js 0x14001337e
mov rax, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rcx, rbx
call qword [rax + 0x88]
mov rax, qword [rbx]
xor edx, edx
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x108]
test eax, eax
jns 0x140013158
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001337e
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14001318e
lea r8, [0x1402651d0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c574c
call fcn.1401c39c0
lea r9, [rbp + 0x170]
mov r8d, eax
lea rdx, [0x1402651d8]
mov ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0xa]
lea r9, [rbp + 0x380]
lea rdx, [0x1402651d8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0x14]
lea r9, [rbp + 0x590]
lea rdx, [0x1402651d8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp + 0x170]
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 1]
call qword [sym.imp.d3dx9_43.dll_D3DXSaveSurfaceToFileW]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x40], r14
test ebx, ebx
js 0x14001335a
cmp qword [0x1403b0dc0], r14
je 0x14001335a
xor edx, edx
lea rcx, [rbp + 0x9b0]
mov r8d, 0x208
call fcn.1401b8eb0
xor r8d, r8d
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea rdx, [rbp + 0x590]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
movabs rax, 0x3900580044
lea rcx, [rbp + 0x7a8]
xor edx, edx
mov qword [rbp + 0x7a0], rax
mov r8d, 0x200
call fcn.1401b8eb0
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, esi
lea rdx, str._Mon_1__DX9__lu_
mov r8d, eax
lea rcx, [rbp + 0x7a0]
call fcn.140003350
lea r9, [0x1403bb2f0]
mov edx, 0x104
lea r8, str._s.JPG
lea rcx, [rbp + 0x9b0]
call fcn.1400033e0
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0xbc0]
lea rcx, [rbp + 0x590]
mov dword [rsp + 0x20], edi
call fcn.140013c50
lea rcx, [rbp + 0x170]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x14001337e
mov al, 1
jmp 0x140013380
lea r8, str.VIDEO_locked..._r_n
mov edx, 0x104
lea rcx, [rbp + 0xbc0]
call fcn.1400033e0
lea rcx, [rbp + 0xbc0]
call fcn.14001f8e0
xor al, al
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.1401b2f00
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret