Function at 0x1400182a0
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.1401b7d20
sub rsp, rax
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov edi, dword [0x1403a5018]
lea rcx, [rbp + 0x170]
mov rbx, qword [0x1403c5ce0]
xor edx, edx
mov r8d, 0x208
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x590]
mov r8d, 0x208
call fcn.1401bd260
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0xbc0]
mov r8d, 0x800
call fcn.1401bd260
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
test rbx, rbx
je 0x14001860e
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 0x14001860e
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 0x1400183e8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001860e
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 0x14001841e
lea r8, [0x14026a1f0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c9afc
call fcn.1401c7d70
lea r9, [rbp + 0x170]
mov r8d, eax
lea rdx, [0x14026a1f8]
mov ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0xa]
lea r9, [rbp + 0x380]
lea rdx, [0x14026a1f8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0x14]
lea r9, [rbp + 0x590]
lea rdx, [0x14026a1f8]
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 0x1400185ea
cmp qword [0x1403b5df0], r14
je 0x1400185ea
xor edx, edx
lea rcx, [rbp + 0x9b0]
mov r8d, 0x208
call fcn.1401bd260
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.1401bd260
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.1400085e0
lea r9, [0x1403c0320]
mov edx, 0x104
lea r8, str._s.JPG
lea rcx, [rbp + 0x9b0]
call fcn.140008670
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0xbc0]
lea rcx, [rbp + 0x590]
mov dword [rsp + 0x20], edi
call fcn.140018ea0
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 0x14001860e
mov al, 1
jmp 0x140018610
lea r8, str.VIDEO_locked..._r_n
mov edx, 0x104
lea rcx, [rbp + 0xbc0]
call fcn.140008670
lea rcx, [rbp + 0xbc0]
call fcn.140024b30
xor al, al
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.1401b72a0
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