Function at 0x40bbb7
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push 0x274
mov eax, 0x4118ee
call fcn.0040f91b
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x27c], eax
xor ebx, ebx
push str.All_Users_
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call dword [0x41307c]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call esi
call fcn.004070ff
mov dword [ebp - 0x270], eax
xor eax, eax
inc eax
mov dword [edi], eax
mov dword [ebp - 0x264], eax
mov dword [esp], 0x24c
lea eax, [ebp - 0x25c]
push ebx
push eax
mov dword [ebp - 0x260], ebx
call sub.MSVCR100.dll_memset
mov ebx, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push 0x414b68
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x278]
push eax
call ebx
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
je 0x40be3a
xor eax, eax
cmp dword [ebp - 0x264], eax
je 0x40be2e
test byte [ebp - 0x260], 0x10
je 0x40bd3b
push 0x414b60
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40be10
push 0x414b5c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40be10
lea eax, [ebp - 0x234]
push eax
push 0x414b30
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40be09
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call ebx
add esp, 0xc
push 0x414d78
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [0x41307c]
push dword [ebp - 0x27c]
lea eax, [ebp - 0x26c]
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call esi
call fcn.0040b3f8
pop ecx
pop ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x40be10
cmp dword [ebp - 0x270], eax
je 0x40be0e
lea eax, [ebp - 0x234]
push eax
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40be09
push str.Registry.db
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
call ebx
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
mov byte [ebp - 4], 3
call fcn.0040b051
mov ecx, dword [ebp - 0x264]
cmp dword [eax], ecx
jne 0x40bdfb
lea ecx, [ebp - 0x268]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40bdfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call esi
push 0x414f8c
push str.StorageTool
push 2
push str.func
push 0x69c
push str.file
call fcn.00407b42
add esp, 0x20
jmp 0x40bdfe
and dword [edi], 0
lea ecx, [ebp - 0x268]
jmp 0x40bd2c
and dword [edi], 0
jmp 0x40be10
mov dword [edi], eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x264], eax
jmp 0x40bc72
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi], 0
je 0x40be8c
lea ecx, [ebp + 8]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40be8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call esi
push 0x414d90
push str.StorageTool
push 2
push str.func
push 0x6bd
push str.file
call fcn.00407b42
add esp, 0x20
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call esi
call fcn.0040f965
ret