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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4152cc
mov eax, dword fs:[0]
push eax
sub esp, 0x280
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 eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x274], eax
mov esi, dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
mov ecx, edi
mov dword [ebp - 4], 0
call esi
test al, al
lea ecx, [ebp + 0xc]
je 0x4107cc
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
xor eax, eax
jmp 0x410a8f
call esi
test al, al
je 0x4107e9
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
xor eax, eax
jmp 0x410a8f
push 1
lea ecx, [ebp - 0x264]
push ecx
mov ecx, edi
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Right_int_]
push 0x5c
push eax
call dword [sym.imp.Common.dll_bool___cdecl_operator__class_CTXStringW_const___wchar_t_]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
add esp, 8
lea ecx, [ebp - 0x264]
mov bl, al
call esi
test bl, bl
je 0x410824
push 0x5c
mov ecx, edi
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_]
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call fcn.00408820
add esp, 4
test eax, eax
mov dword [ebp - 0x264], eax
jne 0x41085c
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
jmp 0x410a8f
lea ecx, [ebp - 0x28c]
mov esi, 1
call fcn.00410100
xor ebx, ebx
push 0x24c
lea edx, [ebp - 0x25c]
push ebx
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x260], ebx
call sub.MSVCR80.dll_memset
push 0x417bdc
lea eax, [ebp - 0x26c]
push edi
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
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]
cmp eax, 0xffffffff
mov dword [ebp - 0x270], eax
je 0x4109df
cmp dword [ebp - 0x268], 0
je 0x4109c8
test byte [ebp - 0x260], 0x10
je 0x4109a9
push 0x417bd4
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4109a9
push 0x417bd0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4109a9
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x234]
push edx
mov dword [ebp - 0x278], 0
call dword [sym.imp.Common.dll_Ordinal_34]
add esp, 8
cmp dword [ebp - 0x278], 0
je 0x4109a9
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x264]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push eax
add ebx, 1
push ebx
push ecx
lea edx, [ebp - 0x234]
push edx
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x268], esp
push eax
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push edi
mov byte [ebp - 4], 3
call esi
mov ecx, dword [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.0040a440
mov esi, eax
cmp esi, 0xffffffff
je 0x4109c8
cmp esi, 0xfffffffd
je 0x4109c8
cmp esi, 3
je 0x4109c8
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x268], eax
jmp 0x4108d3
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
je 0x410a2c
cmp esi, 0xfffffffd
je 0x410a2c
mov ecx, edi
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 0x410a2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push edi
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 0xaa0
push str.file
call fcn.004097e0
add esp, 0x20
cmp esi, 1
jne 0x410a3f
cmp dword [ebp - 0x284], 0
jbe 0x410a3f
mov esi, 2
mov ecx, dword [ebp - 0x274]
test ecx, ecx
je 0x410a60
mov eax, dword [ebp - 0x264]
mov edx, dword [ecx]
mov edx, dword [edx]
push 0
push 0x64
push 0x64
push ebx
push eax
push esi
push 4
call edx
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0
call fcn.004100c0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, 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 0xc