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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192211
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.VIDEO_DEL_IMPL
push str.VideoDelImpl::procCache
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
xor esi, esi
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
push edx
mov dword [ebp - 4], esi
call fcn.10117050
cmp dword [ebp - 0x54], esi
jne 0x10116d3f
push str.VIDEO_DEL_IMPL
push str.Video_Thumbnail_Path_is_NULL__not_need_to_pull_the_file_
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::warning_char_const___char_const__]
lea edi, [esi + 0x10]
jmp 0x10117015
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], ax
push esi
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.MGCore.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_MGStringUtil::convertANSIToUnicode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___enum_MGStringUtil::eSrcCodePage_]
push edx
call ebx
add esp, 0xc
lea ecx, [ebp - 0xf4]
push ecx
push eax
mov edi, 1
mov dword [ebp - 0xf4], 0x2f
call fcn.10014750
cmp dword [ebp - 0xa4], 8
mov esi, eax
jb 0x10116daa
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp esi, 0xffffffff
je 0x10116e4a
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
push edx
call ebx
add esp, 0xc
lea ecx, [esi + 1]
push 0xffffffffffffffff
lea esi, [ebp - 0x80]
mov edx, eax
mov byte [ebp - 4], 2
call fcn.100143f0
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.1000ae80
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x10116e15
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x34], esi
jb 0x10116e3e
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
mov eax, dword [0x101feda4]
test eax, eax
jne 0x10116e58
call fcn.10006d40
lea edx, [ebp - 0xf0]
mov ecx, eax
call fcn.10061e30
push eax
mov eax, 0x101a37bc
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.1003b0c0
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x9c]
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10008020
mov ebx, 8
cmp dword [ebp - 0xc0], ebx
jb 0x10116eae
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
xor edi, edi
xor edx, edx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xdc], ebx
jb 0x10116ee5
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], cx
cmp dword [ebp - 0x18], ebx
jae 0x10116f05
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10116fd2
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x10116f20
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x10116fba
push edi
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
add esp, 0xc
mov edi, 0x10
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], edi
jb 0x10116f52
mov eax, dword [eax]
push eax
push str.Delete_the_local_Thumbnail_Successful_____ThumnailPath___s
lea esi, [ebp - 0x48]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], edi
jb 0x10116f6e
mov eax, dword [eax]
push str.VIDEO_DEL_IMPL
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
cmp dword [ebp - 0x34], edi
jb 0x10116f94
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x6c], edi
jb 0x10116fd7
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x10116fd7
push str.VIDEO_DEL_IMPL
push str.Delete_the_local_Thumbnail_Successful____
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
mov edi, 0x10
cmp dword [ebp - 0x18], ebx
jb 0x10116fe9
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x88], ebx
jb 0x10117015
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x50], edi
jb 0x10117027
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret 0xc