Function at 0x40e550
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x433364
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [esp + 0x4c]
push edi
push esi
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__access]
mov dword [esp + 0x50], ebx
call esi
add esp, 8
cmp eax, ebx
je 0x40e73b
push 0x5c
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jge 0x40e650
mov al, byte [esp + 0x50]
push ebp
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
mov ebx, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40e605
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x50], bl
mov dword [esp + 0x18], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.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__]
lea edx, [esp + 0x28]
push 0x43bd40
push edx
mov byte [esp + 0x54], bl
mov dword [esp + 0x30], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
pop ebp
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 0xc]
push ebx
push ecx
mov byte [esp + 0x50], 3
call esi
add esp, 8
cmp eax, ebx
je 0x40e680
mov edx, dword [esp + 0xc]
push edx
call fcn.0040e550
add esp, 4
mov eax, dword [esp + 0x50]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e72e
mov cl, byte [esp + 0x50]
mov edi, 0x446fe0
mov byte [esp + 0x14], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ebx
push ecx
push 0x446fe0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x4c], 4
mov dword [esp + 0x14], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esp + 0x14]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 5
mov byte [esp + 0x34], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
lea ecx, [esp + 0x30]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [esp + 0x24]
push 0x43bd40
push ecx
mov byte [esp + 0x50], 4
mov dword [esp + 0x2c], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret