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

Disassembly:
push 0x280
mov eax, 0x41186a
call fcn.0040f8eb
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 0x414d30
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.004070fa
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 0x414b20
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 0x40bb0f
xor eax, eax
cmp dword [ebp - 0x264], eax
je 0x40bb03
test byte [ebp - 0x260], 0x10
je 0x40b8fa
push 0x414b18
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40bae5
push 0x414b14
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40bae5
lea eax, [ebp - 0x234]
push eax
push 0x414ae8
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
lea eax, [ebp - 0x234]
push eax
jne 0x40b7ea
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
add esp, 0xc
push 0x414d30
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.0040b3c3
pop ecx
pop ecx
lea ecx, [ebp - 0x280]
jmp 0x40bad5
push str.Backup
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
lea eax, [ebp - 0x234]
push eax
jne 0x40b84f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x284]
push eax
call esi
add esp, 0xc
push 0x414d30
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.0040b3c3
pop ecx
pop ecx
lea ecx, [ebp - 0x284]
jmp 0x40bad5
push 0x414d34
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40b8ec
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call esi
add esp, 0xc
push 0x414d30
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 0x40b8e1
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 0x414d48
push str.StorageTool
push 2
push str.func
push 0x61a
push str.file
call fcn.00407b33
add esp, 0x20
lea ecx, [ebp - 0x270]
jmp 0x40bad5
mov eax, dword [ebp - 0x268]
and dword [eax], 0
jmp 0x40bae5
cmp dword [ebp - 0x27c], eax
je 0x40badd
lea eax, [ebp - 0x234]
push eax
push 0x414d00
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.CustomFace.dbc
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.CustomFaceRecv.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Info.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Misc.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Msg2.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db_journal
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db_wal
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Infocenter.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ba2a
lea eax, [ebp - 0x234]
push eax
push str.MicroBlogMsg.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40b8ec
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.0040b01c
mov ecx, dword [ebp - 0x264]
cmp dword [eax], ecx
jne 0x40bac6
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 0x40bacf
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 0x414f44
push str.StorageTool
push 2
push str.func
push 0x63f
push str.file
call fcn.00407b33
add esp, 0x20
jmp 0x40bacf
mov eax, dword [ebp - 0x268]
and dword [eax], 0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call ebx
jmp 0x40bae5
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 0x40b72f
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
cmp dword [eax], 0
je 0x40bb67
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 0x40bb67
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 0x414d48
push str.StorageTool
push 2
push str.func
push 0x661
push str.file
call fcn.00407b33
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.0040f935
ret