Function at 0x140018020
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.1401b7a40
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov edi, dword [0x140395ef8]
lea rcx, [rbp + 0x170]
mov rbx, qword [0x1403b6898]
xor edx, edx
mov r8d, 0x208
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x590]
mov r8d, 0x208
call fcn.1401bcf80
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0xbc0]
mov r8d, 0x800
call fcn.1401bcf80
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
test rbx, rbx
je 0x14001838e
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 0x14001838e
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 0x140018168
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001838e
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 0x14001819e
lea r8, [0x140269150]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c981c
call fcn.1401c7a90
lea r9, [rbp + 0x170]
mov r8d, eax
lea rdx, [0x140269158]
mov ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0xa]
lea r9, [rbp + 0x380]
lea rdx, [0x140269158]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8d, [rbx + 0x14]
lea r9, [rbp + 0x590]
lea rdx, [0x140269158]
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 0x14001836a
cmp qword [0x1403a6be0], r14
je 0x14001836a
xor edx, edx
lea rcx, [rbp + 0x9b0]
mov r8d, 0x208
call fcn.1401bcf80
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.1401bcf80
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, [0x1403b0ed0]
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.140018c20
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 0x14001838e
mov al, 1
jmp 0x140018390
lea r8, str.VIDEO_locked..._r_n
mov edx, 0x104
lea rcx, [rbp + 0xbc0]
call fcn.140008670
lea rcx, [rbp + 0xbc0]
call fcn.140024850
xor al, al
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.1401b6fc0
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