Function at 0x1400173a0
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.1401b24e0
sub rsp, rax
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov edi, dword [0x14036ccb8]
lea rcx, [rbp + 0x170]
mov rbx, qword [0x14038d0a0]
xor edx, edx
mov r8d, 0x208
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x590]
mov r8d, 0x208
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0xbc0]
mov r8d, 0x800
call fcn.1401b5d40
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
test rbx, rbx
je 0x14001770e
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 0x14001770e
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 0x1400174e8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001770e
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 0x14001751e
lea r8, [0x14025d928]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c07e8
call fcn.1401bea5c
lea r9, [rbp + 0x170]
mov r8d, eax
lea rdx, [0x14025d930]
mov ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0xa]
lea r9, [rbp + 0x380]
lea rdx, [0x14025d930]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0x14]
lea r9, [rbp + 0x590]
lea rdx, [0x14025d930]
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 0x1400176ea
cmp qword [0x14037d410], r14
je 0x1400176ea
xor edx, edx
lea rcx, [rbp + 0x9b0]
mov r8d, 0x208
call fcn.1401b5d40
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.1401b5d40
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.140007a80
lea r9, [0x140387700]
mov edx, 0x104
lea r8, str._s.JPG
lea rcx, [rbp + 0x9b0]
call fcn.140007b10
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0xbc0]
lea rcx, [rbp + 0x590]
mov dword [rsp + 0x20], edi
call fcn.140017fa0
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 0x14001770e
mov al, 1
jmp 0x140017710
lea r8, str.VIDEO_locked..._r_n
mov edx, 0x104
lea rcx, [rbp + 0xbc0]
call fcn.140007b10
lea rcx, [rbp + 0xbc0]
call fcn.140020970
xor al, al
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.1401b1a60
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