Function at 0x4019a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x404319
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x407020]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x407020]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
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__]
xor eax, eax
mov dword [esp + 0x58], eax
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 dword [ecx], eax
lea esi, [eax + 1]
je 0x401ad9
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
push 0x5c
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__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 edi, eax
cmp dword [edx], edi
je 0x401a91
push edi
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
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_]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x401a3e
lea eax, [esp + 0x34]
push eax
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
test eax, eax
jne 0x401a74
test esi, esi
je 0x401a72
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x401a62
lea eax, [esp + 0x34]
push 0
push eax
call ebp
test eax, eax
je 0x401a72
mov esi, 1
jmp 0x401a74
xor esi, esi
lea ecx, [esp + 0x30]
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 edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [edi + 1]
cmp dword [edx], eax
jne 0x401a04
jmp 0x401ad9
mov eax, dword [esp + 0x18]
mov edi, 0x10
cmp dword [esp + 0x2c], edi
jae 0x401aa4
lea eax, [esp + 0x18]
push eax
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
test eax, eax
jne 0x401ad9
test esi, esi
je 0x401ad7
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x401ac7
lea eax, [esp + 0x18]
push 0
push eax
call ebp
test eax, eax
je 0x401ad7
mov esi, 1
jmp 0x401ad9
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 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 eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00403a3e
add esp, 0x48
ret