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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b480
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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.MG_ADB_TRANSFER_MGR
push str.Caller_cancel_the_Transfer___
mov esi, ecx
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov edi, dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
mov ecx, eax
call edi
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x48], 0
jne 0x1008356d
mov ebx, 1
mov byte [esi + 0x4c], 1
mov dword [eax + 0x48], ebx
mov dword [eax + 0x60], 2
mov eax, dword [esi + 0x48]
cmp eax, ebx
jne 0x100833f6
mov eax, dword [esi + 0x44]
cmp eax, 5
je 0x1008356d
cmp eax, 6
je 0x1008356d
cmp dword [esi + 0x3c], 0x10
lea edi, [esi + 0x28]
jb 0x10083374
mov eax, dword [edi]
jmp 0x10083376
mov eax, edi
push 1
lea ebx, [esi + 0x58]
push eax
mov ecx, ebx
call dword [sym.imp.AdbManager.dll_public:_bool___thiscall_CAdbClient::IsFileExist_char_const___bool_]
test al, al
je 0x1008356d
cmp dword [edi + 0x14], 0x10
jb 0x10083396
mov eax, dword [edi]
jmp 0x10083398
mov eax, edi
push eax
push str.Caller_cancel_the_Transferring__we_delete_the_File_transferred_to_the_Phone____FileRemotePath___s
lea esi, [ebp - 0x2c]
call fcn.1000c270
add esp, 8
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x100833bc
mov eax, dword [eax]
push str.MG_ADB_TRANSFER_MGR
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__]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c240
cmp dword [edi + 0x14], esi
jb 0x100833e6
mov edi, dword [edi]
push 1
push edi
mov ecx, ebx
call dword [sym.imp.AdbManager.dll_public:_enum_emError___thiscall_CAdbClient::RemoveFile_char___bool_]
jmp 0x1008356d
cmp eax, 2
jne 0x1008356d
mov eax, dword [esi + 0x44]
cmp eax, 5
je 0x1008356d
cmp eax, 6
je 0x1008356d
push str.MG_ADB_TRANSFER_MGR
push str.Caller_cancel_the_acquring__We_will_delete_the_local_file___
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call edi
push 0
lea edi, [esi + 0xc]
lea eax, [ebp - 0x48]
push edi
push eax
call 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_]
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1008344a
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x10083521
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x10
cmp dword [edi + 0x14], ebx
jb 0x10083472
mov eax, dword [edi]
jmp 0x10083474
mov eax, edi
push eax
push str.Current_File_indeed_exsit____LocalPath___s
lea esi, [ebp - 0x2c]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], ebx
jb 0x10083490
mov eax, dword [eax]
push str.MG_ADB_TRANSFER_MGR
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__]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000c240
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x100834bc
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10083503
cmp dword [edi + 0x14], ebx
jb 0x100834ce
mov edi, dword [edi]
push edi
push str.We_delete_the_Local_File_Failed____LocalPath___s
lea esi, [ebp - 0x2c]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], ebx
jb 0x100834ea
mov eax, dword [eax]
push str.MG_ADB_TRANSFER_MGR
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__]
lea ecx, [ebp - 0x2c]
jmp 0x10083560
cmp dword [edi + 0x14], ebx
jb 0x1008350a
mov edi, dword [edi]
push edi
push str.We_delete_the_Local_File_Successful____LocalPath___s
lea esi, [ebp - 0x2c]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 4
jmp 0x100834e3
mov ebx, 0x10
cmp dword [edi + 0x14], ebx
jb 0x1008352d
mov edi, dword [edi]
push edi
push str.Can_not_check_the_File_exsit_in_local__localPath___s
lea esi, [ebp - 0x64]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], ebx
jb 0x10083549
mov eax, dword [eax]
push str.MG_ADB_TRANSFER_MGR
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__]
lea ecx, [ebp - 0x64]
call fcn.1000c240
lea esi, [ebp - 0x48]
call fcn.1000ba80
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