Function at 0x40b669
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push 0x280
mov eax, 0x411899
call fcn.0040f91b
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x268], ecx
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
and dword [ebp - 4], 0
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x274]
push eax
mov dword [ecx], 1
call esi
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0
call ebx
push 0x414d78
lea ecx, [ebp + 8]
call dword [0x41307c]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call edi
call fcn.004070ff
and dword [ebp - 0x260], 0
mov dword [ebp - 0x27c], eax
mov dword [esp], 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
mov dword [ebp - 0x264], 1
call sub.MSVCR100.dll_memset
push 0x414b68
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x288]
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x288]
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]
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
je 0x40bb44
xor eax, eax
cmp dword [ebp - 0x264], eax
je 0x40bb38
test byte [ebp - 0x260], 0x10
je 0x40b92f
push 0x414b60
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40bb1a
push 0x414b5c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40bb1a
lea eax, [ebp - 0x234]
push eax
push 0x414b30
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
lea eax, [ebp - 0x234]
push eax
jne 0x40b81f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
add esp, 0xc
push 0x414d78
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call dword [0x41307c]
push dword [ebp - 0x278]
lea eax, [ebp - 0x280]
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call edi
call fcn.0040b3f8
pop ecx
pop ecx
lea ecx, [ebp - 0x280]
jmp 0x40bb0a
push str.Backup
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
lea eax, [ebp - 0x234]
push eax
jne 0x40b884
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x284]
push eax
call esi
add esp, 0xc
push 0x414d78
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 4
call dword [0x41307c]
push dword [ebp - 0x278]
lea eax, [ebp - 0x284]
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call edi
call fcn.0040b3f8
pop ecx
pop ecx
lea ecx, [ebp - 0x284]
jmp 0x40bb0a
push 0x414d7c
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40b921
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call esi
add esp, 0xc
push 0x414d78
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call dword [0x41307c]
lea ecx, [ebp - 0x270]
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 0x40b916
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call edi
push 0x414d90
push str.StorageTool
push 2
push str.func
push 0x61a
push str.file
call fcn.00407b42
add esp, 0x20
lea ecx, [ebp - 0x270]
jmp 0x40bb0a
mov eax, dword [ebp - 0x268]
and dword [eax], 0
jmp 0x40bb1a
cmp dword [ebp - 0x27c], eax
je 0x40bb12
lea eax, [ebp - 0x234]
push eax
push 0x414d48
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.CustomFace.dbc
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.CustomFaceRecv.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Info.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Misc.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Msg2.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db_journal
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db_wal
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Infocenter.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba5f
lea eax, [ebp - 0x234]
push eax
push str.MicroBlogMsg.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40b921
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x278]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 6
call fcn.0040b051
mov ecx, dword [ebp - 0x264]
cmp dword [eax], ecx
jne 0x40bafb
lea ecx, [ebp - 0x26c]
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_DeleteFileW]
test eax, eax
jne 0x40bb04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call edi
push 0x414f8c
push str.StorageTool
push 2
push str.func
push 0x63f
push str.file
call fcn.00407b42
add esp, 0x20
jmp 0x40bb04
mov eax, dword [ebp - 0x268]
and dword [eax], 0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call ebx
jmp 0x40bb1a
mov ecx, dword [ebp - 0x268]
mov dword [ecx], eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x264], eax
jmp 0x40b764
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
cmp dword [eax], 0
je 0x40bb9c
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 0x40bb9c
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 edi
push 0x414d90
push str.StorageTool
push 2
push str.func
push 0x661
push str.file
call fcn.00407b42
add esp, 0x20
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call ebx
call fcn.0040f965
ret