Function at 0x6513e350
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x65151b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x6516c6d0]
xor eax, esp
mov dword [esp + 0x3f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6516c6d0]
xor eax, esp
push eax
lea eax, [esp + 0x40c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x41c]
cmp dword [esi + 0x14], 0
je 0x6513e75d
push esi
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
mov dword [esp + 0x414], 0
jbe 0x6513e3c5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x6513e3d4
mov esi, dword [esi + 4]
jmp 0x6513e3d7
add esi, 4
cmp byte [esi + edi], 0x5c
je 0x6513e41a
push 0x6515e084
lea ecx, [esp + 0xf0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x418], 1
call dword [0x65153548]
lea ecx, [esp + 0xec]
mov byte [esp + 0x414], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0xe8], ebx
mov eax, dword [esp + 0xd4]
jae 0x6513e431
lea eax, [esp + 0xd4]
push 0x100
lea ecx, [esp + 0x20c]
push ecx
push 0x100
lea edx, [esp + 0x314]
push edx
push 0x100
lea ecx, [esp + 0x11c]
push ecx
push 3
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.MSVCR80.dll__splitpath_s]
add esp, 0x24
push 0x6515e088
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x418], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push esi
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x420], 3
call edi
add esp, 0xc
lea ecx, [esp + 0x7c]
mov byte [esp + 0x414], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x414], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x418], 7
call fcn.6513e1e0
add esp, 4
test al, al
je 0x6513e71b
cmp dword [esp + 0xac], 0
je 0x6513e71b
cmp dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x9c]
jae 0x6513e52f
lea eax, [esp + 0x9c]
cmp byte [eax], 0x5c
jne 0x6513e55f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char___]
push 1
push 0
push 0x6515e08c
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, eax
cmp esi, dword [edx]
je 0x6513e69a
mov ebp, dword [sym.imp.MSVCR80.dll__mkdir]
mov bl, 9
lea ecx, [ecx]
push esi
push 0
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
add esi, 1
push esi
push 0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x41c], 8
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
push 0x6515e090
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x420], bl
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x418], 0xa
call dword [0x65153548]
lea ecx, [esp + 0x28]
mov byte [esp + 0x414], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0x414], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0xb4]
push eax
call fcn.6513e1e0
add esp, 4
test al, al
jne 0x6513e65f
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
jae 0x6513e651
lea eax, [esp + 0xb8]
push eax
call ebp
add esp, 4
test eax, eax
jne 0x6513e706
push 1
push 0
push 0x6515e094
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char_const___unsigned_int__unsigned_int_const]
lea ecx, [esp + 0xec]
mov esi, eax
mov byte [esp + 0x414], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp esi, dword [ecx]
jne 0x6513e590
lea ecx, [esp + 0x98]
mov byte [esp + 0x414], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x414], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd0]
mov dword [esp + 0x414], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x40c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3f4]
xor ecx, esp
call fcn.6514af96
add esp, 0x404
ret
lea ecx, [esp + 0xec]
mov byte [esp + 0x414], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0x414], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x414], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd0]
mov dword [esp + 0x414], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x6513e6de