Function at 0x10049670
Capabilities:
Check if file exists
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10194bf7
mov eax, dword fs:[0]
push eax
sub esp, 0x264
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 eax, dword [ecx + 4]
sub eax, dword [ecx]
lea esi, [ebp - 0x1ec]
sar eax, 3
push eax
push str.Begin_to_backup_the_Contacts_____ExportContacts_Size___d
mov dword [ebp - 0x23c], ecx
call fcn.1000c270
add esp, 8
xor ebx, ebx
mov esi, 0x10
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], esi
jb 0x100496d1
mov eax, dword [eax]
push 0x101a8998
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 edi, 0xffffffff
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1d8], esi
jb 0x10049703
mov eax, dword [ebp - 0x1ec]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0x20
call esi
add esp, 4
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x10049729
push eax
call fcn.10044f50
jmp 0x1004972b
xor eax, eax
push eax
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], edi
push ecx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
call fcn.10044630
mov dword [ebp - 4], 2
mov byte [ebp - 0x210], bl
mov edx, dword [ebp - 0x210]
push edx
call sym.MGEngine.dll_protected:_static_class_PhoneProxy____cdecl_MGSingleton_class_PhoneProxy__1_::createInstance_struct_Int2Type_1__
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call sym.MGEngine.dll_public:_class_std::tr1::shared_ptr_class_MGLogicInterface::ContactMgrI____thiscall_PhoneProxy::getContactMgr_void_
mov byte [ebp - 4], 3
cmp dword [ebp - 0x260], ebx
jne 0x100497eb
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x25c]
cmp esi, ebx
je 0x100497b2
lea edx, [esi + 4]
mov eax, edi
lock xadd dword [edx], eax
jne 0x100497b2
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x100497b2
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x254]
cmp esi, ebx
je 0x100497e4
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100497e4
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
lock xadd dword [ecx], edi
jne 0x100497e4
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor al, al
jmp 0x1004b033
push 0x20
call esi
add esp, 4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x10049808
push eax
call fcn.10044f50
jmp 0x1004980a
xor eax, eax
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
push ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call fcn.10044630
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 4], 6
mov eax, dword [0x101feda8]
cmp eax, ebx
jne 0x10049845
call fcn.1000b0e0
push 8
lea edi, [ebp - 0x248]
mov ecx, eax
call fcn.100b1d90
lea edi, [ebp - 0x250]
mov byte [ebp - 4], 7
call fcn.1000f990
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x244]
cmp eax, ebx
je 0x1004989c
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004989c
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 0x1004989c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
cmp dword [ebp - 0x250], ebx
jne 0x100499c9
lea ecx, [ebp - 0x234]
push ecx
call fcn.1004bad0
add esp, 4
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 8
push ecx
mov dword [ebp - 0x210], 0x2710
call fcn.1004bb70
add esp, 0xc
push eax
mov byte [ebp - 4], 9
call fcn.100232a0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x244]
add esp, 4
cmp esi, ebx
je 0x10049926
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10049926
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 0x10049926
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x234]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
cmp esi, ebx
je 0x1004995d
mov edx, esi
call fcn.1000ae40
test al, al
je 0x1004995d
mov ebx, esi
push edi
lea esi, [ebp - 0x22c]
call fcn.10044ae0
xor ebx, ebx
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 8
call fcn.100089e0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.100089e0
cmp dword [ebp - 0x22c], ebx
jne 0x100499df
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.100089e0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.100089e0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.100089e0
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
call fcn.100089e0
xor al, al
jmp 0x1004b033
mov edi, dword [ebp - 0x224]
cmp edi, ebx
je 0x100499e5
lea eax, [ebp - 0x224]
push eax
call fcn.1004b240
mov edi, dword [ebp - 0x224]
mov eax, dword [edi + 0x14]
mov esi, dword [ebp - 0x23c]
sub eax, dword [edi + 0x10]
push ebx
lea ecx, [esi + 0x10]
push ecx
lea edx, [ebp - 0xf0]
sar eax, 3
push edx
mov dword [ebp - 0x238], 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 byte [ebp - 4], 0xb
cmp dword [ebp - 0xdc], 8
mov eax, dword [ebp - 0xf0]
jae 0x10049a28
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10049b01
cmp byte [esi + 0x2c], bl
jne 0x10049b01
cmp dword [ebp - 0xdc], 8
mov ecx, dword [ebp - 0xf0]
jae 0x10049a56
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0x20c]
push eax
call fcn.10003440
lea ecx, [ebp - 0x20c]
push ecx
mov byte [ebp - 4], 0xc
call dword [sym.imp.MGCore.dll_public:_static_void___cdecl_FilePath::GetUniquePath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
mov eax, dword [ebp - 0x20c]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
add esp, 4
or edx, ecx
jge 0x10049a9e
xor eax, eax
lea ecx, [ebp - 0x20c]
call fcn.100041d0
mov eax, dword [ebp - 0x20c]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10049aa3
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0xf0]
call fcn.1000b950
mov eax, dword [ebp - 0x20c]
cmp dword [eax - 8], ebx
jl 0x10049c76
mov dword [eax - 0xc], ebx
mov eax, dword [ebp - 0x20c]
xor edx, edx
mov word [eax], dx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x20c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xf0]
mov esi, 8
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x21c], ebx
cmp dword [ebp - 0xdc], esi
jae 0x10049b26
lea eax, [ebp - 0xf0]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x218], eax
cmp eax, 0xffffffff
jne 0x10049c80
push str.CreateFile_failed_
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0xdc], esi
jb 0x10049b77
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x24c]
xor edx, edx
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp esi, ebx
je 0x10049bc7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10049bc7
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 0x10049bc7
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x220]
cmp esi, ebx
je 0x10049bfe
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10049bfe
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 0x10049bfe
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x25c]
cmp esi, ebx
je 0x10049c35
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10049c35
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 0x10049c35
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x254]
cmp esi, ebx
je 0x10049c6f
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10049c6f
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 0x10049c6f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
xor al, al
jmp 0x1004b033
push 0x80070057
call fcn.100045e0
xor edx, edx
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x238], ebx
je 0x1004afba
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 3
cmp eax, edx
jbe 0x1004b04f
lea eax, [edx*8]
mov edx, dword [eax + ecx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x1004af96
mov esi, dword [edx + 0x28]
mov edx, dword [edx + 0x2c]
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], edx
mov edx, dword [eax]
cmp edx, dword [ebp - 0x270]
jne 0x10049cf1
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0x26c]
je 0x10049cf8
add eax, 8
cmp eax, ecx
jne 0x10049cdc
cmp eax, ecx
je 0x1004af96
mov esi, 0xf
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x188], ebx
mov byte [ebp - 0x198], bl
mov dword [ebp - 0x1f4], esi
mov dword [ebp - 0x1f8], ebx
mov byte [ebp - 0x208], bl
push 0x40
mov byte [ebp - 4], 0xe
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x10049d4e
push eax
call fcn.1004bea0
jmp 0x10049d50
xor eax, eax
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.1004bc00
mov byte [ebp - 4], 0x10
push 0xc
push str.BEGIN:VCARD_n
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x160], bl
call fcn.1000c100
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x14c], 0x10
mov eax, dword [ebp - 0x160]
jae 0x10049dae
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x150]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xc
push str.VERSION:3.0_n
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], ebx
mov byte [ebp - 0x17c], bl
call fcn.1000c100
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x168], 0x10
mov eax, dword [ebp - 0x17c]
jae 0x10049e08
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 0x16c]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
mov esi, 0xf
push 0x101a8a9c
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x128], bl
call fcn.1000c100
mov byte [ebp - 4], 0x13
push 1
push 0x101a8aa0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
mov byte [ebp - 4], 0x14
push 1
push 0x101a8aa4
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.1000c100
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x128]
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 0x15
call fcn.1002f480
mov byte [ebp - 4], 0x16
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
sub edx, ecx
sar edx, 3
cmp edx, dword [ebp - 0x214]
jbe 0x1004b04f
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ecx + edx]
add ecx, 0x30
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1002f4c0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 0x17
call fcn.1002c560
add esp, 0xc
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.1000b240
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x10049f0f
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], esi
jb 0x10049f2e
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0xc0], esi
jb 0x10049f53
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x50], esi
jb 0x10049f7b
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x18], esi
jb 0x10049f9e
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x114], esi
jae 0x10049fb2
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 0x118]
push ebx
lea edx, [ebp - 0x21c]
push edx
mov edx, dword [ebp - 0x218]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0x214]
sub edx, eax
sar edx, 3
cmp edx, ecx
jbe 0x1004b04f
mov edx, dword [ebp - 0x20c]
mov eax, dword [eax + edx]
mov edx, dword [eax + 0x28]
mov esi, dword [ebp - 0x22c]
mov dword [esi + 8], edx
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x238]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
sub edx, eax
sar edx, 3
cmp edx, ecx
jbe 0x1004b04f
mov edx, dword [ebp - 0x20c]
mov eax, dword [eax + edx]
mov esi, dword [eax + 0xa4]
mov dword [ebp - 0x210], esi
lea esp, [esp]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
sub edx, eax
sar edx, 3
cmp edx, ecx
jbe 0x1004b04f
mov edx, dword [ebp - 0x20c]
mov eax, dword [eax + edx]
cmp esi, dword [eax + 0xa8]
je 0x1004a4b8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0x19
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x48]
cmp eax, ebx
ja 0x1004a09f
push 0xffffffffffffffff
push eax
call fcn.1000bd00
jmp 0x1004a0a6
push ebx
push eax
call fcn.1002cb30
mov ecx, dword [ebp - 0x48]
mov edx, 0x10
cmp dword [ebp - 0x34], edx
jae 0x1004a0b6
lea ecx, [ebp - 0x48]
mov eax, dword [esi]
cmp dword [eax + 0x14], edx
jb 0x1004a0c1
mov edx, dword [eax]
jmp 0x1004a0c3
mov edx, eax
mov edi, dword [eax + 0x10]
add edi, edx
cmp dword [eax + 0x14], 0x10
jb 0x1004a0d0
mov eax, dword [eax]
cmp eax, edi
je 0x1004a0fb
sub ecx, eax
mov esi, eax
mov dword [ebp - 0x230], ecx
mov edi, edi
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR100.dll_toupper]
mov ecx, dword [ebp - 0x230]
mov byte [ecx + esi], al
inc esi
add esp, 4
cmp esi, edi
jne 0x1004a0e0
push 6
push ebx
push str.MOBILE
lea ecx, [ebp - 0x48]
call fcn.1003ae50
cmp eax, 0xffffffff
je 0x1004a154
push 4
mov esi, 0xf
push str.CELL
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call fcn.1000b240
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x18], 0x10
jb 0x1004a1ff
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x1004a1f6
push 5
push ebx
push 0x101a8ab8
lea ecx, [ebp - 0x48]
call fcn.1003ae50
cmp eax, 0xffffffff
je 0x1004a1a6
push 5
mov esi, 0xf
push 0x101a8ab8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1b
call fcn.1000b240
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x18], 0x10
jb 0x1004a1ff
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x1004a1f6
push 6
push ebx
push str.CUSTOM
lea ecx, [ebp - 0x48]
call fcn.1003ae50
mov esi, 0xf
cmp eax, 0xffffffff
je 0x1004a1ff
push 6
push str.CUSTOM
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1c
call fcn.1000b240
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x18], 0x10
jb 0x1004a1ff
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 9
push str.TEL_TYPE
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.1000c100
mov byte [ebp - 4], 0x1d
push 1
push 0x101a8aa0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.1000c100
mov byte [ebp - 4], 0x1e
push 1
push 0x101a8aa4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 0x1f
call fcn.1002c4a0
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0x20
call fcn.1002c560
add esp, 0xc
mov byte [ebp - 4], 0x21
mov edi, dword [ebp - 0x210]
mov ecx, dword [edi]
add ecx, 0x1c
push ecx
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.1002f4c0
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 0x22
call fcn.1002c560
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x23
call fcn.1000b240
cmp dword [ebp - 0xc0], 0x10
jb 0x1004a2e0
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
jb 0x1004a30b
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
jb 0x1004a336
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
jb 0x1004a361
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
jb 0x1004a386
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x1004a3a6
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 0x64]
jae 0x1004a3b2
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x224]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 3
cmp ecx, dword [ebp - 0x214]
jbe 0x1004b04f
mov edx, dword [ebp - 0x20c]
mov eax, dword [eax + edx]
cmp edi, dword [eax + 0xa4]
jne 0x1004a410
mov eax, dword [edi]
push 0xffffffffffffffff
push ebx
add eax, 0x1c
push eax
lea ecx, [ebp - 0x198]
call fcn.1000bd90
jmp 0x1004a469
push 1
push 0x101a8ad4
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.1000c100
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x24
call fcn.100121a0
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x6c], 0x10
jb 0x1004a455
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi]
push 0xffffffffffffffff
push ebx
add eax, 0x1c
push eax
lea ecx, [ebp - 0x198]
call fcn.100121a0
cmp dword [ebp - 0x50], 0x10
jb 0x1004a47c
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x1004a49c
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x214]
add edi, 8
mov dword [ebp - 0x210], edi
mov esi, edi
mov edi, dword [ebp - 0x224]
jmp 0x1004a050
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
sub edx, eax
sar edx, 3
cmp edx, ecx
jbe 0x1004b04f
mov ecx, dword [ebp - 0x20c]
mov eax, dword [eax + ecx]
mov edi, dword [eax + 0xb4]
lea ebx, [ebx]
mov esi, dword [ebp - 0x224]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
sub edx, eax
sar edx, 3
cmp edx, dword [ebp - 0x214]
jbe 0x1004b04f
mov eax, dword [eax + ecx]
cmp edi, dword [eax + 0xb8]
je 0x1004a75c
push 0xb
mov esi, 0xf
push str.EMAIL_TYPE
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.1000c100
mov byte [ebp - 4], 0x25
push 1
push 0x101a8aa0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.1000c100
mov byte [ebp - 4], 0x26
push 1
push 0x101a8aa4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000c100
mov byte [ebp - 4], 0x27
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.1002c4a0
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0x28
call fcn.1002c560
add esp, 0xc
mov byte [ebp - 4], 0x29
mov ecx, dword [edi]
add ecx, 0x1c
push ecx
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.1002f4c0
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x2a
call fcn.1002c560
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x48]
cmp ecx, esi
je 0x1004a622
cmp dword [ebp - 0x34], 0x10
jb 0x1004a5e1
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [esi + 0x14], 0x10
jae 0x1004a609
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x48]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x1004a610
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x38], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp - 0xa4], 0x10
jb 0x1004a63b
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
jb 0x1004a66a
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
jb 0x1004a699
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xc0], 0x10
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
jb 0x1004a6c8
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
jb 0x1004a6f1
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], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x1004a711
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x1004a71d
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x38]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x34], 0x10
jb 0x1004a74e
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x20c]
add edi, 8
jmp 0x1004a4e0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
sub edx, eax
sar edx, 3
cmp edx, dword [ebp - 0x214]
jbe 0x1004b04f
mov eax, dword [eax + ecx]
push 0xffffffffffffffff
push ebx
add eax, 0x50
push eax
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], ebx
mov byte [ebp - 0x1b4], bl
call fcn.1000bd90
mov byte [ebp - 4], 0x2c
cmp dword [ebp - 0x1a4], ebx
je 0x1004ab56
push ebx
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x10c]
push ecx
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
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x10c]
push eax
mov edi, 1
mov dword [ebp - 0x230], 0x2f
call fcn.10014750
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 0x2e
cmp eax, 0xffffffff
je 0x1004a85b
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x1ec]
lea edx, [ebp - 0x10c]
call fcn.100143f0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x2f
call fcn.1000ae80
mov byte [ebp - 4], 0x2e
cmp dword [ebp - 0x1d8], 8
jb 0x1004a842
mov edx, dword [ebp - 0x1ec]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x1d8], 7
mov dword [ebp - 0x1dc], ebx
mov word [ebp - 0x1ec], ax
mov eax, dword [0x101feda4]
cmp eax, ebx
jne 0x1004a869
call fcn.10006d40
lea edx, [ebp - 0x9c]
mov ecx, eax
call fcn.10062280
push eax
mov eax, 0x101a37bc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x30
call fcn.1003b0c0
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x2c]
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 0x31
call fcn.10008020
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x1004a8bc
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
mov byte [ebp - 4], 0x34
cmp dword [ebp - 0x88], esi
jb 0x1004a8f4
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x34], esi
jae 0x1004a914
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x1004aaea
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1004a92f
lea eax, [ebp - 0x48]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.10124806
add esp, 4
push esi
mov edi, eax
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x264]
push edx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [ebp - 0xd4]
push edi
push eax
call dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::enBase64_char_const___unsigned_int_]
add esp, 0xc
push edi
mov byte [ebp - 4], 0x35
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1a
mov edi, 0xf
xor esi, esi
push str.PHOTO_ENCODINGB_TYPEPNG:
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
call fcn.1000c100
mov byte [ebp - 4], 0x36
push 1
push 0x101a8aa0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x80], 0
call fcn.1000c100
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0x37
call fcn.1002c4a0
add esp, 0xc
lea ecx, [ebp - 0x80]
push ecx
push eax
lea edx, [ebp - 0xb8]
push edx
mov byte [ebp - 4], 0x38
call fcn.1002c560
add esp, 0xc
mov byte [ebp - 4], 0x39
push eax
lea ecx, [ebp - 0x64]
call fcn.1000b240
mov esi, 0x10
cmp dword [ebp - 0xa4], esi
jb 0x1004aa42
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], esi
jb 0x1004aa6e
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x6c], esi
jb 0x1004aa92
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1004aa9d
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x50], esi
jb 0x1004aac9
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0xc0], esi
jb 0x1004aaea
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jb 0x1004ab01
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], ebx
jb 0x1004ab26
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xf8], ebx
jb 0x1004ab4e
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x224]
xor ebx, ebx
mov ecx, dword [esi]
mov edi, 0xf
mov dword [ebp - 0x210], ecx
cmp ecx, dword [esi + 4]
je 0x1004ad5a
lea esp, [esp]
mov eax, dword [ecx]
mov esi, dword [eax + 0x38]
cmp esi, dword [eax + 0x3c]
je 0x1004ad42
mov edi, edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push 0xc
add ecx, 8
push str.Not_Assigned
push edx
push ebx
call fcn.1000b070
test eax, eax
je 0x1004ad27
mov ecx, dword [ebp - 0x224]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 3
cmp ecx, dword [ebp - 0x214]
jbe 0x1004b04f
mov edx, dword [ebp - 0x20c]
mov ecx, dword [esi]
mov edi, dword [eax + edx]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x48]
je 0x1004abfd
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x248], edx
mov edx, dword [edi + 0x2c]
mov dword [ebp - 0x244], edx
mov edx, dword [eax]
cmp edx, dword [ebp - 0x248]
jne 0x1004abf5
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0x244]
je 0x1004abfd
add eax, 8
cmp eax, dword [ecx + 0x48]
jne 0x1004abe0
mov edi, 0xf
cmp eax, dword [ecx + 0x48]
je 0x1004ad27
push 0xb
push str.CATEGORIES:
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.1000c100
mov byte [ebp - 4], 0x3a
push 1
push 0x101a8aa0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.1000c100
mov byte [ebp - 4], 0x3b
mov eax, dword [esi]
add eax, 8
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.1002c4a0
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x3c
call fcn.1002c560
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x3d
call fcn.1000b240
cmp dword [ebp - 0xa4], 0x10
jb 0x1004ac9a
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
jb 0x1004acc5
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
jb 0x1004acea
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 0x64]
jae 0x1004acf6
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0x2c
cmp dword [ebp - 0x50], 0x10
jb 0x1004ad27
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0x210]
mov eax, dword [edx]
add esi, 8
cmp esi, dword [eax + 0x3c]
jne 0x1004ab80
mov ecx, edx
mov edi, 0xf
mov eax, dword [ebp - 0x224]
add ecx, 8
mov dword [ebp - 0x210], ecx
cmp ecx, dword [eax + 4]
jne 0x1004ab70
push 9
push str.END:VCARD
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], ebx
mov byte [ebp - 0x144], bl
call fcn.1000c100
mov ecx, dword [ebp - 0x238]
dec ecx
mov byte [ebp - 4], 0x3e
cmp dword [ebp - 0x214], ecx
je 0x1004ae03
push 1
push 0x101a8aa0
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1c0], ebx
mov byte [ebp - 0x1d0], bl
call fcn.1000c100
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x3f
call fcn.100121a0
mov esi, 0x10
mov byte [ebp - 4], 0x3e
cmp dword [ebp - 0x1bc], esi
jb 0x1004adef
mov eax, dword [ebp - 0x1d0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1c0], ebx
mov byte [ebp - 0x1d0], bl
jmp 0x1004ae08
mov esi, 0x10
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x130], esi
jae 0x1004ae1c
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x134]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x23c]
mov byte [ecx], 1
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x22c]
push edx
call eax
cmp dword [ebp - 0x130], esi
jb 0x1004ae70
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], ebx
mov byte [ebp - 0x144], bl
cmp dword [ebp - 0x1a0], esi
jb 0x1004ae9a
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a4], ebx
mov byte [ebp - 0x1b4], bl
cmp dword [ebp - 0x114], esi
jb 0x1004aec4
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x128], bl
cmp dword [ebp - 0x168], esi
jb 0x1004aeee
mov ecx, dword [ebp - 0x17c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ebx
mov byte [ebp - 0x17c], bl
cmp dword [ebp - 0x14c], esi
jb 0x1004af18
mov edx, dword [ebp - 0x160]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x228]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x160], bl
cmp esi, ebx
je 0x1004af61
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1004af61
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 0x1004af61
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x184], 0x10
jb 0x1004af7e
mov eax, dword [ebp - 0x198]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x184], edi
mov edi, dword [ebp - 0x224]
mov dword [ebp - 0x188], ebx
mov byte [ebp - 0x198], bl
mov edx, dword [ebp - 0x214]
inc edx
mov dword [ebp - 0x214], edx
cmp edx, dword [ebp - 0x238]
jne 0x10049c94
mov eax, dword [ebp - 0x218]
mov esi, 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xdc], esi
jb 0x1004afd9
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
lea eax, [ebp - 0x250]
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
mov byte [ebp - 4], 5
call fcn.100089e0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.100089e0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.100089e0
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
call fcn.100089e0
mov al, 1
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
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3