Function at 0x100b2370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c94e
mov eax, dword fs:[0]
push eax
sub esp, 0xbf8
mov eax, dword [0x101ebb68]
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 eax, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa88], ecx
lea ecx, [esi + 4]
lea ebx, [ebp - 0xa88]
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa90], 0
call fcn.100b2fa0
mov edi, dword [ebp - 0xa94]
cmp edi, dword [esi + 8]
jne 0x100b2469
mov edx, dword [ebp - 0xa88]
push edx
push str._d_cant_match_registerd_pb_message
lea esi, [ebp - 0xa40]
call fcn.1000c270
add esp, 8
mov esi, 0x10
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], esi
jb 0x100b2409
mov eax, dword [eax]
push str.MGFRAME
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::warning_char_const___char_const__]
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa2c], esi
jb 0x100b243a
mov eax, dword [ebp - 0xa40]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0xa84]
push ebx
push esi
mov dword [ebp - 0xa2c], 0xf
mov dword [ebp - 0xa30], ebx
mov byte [ebp - 0xa40], bl
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100934a0
mov eax, esi
jmp 0x100b2b1d
lea ecx, [esi + 0x14]
lea ebx, [ebp - 0xa88]
lea eax, [ebp - 0xa94]
call fcn.100b3000
mov esi, dword [esi + 0x18]
mov eax, dword [ebp - 0xa94]
cmp eax, esi
je 0x100b24a6
cmp dword [eax + 0x28], 0
mov ecx, dword [eax + 0x10]
jne 0x100b2499
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::tr1::_Xfunc_void_]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0x10]
xor ebx, ebx
mov dword [ebp - 0xa8c], ebx
mov dword [ebp - 0xa88], ebx
test esi, esi
je 0x100b24dd
mov edx, esi
call fcn.1000ae40
test al, al
je 0x100b24dd
mov ebx, esi
push edi
lea esi, [ebp - 0xa8c]
call fcn.10044ae0
mov ebx, dword [ebp - 0xa8c]
push 0x104
lea ecx, [ebp - 0x11b]
push 0
mov dword [ebp - 4], 2
push ecx
mov byte [ebp - 0x11c], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
xor edi, edi
lea edx, [ebp - 0x223]
push edi
push edx
mov byte [ebp - 0x224], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
ja 0x100b2a64
cmp eax, edi
je 0x100b2a64
lea ecx, [ebp - 0x11c]
push ecx
push edi
push 0x101b0660
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, edi
jne 0x100b25fc
push 0x7ff
lea eax, [ebp - 0xa23]
push edi
push eax
mov byte [ebp - 0xa24], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.MGLogicFrame::PhoneDataCache::updateFromPhone
push 0xa2
push str.PhoneDataCache.cpp
push str.Create_a_temp_file_failed
push str._s__file:_s_line:__d_func:__s
lea ecx, [ebp - 0xa24]
push 0x800
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x1c
lea edx, [ebp - 0xa24]
push str.MGFRAME
push edx
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::error_char_const___char_const__]
mov esi, dword [ebp - 0xa84]
push edi
push esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.100934a0
lea eax, [ebp - 0xa8c]
mov dword [ebp - 0xa90], 1
mov byte [ebp - 4], 0
call fcn.100089e0
mov eax, esi
jmp 0x100b2b1d
lea ecx, [ebp - 0xa80]
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::constructor_void_]
push 1
lea ecx, [ebp - 0xa80]
mov byte [ebp - 4], 3
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::EnableLog_bool_]
lea eax, [ebx + 0x38]
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x100b2629
mov eax, dword [eax]
push 1
lea ecx, [ebp - 0x11c]
push ecx
push eax
lea ecx, [ebp - 0xa80]
call dword [sym.imp.AdbManager.dll_public:_enum_emError___thiscall_CAdbClient::PullFile_char_const___char_const___bool_]
test eax, eax
je 0x100b2717
push 0x7ff
lea edx, [ebp - 0xa23]
push 0
push edx
mov byte [ebp - 0xa24], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 1
lea ecx, [ebp - 0xa80]
call dword [sym.imp.AdbManager.dll_public:_int___thiscall_CAdbClient::GetLastError_bool_]
push eax
push str.ADB_PULL_ERR___errCode:__d
lea esi, [ebp - 0xa5c]
call fcn.1000c270
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x100b268d
mov eax, dword [eax]
push str.MGLogicFrame::PhoneDataCache::updateFromPhone
push 0xac
push str.PhoneDataCache.cpp
push eax
push str._s__file:_s_line:__d_func:__s
lea eax, [ebp - 0xa24]
push 0x800
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x1c
lea ecx, [ebp - 0xa5c]
call fcn.1000c240
lea ecx, [ebp - 0xa24]
push str.MGFRAME
push ecx
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::error_char_const___char_const__]
mov esi, dword [ebp - 0xa84]
call fcn.100b2f80
lea ecx, [ebp - 0xa80]
mov dword [ebp - 0xa90], 1
mov byte [ebp - 4], 2
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::destructor_void_]
lea eax, [ebp - 0xa8c]
mov byte [ebp - 4], 0
call fcn.100089e0
mov eax, esi
jmp 0x100b2b1d
sub esp, 0x18
mov dword [ebp - 0xa94], esp
mov eax, esp
je 0x100b2739
mov dword [eax], vtable.std::tr1::_Impl_base0_void_.0
lea edx, [ebp - 0x11c]
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x2fe318a4_MGLogicFrame___0A__tr1_std__X_tr1_std__.0
mov dword [eax + 4], edx
lea esi, [ebp - 0xa7c]
mov dword [eax + 0x10], eax
call fcn.1007ca90
lea esi, [ebx + 0x1c]
mov byte [ebp - 4], 4
push esi
mov dword [ebp - 0xa94], esi
call fcn.10134f50
mov ecx, eax
call fcn.10131780
mov edi, eax
test edi, edi
je 0x100b278d
call fcn.10125cf0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
push edi
call eax
test eax, eax
je 0x100b278d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov edi, eax
test edi, edi
jne 0x100b2826
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x100b2799
mov esi, dword [esi]
push esi
push str._s_type_is_not_a_pb_message_type
lea esi, [ebp - 0xa5c]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], edi
jb 0x100b27b8
mov eax, dword [eax]
push str.MGFRAME
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::warning_char_const___char_const__]
lea ecx, [ebp - 0xa5c]
mov byte [ebp - 4], 4
call fcn.1000c240
mov esi, dword [ebp - 0xa84]
call fcn.100b2f80
lea ecx, [ebp - 0xa7c]
push ecx
mov dword [ebp - 0xa90], 1
mov byte [ebp - 4], 3
call fcn.1007ca10
lea ecx, [ebp - 0xa80]
mov byte [ebp - 4], 2
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::destructor_void_]
lea eax, [ebp - 0xa8c]
mov byte [ebp - 4], 0
call fcn.100089e0
mov eax, esi
jmp 0x100b2b1d
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0xb5c]
push eax
call fcn.100b3060
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb5c]
mov edx, dword [ecx + 4]
cmp dword [ebp + edx - 0xb50], 0
je 0x100b2903
lea eax, [ebp - 0x11c]
push eax
push str.Open_CACHE_file__s_failed
lea esi, [ebp - 0xa5c]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x100b287a
mov eax, dword [eax]
push str.MGFRAME
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::warning_char_const___char_const__]
lea ecx, [ebp - 0xa5c]
mov byte [ebp - 4], 6
call fcn.1000c240
mov esi, dword [ebp - 0xa84]
call fcn.100b2f80
lea ecx, [ebp - 0xaf4]
mov dword [ebp - 0xa90], 1
mov byte [ebp - 4], 4
call fcn.100b3150
lea ecx, [ebp - 0xaf4]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa7c]
push ecx
mov byte [ebp - 4], 3
call fcn.1007ca10
lea ecx, [ebp - 0xa80]
mov byte [ebp - 4], 2
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::destructor_void_]
lea eax, [ebp - 0xa8c]
mov byte [ebp - 4], 0
call fcn.100089e0
mov eax, esi
jmp 0x100b2b1d
lea edx, [ebp - 0xc04]
push edx
call fcn.10035440
lea eax, [ebp - 0xb4c]
push eax
lea ecx, [ebp - 0xbf4]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char____]
lea ecx, [ebp - 0xb5c]
push ecx
call fcn.100b3200
lea edx, [ebp - 0xc04]
push edx
mov ecx, edi
call fcn.10124ed0
lea esi, [ebx + 4]
push esi
mov dword [ebp - 0xaa8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xaa4], 1
xor eax, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa9c], eax
push edi
lea eax, [ebp - 0xaa0]
push eax
call fcn.100934a0
lea edi, [ebx + 0x54]
lea eax, [ebp - 0xaa0]
mov byte [ebp - 4], 0xa
call fcn.1000f990
lea eax, [ebp - 0xaa0]
mov byte [ebp - 4], 9
call fcn.100089e0
mov ecx, dword [ebp - 0xa94]
call fcn.100b1a50
xor ecx, ecx
mov dword [ebp - 0xa98], ecx
mov dword [ebp - 0xa94], ecx
push eax
lea ecx, [ebp - 0xa98]
push ecx
call fcn.100934a0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xa98]
mov edi, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push edi
call eax
mov edi, dword [ebp - 0xa84]
lea ecx, [ebp - 0xa98]
mov eax, edi
call fcn.100acda0
lea eax, [ebp - 0xa98]
mov dword [ebp - 0xa90], 1
mov byte [ebp - 4], 9
call fcn.100089e0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0xc04]
mov byte [ebp - 4], 6
call fcn.10034a00
lea ecx, [ebp - 0xaf4]
mov byte [ebp - 4], 4
call fcn.100b3150
lea ecx, [ebp - 0xaf4]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa7c]
push ecx
mov byte [ebp - 4], 3
call fcn.1007ca10
lea ecx, [ebp - 0xa80]
mov byte [ebp - 4], 2
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::destructor_void_]
mov byte [ebp - 4], 0
lea eax, [ebp - 0xa8c]
call fcn.100089e0
mov eax, edi
jmp 0x100b2b1d
push 0x7ff
lea edx, [ebp - 0xa23]
push edi
push edx
mov byte [ebp - 0xa24], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.MGLogicFrame::PhoneDataCache::updateFromPhone
push 0x9b
push str.PhoneDataCache.cpp
push str.Get_temp_path_failed
push str._s__file:_s_line:__d_func:__s
lea eax, [ebp - 0xa24]
push 0x800
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x1c
lea ecx, [ebp - 0xa24]
push str.MGFRAME
push ecx
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::error_char_const___char_const__]
mov ebx, dword [ebp - 0xa84]
push edi
push ebx
mov dword [ebx], edi
mov dword [ebx + 4], edi
call fcn.100934a0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0xa88]
mov dword [ebp - 0xa90], 1
cmp esi, edi
je 0x100b2b1b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100b2b1b
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100b2b1b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, ebx
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.10178946
mov esp, ebp
pop ebp
ret 4