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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10194543
mov eax, dword fs:[0]
push eax
sub esp, 0x9b8
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_MULTIADD_IMPL
xor esi, esi
push str.Contact_Add_Request_Proc__Begine______
mov dword [ebp - 0x9ac], ebx
mov dword [ebp - 0x9bc], edi
mov dword [ebp - 0x9b0], 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 0x1004ff62
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x1c]
test ecx, 0xfffffff8
je 0x1004ff62
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x988], eax
mov dword [ebp - 4], 1
cmp eax, esi
je 0x1004ebe0
push eax
call fcn.10052280
jmp 0x1004ebe2
xor eax, eax
xor ecx, ecx
push eax
lea edx, [ebp - 0x9a0]
mov byte [ebp - 4], 0
push edx
mov dword [ebp - 0x9a0], ecx
mov dword [ebp - 0x99c], ecx
call fcn.10051c30
lea ecx, [ebp - 0x9c4]
mov eax, ebx
mov dword [ebp - 4], 2
call fcn.10033560
lea eax, [ebp - 0x9c4]
push eax
lea esi, [ebp - 0x9b8]
mov byte [ebp - 4], 3
call fcn.10051ab0
push 0x3c
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 8
mov dword [ebp - 0x988], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1004ec50
push eax
call fcn.100f8f00
jmp 0x1004ec52
xor eax, eax
push eax
lea ecx, [ebp - 0x998]
mov byte [ebp - 4], 4
xor esi, esi
push ecx
mov dword [ebp - 0x998], esi
mov dword [ebp - 0x994], esi
call fcn.10051cc0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x998]
cmp ecx, esi
jne 0x1004ecd6
push esi
push edi
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.10032ed0
lea eax, [ebp - 0x998]
mov dword [ebp - 0x9b0], 1
mov byte [ebp - 4], 4
call fcn.100089e0
lea eax, [ebp - 0x9b8]
mov byte [ebp - 4], 3
call fcn.100089e0
lea eax, [ebp - 0x9c4]
mov byte [ebp - 4], 2
call fcn.100089e0
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0
call fcn.100089e0
jmp 0x1004ff86
mov eax, dword [ebx + 0x54]
push eax
mov esi, ecx
call fcn.10052230
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x980], ecx
mov dword [ebp - 0x9a4], 0
cmp ecx, eax
je 0x1004fe3e
mov ebx, dword [ebp - 0x980]
mov eax, dword [ebx]
mov ecx, dword [eax]
cmp dword [ecx + 0x40], 0
jne 0x1004ed66
mov eax, ecx
mov edx, dword [eax + 0xa8]
sub edx, dword [eax + 0xa4]
test edx, 0xfffffff8
jne 0x1004ed66
mov eax, dword [ebp - 0x9a0]
mov edx, dword [ebp - 0x9a4]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x9a0]
mov dword [ecx + 0xc], 0xfffffffa
mov eax, dword [ebp - 0x9a0]
mov ecx, dword [ebp - 0x9b8]
inc edx
mov dword [eax], edx
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x9a0]
push eax
call edx
jmp 0x1004fe17
mov esi, dword [ebp - 0x998]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jge 0x1004ed88
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + 0x18], eax
mov dword [ebp - 0x984], ecx
jmp 0x1004edb8
mov eax, dword [esi + 0x20]
cmp ecx, eax
jne 0x1004ed99
inc eax
push eax
lea ecx, [esi + 0x14]
call fcn.10125e20
mov edi, 1
add dword [esi + 0x1c], edi
call fcn.100f8670
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov dword [ecx + edx*4], eax
add dword [esi + 0x18], edi
mov dword [ebp - 0x984], eax
mov eax, dword [ebx]
mov edi, dword [eax + 8]
cmp edi, dword [eax + 0xc]
je 0x1004eee4
mov ebx, dword [ebp - 0x984]
lea esp, [esp]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, ecx
jge 0x1004ede6
mov edx, dword [ebx + 0xc]
mov esi, dword [edx + eax*4]
inc eax
mov dword [ebx + 0x10], eax
jmp 0x1004ee12
mov eax, dword [ebx + 0x18]
cmp ecx, eax
jne 0x1004edf7
inc eax
push eax
lea ecx, [ebx + 0xc]
call fcn.10125e20
mov esi, 1
add dword [ebx + 0x14], esi
call fcn.100efac0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
add dword [ebx + 0x10], esi
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or dword [esi + 0x50], 1
mov eax, dword [esi + 0x50]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
or eax, 2
cmp dword [esi + 0x10], 0x101eb21c
mov dword [ebp - 0x98c], ecx
mov dword [esi + 0x50], eax
jne 0x1004ee64
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004ee5f
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004ee61
xor eax, eax
mov dword [esi + 0x10], eax
mov edx, dword [ebp - 0x98c]
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push 0
add edx, 8
push edx
call fcn.1000bd90
mov eax, dword [ebp - 0x9ac]
mov ecx, dword [eax + 0x54]
or dword [esi + 0x50], 8
cmp dword [esi + 0x14], 0x101eb21c
mov dword [ebp - 0x98c], ecx
jne 0x1004eebd
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004eeb8
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004eeba
xor eax, eax
mov dword [esi + 0x14], eax
mov edx, dword [ebp - 0x98c]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push 0
push edx
call fcn.1000bd90
mov eax, dword [ebp - 0x980]
mov eax, dword [eax]
add edi, 8
cmp edi, dword [eax + 0xc]
jne 0x1004edd0
mov esi, dword [ebp - 0x984]
mov ebx, 1
or dword [esi + 0x30], ebx
cmp dword [esi + 8], 0
jne 0x1004ef22
push 0x68
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x988], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1004ef19
push eax
call fcn.100f1880
jmp 0x1004ef1b
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 8], eax
mov esi, dword [esi + 8]
mov edi, dword [ebp - 0x980]
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or dword [esi + 0x64], ebx
mov eax, dword [esi + 0x64]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
mov ebx, dword [ecx]
or eax, 2
cmp dword [esi + 0x10], 0x101eb21c
mov dword [ebp - 0x984], esi
mov dword [esi + 0x64], eax
jne 0x1004ef81
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004ef7c
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004ef7e
xor eax, eax
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push 0
add ebx, 0x30
push ebx
call fcn.1000bd90
mov eax, dword [edi]
mov eax, dword [eax]
mov cl, byte [eax + 0x4c]
or dword [esi + 0x64], 4
mov eax, dword [esi + 0x64]
mov byte [esi + 0x5c], cl
mov ecx, dword [edi]
mov ebx, dword [ecx]
or eax, 0x10
cmp dword [esi + 0x18], 0x101eb21c
mov dword [esi + 0x64], eax
jne 0x1004efdc
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004efd7
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004efd9
xor eax, eax
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x18]
push 0xffffffffffffffff
push 0
add ebx, 0x88
push ebx
call fcn.1000bd90
mov eax, dword [edi]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xa4]
cmp edi, dword [ecx + 0xa8]
je 0x1004f178
lea ebx, [esi + 0x1c]
mov dword [ebp - 0x98c], ebx
jmp 0x1004f016
mov ebx, dword [ebp - 0x98c]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp eax, ecx
jge 0x1004f02b
mov ecx, dword [ebx]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [ebx + 4], eax
jmp 0x1004f090
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jne 0x1004f03b
inc eax
push eax
mov ecx, ebx
call fcn.10125e20
inc dword [ebx + 8]
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x988], esi
test esi, esi
je 0x1004f07f
mov byte [ebp - 4], 9
lea ecx, [esi + 4]
mov dword [esi], vtable.TransferIO::ContactNumberInfo.0
call fcn.10145a60
mov eax, 0x101eb21c
xor ecx, ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
jmp 0x1004f081
xor esi, esi
mov byte [ebp - 4], 6
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [eax + edx*4], esi
inc dword [ebx + 4]
mov ebx, dword [edi]
or dword [esi + 0x18], 2
cmp dword [esi + 0xc], 0x101eb21c
jne 0x1004f0c6
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f0c1
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004f0c3
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
add ebx, 0x1c
push ebx
call fcn.1000bd90
mov ebx, dword [edi]
or dword [esi + 0x18], 4
cmp dword [esi + 0x10], 0x101eb21c
jne 0x1004f10c
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f107
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004f109
xor eax, eax
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push 0
add ebx, 0x38
push ebx
call fcn.1000bd90
mov ebx, dword [edi]
or dword [esi + 0x18], 1
cmp dword [esi + 8], 0x101eb21c
jne 0x1004f152
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f14d
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004f14f
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push ebx
call fcn.1000bd90
mov ecx, dword [ebp - 0x980]
mov eax, dword [ecx]
mov eax, dword [eax]
add edi, 8
cmp edi, dword [eax + 0xa8]
jne 0x1004f010
mov edx, dword [ebp - 0x980]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xb4]
cmp edi, dword [ecx + 0xb8]
je 0x1004f2ff
mov ebx, dword [ebp - 0x984]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
cmp eax, ecx
jge 0x1004f1b0
mov ecx, dword [ebx + 0x3c]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [ebx + 0x40], eax
jmp 0x1004f217
mov eax, dword [ebx + 0x48]
cmp ecx, eax
jne 0x1004f1c1
inc eax
push eax
lea ecx, [ebx + 0x3c]
call fcn.10125e20
inc dword [ebx + 0x44]
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x988], esi
test esi, esi
je 0x1004f205
mov byte [ebp - 4], 0xb
lea ecx, [esi + 4]
mov dword [esi], vtable.TransferIO::ContactEmailInfo.0
call fcn.10145a60
mov eax, 0x101eb21c
xor ecx, ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
jmp 0x1004f207
xor esi, esi
mov byte [ebp - 4], 6
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov dword [eax + edx*4], esi
inc dword [ebx + 0x40]
mov ebx, dword [edi]
or dword [esi + 0x18], 2
cmp dword [esi + 0xc], 0x101eb21c
jne 0x1004f24d
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f248
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004f24a
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
add ebx, 0x1c
push ebx
call fcn.1000bd90
mov ebx, dword [edi]
or dword [esi + 0x18], 4
cmp dword [esi + 0x10], 0x101eb21c
jne 0x1004f293
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f28e
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004f290
xor eax, eax
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push 0
add ebx, 0x38
push ebx
call fcn.1000bd90
mov ebx, dword [edi]
or dword [esi + 0x18], 1
cmp dword [esi + 8], 0x101eb21c
jne 0x1004f2d9
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f2d4
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004f2d6
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push ebx
call fcn.1000bd90
mov ecx, dword [ebp - 0x980]
mov eax, dword [ecx]
mov eax, dword [eax]
add edi, 8
cmp edi, dword [eax + 0xb8]
jne 0x1004f194
mov edi, dword [ebp - 0x980]
mov eax, dword [edi]
mov ecx, dword [eax]
xor ebx, ebx
cmp dword [ecx + 0x7c], ebx
je 0x1004fd8a
cmp dword [ecx + 0x80], 0x10
lea eax, [ecx + 0x6c]
jb 0x1004f322
mov eax, dword [eax]
push eax
push str.The_Contact_Add_has_Photo__its_localPath___s
lea esi, [ebp - 0x880]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x1004f342
mov eax, dword [eax]
push str.CONTACT_MULTIADD_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 esi, 0x10
mov byte [ebp - 4], 6
cmp dword [ebp - 0x86c], esi
jb 0x1004f377
mov edx, dword [ebp - 0x880]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax]
push 0xffffffffffffffff
push ebx
add eax, 0x6c
push eax
lea ecx, [ebp - 0x8f0]
mov dword [ebp - 0x8dc], 0xf
mov dword [ebp - 0x8e0], ebx
mov byte [ebp - 0x8f0], 0
call fcn.1000bd90
push ebx
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x90c]
mov byte [ebp - 4], 0xd
mov edi, 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 edi
add esp, 0xc
cmp dword [ebp - 0x8f8], 8
mov eax, dword [ebp - 0x90c]
jae 0x1004f3d7
lea eax, [ebp - 0x90c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x988], eax
cmp eax, ebx
je 0x1004fd37
xor ebx, ebx
mov dword [ebp - 0x8a4], 0xf
mov dword [ebp - 0x8a8], ebx
mov byte [ebp - 0x8b8], bl
lea ecx, [ebp - 0x8b8]
lea edx, [ebp - 0x8f0]
mov byte [ebp - 4], 0xf
call fcn.10039e60
cmp dword [ebp - 0x8f8], 8
mov eax, dword [ebp - 0x90c]
jae 0x1004f42e
lea eax, [ebp - 0x90c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
mov eax, dword [ebp - 0x8f0]
jne 0x1004f49b
cmp dword [ebp - 0x8dc], esi
jae 0x1004f44e
lea eax, [ebp - 0x8f0]
push eax
push str.Delete_the_local_Tmp_Photo_Successfully___LocalPath___s
lea esi, [ebp - 0x880]
call fcn.1000c270
add esp, 8
mov esi, 0x10
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], esi
jb 0x1004f472
mov eax, dword [eax]
push str.CONTACT_MULTIADD_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], 0xf
cmp dword [ebp - 0x86c], esi
jb 0x1004f4fd
mov edx, dword [ebp - 0x880]
push edx
jmp 0x1004f4f4
cmp dword [ebp - 0x8dc], esi
jae 0x1004f4a9
lea eax, [ebp - 0x8f0]
push eax
push str.Delete_the_local_Tmp_Photo_Failed___LocalPath___s
lea esi, [ebp - 0x880]
call fcn.1000c270
add esp, 8
mov esi, 0x10
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], esi
jb 0x1004f4cd
mov eax, dword [eax]
push str.CONTACT_MULTIADD_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], 0xf
cmp dword [ebp - 0x86c], esi
jb 0x1004f4fd
mov eax, dword [ebp - 0x880]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
lea ecx, [ebp - 0x8b8]
push ecx
lea edx, [ebp - 0x928]
push edx
call edi
lea eax, [ebp - 0x98c]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x8b8]
lea ecx, [ebp - 0x89c]
mov dword [ebp - 0x98c], 0xb
call fcn.10037580
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x850], 7
mov dword [ebp - 0x854], ebx
mov word [ebp - 0x864], cx
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x88c], ebx
jne 0x1004f939
push 0x7ff
push ecx
lea edx, [ebp - 0x80f]
push edx
mov byte [ebp - 0x810], cl
call sub.MSVCR100.dll_memset
push str.ContactMultiAddImpl::requestProc
push 0x82
push str.ContactMultiAddImpl.cpp
push str.Contact_Import_Remote_Path_is_empty______
push str._s__file:_s_line:__d_func:__s
lea eax, [ebp - 0x810]
push 0x800
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x28
lea ecx, [ebp - 0x810]
push str.CONTACT_MULTIADD_IMPL
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, 1
lea edi, [ebp - 0x90c]
call fcn.10040d20
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], dx
mov byte [ebp - 4], 0x15
cmp eax, 0xffffffff
je 0x1004f91c
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x8d4]
lea edx, [ebp - 0x928]
call fcn.100143f0
mov esi, eax
lea eax, [ebp - 0x82c]
cmp eax, esi
je 0x1004f691
mov edi, 8
cmp dword [ebp - 0x818], edi
jb 0x1004f637
mov ecx, dword [ebp - 0x82c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], dx
cmp dword [esi + 0x14], edi
jae 0x1004f66f
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x82c]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x1004f679
mov edx, dword [esi]
mov dword [ebp - 0x82c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x81c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x818], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edi, 8
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x8c0], edi
jb 0x1004f6b2
mov edx, dword [ebp - 0x8d4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [ebp - 0x848], ax
push 1
mov eax, 0x101a37b0
lea esi, [ebp - 0x848]
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
call fcn.1000b950
mov byte [ebp - 4], 0x17
cmp dword [0x101feda4], ebx
jne 0x1004f733
mov ecx, 0x101fed94
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGStaticMutex::lock_void_const]
cmp dword [0x101feda4], ebx
jne 0x1004f728
test byte [0x101fead0], 1
jne 0x1004f71e
or dword [0x101fead0], 1
call fcn.10061000
push 0x10195d20
call fcn.10178b2f
add esp, 4
mov dword [0x101feda4], 0x101fead8
mov ecx, 0x101fed94
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGStaticMutex::unlock_void_const]
lea esi, [ebp - 0x8d4]
call fcn.10062a50
push ebx
push eax
lea ecx, [ebp - 0x97c]
push ecx
mov byte [ebp - 4], 0x18
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 - 0x848]
lea ebx, [ebp - 0x944]
mov byte [ebp - 4], 0x19
call fcn.10007f90
mov ecx, eax
lea eax, [ebp - 0x82c]
lea ebx, [ebp - 0x960]
mov byte [ebp - 4], 0x1a
call fcn.10008020
mov esi, eax
lea edx, [ebp - 0x864]
cmp edx, esi
je 0x1004f807
cmp dword [ebp - 0x850], edi
jb 0x1004f7a6
mov eax, dword [ebp - 0x864]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x854], ebx
mov word [ebp - 0x864], cx
cmp dword [esi + 0x14], 8
jae 0x1004f7e3
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x864]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x1004f7ed
mov ecx, dword [esi]
mov dword [ebp - 0x864], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x854], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x850], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
jmp 0x1004f80e
mov edi, 7
xor ebx, ebx
cmp dword [ebp - 0x94c], 8
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x1004f829
mov ecx, dword [ebp - 0x960]
push ecx
call esi
add esp, 4
xor edx, edx
cmp dword [ebp - 0x930], 8
mov dword [ebp - 0x94c], edi
mov dword [ebp - 0x950], ebx
mov word [ebp - 0x960], dx
jb 0x1004f853
mov eax, dword [ebp - 0x944]
push eax
call esi
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x968], 8
mov dword [ebp - 0x930], edi
mov dword [ebp - 0x934], ebx
mov word [ebp - 0x944], cx
jb 0x1004f87d
mov edx, dword [ebp - 0x97c]
push edx
call esi
add esp, 4
mov dword [ebp - 0x968], edi
xor eax, eax
mov edi, 0x10
mov dword [ebp - 0x96c], ebx
mov word [ebp - 0x97c], ax
cmp dword [ebp - 0x8c0], edi
jb 0x1004f8ab
mov ecx, dword [ebp - 0x8d4]
push ecx
call esi
add esp, 4
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x834], 8
mov dword [ebp - 0x8c0], 0xf
mov dword [ebp - 0x8c4], ebx
mov byte [ebp - 0x8d4], bl
jb 0x1004f8da
mov edx, dword [ebp - 0x848]
push edx
call esi
add esp, 4
push ebx
lea eax, [ebp - 0x864]
push eax
lea ecx, [ebp - 0x880]
push ecx
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 edx, [ebp - 0x880]
push edx
lea ecx, [ebp - 0x89c]
mov byte [ebp - 4], 0x1c
call fcn.10037170
add esp, 0x10
cmp dword [ebp - 0x86c], edi
jb 0x1004f91c
mov eax, dword [ebp - 0x880]
push eax
call esi
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x818], 8
jb 0x1004f939
mov ecx, dword [ebp - 0x82c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x9a8]
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::constructor_void_]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x89c]
mov edi, 0x10
cmp dword [ebp - 0x888], edi
jae 0x1004f962
lea ecx, [ebp - 0x89c]
mov eax, dword [ebp - 0x8b8]
cmp dword [ebp - 0x8a4], edi
jae 0x1004f976
lea eax, [ebp - 0x8b8]
push 1
push ecx
push eax
lea ecx, [ebp - 0x9a8]
call dword [sym.imp.AdbManager.dll_public:_enum_emError___thiscall_CAdbClient::PushFile_char_const___char_const___bool_]
mov ebx, eax
test ebx, ebx
jne 0x1004fa6f
mov esi, dword [ebp - 0x984]
or dword [esi + 0x64], 8
cmp dword [esi + 0x14], 0x101eb21c
jne 0x1004f9c5
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004f9c0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x1004f9c2
xor eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x89c]
push edx
call fcn.1000bd90
mov eax, dword [ebp - 0x980]
mov eax, dword [eax]
mov eax, dword [eax]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x89c]
push ecx
lea ecx, [eax + 0x50]
call fcn.1000bd90
mov ecx, dword [ebp - 0x89c]
cmp dword [ebp - 0x888], edi
jae 0x1004fa09
lea ecx, [ebp - 0x89c]
mov eax, dword [ebp - 0x8b8]
cmp dword [ebp - 0x8a4], edi
jae 0x1004fa1d
lea eax, [ebp - 0x8b8]
push ecx
push eax
push str.Adb_Push_Photo_Successful____Photo_ThumbnailLocalPath___s__RemotePath___s
lea esi, [ebp - 0x880]
call fcn.1000c270
add esp, 0xc
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], edi
jb 0x1004fa3d
mov eax, dword [eax]
push str.CONTACT_MULTIADD_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], 0x1d
cmp dword [ebp - 0x86c], edi
jb 0x1004fc38
mov edx, dword [ebp - 0x880]
push edx
jmp 0x1004fc2f
push 0
push 0x101a4104
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
call fcn.1000c100
mov esi, dword [ebp - 0x984]
mov byte [ebp - 4], 0x1f
or dword [esi + 0x64], 8
cmp dword [esi + 0x14], 0x101eb21c
jne 0x1004fada
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1004fad5
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1004fad7
xor eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x848]
push eax
call fcn.1000bd90
cmp dword [ebp - 0x834], edi
jb 0x1004fb05
mov ecx, dword [ebp - 0x848]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0x980]
mov eax, dword [edx]
mov eax, dword [eax]
add eax, 0x6c
xor ecx, ecx
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edi
jb 0x1004fb1e
mov eax, dword [eax]
mov byte [eax], cl
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], ecx
mov byte [ebp - 0x82c], cl
lea eax, [ebx - 1]
mov byte [ebp - 4], 0x20
cmp eax, 6
ja case.default.0x1004fb42
jmp dword [eax*4 + 0x1004ffa8]
push 0xe
push str.FILE_NOT_EXIST
jmp 0x1004fb85
push 0xe
push str.TRANSFER_ERROR
jmp 0x1004fb85
push 0x12
push str.CREATE_FILE_FAILED
jmp 0x1004fb85
push 0xc
push str.UNKOWN_ERROR
jmp 0x1004fb85
push 0x11
push str.INVALID_PARAMETER
jmp 0x1004fb85
push 0x12
push str.SDCARD_NOSPACELEFT
jmp 0x1004fb85
push edi
push str.SYNC_DATA_FAILED
lea ecx, [ebp - 0x82c]
call fcn.1000c100
mov edx, dword [ebp - 0x89c]
cmp dword [ebp - 0x888], edi
jae 0x1004fba4
lea edx, [ebp - 0x89c]
mov ecx, dword [ebp - 0x8b8]
cmp dword [ebp - 0x8a4], edi
jae 0x1004fbb8
lea ecx, [ebp - 0x8b8]
mov eax, dword [ebp - 0x82c]
cmp dword [ebp - 0x818], edi
jae 0x1004fbcc
lea eax, [ebp - 0x82c]
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 - 0x880]
call fcn.1000c270
add esp, 0x14
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x14], edi
jb 0x1004fbee
mov eax, dword [eax]
push str.CONTACT_MULTIADD_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
cmp dword [ebp - 0x86c], edi
jb 0x1004fc1c
mov eax, dword [ebp - 0x880]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x818], edi
jb 0x1004fc38
mov ecx, dword [ebp - 0x82c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x988], 1
jne 0x1004fc7d
cmp dword [ebp - 0x914], 8
mov eax, dword [ebp - 0x928]
jae 0x1004fc56
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.CONTACT_MULTIADD_IMPL
cmp eax, 1
jne 0x1004fc6e
push str.Delete_the_Temp_thumbnail_File_Successful___
jmp 0x1004fc73
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 esi
lea ecx, [ebp - 0x9a8]
mov byte [ebp - 4], 0x14
call dword [sym.imp.AdbManager.dll_public:_void___thiscall_CAdbClient::destructor_void_]
cmp dword [ebp - 0x850], 8
jb 0x1004fca6
mov edx, dword [ebp - 0x864]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor esi, esi
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x854], esi
mov word [ebp - 0x864], ax
cmp dword [ebp - 0x888], edi
jb 0x1004fcda
mov ecx, dword [ebp - 0x89c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x914], 8
mov dword [ebp - 0x888], 0xf
mov dword [ebp - 0x88c], esi
mov byte [ebp - 0x89c], 0
jb 0x1004fd0a
mov edx, dword [ebp - 0x928]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x914], ebx
mov dword [ebp - 0x918], esi
mov word [ebp - 0x928], ax
cmp dword [ebp - 0x8a4], edi
jb 0x1004fd37
mov ecx, dword [ebp - 0x8b8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x8f8], 8
jb 0x1004fd50
mov edx, dword [ebp - 0x90c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x8dc], 0x10
mov dword [ebp - 0x8f8], 7
mov dword [ebp - 0x8fc], 0
mov word [ebp - 0x90c], ax
jb 0x1004fe17
mov ecx, dword [ebp - 0x8f0]
push ecx
jmp 0x1004fe0e
push ebx
mov edi, 0xf
push 0x101a4104
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x838], ebx
mov byte [ebp - 0x848], bl
call fcn.1000c100
mov esi, dword [ebp - 0x984]
mov byte [ebp - 4], 0x22
or dword [esi + 0x64], 8
cmp dword [esi + 0x14], 0x101eb21c
jne 0x1004fde8
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x1004fde3
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], ebx
mov byte [eax], 0
jmp 0x1004fde5
xor eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x848]
push edx
call fcn.1000bd90
mov byte [ebp - 4], 6
cmp dword [ebp - 0x834], 0x10
jb 0x1004fe17
mov eax, dword [ebp - 0x848]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x980]
mov edx, dword [ebp - 0x9ac]
mov eax, dword [edx + 0x54]
inc dword [ebp - 0x9a4]
add ecx, 8
mov dword [ebp - 0x980], ecx
cmp ecx, dword [eax + 0x20]
jne 0x1004ed02
push str.CONTACT_MULTIADD_IMPL
push str.Contact_Multi_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 ebx, dword [ebp - 0x994]
xor eax, eax
mov dword [ebp - 0x990], eax
mov dword [ebp - 0x98c], eax
cmp ebx, eax
je 0x1004fe8b
mov edx, ebx
call fcn.1000ae40
test al, al
je 0x1004fe8b
mov eax, dword [ebp - 0x998]
push eax
lea esi, [ebp - 0x990]
call fcn.10044ae0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x998]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x8d4]
push eax
call edx
mov edi, eax
mov byte [ebp - 4], 0x24
mov byte [ebp - 0x988], 0
mov eax, dword [ebp - 0x988]
push eax
call fcn.10006c80
add esp, 4
mov ebx, eax
call fcn.100a9df0
mov esi, dword [ebp - 0x9bc]
push eax
push esi
lea ecx, [ebp - 0x990]
call fcn.10051ad0
cmp dword [ebp - 0x8c0], 0x10
mov dword [ebp - 0x9b0], 1
jb 0x1004fefc
mov ecx, dword [ebp - 0x8d4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
lea eax, [ebp - 0x990]
mov dword [ebp - 0x8c0], 0xf
mov dword [ebp - 0x8c4], ebx
mov byte [ebp - 0x8d4], bl
mov byte [ebp - 4], 6
call fcn.100089e0
lea eax, [ebp - 0x998]
mov byte [ebp - 4], 4
call fcn.100089e0
lea eax, [ebp - 0x9b8]
mov byte [ebp - 4], 3
call fcn.100089e0
lea eax, [ebp - 0x9c4]
mov byte [ebp - 4], 2
call fcn.100089e0
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], bl
call fcn.100089e0
mov eax, esi
jmp 0x1004ff88
push str.CONTACT_MULTIADD_IMPL
push str._ContactMultiAddPtr_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