Function at 0x1011d5f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10186910
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
test eax, eax
je 0x1011d660
cmp eax, ecx
jbe 0x1011d74c
mov edx, dword [ebx + 0x14]
cmp edx, 8
jb 0x1011d63b
mov eax, dword [ebx]
jmp 0x1011d63d
mov eax, ebx
cmp word [eax + ecx*2], 0x2f
jne 0x1011d658
cmp edx, 8
jb 0x1011d64d
mov eax, dword [ebx]
jmp 0x1011d64f
mov eax, ebx
mov edx, 0x5c
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 0x10]
inc ecx
cmp eax, ecx
ja 0x1011d62f
push 0x101a37bc
push ebx
mov edi, 1
call fcn.10014750
cmp eax, 0xffffffff
jne 0x1011d689
push 0x101a37b0
push ebx
call fcn.10014750
cmp eax, 0xffffffff
je 0x1011d7e9
push eax
xor ecx, ecx
lea esi, [ebp - 0x2c]
mov edx, ebx
call fcn.100143f0
mov dword [ebp - 4], 0
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____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
push eax
push ecx
mov ecx, esi
push ecx
push ecx
push str.loop_mkdir_:
push edx
call fcn.1011e330
add esp, 0xc
push eax
call fcn.1011e590
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 [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1011d6d8
mov eax, esi
mov ebx, dword [sym.imp.MSVCR100.dll__wmkdir]
push eax
call ebx
mov esi, eax
add esp, 4
test esi, esi
jns 0x1011d7d6
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____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
push eax
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push ecx
push str.Error:_create_dir_failed.
push edx
call fcn.1011e330
add esp, 0xc
push eax
call fcn.1011e590
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 esi, 0x11
jne 0x1011d757
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
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
push str.Error:_Directory_was_not_created_because_dirname_is_the_name_of_an_existing_file__directory__or_device.
push ecx
call fcn.1011e330
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_____]
jmp 0x1011d7d6
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp esi, 2
jne 0x1011d7d6
push 0x101a37bc
lea edx, [ebp - 0x2c]
push edx
lea edi, [esi - 1]
call fcn.10014750
cmp eax, 0xffffffff
jne 0x1011d785
push 0x101a37b0
lea eax, [ebp - 0x2c]
push eax
call fcn.10014750
cmp eax, 0xffffffff
je 0x1011d7d6
push eax
xor ecx, ecx
lea esi, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.100143f0
mov ecx, esi
push ecx
mov byte [ebp - 4], 1
call fcn.1011d5f0
add esp, 4
test eax, eax
js 0x1011d7ce
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1011d7b2
lea eax, [ebp - 0x2c]
push eax
call ebx
add esp, 4
lea esi, [ebp - 0x48]
mov edi, eax
call fcn.1000ba80
lea esi, [ebp - 0x2c]
call fcn.1000ba80
mov eax, edi
jmp 0x1011d7eb
lea esi, [ebp - 0x48]
call fcn.1000ba80
cmp dword [ebp - 0x18], 8
jb 0x1011d7e9
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 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