Function at 0x41c5e3
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aaf59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
call fcn.0041c3b8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41c82a
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41c62b
mov eax, 1
jmp 0x41c82c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042b82b
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41c82a
lea ecx, [ebp - 0x20]
call fcn.0041bcb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41c7fd
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
test edx, edx
je 0x41c7fd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00448954
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
cmp eax, 0x3b
jne 0x41c6ac
push 0xa
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ntdll.dll_strchr]
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x41c65d
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
cmp eax, 0x2d
jne 0x41c6ca
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x228], 0
push 0x104
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042a81d
add esp, 0xc
test eax, eax
jne 0x41c6fd
movsx ecx, byte [ebp - 0x228]
test ecx, ecx
je 0x41c6fd
jmp 0x41c7fd
push 0xa
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ntdll.dll_strchr]
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x228]
push eax
push 0x4c49f0
push 0x104
lea ecx, [ebp - 0x124]
push ecx
call fcn.0040a150
add esp, 0x10
cmp dword [ebp - 0x22c], 0
je 0x41c792
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41c790
push 0
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41c790
push 0x1f01ff
push 0
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x20]
call fcn.0041c208
push 1
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41c7f8
push 0x80
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1f01ff
push 0
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x20]
call fcn.0041c1e5
push 0x80
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x80
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x41c65d
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042b8c9
add esp, 4
mov dword [ebp - 0x230], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041bcc7
mov eax, dword [ebp - 0x230]
jmp 0x41c82c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret