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

Disassembly:
push 0x29c
mov eax, 0x4115e0
call fcn.0040f8eb
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x298], eax
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0xc
push 0x414d30
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
call dword [0x41307c]
mov edi, 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 edi
call fcn.00407269
mov dword [ebp - 0x2a0], eax
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
call esi
add esp, 0x10
mov ebx, str.Audio_
push ebx
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call dword [0x41307c]
push dword [ebp - 0x290]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
add esp, 0xc
push ebx
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
call dword [0x41307c]
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
xor ebx, ebx
push eax
mov dword [ebp - 0x27c], ebx
call edi
call fcn.00407010
pop ecx
mov dword [ebp - 0x26c], eax
cmp eax, ebx
jne 0x4093f2
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 0x409370
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call edi
push 0x414d48
push str.StorageTool
push 2
push str.func
push 0x449
push str.file
call fcn.00407b33
add esp, 0x20
mov ecx, dword [ebp - 0x2a8]
call fcn.004073b6
mov ecx, dword [ebp - 0x298]
cmp ecx, ebx
je 0x40939c
mov eax, dword [ecx]
lea edx, [ebp - 0x27c]
push edx
push ebx
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 1
push 3
call dword [eax]
cmp dword [ebp - 0x27c], ebx
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
je 0x4093ed
push 3
pop esi
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call ebx
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call ebx
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 1
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call ebx
mov eax, esi
call fcn.0040f935
ret 0x1c
xor esi, esi
inc esi
jmp 0x4093ad
xor eax, eax
inc eax
push 0x24c
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x25c]
push ebx
push eax
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x260], ebx
call sub.MSVCR100.dll_memset
push 0x414b20
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x29c]
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x29c]
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 ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov dword [ebp - 0x2a4], eax
cmp eax, 0xffffffff
je 0x40972d
cmp dword [ebp - 0x270], 0
je 0x409707
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
jne 0x409552
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 edi
cmp dword [ebp - 0x2a0], 0
je 0x409501
push ecx
lea eax, [ebp - 0x284]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 8
call edi
mov byte [ebp - 4], 7
call fcn.00407b9f
jmp 0x409520
push ecx
lea eax, [ebp - 0x284]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 9
call edi
mov byte [ebp - 4], 7
call fcn.00407c92
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x4096cf
cmp eax, 0xfffffffd
je 0x4096cf
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x284]
jmp 0x409665
push 0x414b18
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40966b
push 0x414b14
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40966b
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
add esp, 0xc
push 0x414d30
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xa
call dword [0x41307c]
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 dword [0x41307c]
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call edi
cmp dword [ebp - 0x2a0], 0
je 0x40961a
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 0xc
call edi
mov byte [ebp - 4], 0xb
call fcn.00408299
jmp 0x409639
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 0xd
call edi
mov byte [ebp - 4], 0xb
call fcn.00407fba
pop ecx
mov dword [ebp - 0x264], eax
pop ecx
cmp eax, 0xffffffff
je 0x4096e9
cmp eax, 0xfffffffd
je 0x4096e9
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call ebx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
call ebx
mov ecx, dword [ebp - 0x2a8]
call fcn.004073b6
mov ecx, dword [ebp - 0x298]
and dword [ebp - 0x27c], 0
test ecx, ecx
je 0x4096b1
mov eax, dword [ecx]
lea edx, [ebp - 0x27c]
push edx
push dword [ebp - 0x28c]
push dword [ebp - 0x26c]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 1
push 3
call dword [eax]
cmp dword [ebp - 0x27c], 0
jne 0x4096fd
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x270], eax
jmp 0x40946a
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call ebx
jmp 0x409707
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call ebx
lea ecx, [ebp - 0x278]
jmp 0x4096e1
mov dword [ebp - 0x264], 3
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x264], 0xffffffff
je 0x409806
cmp dword [ebp - 0x264], 0xfffffffd
je 0x409806
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 0x409780
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call edi
push 0x414d48
push str.StorageTool
push 2
push str.func
push 0x4b5
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 ebx
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 0x409806
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
call edi
push 0x414d48
push str.StorageTool
push 2
push str.func
push 0x4bd
push str.file
call fcn.00407b33
add esp, 0x20
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 4
call ebx
mov esi, dword [ebp - 0x264]
jmp 0x4093ad