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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020cee
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x1000ac55
xor ecx, ecx
jmp 0x1000ac6f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ac60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002a90
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x10027a9c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.10002a90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000acc2
test al, 0x10
ja 0x1000aeff
sub esp, 8
mov dword [ebp - 0x60], 0x5c
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10002180
mov ecx, dword [ebp - 0x1c]
lea esi, [ecx - 1]
cmp eax, esi
je 0x1000ad00
sub esp, 8
mov dword [ebp - 0x60], 0x2f
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10002180
cmp eax, esi
jne 0x1000ada5
push esi
push ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002040
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1000ad8f
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1000ad29
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10002b90
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [esi + 0x14], 8
jae 0x1000ad5d
mov eax, dword [esi + 0x10]
add eax, 1
je 0x1000ad68
add eax, eax
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.1000f8b0
add esp, 0xc
jmp 0x1000ad68
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1000ad8a
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1000ada5
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10002b90
xor esi, esi
cmp dword [ebp - 0x1c], esi
jbe 0x1000ae67
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + esi*2], 0x5c
je 0x1000ae2b
cmp ecx, 8
lea eax, [ebp - 0x2c]
cmovae eax, edx
cmp word [eax + esi*2], 0x2f
je 0x1000ae2b
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
cmp ecx, 8
cmovae eax, edx
movzx ebx, word [eax + esi*2]
or eax, 0xffffffff
sub eax, edi
cmp eax, 1
jbe 0x1000af03
push ecx
inc edi
lea ecx, [ebp - 0x44]
push edi
call fcn.10002a40
test al, al
je 0x1000ae42
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
mov word [ecx + eax*2], bx
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x34], edi
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [eax + edi*2], cx
jmp 0x1000ae42
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10001e40
push 1
push ecx
lea ecx, [ebp - 0x44]
call fcn.100023b0
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx - 1]
cmp esi, eax
jne 0x1000ae5b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10001e40
mov ecx, dword [ebp - 0x1c]
inc esi
cmp esi, ecx
jb 0x1000adb0
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, 1
jbe 0x1000aed0
lea esi, [ebx + 0x18]
dec edi
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x1000ae99
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.10002720
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000aec8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x80
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esi, 0x18
sub edi, 1
jne 0x1000ae86
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
push ecx
mov ecx, ebx
call fcn.10002550
add esp, 8
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000af0d
test al, 0x10
jbe 0x1000af0d
mov bl, 1
jmp 0x1000af0f
push 0x10027ad0
call fcn.1000da1a
xor bl, bl
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1000af21
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10002b90
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x1000af47
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10002b90
xor eax, eax
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.100020e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret 4