Function at 0x10067f30
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193244
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
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
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push str.ProcCache_nImageID___I64d
lea esi, [ebp - 0x80]
call fcn.1000c270
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x10067f84
mov eax, dword [eax]
push 0x101aabe0
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__]
or esi, 0xffffffff
mov dword [ebp - 4], esi
cmp dword [ebp - 0x6c], 0x10
jb 0x10067fb1
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x10
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x10067fcd
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 8], bl
mov dword [eax + 0xc], esi
jmp 0x10067fcf
xor eax, eax
push eax
lea eax, [ebp - 0xf8]
push eax
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
call fcn.10069b30
mov dword [ebp - 4], 1
mov ecx, dword [edi]
mov eax, dword [ebp - 0xf8]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
mov edx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.10068310
cmp dword [ebp - 0x1c], ebx
je 0x10068295
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
mov esi, 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 ecx
call esi
add esp, 0xc
lea edx, [ebp - 0xfc]
push edx
push eax
mov edi, 1
mov dword [ebp - 0xfc], 0x2f
call fcn.10014750
cmp dword [ebp - 0xdc], 8
mov edi, eax
jb 0x10068093
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
cmp edi, 0xffffffff
je 0x10068140
push ebx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x80]
push eax
call esi
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [ebp - 0x9c]
mov edx, eax
mov byte [ebp - 4], 4
call fcn.100143f0
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.1000ae80
mov esi, 8
cmp dword [ebp - 0x88], esi
jb 0x10068104
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 3
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x6c], esi
jb 0x10068134
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov eax, dword [0x101feda4]
cmp eax, ebx
jne 0x1006814e
call fcn.10006d40
lea edx, [ebp - 0xb8]
mov ecx, eax
call fcn.10062040
push eax
mov eax, 0x101a37bc
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.1003b0c0
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x64]
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.10008020
mov esi, 8
cmp dword [ebp - 0xc0], esi
jb 0x100681a1
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], esi
jb 0x100681d9
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x34], esi
jae 0x100681f9
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10068210
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10068254
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x1006821b
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x101aabe0
cmp eax, 1
jne 0x10068241
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__]
jmp 0x10068254
push str.Delete_the_local_Thumbnail_Failed____
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__]
cmp dword [ebp - 0x34], esi
jb 0x10068266
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], esi
jb 0x10068284
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], ebx
xor ebx, ebx
mov dword [ebp - 0x50], edi
mov word [ebp - 0x64], ax
or esi, 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x100682a8
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp edi, ebx
je 0x100682e7
lea edx, [edi + 4]
mov eax, esi
lock xadd dword [edx], eax
jne 0x100682e7
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
lock xadd dword [ecx], esi
jne 0x100682e7
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
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 8