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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110886
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10152034]
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 esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x1003b6d9
push str.CScreenRecord_savepath_is_empty.
push 1
push 0x76
push 0x10127594
push 0x101275c8
call fcn.100ff930
add esp, 0x14
xor al, al
jmp 0x1003b8e3
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 0x1003b802
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 0x1003b7ba
cmp dword [ebp - 0x220], 8
jb 0x1003b791
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 0x1003b7ce
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 0x1003b802
push dword [ebp - 0x268]
call edi
add esp, 4
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 0x1003b833
push 0x3a
push str.C:Program_Files__x86_Windows_Assistant_AppPS_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
lea ecx, [ebp - 0x234]
call fcn.1003b510
mov bl, al
add esp, 0x18
test bl, bl
jne 0x1003b8cd
cmp dword [esi + 0x14], 8
jb 0x1003b872
mov eax, dword [esi]
jmp 0x1003b874
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 0x8c
push str..._srcMoniterHelperScreenRecordScreenRecord.cpp
push str.CScreenRecord::Save
call fcn.100ff930
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
lea ecx, [ebp - 0x234]
call fcn.1003b510
add esp, 0x18
mov bl, al
cmp dword [ebp - 0x220], 8
jb 0x1003b8e1
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.1010a06b
mov esp, ebp
pop ebp
ret 4