Function at 0x10048f30
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011eb86
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x238], ebx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x10048f91
push str.CScreenRecord_savepath_is_empty.
push 1
push 0x66
push 0x1013837c
push 0x1013850c
call fcn.1010d8f0
add esp, 0x14
xor al, al
jmp 0x100491a2
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x100490c0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x268]
call fcn.10002200
push str._ffmpeg.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.10007580
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x234]
cmp eax, ebx
je 0x10049072
cmp dword [ebp - 0x220], 8
jb 0x10049049
push dword [ebp - 0x234]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
push ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.10001be0
cmp dword [ebp - 0x23c], 8
jb 0x10049086
push dword [ebp - 0x250]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x254], 8
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
jb 0x100490ba
push dword [ebp - 0x268]
call edi
add esp, 4
mov ebx, dword [ebp - 0x238]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100490f1
push 0x3a
push str.C:Program_Files__x86_Windows_Assistant_AppMV_ffmpeg.exe
lea ecx, [ebp - 0x234]
call fcn.10002100
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.10001d60
mov edx, dword [ebx]
lea ecx, [ebp - 0x234]
call fcn.10048d50
mov bl, al
add esp, 0x18
test bl, bl
jne 0x1004918c
cmp dword [esi + 0x14], 8
jb 0x10049132
mov eax, dword [esi]
jmp 0x10049134
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
movzx eax, al
push eax
push str._record_try_CPURecord:_d.
push 1
push 0x79
push str..._srcMoniterHelperScreenRecordScreenRecord.cpp
push str.CScreenRecord::Save
call fcn.1010d8f0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.10001d60
xor edx, edx
lea ecx, [ebp - 0x234]
call fcn.10048d50
add esp, 0x18
mov bl, al
cmp dword [ebp - 0x220], 8
jb 0x100491a0
push dword [ebp - 0x234]
call edi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 4