Function at 0x44f720
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x228], 1
mov byte [ebp - 0x220], 0
push 0x103
push 0
lea eax, [ebp - 0x21f]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea ecx, [ebp - 0x117]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 1
xor edx, edx
cmp dword [ebp + 8], 0
setne dl
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0
jne 0x44f7e2
push 0x29a
push 0x475e2c
call fcn.0044dfd0
add esp, 8
push eax
push str.pCmdline_NULL
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44fa5f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
shl eax, 1
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor edx, edx
test eax, eax
setge dl
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0
jne 0x44f853
push 0x29d
push 0x475e4c
call fcn.0044dfd0
add esp, 8
push eax
push 0x475e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44fa5f
push 0x104
push 0x475ebc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCR80.dll_strncat]
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44f8e3
push 0
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0
jne 0x44f8e3
push 0x2a3
push 0x475ed0
call fcn.0044dfd0
add esp, 8
push eax
push 0x475ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44fa5f
mov dword [ebp - 8], 0
jmp 0x44f8f5
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xfffffff0
jae 0x44f955
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
push str._s_sched_u.dat
push 0x104
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x14
push 0
push 2
push 3
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x44f951
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44f953
jmp 0x44f955
jmp 0x44f8ec
xor edx, edx
cmp dword [ebp - 0xc], 0xffffffff
sete dl
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0
jne 0x44f99e
push 0x2ba
push 0x475f24
call fcn.0044dfd0
add esp, 8
push eax
push str.hSchedINVALID_HANDLE_VALUE
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44fa5f
cmp dword [ebp - 8], 0xfffffff0
sbb eax, eax
neg eax
mov dword [ebp - 0x228], eax
jne 0x44f9df
push 0x2bb
push 0x475f54
call fcn.0044dfd0
add esp, 8
push eax
push str.i_0xFFFFFFF0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44fa5f
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
xor edx, edx
cmp dword [ebp - 0xc], 0xffffffff
setne dl
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0
jne 0x44fa44
push 0x2c5
push 0x475f74
call fcn.0044dfd0
add esp, 8
push eax
push str.hSched_INVALID_HANDLE_VALUE
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44fa5f
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xc], 0xffffffff
je 0x44fa76
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret