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

Disassembly:
push 0x274
mov eax, 0x4112a5
call fcn.0040f8dd
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
xor esi, esi
inc esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40830a
push 0
lea ecx, [ebp + 0xc]
call edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
and dword [ebp - 0x260], 0
push 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x268], esi
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push 0x414960
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x408569
cmp dword [ebp - 0x268], 0
je 0x40855d
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
jne 0x408432
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 3
call esi
add esp, 0x18
push 1
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x268], esp
push eax
mov byte [ebp - 4], 4
call ebx
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 5
call ebx
mov byte [ebp - 4], 4
call fcn.00407bd1
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x408531
cmp eax, 0xfffffffd
je 0x408531
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call edi
lea ecx, [ebp - 0x278]
jmp 0x40850d
push 0x414958
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x408513
push 0x414954
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x408513
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 6
call dword [0x41307c]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x270]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 7
call dword [0x41307c]
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x268], esp
push eax
call ebx
push ecx
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 8
call ebx
mov byte [ebp - 4], 7
call fcn.004082ce
pop ecx
pop ecx
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x408545
cmp eax, 0xfffffffd
je 0x408545
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call edi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x268], eax
jmp 0x408380
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call edi
lea ecx, [ebp - 0x278]
jmp 0x408557
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call edi
push dword [ebp - 0x27c]
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 0x4085b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call ebx
push 0x414b88
push str.StorageTool
push 2
push str.func
push 0x288
push str.file
call fcn.00407b65
add esp, 0x20
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x264]
call fcn.0040f927
ret