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

Disassembly:
sub esp, 0x7f0
push ebx
push ebp
or ecx, 0xffffffff
mov eax, 0xfffffffe
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ecx, 0x19e
xor eax, eax
lea edi, [esp + 0x185]
mov byte [esp + 0x184], bl
mov ebp, 1
rep stosd dword es:[edi], eax
mov ecx, dword [0x1000d588]
mov esi, 2
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x184]
push ebp
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ebx
call dword [ecx + 0x1700]
mov eax, dword [0x1000d588]
lea edx, [eax + 0x170]
lea ecx, [eax + 0x1248]
mov dword [0x1000d2a4], edx
lea edx, [eax + 0x320]
mov dword [0x1000d2a0], ecx
mov dword [0x1000d29c], edx
lea ecx, [eax + 0xe8]
lea edx, [eax + 0x11b8]
mov dword [0x1000d298], ecx
mov dword [0x1000d294], edx
lea ecx, [eax + 0x3a8]
lea edx, [eax + 0x1060]
mov dword [0x1000d290], ecx
mov dword [0x1000d28c], edx
mov dword [eax + 0x65c], 0x100065b0
mov eax, dword [0x1000d588]
mov dword [eax + 0x1384], 8
mov ecx, dword [0x1000d588]
mov dword [ecx + 0x1388], ebp
mov edx, dword [0x1000d588]
mov dword [edx + 0x138c], ebp
mov eax, dword [0x1000d588]
lea edx, [esp + 0x18]
mov dword [eax + 0x1390], ebp
mov ecx, dword [0x1000d588]
push edx
mov dword [ecx + 0x1394], esi
mov eax, dword [0x1000d588]
call dword [eax + 0x1d54]
lea edi, [esp + 0x34b]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x58]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x58]
rep movsb byte es:[edi], byte [esi]
mov edi, str.Task
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x58]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000174d
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea edi, [esp + 0x33f]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Profile
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x58]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100017c1
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea edi, [esp + 0x33f]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.gTask
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x58]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or esi, 0xffffffff
cmp eax, esi
jne 0x10001837
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
mov edx, dword [0x1003060c]
mov eax, dword [0x1000d588]
push edx
call dword [eax + 0x1530]
mov edi, eax
mov ecx, 0x79
xor eax, eax
mov dword [0x1000d58c], edi
rep stosd dword es:[edi], eax
mov ecx, dword [0x1000d588]
add esp, 4
mov edx, dword [ecx + 0x1668]
mov ecx, dword [0x1000d58c]
mov al, byte [edx + 0x1a50]
mov dword [ecx + 0x1d0], eax
mov edx, dword [0x1000d58c]
mov dword [edx + 0x1d4], ebp
mov eax, dword [0x1000d58c]
mov dword [eax + 0x1d8], ebp
mov ecx, dword [0x1000d58c]
mov dword [ecx + 0x1dc], 0x10
mov edx, dword [0x1000d58c]
mov dword [edx + 0x120], esi
mov eax, dword [0x1000d58c]
mov dword [eax + 0x124], ebx
call fcn.10001560
call fcn.10001490
mov ecx, dword [0x10030608]
push 0x10030610
push ecx
mov dword [0x10030610], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [0x10030618], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
mov dword [0x10030614], eax
mov byte [0x1000d428], 1
mov dword [0x1000d450], esi
call dword [sym.imp.MSVCRT.dll_time]
xor edx, edx
mov ecx, 0x2710
div ecx
push edx
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
call fcn.10009f50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7f0
ret