Function at 0x10014540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10027ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10037018]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x10037018]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov word [esp + 0x60], cx
mov ecx, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100145a4
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x64]
call fcn.10007710
mov dword [esp + 0xa8], ebx
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x100145d1
mov eax, esi
mov edx, dword [esp + 0x70]
cmp word [eax + edx*2 - 2], 0x5c
je 0x100145ed
push 1
mov eax, 0x10029680
lea ecx, [esp + 0x64]
call fcn.10003b30
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov byte [esp + 0xa8], 1
mov ecx, 8
lea esi, [esp + 0x14]
lea edi, [esp + 0x34]
mov dword [esp + 0x14], 0x10016740
mov dword [esp + 0x18], 0x100167e0
mov dword [esp + 0x1c], 0x10016830
mov dword [esp + 0x20], 0x10016880
mov dword [esp + 0x24], 0x100168f0
mov dword [esp + 0x28], 0x10016950
mov dword [esp + 0x2c], 0x10016980
mov dword [esp + 0x30], ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x34]
mov edx, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.100172c0
mov esi, eax
cmp esi, ebx
jne 0x100146b8
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push eax
push ecx
push edi
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
push ecx
call fcn.10014860
add esp, 8
push eax
call fcn.1000ca50
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
cmp dword [esp + 0x74], 8
jb 0x100146b1
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x10014749
mov eax, dword [esp + 0x60]
mov edi, 8
cmp dword [esp + 0x74], edi
jae 0x100146cb
lea eax, [esp + 0x60]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x100146e1
lea eax, [esp + 0x60]
push eax
call sym.libBasic.dll_public:_static_char____cdecl_BASUtilityString::ConvertUnicodeToUtf8_wchar_t_const__
mov edi, eax
add esp, 4
push edi
mov eax, esi
call fcn.10014490
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esi + 0xe0], ebx
je 0x1001470c
mov ebx, esi
call fcn.100183c0
xor ebx, ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
push eax
push ecx
call edx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_free]
call esi
add esp, 0xc
push edi
call esi
add esp, 4
cmp dword [esp + 0x10], ebx
setne bl
cmp dword [esp + 0x74], 8
jb 0x10014747
mov eax, dword [esp + 0x60]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
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.100256d0
mov esp, ebp
pop ebp
ret