Function at 0x40f9f0
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415185
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x41e130]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x24c
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x25c]
mov ebx, 1
push eax
mov dword [ebp - 0x270], ebx
mov esi, ebx
call sub.MSVCR80.dll_memset
push 0x417bdc
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], bl
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 ebx, eax
cmp ebx, 0xffffffff
je 0x40fb8f
lea esp, [esp]
test esi, esi
je 0x40fb88
test byte [ebp - 0x260], 0x10
je 0x40fb73
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x417bd4
lea ecx, [ebp - 0x234]
push ecx
call esi
test eax, eax
je 0x40fb73
push 0x417bd0
lea edx, [ebp - 0x234]
push edx
call esi
test eax, eax
je 0x40fb73
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 0x26c], 0
call dword [sym.imp.Common.dll_Ordinal_34]
add esp, 8
cmp dword [ebp - 0x26c], 0
lea eax, [ebp - 0x234]
je 0x40fb40
lea edx, [ebp - 0x270]
push edx
push edi
push eax
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x268], esp
push edx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call fcn.0040e960
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x40fa90
push eax
push str.All_Users
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40fb73
lea ecx, [ebp - 0x270]
push ecx
push edi
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x268], esp
push edx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call fcn.0040ef20
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x40fa90
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
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 0x40fbe0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x268], esp
push edx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0xa47
push str.file
call fcn.004097e0
add esp, 0x20
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call esi
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.00412d02
mov esp, ebp
pop ebp
ret