Function at 0x1000e540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov byte [ebp - 0x60], 0
mov ecx, dword [ebp - 0x60]
push ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], eax
call fcn.10006c80
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100a9910
mov esi, dword [eax]
lea edi, [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x70], 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
sete byte [ebp - 0x59]
call esi
cmp byte [ebp - 0x59], 0
mov eax, dword [ebp - 0x18]
sete byte [ebp - 0x59]
test eax, eax
je 0x1000e5e8
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1000e5e8
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000e5e8
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
cmp byte [ebp - 0x59], 0
jne 0x1000e607
lea edi, [ebx + 0xac]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx + 0xa4], 0
push edi
je 0x1000e627
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret 8
mov byte [ebx + 0xa4], 1
call esi
cmp byte [ebx + 0x4c], 0
mov ecx, dword [ebp + 8]
mov byte [ebx + 0x4d], 1
mov dword [ebx + 0x54], ecx
je 0x1000e697
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.1000ded0
add esp, 8
lea esi, [ebx + 0x14]
mov edi, eax
mov dword [ebp - 4], 0
call fcn.1000ae80
mov edi, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x1000e67f
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esi + 0x14], edi
jb 0x1000e686
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000e607
xor esi, esi
test byte [ebx + 0x54], 1
je 0x1000e75e
mov edx, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
mov ebx, 0x101a36e8
lea eax, [ebp - 0x54]
mov ecx, edi
mov dword [ebp - 0x50], edx
call fcn.1000f180
mov ecx, dword [ebp - 0x50]
cmp dword [eax], ecx
je 0x1000e6db
lea edx, [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x50], 1
call fcn.1000f100
mov esi, dword [eax]
push 0x60
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1000e71c
mov dl, byte [edi + 0x4c]
mov byte [ebp - 0x50], dl
mov eax, dword [ebp - 0x50]
push eax
push esi
lea edx, [edi + 0xc]
push edx
push 1
push edi
lea ecx, [edi + 0x14]
push ebx
call fcn.10034ac0
mov dword [ebx], vtable.ContactBackupRestoreTask.0
jmp 0x1000e71e
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.10011230
add edi, 0xc4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.1000f1e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100089e0
mov ebx, dword [ebp - 0x58]
test byte [ebx + 0x54], 2
je 0x1000e823
mov ecx, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
mov dword [ebp - 0x50], ecx
mov ebx, 0x101a36ec
lea eax, [ebp - 0x54]
mov ecx, edi
call fcn.1000f180
mov edx, dword [ebp - 0x50]
cmp dword [eax], edx
je 0x1000e7a0
lea edx, [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x50], 2
call fcn.1000f100
mov esi, dword [eax]
push 0x60
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 3
test ebx, ebx
je 0x1000e7e1
mov al, byte [edi + 0x4c]
mov byte [ebp - 0x50], al
mov edx, dword [ebp - 0x50]
push edx
push esi
lea eax, [edi + 0xc]
push eax
push 2
push edi
lea ecx, [edi + 0x14]
push ebx
call fcn.10034ac0
mov dword [ebx], vtable.SMSBackupRestoreTask.0
jmp 0x1000e7e3
xor ebx, ebx
xor eax, eax
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.100112c0
add edi, 0xc4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
call fcn.1000f1e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100089e0
mov ebx, dword [ebp - 0x58]
test byte [ebx + 0x54], 4
je 0x1000e8e5
mov edx, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
mov ebx, 0x101a36f0
lea eax, [ebp - 0x54]
mov ecx, edi
mov dword [ebp - 0x50], edx
call fcn.1000f180
mov ecx, dword [ebp - 0x50]
cmp dword [eax], ecx
je 0x1000e865
lea edx, [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x50], 4
call fcn.1000f100
mov esi, dword [eax]
push 0x60
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 5
test ebx, ebx
je 0x1000e8a8
mov dl, byte [edi + 0x4c]
mov byte [ebp - 0x50], dl
mov eax, dword [ebp - 0x50]
push eax
push esi
lea edx, [edi + 0xc]
push edx
push 4
push edi
lea ecx, [edi + 0x14]
push ebx
call fcn.10034ac0
mov dword [ebx], vtable.AppBackupRestoreTask.0
mov eax, ebx
jmp 0x1000e8aa
xor eax, eax
push eax
xor ecx, ecx
lea eax, [ebp - 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
call fcn.10011350
add edi, 0xc4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 6
call fcn.1000f1e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.100089e0
mov ebx, dword [ebp - 0x58]
test byte [ebx + 0x54], 8
je 0x1000e9aa
mov ecx, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
mov dword [ebp - 0x50], ecx
mov ebx, 0x101a36f4
lea eax, [ebp - 0x54]
mov ecx, edi
call fcn.1000f180
mov edx, dword [ebp - 0x50]
cmp dword [eax], edx
je 0x1000e927
lea edx, [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x50], 8
call fcn.1000f100
mov esi, dword [eax]
push 0x60
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 7
test ebx, ebx
je 0x1000e968
mov al, byte [edi + 0x4c]
mov byte [ebp - 0x50], al
mov edx, dword [ebp - 0x50]
push edx
push esi
lea eax, [edi + 0xc]
push eax
push 8
push edi
lea ecx, [edi + 0x14]
push ebx
call fcn.10034ac0
mov dword [ebx], vtable.ImageBackupRestoreTask.0
jmp 0x1000e96a
xor ebx, ebx
xor eax, eax
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.100113e0
add edi, 0xc4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 8
call fcn.1000f1e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100089e0
mov ebx, dword [ebp - 0x58]
test byte [ebx + 0x54], 0x10
je 0x1000ea6c
mov edx, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
mov ebx, 0x101a36f8
lea eax, [ebp - 0x54]
mov ecx, edi
mov dword [ebp - 0x50], edx
call fcn.1000f180
mov ecx, dword [ebp - 0x50]
cmp dword [eax], ecx
je 0x1000e9ec
lea edx, [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x50], 0x10
call fcn.1000f100
mov esi, dword [eax]
push 0x60
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 9
test ebx, ebx
je 0x1000ea2f
mov dl, byte [edi + 0x4c]
mov byte [ebp - 0x50], dl
mov eax, dword [ebp - 0x50]
push eax
push esi
lea edx, [edi + 0xc]
push edx
push 0x10
push edi
lea ecx, [edi + 0x14]
push ebx
call fcn.10034ac0
mov dword [ebx], vtable.VideoBackupRestoreTask.0
mov eax, ebx
jmp 0x1000ea31
xor eax, eax
push eax
xor ecx, ecx
lea eax, [ebp - 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
call fcn.10011470
add edi, 0xc4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xa
call fcn.1000f1e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.100089e0
mov ebx, dword [ebp - 0x58]
test byte [ebx + 0x54], 0x20
je 0x1000eb2c
mov ecx, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
mov dword [ebp - 0x50], ecx
mov ebx, 0x101a36fc
lea eax, [ebp - 0x54]
mov ecx, edi
call fcn.1000f180
mov edx, dword [ebp - 0x50]
cmp dword [eax], edx
je 0x1000eaae
lea edx, [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x50], 0x20
call fcn.1000f100
mov esi, dword [eax]
push 0x60
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 0xb
test ebx, ebx
je 0x1000eaef
mov al, byte [edi + 0x4c]
mov byte [ebp - 0x50], al
mov edx, dword [ebp - 0x50]
push edx
push esi
lea eax, [edi + 0xc]
push eax
push 0x20
push edi
lea ecx, [edi + 0x14]
push ebx
call fcn.10034ac0
mov dword [ebx], vtable.MusicBackupRestoreTask.0
jmp 0x1000eaf1
xor ebx, ebx
xor eax, eax
push ebx
lea ecx, [ebp - 0x1c]
or esi, 0xffffffff
mov dword [ebp - 4], esi
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.10011500
add edi, 0xc4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xc
call fcn.1000f1e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.100089e0
mov ebx, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov edx, dword [ebx + 0xc8]
sub edx, dword [ebx + 0xc4]
sub esp, 0x18
sar edx, 3
cmp ecx, edx
jae 0x1000ebf0
mov dword [ebp - 4], 0xd
mov eax, esp
xor edx, edx
mov dword [ebp - 0x74], esp
mov dword [eax + 0x10], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebx + 0xc4]
sub esp, 0x18
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x18], esp
sub esp, 0xc
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x64], esp
sub esp, 8
mov esi, esp
lea eax, [eax + ecx*8]
mov dword [esi], edx
mov dword [esi + 4], edx
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x50], ecx
test edi, edi
je 0x1000ebad
mov edx, edi
call fcn.1000ae40
test al, al
je 0x1000ebad
mov edx, dword [ebp - 0x50]
push edx
mov ebx, edi
call fcn.10044ae0
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
push eax
call fcn.100102f0
mov ecx, dword [ebp - 0x54]
add esp, 0xc
push ecx
call fcn.10010490
mov byte [ebp - 4], 0xf
call dword [sym.imp.MGCore.dll_public:_static_class_MGThreadPool____cdecl_MGSingleton_class_MGThreadPool__1_::getInstance_void_]
mov ecx, eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGThreadPool::post_class_std::tr1::function_void____cdecl___void____class_std::tr1::function_void____cdecl___void___]
mov dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
jmp 0x1000eb31
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x54], esp
push 0x18
mov edi, 0x1000ecb0
xor esi, esi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1000ec7b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V___Bind_XXV___Bind1_U___Callable_pmf_Q8BackupRestoreControlImpl__AEXXZV1__0A__tr1_std__PAVBackupRestoreControlImpl___tr1_std___tr1_std___0A__tr1_std__X_tr1_std__.0
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
mov dword [ecx + 0x10], eax
push 1
add ebx, 0x14
lea edx, [ebp - 0x4c]
push ebx
push edx
mov dword [ebp - 4], 0x11
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_]
mov esi, eax
mov byte [ebp - 4], 0x12
mov byte [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.10006c80
add esp, 0x10
mov ecx, esi
mov edi, eax
mov byte [ebp - 4], 0x13
call fcn.100a9950
cmp dword [ebp - 0x38], 0x10
jb 0x1000ec74
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1000e609
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], esi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x101cf4d8
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3