Function at 0x10909dd
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x1099a38]
push ebx
push esi
push edi
push 0x53
pop ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x358]
push eax
lea esi, [ebp + 8]
lea edi, [ebp - 0x358]
rep movsd dword es:[edi], dword [esi]
push 0x102dd40
mov edi, 0x103
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.01037486
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call esi
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
je 0x1090a7f
push 0x80
lea eax, [ebp - 0x108]
push eax
call ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1090a7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102dcf0
push 1
call fcn.0108e8f0
add esp, 0xc
xor eax, eax
jmp 0x1090c95
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x358]
push eax
push 0x102dcdc
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.01037486
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call esi
cmp eax, 0xffffffff
je 0x1090abe
push 0x80
lea eax, [ebp - 0x108]
push eax
call ebx
lea eax, [ebp - 0x108]
push eax
call fcn.01093ab4
cmp eax, 0xffffffff
mov dword [ebp - 0x360], eax
je 0x1090c72
push eax
xor edi, edi
push edi
xor ebx, ebx
push edi
inc ebx
push 0x102dccc
mov dword [ebp - 0x35c], ebx
call fcn.01093fb2
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1090b10
push 0x102dc80
push ebx
call fcn.0108e8f0
pop ecx
pop ecx
mov dword [ebp - 0x35c], edi
call esi
push dword [ebp - 0x360]
mov edi, 0x100d9dc
push 0x102dc70
push 0x102dc64
push edi
call fcn.01093fb2
test eax, eax
jne 0x1090b45
push 0x102dc24
push ebx
call fcn.0108e8f0
and dword [ebp - 0x35c], 0
pop ecx
pop ecx
call esi
push dword [ebp - 0x360]
mov ebx, dword [sym.imp.msvcrt.dll__ltoa]
push 0xa
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x254]
call ebx
add esp, 0xc
push eax
push 0x102dc14
push edi
call fcn.01093fb2
test eax, eax
jne 0x1090b8c
push 0x102dbd0
push 1
call fcn.0108e8f0
and dword [ebp - 0x35c], 0
pop ecx
pop ecx
call esi
push dword [ebp - 0x360]
lea eax, [ebp - 0x20c]
push 0xa
push eax
push dword [ebp - 0x250]
call ebx
add esp, 0xc
push eax
push 0x102dbbc
push edi
call fcn.01093fb2
test eax, eax
jne 0x1090bcd
push 0x102db78
push 1
call fcn.0108e8f0
and dword [ebp - 0x35c], 0
pop ecx
pop ecx
call esi
push dword [ebp - 0x360]
lea eax, [ebp - 0x20c]
push 0xa
push eax
push dword [ebp - 0x24c]
call ebx
add esp, 0xc
push eax
push 0x102db6c
push edi
call fcn.01093fb2
test eax, eax
jne 0x1090c0e
push 0x102db28
push 1
call fcn.0108e8f0
and dword [ebp - 0x35c], 0
pop ecx
pop ecx
call esi
lea eax, [ebp - 0x228]
push eax
push 0x102db18
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01037486
add esp, 0x10
push dword [ebp - 0x360]
lea eax, [ebp - 0x20c]
push eax
push 0x102db08
push 0x102dafc
call fcn.01093fb2
test eax, eax
jne 0x1090c65
push 0x102dab8
push 1
call fcn.0108e8f0
and dword [ebp - 0x35c], 0
pop ecx
pop ecx
call esi
push dword [ebp - 0x360]
call fcn.01094074
jmp 0x1090c8f
and dword [ebp - 0x35c], 0
lea eax, [ebp - 0x108]
push eax
push 0x102da90
push 1
call fcn.0108e8f0
add esp, 0xc
mov eax, dword [ebp - 0x35c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0x14c