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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033298
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10048034]
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 dword [ebp - 0x4c], edx
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
jb 0x1000e5fa
mov eax, dword [esi]
jmp 0x1000e5fc
mov eax, esi
test eax, eax
je 0x1000e8a7
cmp word [eax], 0
je 0x1000e8a7
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000e8a7
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.10001c60
cmp byte [ebp + 0x10], 0
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
je 0x1000e744
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.100099e0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], eax
cmp ecx, eax
je 0x1000e698
cmp dword [ebp - 0x18], 8
jb 0x1000e67b
push dword [ebp - 0x2c]
call ebx
mov eax, dword [ebp - 0x48]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.100063d0
cmp dword [ebp - 0x58], 8
jb 0x1000e6a6
push dword [ebp - 0x6c]
call ebx
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x1000e6cf
push 0x10036bc0
mov ecx, edi
call fcn.10001690
cmp dword [ebp - 0x18], 8
jb 0x1000e8c7
push dword [ebp - 0x2c]
call ebx
add esp, 4
jmp 0x1000e8c7
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.1001a010
cmp dword [esi + 0x14], 8
jb 0x1000e6fc
mov eax, dword [esi]
jmp 0x1000e6fe
mov eax, esi
push eax
lea ecx, [ebp - 0x48]
call fcn.1001a1a0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1000e726
cmp dword [ecx], 1
sete al
test al, al
je 0x1000e71f
call fcn.100258b0
jmp 0x1000e724
call fcn.10029ac0
xor ecx, ecx
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1000e744
cmp dword [ecx], 1
sete al
test al, al
je 0x1000e73f
call fcn.100258b0
jmp 0x1000e744
call fcn.10029ac0
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.1000db80
add esp, 0xc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1000ced0
test eax, eax
jne 0x1000e7ce
cmp byte [ebp + 0x10], al
je 0x1000e875
cmp dword [ebp - 0x18], 8
jb 0x1000e788
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1000e875
jmp 0x1000e78b
lea eax, [ebp - 0x2c]
cmp word [eax], 0
je 0x1000e875
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call eax
cmp eax, 0xffffffff
je 0x1000e875
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
jmp 0x1000e86f
cmp byte [ebp + 0x14], 0
jne 0x1000e7de
cmp byte [ebp + 0x10], 0
je 0x1000e875
cmp dword [ebp - 0x18], 8
jb 0x1000e7ed
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1000e82c
jmp 0x1000e7f0
lea eax, [ebp - 0x2c]
cmp word [eax], 0
je 0x1000e82c
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call eax
cmp eax, 0xffffffff
je 0x1000e82c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x1000e836
mov eax, dword [esi]
jmp 0x1000e838
mov eax, esi
test eax, eax
je 0x1000e875
cmp word [eax], 0
je 0x1000e875
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000e875
cmp dword [esi + 0x14], 8
jb 0x1000e858
mov eax, dword [esi]
jmp 0x1000e85a
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x1000e86e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.10006360
cmp dword [ebp - 0x30], 8
jb 0x1000e88e
push dword [ebp - 0x44]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jmp 0x1000e6b8
xor eax, eax
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push 0x10036bc0
mov ecx, edi
mov word [edi], ax
call fcn.100019a0
mov eax, edi
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.1002f746
mov esp, ebp
pop ebp
ret