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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10194f5f
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
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, dword [ebp + 8]
mov ebx, ecx
push str.CONTACT_ADD_IMPL
xor esi, esi
push str.Contact_Add_Request_Proc__Begine______
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2b4], esi
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::info_char_const___char_const__]
mov eax, dword [ebx + 0x54]
cmp eax, esi
je 0x1003eea3
cmp dword [eax + 0x2c], esi
je 0x1003eea3
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x298], eax
mov dword [ebp - 4], 1
cmp eax, esi
je 0x1003dda7
push eax
call fcn.10041d50
jmp 0x1003dda9
xor eax, eax
push eax
xor ecx, ecx
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 0
push eax
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], ecx
call fcn.10040f20
lea ecx, [ebp - 0x2d8]
mov eax, ebx
mov dword [ebp - 4], 2
call fcn.10033560
lea ecx, [ebp - 0x2d8]
push ecx
lea esi, [ebp - 0x2c4]
mov byte [ebp - 4], 3
call fcn.10040da0
mov byte [ebp - 4], 4
mov byte [ebp - 0x298], 0
mov edx, dword [ebp - 0x298]
push edx
call sym.MGEngine.dll_protected:_static_class_PhoneProxy____cdecl_MGSingleton_class_PhoneProxy__1_::createInstance_struct_Int2Type_1__
add esp, 8
lea ecx, [ebp - 0x2cc]
push ecx
mov ecx, eax
call sym.MGEngine.dll_public:_class_std::tr1::shared_ptr_struct_PhoneBaseInfo____thiscall_PhoneProxy::getPhoneBaseInfo_void_
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x1003deef
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
push eax
push ecx
push str.Current_Phone_Internal_Space_:__d
lea esi, [ebp - 0x25c]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], eax
call fcn.1000c270
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x1003de5f
mov eax, dword [eax]
push str.CONTACT_ADD_IMPL
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov esi, dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
mov ecx, eax
call esi
mov byte [ebp - 4], 5
cmp dword [ebp - 0x248], 0x10
jb 0x1003de92
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x2a8], 0
jg 0x1003df4f
jl 0x1003deb1
cmp dword [ebp - 0x2ac], 0x1b0
jae 0x1003df4f
push str.CONTACT_ADD_IMPL
push str.Current_Phone_Internal_Space_is_not_enough____
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call esi
mov eax, dword [ebp - 0x2bc]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x2bc]
mov dword [ecx + 0xc], 0xfffffffc
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x2bc]
push eax
call edx
push 0
push edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10032ed0
mov dword [ebp - 0x2b4], 1
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 4
call fcn.100089e0
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 3
call fcn.100089e0
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 2
call fcn.100089e0
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 0
call fcn.100089e0
jmp 0x1003eec7
push 0x40
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x298], eax
xor esi, esi
mov byte [ebp - 4], 7
cmp eax, esi
je 0x1003df72
push eax
call fcn.100f7300
jmp 0x1003df74
xor eax, eax
push eax
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], esi
call fcn.10040fc0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2a4], esi
jne 0x1003dfc2
mov esi, edi
call fcn.10036020
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2b4], 1
mov byte [ebp - 4], 5
call fcn.100089e0
jmp 0x1003df0e
mov eax, dword [ebx + 0x54]
mov esi, dword [ebp - 0x2a4]
push eax
call fcn.10041a80
mov eax, dword [ebx + 0x54]
mov edi, dword [eax + 0x1c]
cmp edi, dword [eax + 0x20]
je 0x1003e01d
lea esp, [esp]
mov eax, dword [ebp - 0x2a4]
call fcn.10041a40
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or dword [esi + 0x50], 1
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
mov eax, dword [edi]
add eax, 8
push eax
call fcn.1003d8d0
mov eax, dword [ebx + 0x54]
push eax
call fcn.1003d920
mov eax, dword [ebx + 0x54]
add edi, 8
cmp edi, dword [eax + 0x20]
jne 0x1003dfe0
mov esi, dword [ebp - 0x2a4]
call fcn.100419d0
mov esi, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
or dword [esi + 0x64], 1
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x2c]
add eax, 0x30
push eax
mov dword [ebp - 0x298], esi
call fcn.10041980
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x2c]
mov al, byte [eax + 0x4c]
or dword [esi + 0x64], 4
mov byte [esi + 0x5c], al
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x2c]
add eax, 0x88
push eax
call fcn.10041930
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x2c]
mov esi, dword [ecx + 0xa4]
cmp esi, dword [ecx + 0xa8]
je 0x1003e1e5
mov ecx, dword [ebp - 0x298]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
add ecx, 0x1c
cmp eax, edx
jge 0x1003e0b3
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 0x1c]
mov edi, dword [edx + eax*4]
inc eax
mov dword [ecx + 0x20], eax
jmp 0x1003e0dd
mov eax, dword [ecx + 0xc]
cmp edx, eax
jne 0x1003e0c1
inc eax
push eax
call fcn.10125e20
mov edi, dword [ebp - 0x298]
inc dword [edi + 0x24]
call fcn.10041850
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x20]
mov edi, eax
mov eax, dword [esi]
or dword [edi + 0x18], 2
cmp dword [edi + 0xc], 0x101eb21c
mov dword [ebp - 0x29c], eax
jne 0x1003e119
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e114
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e116
xor eax, eax
mov dword [edi + 0xc], eax
mov edx, dword [ebp - 0x29c]
mov ecx, dword [edi + 0xc]
push 0xffffffffffffffff
push 0
add edx, 0x1c
push edx
call fcn.1000bd90
mov eax, dword [esi]
or dword [edi + 0x18], 4
cmp dword [edi + 0x10], 0x101eb21c
mov dword [ebp - 0x29c], eax
jne 0x1003e16b
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e166
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e168
xor eax, eax
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x29c]
mov ecx, dword [edi + 0x10]
push 0xffffffffffffffff
push 0
add edx, 0x38
push edx
call fcn.1000bd90
mov eax, dword [esi]
or dword [edi + 0x18], 1
cmp dword [edi + 8], 0x101eb21c
mov dword [ebp - 0x29c], eax
jne 0x1003e1bd
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e1b8
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e1ba
xor eax, eax
mov dword [edi + 8], eax
mov edx, dword [ebp - 0x29c]
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push 0
push edx
call fcn.1000bd90
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x2c]
add esi, 8
cmp esi, dword [eax + 0xa8]
jne 0x1003e08e
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x2c]
mov esi, dword [ecx + 0xb4]
cmp esi, dword [ecx + 0xb8]
je 0x1003e356
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
cmp ecx, edx
jge 0x1003e219
mov edx, dword [eax + 0x3c]
mov edi, dword [edx + ecx*4]
inc ecx
mov dword [eax + 0x40], ecx
jmp 0x1003e24c
mov eax, dword [eax + 0x48]
cmp edx, eax
jne 0x1003e230
mov ecx, dword [ebp - 0x298]
inc eax
push eax
add ecx, 0x3c
call fcn.10125e20
mov edi, dword [ebp - 0x298]
inc dword [edi + 0x44]
call fcn.10041760
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x40]
mov edi, eax
mov eax, dword [esi]
or dword [edi + 0x18], 2
cmp dword [edi + 0xc], 0x101eb21c
mov dword [ebp - 0x29c], eax
jne 0x1003e288
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e283
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e285
xor eax, eax
mov dword [edi + 0xc], eax
mov edx, dword [ebp - 0x29c]
mov ecx, dword [edi + 0xc]
push 0xffffffffffffffff
push 0
add edx, 0x1c
push edx
call fcn.1000bd90
mov eax, dword [esi]
or dword [edi + 0x18], 4
cmp dword [edi + 0x10], 0x101eb21c
mov dword [ebp - 0x29c], eax
jne 0x1003e2da
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e2d5
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e2d7
xor eax, eax
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x29c]
mov ecx, dword [edi + 0x10]
push 0xffffffffffffffff
push 0
add edx, 0x38
push edx
call fcn.1000bd90
mov eax, dword [esi]
or dword [edi + 0x18], 1
cmp dword [edi + 8], 0x101eb21c
mov dword [ebp - 0x29c], eax
jne 0x1003e32c
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e327
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e329
xor eax, eax
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x29c]
mov edi, dword [edi + 8]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, edi
call fcn.1000bd90
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x2c]
add esi, 8
cmp esi, dword [eax + 0xb8]
jne 0x1003e1fd
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx + 0x7c], 0
mov esi, dword [ebp - 0x298]
je 0x1003eb94
cmp dword [ecx + 0x80], 0x10
lea eax, [ecx + 0x6c]
jb 0x1003e37a
mov eax, dword [eax]
push eax
push str.The_Contact_Add_has_Photo__its_localPath___s
lea esi, [ebp - 0x294]
call fcn.1000c270
add esp, 8
mov esi, 0x10
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], esi
jb 0x1003e39e
mov eax, dword [eax]
push str.CONTACT_ADD_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__]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x280], esi
jb 0x1003e3ce
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x2c]
push 0xffffffffffffffff
push 0
add ebx, 0x6c
mov edi, 0xf
push ebx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
call fcn.1000bd90
push 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xa
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
cmp dword [ebp - 0xc0], 8
mov eax, dword [ebp - 0xd4]
jae 0x1003e437
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003eb41
xor ebx, ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
call fcn.10039e60
push ebx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x80]
push eax
call esi
add esp, 0xc
mov byte [ebp - 4], 0xd
push ebx
push 0x101a4104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
mov byte [ebp - 4], 0xe
xor ecx, ecx
push ebx
mov eax, 0x101a37ec
lea esi, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
call fcn.1000b950
mov ebx, 1
lea edi, [ebp - 0xd4]
call fcn.10040d20
xor edx, edx
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], dx
mov byte [ebp - 4], 0x10
cmp eax, 0xffffffff
je 0x1003e701
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x240]
lea edx, [ebp - 0x80]
call fcn.100143f0
mov edi, eax
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x11
call fcn.1000ae80
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x22c], 8
jb 0x1003e535
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
push 1
mov eax, 0x101a37b0
lea esi, [ebp - 0x10c]
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], cx
call fcn.1000b950
mov byte [ebp - 4], 0x12
cmp dword [0x101feda4], 0
jne 0x1003e576
call fcn.10006d40
lea esi, [ebp - 0x1b4]
call fcn.10062a50
push 0
push eax
lea edx, [ebp - 0x198]
push edx
mov byte [ebp - 4], 0x13
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 ecx, eax
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x17c]
mov byte [ebp - 4], 0x14
call fcn.10007f90
mov ecx, eax
lea eax, [ebp - 0xf0]
lea ebx, [ebp - 0x160]
mov byte [ebp - 4], 0x15
call fcn.10008020
mov edi, eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
call fcn.1000ae80
cmp dword [ebp - 0x14c], 8
jb 0x1003e5f0
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov edi, 8
mov esi, 7
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], ebx
mov word [ebp - 0x160], cx
cmp dword [ebp - 0x168], edi
jb 0x1003e629
mov edx, dword [ebp - 0x17c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], ebx
mov word [ebp - 0x17c], ax
cmp dword [ebp - 0x184], edi
jb 0x1003e656
mov ecx, dword [ebp - 0x198]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x184], esi
xor edx, edx
mov esi, 0x10
mov dword [ebp - 0x188], ebx
mov word [ebp - 0x198], dx
cmp dword [ebp - 0x1a0], esi
jb 0x1003e688
mov eax, dword [ebp - 0x1b4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], ebx
mov byte [ebp - 0x1b4], bl
cmp dword [ebp - 0xf8], edi
jb 0x1003e6ba
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x1ec]
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_]
lea ecx, [ebp - 0x1ec]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.10037170
add esp, 0x10
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x1d8], esi
jb 0x1003e701
mov edx, dword [ebp - 0x1ec]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x1003e711
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], edi
jae 0x1003e725
lea eax, [ebp - 0x9c]
push ecx
push eax
push str.We_need_push_the_Thumbnail.png_to_the_Phone____localPath___s__remotePath___s
lea esi, [ebp - 0x224]
call fcn.1000c270
add esp, 0xc
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x1003e745
mov eax, dword [eax]
push str.CONTACT_ADD_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__]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x210], edi
jb 0x1003e775
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x29c]
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::constructor_void_]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x1003e790
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x1003e79b
lea eax, [ebp - 0x48]
push 1
push ecx
push eax
lea ecx, [ebp - 0x29c]
call dword [sym.imp.AdbManager.dll_public:_enum_emError___thiscall_CAdbClient::PushFile_char_const___char_const___bool_]
mov ebx, eax
test ebx, ebx
jne 0x1003e891
mov esi, dword [ebp - 0x298]
or dword [esi + 0x64], 8
cmp dword [esi + 0x14], 0x101eb21c
jne 0x1003e7ea
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e7e5
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x1003e7e7
xor eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.1000bd90
mov esi, dword [ebp - 0x2b0]
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x2c]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [eax + 0x50]
call fcn.1000bd90
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ecx + 0x6c]
call fcn.1000bd90
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x1003e837
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x1003e842
lea eax, [ebp - 0x48]
push ecx
push eax
push str.Adb_Push_Photo_Successful____Photo_ThumbnailLocalPath___s___RemotePath___s
lea esi, [ebp - 0x208]
call fcn.1000c270
add esp, 0xc
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x14], edi
jb 0x1003e862
mov eax, dword [eax]
push str.CONTACT_ADD_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__]
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x1f4], edi
jb 0x1003ea2d
mov eax, dword [ebp - 0x208]
jmp 0x1003ea23
push 0
push 0x101a4104
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
call fcn.1000c100
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x298]
or dword [esi + 0x64], 8
cmp dword [esi + 0x14], 0x101eb21c
jne 0x1003e8fc
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003e8f7
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003e8f9
xor eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x144]
push edx
call fcn.1000bd90
cmp dword [ebp - 0x130], edi
jb 0x1003e927
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [ecx + 0x54]
mov eax, dword [eax + 0x2c]
add eax, 0x6c
xor ecx, ecx
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edi
jb 0x1003e942
mov eax, dword [eax]
mov byte [eax], cl
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x64], cl
lea eax, [ebx - 1]
mov byte [ebp - 4], 0x1c
cmp eax, 6
ja case.default.0x1003e95d
jmp dword [eax*4 + 0x1003eee8]
push 0xe
push str.FILE_NOT_EXIST
jmp 0x1003e9a0
push 0xe
push str.TRANSFER_ERROR
jmp 0x1003e9a0
push 0x12
push str.CREATE_FILE_FAILED
jmp 0x1003e9a0
push 0xc
push str.UNKOWN_ERROR
jmp 0x1003e9a0
push 0x11
push str.INVALID_PARAMETER
jmp 0x1003e9a0
push 0x12
push str.SDCARD_NOSPACELEFT
jmp 0x1003e9a0
push edi
push str.SYNC_DATA_FAILED
lea ecx, [ebp - 0x64]
call fcn.1000c100
mov edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x1003e9b3
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x1003e9be
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x1003e9c9
lea eax, [ebp - 0x64]
push edx
push ecx
push eax
push ebx
push str.Adb_Push_Photo_Failed____AdbErrorCode___d__ErrorDescription:__s___Photo_ThumbnailLocalPath___s___RemotePath___s
lea esi, [ebp - 0x278]
call fcn.1000c270
add esp, 0x14
mov byte [ebp - 4], 0x1d
cmp dword [eax + 0x14], edi
jb 0x1003e9eb
mov eax, dword [eax]
push str.CONTACT_ADD_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 - 0x264], edi
jb 0x1003ea17
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x50], edi
jb 0x1003ea2d
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x80]
mov esi, 8
cmp dword [ebp - 0x6c], esi
jae 0x1003ea3d
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1003ea7f
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x1003ea54
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.CONTACT_ADD_IMPL
cmp eax, 1
jne 0x1003ea6c
push str.Delete_the_Temp_thumbnail_File_Successful___
jmp 0x1003ea71
push str.Delete_the_Temp_thumbnail_File_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::trace_char_const___char_const__]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x10
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::destructor_void_]
cmp dword [ebp - 0xdc], esi
jb 0x1003eaa7
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 0xa4], 8
mov esi, 7
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
jb 0x1003eadc
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x18], edi
jb 0x1003eb03
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x1003eb23
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], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x34], edi
jb 0x1003eb41
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xc0], 8
jb 0x1003eb5a
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xd4], cx
jb 0x1003ec26
mov edx, dword [ebp - 0x9c]
push edx
jmp 0x1003ec1d
push 0
mov edi, 0xf
push 0x101a4104
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
call fcn.1000c100
mov byte [ebp - 4], 0x1e
or dword [esi + 0x64], 8
cmp dword [esi + 0x14], 0x101eb21c
jne 0x1003ebf6
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1003ebf1
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1003ebf3
xor eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.1000bd90
mov byte [ebp - 4], 8
cmp dword [ebp - 0x114], 0x10
jb 0x1003ec26
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push str.CONTACT_ADD_IMPL
push str.Contact_Add_Request_Proc__END______
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::info_char_const___char_const__]
mov esi, dword [ebp - 0x2a0]
xor edi, edi
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2a8], edi
cmp esi, edi
je 0x1003ec7f
mov ecx, dword [esi + 4]
lea edx, [esi + 4]
cmp ecx, edi
je 0x1003ec79
lea esi, [ecx + 1]
mov ebx, edx
mov eax, ecx
lock cmpxchg dword [ebx], esi
cmp eax, ecx
je 0x1003ee53
mov ecx, dword [edx]
cmp ecx, edi
jne 0x1003ec60
mov esi, dword [ebp - 0x2a0]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x1d0]
push eax
call edx
mov edi, eax
mov byte [ebp - 4], 0x20
mov byte [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.10006c80
add esp, 4
mov ebx, eax
call fcn.100a9df0
mov ecx, dword [ebp - 0x2d0]
push eax
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.10040dc0
cmp dword [ebp - 0x1bc], 0x10
mov dword [ebp - 0x2b4], 1
jb 0x1003ecf0
mov edx, dword [ebp - 0x1d0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x2a8]
mov dword [ebp - 0x1bc], 0xf
mov dword [ebp - 0x1c0], ebx
mov byte [ebp - 0x1d0], bl
cmp edi, ebx
je 0x1003ed3f
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003ed3f
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1003ed3f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x1003ed70
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003ed70
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 0x1003ed70
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x2c8]
cmp esi, ebx
je 0x1003eda7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003eda7
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 0x1003eda7
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x2c0]
cmp esi, ebx
je 0x1003edde
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003edde
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 0x1003edde
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x2d4]
cmp esi, ebx
je 0x1003ee15
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003ee15
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 0x1003ee15
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x2b8]
cmp esi, ebx
je 0x1003ee4b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003ee4b
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 0x1003ee4b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x2d0]
jmp 0x1003eec9
mov esi, dword [ebp - 0x2a8]
cmp esi, edi
je 0x1003ee86
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1003ee86
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003ee86
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov esi, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x2ac], ecx
jmp 0x1003ec7f
push str.CONTACT_ADD_IMPL
push str._addContactPtr_is_empty___
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__]
push esi
push edi
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.10032ed0
mov eax, edi
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 4