Function at 0x40b1f0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41638c
push eax
mov dword fs:[0], esp
sub esp, 0x6f8
push esi
mov esi, dword [esp + 0x70c]
cmp dword [esi + 0x14], 0
jne 0x40b231
xor al, al
pop esi
mov ecx, dword [esp + 0x6f8]
mov dword fs:[0], ecx
add esp, 0x704
ret
push edi
push esi
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
mov dword [esp + 0x708], 0
jbe 0x40b258
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x40b268
mov esi, dword [esi + 4]
jmp 0x40b26b
add esi, 4
cmp word [esi + edi*2], 0x5c
je 0x40b2a6
push 0x419138
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x710], 1
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x70c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x64], ebx
mov eax, dword [esp + 0x50]
jae 0x40b2b4
lea eax, [esp + 0x50]
push 0x100
lea ecx, [esp + 0x308]
push ecx
push 0x100
lea edx, [esp + 0x510]
push edx
push 0x100
lea ecx, [esp + 0x118]
push ecx
push 3
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.MSVCR80.dll__wsplitpath_s]
add esp, 0x24
push 0x419138
lea ecx, [esp + 0xec]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x710], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x718], 3
call edi
add esp, 0xc
lea ecx, [esp + 0xcc]
mov byte [esp + 0x70c], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x70c], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x710], 7
call fcn.0040b0a0
add esp, 4
test al, al
je 0x40b390
cmp dword [esp + 0x20], 0
jne 0x40b3e3
lea ecx, [esp + 0xc]
mov byte [esp + 0x70c], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x70c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x6f8]
mov dword fs:[0], ecx
add esp, 0x704
ret
cmp dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
jae 0x40b3f1
lea eax, [esp + 0x10]
cmp word [eax], 0x5c
jne 0x40b422
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::begin_void_]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___]
push ebp
push 0
push 0x419138
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_of_wchar_t_const___unsigned_int_const]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov esi, eax
cmp esi, dword [edx]
je 0x40b543
mov ebp, dword [sym.imp.MSVCR80.dll__wmkdir]
mov bl, 9
lea esp, [esp]
push esi
push 0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
add esi, 1
push esi
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x718], 8
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_unsigned_int__unsigned_int_]
push 0x419138
lea ecx, [esp + 0xb8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x71c], bl
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x714], 0xa
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x98]
mov byte [esp + 0x710], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x710], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x2c]
push eax
call fcn.0040b0a0
add esp, 4
test al, al
jne 0x40b510
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x40b502
lea eax, [esp + 0x30]
push eax
call ebp
add esp, 4
test eax, eax
jne 0x40b597
push 0
push 0x419138
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_of_wchar_t_const___unsigned_int_const]
lea ecx, [esp + 0x6c]
mov esi, eax
mov byte [esp + 0x710], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp esi, dword [ecx]
jne 0x40b450
lea ecx, [esp + 0x10]
mov byte [esp + 0x710], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x710], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x50]
mov dword [esp + 0x710], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x708]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x704
ret
lea ecx, [esp + 0x6c]
mov byte [esp + 0x710], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x710], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x710], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x50]
mov dword [esp + 0x710], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x40b57e