Function at 0x100f5350
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a22e8
mov eax, dword fs:[0]
push eax
sub esp, 0x548
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x3d4]
mov ecx, 0xf2
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101e981a
call fcn.1019d101
mov ecx, dword [ebp + 8]
call fcn.1006a530
push eax
push str._event_:_Removing_settings_with_name__s._n
call fcn.1018d870
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.100ea400
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1006a530
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x100f540f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x100f573a
mov eax, dword [ebp - 0x44]
not eax
and eax, 0x10
je 0x100f542d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x100f573a
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.1019d0de
lea ecx, [ebp - 0x38]
call fcn.1006a530
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.1019d0de
test eax, eax
je 0x100f546e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x100f573a
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1019d0de
cmp eax, 0x91
je 0x100f5498
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x100f573a
lea ecx, [ebp - 0x38]
call fcn.100f9bf0
mov esi, eax
push str..
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea eax, [esi + eax + 1]
cmp eax, 0x104
jbe 0x100f54ce
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x100f573a
push 0x104
push 0
lea eax, [ebp - 0x150]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
push str._s.
lea eax, [ebp - 0x150]
push eax
call fcn.100ee300
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x100f5536
cmp dword [ebp - 0x2a4], 0xffffffff
jne 0x100f554a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x100f573a
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.100ee3c0
add esp, 8
push 0x101bce48
lea eax, [ebp - 0x26c]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100f557f
jmp 0x100f56c4
push 0x101bce4c
lea eax, [ebp - 0x26c]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100f559c
jmp 0x100f56c4
lea eax, [ebp - 0x150]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x26c]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea edx, [esi + eax + 1]
cmp edx, 0x104
jbe 0x100f55cd
jmp 0x100f56c4
push 0x104
push 0
lea eax, [ebp - 0x3b0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x150]
push ecx
push str._s_s
lea edx, [ebp - 0x3b0]
push edx
call fcn.100ee300
add esp, 0x10
mov eax, dword [ebp - 0x298]
and eax, 0x10
je 0x100f567d
mov eax, dword [ebp - 0x298]
and eax, 1
je 0x100f5647
mov eax, dword [ebp - 0x298]
and eax, 0xfffffffe
mov dword [ebp - 0x298], eax
mov esi, esp
mov eax, dword [ebp - 0x298]
push eax
lea ecx, [ebp - 0x3b0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.1019d0de
lea eax, [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x550]
call fcn.100767e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x550]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.100f5350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x550]
call fcn.100681f0
jmp 0x100f56c4
mov eax, dword [ebp - 0x298]
and eax, 1
jne 0x100f5693
mov eax, dword [ebp - 0x298]
and eax, 4
je 0x100f56ae
mov esi, esp
push 0x80
lea eax, [ebp - 0x3b0]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.1019d0de
mov esi, esp
lea eax, [ebp - 0x3b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.1019d0de
mov esi, esp
lea eax, [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.1019d0de
test eax, eax
jne 0x100f5562
mov esi, esp
mov eax, dword [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.1019d0de
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1019d0de
cmp eax, 0x12
jne 0x100f572b
lea ecx, [ebp - 0x38]
call fcn.1006a530
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
push edx
mov ecx, ebp
push eax
lea edx, [0x100f5778]
call fcn.1019d088
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019d133
add esp, 0x554
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4