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

Disassembly:
push 0x29c
mov eax, 0x41137b
call fcn.0040f8dd
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 0x414b70
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.0040729b
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 0x414be8
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 0x414be8
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.00407042
xor edx, edx
pop ecx
mov dword [ebp - 0x26c], eax
cmp eax, edx
jne 0x40874d
mov ecx, dword [ebp - 0x2a4]
cmp ecx, edx
je 0x4086f7
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 0x408748
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.0040f927
ret 0x18
xor edi, edi
inc edi
jmp 0x408702
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 0x414960
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 0x408ab9
cmp dword [ebp - 0x270], 0
je 0x408a93
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
jne 0x4088ab
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 0x408856
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.00407bd1
jmp 0x408875
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.00407cc4
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x408a4f
cmp eax, 0xfffffffd
je 0x408a4f
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 0x4089e1
push 0x414958
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4089eb
push 0x414954
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4089eb
lea eax, [ebp - 0x234]
push eax
push 0x414bc0
push str.StorageTool
push 2
push str.func
push 0x342
push str.file
call fcn.004029eb
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
add esp, 0x28
push 0x414b70
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 0x414b70
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 0x408992
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.004082ce
jmp 0x4089b1
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.00407fef
pop ecx
mov dword [ebp - 0x264], eax
pop ecx
cmp eax, 0xffffffff
je 0x408a6f
cmp eax, 0xfffffffd
je 0x408a6f
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.004073e8
mov ecx, dword [ebp - 0x2a4]
and dword [ebp - 0x27c], 0
test ecx, ecx
je 0x408a31
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 0x408a89
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x270], eax
jmp 0x4087bf
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 0x408a93
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 0x408a67
mov dword [ebp - 0x264], 3
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x264], 0xffffffff
je 0x408b94
cmp dword [ebp - 0x264], 0xfffffffd
je 0x408b94
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 0x408b0e
call edi
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call ebx
push 0x414b88
push str.StorageTool
push 2
push str.func
push 0x377
push str.file
call fcn.00407b65
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 0x408b94
call edi
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x29c], esp
push eax
call ebx
push 0x414b88
push str.StorageTool
push 2
push str.func
push 0x37f
push str.file
call fcn.00407b65
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 0x408702