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

Disassembly:
push 0x29c
mov eax, 0x4113cb
call fcn.0040f8eb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x2a4], ecx
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0xc
mov edi, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x414d30
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
call edi
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x294]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call ebx
call fcn.00407269
push dword [ebp - 0x290]
mov dword [ebp - 0x2a8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
call esi
add esp, 0x10
push 0x414da8
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call edi
push dword [ebp - 0x290]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
add esp, 0xc
push 0x414da8
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
call edi
and dword [ebp - 0x27c], 0
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call ebx
call fcn.00407010
xor edx, edx
pop ecx
mov dword [ebp - 0x26c], eax
cmp eax, edx
jne 0x408718
mov ecx, dword [ebp - 0x2a4]
cmp ecx, edx
je 0x4086c2
mov eax, dword [ecx]
lea esi, [ebp - 0x27c]
push esi
push edx
push edx
push edx
push edx
push 1
push 4
call dword [eax]
xor edx, edx
cmp dword [ebp - 0x27c], edx
je 0x408713
push 3
pop edi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call esi
mov eax, edi
call fcn.0040f935
ret 0x18
xor edi, edi
inc edi
jmp 0x4086cd
xor eax, eax
inc eax
push 0x24c
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x270], eax
push edx
lea eax, [ebp - 0x25c]
push eax
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x260], edx
call sub.MSVCR100.dll_memset
push 0x414b20
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x298]
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 5
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 - 0x2a0], eax
cmp eax, 0xffffffff
je 0x408a84
cmp dword [ebp - 0x270], 0
je 0x408a5e
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
jne 0x408876
inc dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x284]
push eax
call esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 6
call esi
add esp, 0x18
push 1
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
mov byte [ebp - 4], 7
call ebx
cmp dword [ebp - 0x2a8], 0
je 0x408821
push ecx
lea eax, [ebp - 0x284]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 8
call ebx
mov byte [ebp - 4], 7
call fcn.00407b9f
jmp 0x408840
push ecx
lea eax, [ebp - 0x284]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 9
call ebx
mov byte [ebp - 4], 7
call fcn.00407c92
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x408a1a
cmp eax, 0xfffffffd
je 0x408a1a
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x284]
jmp 0x4089ac
push 0x414b18
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4089b6
push 0x414b14
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4089b6
lea eax, [ebp - 0x234]
push eax
push 0x414d80
push str.StorageTool
push 2
push str.func
push 0x342
push str.file
call fcn.00402950
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
add esp, 0x28
push 0x414d30
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xa
call edi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x274]
push eax
call esi
add esp, 0xc
push 0x414d30
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xb
call edi
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call ebx
cmp dword [ebp - 0x2a8], 0
je 0x40895d
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 0xc
call ebx
mov byte [ebp - 4], 0xb
call fcn.00408299
jmp 0x40897c
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 0xd
call ebx
mov byte [ebp - 4], 0xb
call fcn.00407fba
pop ecx
mov dword [ebp - 0x264], eax
pop ecx
cmp eax, 0xffffffff
je 0x408a3a
cmp eax, 0xfffffffd
je 0x408a3a
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [ebp - 0x29c]
call fcn.004073b6
mov ecx, dword [ebp - 0x2a4]
and dword [ebp - 0x27c], 0
test ecx, ecx
je 0x4089fc
mov eax, dword [ecx]
lea edx, [ebp - 0x27c]
push edx
push dword [ebp - 0x28c]
push dword [ebp - 0x26c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 1
push 4
call dword [eax]
cmp dword [ebp - 0x27c], 0
jne 0x408a54
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x270], eax
jmp 0x40878a
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call edi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call edi
jmp 0x408a5e
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call edi
lea ecx, [ebp - 0x278]
jmp 0x408a32
mov dword [ebp - 0x264], 3
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x264], 0xffffffff
je 0x408b5f
cmp dword [ebp - 0x264], 0xfffffffd
je 0x408b5f
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_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x408ad9
call edi
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call ebx
push 0x414d48
push str.StorageTool
push 2
push str.func
push 0x377
push str.file
call fcn.00407b33
add esp, 0x20
push dword [ebp - 0x290]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xe
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
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_RemoveDirectoryW]
test eax, eax
jne 0x408b5f
call edi
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x29c], esp
push eax
call ebx
push 0x414d48
push str.StorageTool
push 2
push str.func
push 0x37f
push str.file
call fcn.00407b33
add esp, 0x20
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov edi, dword [ebp - 0x264]
jmp 0x4086cd