Function at 0x411190
Capabilities:
Create directory
Get disk size
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a3a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
push 0x6400000
lea eax, [esp + 0x14]
push eax
mov esi, ecx
call fcn.00408640
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x6400000
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.00408640
mov edx, dword [0x4cc904]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x4ae764
push ecx
mov byte [esp + 0x54], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x41126e
call ebp
mov edi, eax
cmp edi, 0xb7
je 0x41126e
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push edi
lea edx, [esp + 0x18]
push str.Create_Save_Directory_Error:_d
push edx
mov byte [esp + 0x50], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 8
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
jmp 0x4112b7
push 2
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4112f7
call ebp
lea ecx, [esp + 0x14]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push esi
lea ecx, [esp + 0x18]
push str.Call_SetFileAttributes_Error:_d
push ecx
mov byte [esp + 0x50], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
call fcn.00409e30
add esp, 4
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x3c
ret
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4113ec
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shrd eax, ecx, 0xa
shr ecx, 0xa
cmp eax, 0xf00000
jl 0x411341
mov dword [esi + 0x514], 0x1800
jmp 0x411365
cmp eax, 0x800000
jl 0x411354
mov dword [esi + 0x514], 0x1000
jmp 0x411365
cmp eax, 0x400000
jl 0x411365
mov dword [esi + 0x514], 0x800
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov edx, dword [esi + 0x514]
push edx
lea eax, [esp + 0x18]
push 0x4ad3dc
push eax
mov byte [esp + 0x50], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.LIMITDOWN
mov byte [esp + 0x50], 6
call dword [0x4ab700]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ac6b4
mov byte [esp + 0x54], 7
call dword [0x4ab700]
lea ecx, [esi + 0x158]
mov byte [esp + 0x50], 5
call fcn.0042c7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, esi
call fcn.0040c160
push str.Users
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.0049bb00
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x3c
ret