Function at 0x10035100
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018d323
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101ebb68]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x40]
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x10035153
mov eax, dword [esi]
jmp 0x10035155
mov eax, esi
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wstat64i32]
add esp, 8
test eax, eax
jne case.0x10035190.3
mov edx, dword [esp + 0x1a]
shr edx, 0xe
and dl, 1
je case.0x10035190.3
mov eax, dword [ebx + 0x30]
dec eax
cmp eax, 0x1f
ja case.0x10035190.3
movzx eax, byte [eax + 0x1003537c]
jmp dword [eax*4 + 0x10035360]
mov eax, str.contact
jmp 0x100351bf
mov eax, str._sms
jmp 0x100351bf
mov eax, str._application
jmp 0x100351bf
mov eax, str.image
jmp 0x100351bf
mov eax, str._video
jmp 0x100351bf
mov eax, str.music
push esi
call fcn.1000f0b0
cmp byte [ebx + 0x34], 0
je 0x10035276
cmp dword [esi + 0x14], edi
jb 0x100351d8
mov eax, dword [esi]
jmp 0x100351da
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je case.0x10035190.3
push 1
lea ecx, [esp + 0x48]
push esi
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_]
add esp, 0xc
mov edi, 0x10
mov dword [esp + 0xa8], 0
cmp dword [eax + 0x14], edi
jb 0x10035213
mov eax, dword [eax]
push eax
push str.Begin_backup_source_to__s
lea esi, [esp + 0x84]
call fcn.1000c270
add esp, 8
mov byte [esp + 0xa8], 1
cmp dword [eax + 0x14], edi
jb 0x10035237
mov eax, dword [eax]
push str.MGENGINE_BACKUPRESTORE
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
lea ecx, [esp + 0x7c]
call fcn.1000c240
lea ecx, [esp + 0x44]
mov dword [esp + 0xa8], 0xffffffff
call fcn.1000c240
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
jmp 0x1003533a
cmp dword [esi + 0x14], edi
jb 0x1003527f
mov eax, dword [esi]
jmp 0x10035281
mov eax, esi
push eax
call fcn.100365e0
add esp, 4
test al, al
je case.0x10035190.3
cmp dword [esi + 0x14], edi
jb 0x1003529b
mov eax, dword [esi]
jmp 0x1003529d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je case.0x10035190.3
push 1
lea ecx, [esp + 0x18]
push esi
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_]
add esp, 0xc
mov edi, 0x10
mov dword [esp + 0xa8], 2
cmp dword [eax + 0x14], edi
jb 0x100352d4
mov eax, dword [eax]
push eax
push str.Begin_restore_source_to__s
lea esi, [esp + 0x68]
call fcn.1000c270
add esp, 8
mov byte [esp + 0xa8], 3
cmp dword [eax + 0x14], edi
jb 0x100352f5
mov eax, dword [eax]
push str.MGENGINE_BACKUPRESTORE
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
lea ecx, [esp + 0x60]
call fcn.1000c240
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 0xffffffff
call fcn.1000c240
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
jmp 0x1003533a
push 2
mov ecx, ebx
call fcn.10034c70
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10178946
mov esp, ebp
pop ebp
ret