Function at 0x10118b9
Capabilities:
Check if file exists
Delete file
Enumerate files on windows

Disassembly:
push 0x28c
mov eax, 0x10399d2
call fcn.01037352
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x25c]
push ebx
push eax
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x260], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x28c]
call fcn.01014810
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], ebx
call fcn.01014810
push esi
push edi
mov edi, 0x1003198
lea eax, [ebp - 0x28c]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.010157db
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x1011960
mov eax, dword [section..data]
cmp eax, section..data
je 0x1011ab9
test byte [eax + 0x1c], 1
je 0x1011ab9
push esi
push 0x1002f90
push 0xf5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1011ab9
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28c]
call fcn.01015d45
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x268], eax
cmp eax, ebx
je 0x1011ae1
and dword [ebp - 0x264], 0
push 1
lea ecx, [ebp - 0x27c]
mov esi, ebx
call fcn.010147d4
mov edx, dword [ebp - 0x248]
inc dword [ebp - 0x264]
mov ecx, dword [ebp - 0x24c]
cmp edx, ebx
jb 0x10119ce
ja 0x1011a1d
cmp esi, ecx
ja 0x10119ce
sbb eax, eax
neg eax
jns 0x1011a1d
cmp edx, dword [ebp - 0x26c]
jb 0x1011a1d
ja 0x10119e8
cmp dword [ebp - 0x270], ecx
ja 0x1011a1d
sbb eax, eax
neg eax
test eax, eax
jle 0x1011a1d
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
push edi
push eax
mov dword [ebp - 0x294], ecx
mov ebx, edx
call fcn.010157db
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x1011b1e
mov esi, dword [ebp - 0x294]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10119ac
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x10]
or dword [ebp - 0x268], 0xffffffff
cmp dword [ebp - 0x264], eax
jbe 0x1011aa2
lea ecx, [ebp - 0x27c]
call fcn.01014b17
test eax, eax
je 0x1011b53
lea ecx, [ebp - 0x27c]
call fcn.01015d45
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1011a87
dec dword [ebp - 0x264]
jmp 0x1011a93
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], ebx
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp + 0x10]
ja 0x101196c
xor esi, esi
cmp dword [ebp - 0x268], 0xffffffff
je 0x1011ab9
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.01014822
mov eax, esi
call fcn.010373e4
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x1011af2
xor esi, esi
jmp 0x1011ab9
call esi
push eax
call fcn.0100968c
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1011ab9
test byte [eax + 0x1c], 1
je 0x1011ab9
push esi
push 0x1002f90
push 0xf6
jmp 0x1011950
mov eax, dword [section..data]
cmp eax, section..data
je 0x1011aa4
test byte [eax + 0x1c], 1
je 0x1011aa4
push esi
push 0x1002f90
push 0xf7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1011aa4
mov esi, 0x80004005
jmp 0x1011ab9