Function at 0x4e7a16
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
call fcn.004de1dd
pop ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x280]
call fcn.004c65c1
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.004c69bb
add eax, 0x10
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004e20f3
pop ecx
pop ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x270]
call fcn.004c65c1
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x270]
call fcn.004c66f6
lea eax, [ebp - 0x270]
push eax
call fcn.004e20f3
lea ecx, [ebp - 0x270]
mov dword [esp], str.CapCut.exe
call fcn.004c67ff
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4e7b16
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x274]
call fcn.004c65c1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp - 0x270]
lea eax, [ebp - 0x274]
push str._s_d__x
push eax
call fcn.004c6f31
mov esi, dword [ebp - 0x274]
push esi
push dword [ebp - 0x270]
call fcn.004fbfec
add esp, 0x18
test eax, eax
jne 0x4e7b0e
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
call fcn.004c77e2
mov eax, dword [ebp - 0x27c]
xor edi, edi
inc edi
cmp dword [eax - 0xc], ebx
je 0x4e7c07
add eax, 0xfffffff0
push eax
call fcn.004c69bb
add eax, 0x10
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x278]
push eax
call fcn.004e20f3
pop ecx
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x280]
call fcn.004c66f6
mov esi, 0x54f42c
lea ecx, [ebp - 0x278]
push esi
call fcn.004c67ff
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004f3a90
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x274]
call fcn.004c6681
lea eax, [ebp - 0x274]
push eax
call fcn.004e20f3
pop ecx
push esi
lea ecx, [ebp - 0x274]
call fcn.004c67ff
push dword [ebp - 0x274]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, dword [ebp - 0x280]
push edi
push edi
push esi
call fcn.004ddbee
mov ecx, dword [ebp - 0x274]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
jmp 0x4e7c0d
mov esi, dword [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x22c], ebx
call fcn.004df08f
lea eax, [ebp - 0x23c]
mov dword [esp], str.CEF
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004d9e85
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
push edi
cmovae eax, dword [ebp - 0x26c]
push edi
push eax
call fcn.004ddbee
add esp, 0x18
cmp dword [ebp + 8], ebx
je 0x4e7d34
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
push edi
cmovae eax, dword [ebp - 0x23c]
push edi
push eax
call fcn.004ddbee
xor eax, eax
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x214], ebx
call fcn.004df0f9
push str.Videos
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.004d9e85
lea eax, [ebp - 0x254]
push eax
call fcn.004e2128
add esp, 0x20
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 8
cmovae eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e7d1a
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
push edi
cmovae eax, dword [ebp - 0x224]
push edi
push eax
call fcn.004ddbee
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x254]
call fcn.00406930
push ebx
push edi
lea ecx, [ebp - 0x224]
call fcn.00406930
push edi
call fcn.004de1dd
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x26c]
call fcn.00406930
push ebx
push edi
lea ecx, [ebp - 0x23c]
call fcn.00406930
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.004c77e2
lea ecx, [esi - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret 4