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

Disassembly:
push 0x29c
mov eax, 0x41160f
call fcn.0040f91b
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 0x414d78
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.0040726e
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.00407015
pop ecx
mov dword [ebp - 0x26c], eax
cmp eax, ebx
jne 0x409427
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 0x4093a5
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 0x414d90
push str.StorageTool
push 2
push str.func
push 0x449
push str.file
call fcn.00407b42
add esp, 0x20
mov ecx, dword [ebp - 0x2a8]
call fcn.004073bb
mov ecx, dword [ebp - 0x298]
cmp ecx, ebx
je 0x4093d1
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 0x409422
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.0040f965
ret 0x1c
xor esi, esi
inc esi
jmp 0x4093e2
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 0x414b68
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 0x409762
cmp dword [ebp - 0x270], 0
je 0x40973c
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
jne 0x409587
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 0x409536
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.00407bd1
jmp 0x409555
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.00407cc4
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x409704
cmp eax, 0xfffffffd
je 0x409704
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x284]
jmp 0x40969a
push 0x414b60
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4096a0
push 0x414b5c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4096a0
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
add esp, 0xc
push 0x414d78
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 0x414d78
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 0x40964f
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.004082ce
jmp 0x40966e
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.00407fef
pop ecx
mov dword [ebp - 0x264], eax
pop ecx
cmp eax, 0xffffffff
je 0x40971e
cmp eax, 0xfffffffd
je 0x40971e
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.004073bb
mov ecx, dword [ebp - 0x298]
and dword [ebp - 0x27c], 0
test ecx, ecx
je 0x4096e6
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 0x409732
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x270], eax
jmp 0x40949f
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call ebx
jmp 0x40973c
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call ebx
lea ecx, [ebp - 0x278]
jmp 0x409716
mov dword [ebp - 0x264], 3
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x264], 0xffffffff
je 0x40983b
cmp dword [ebp - 0x264], 0xfffffffd
je 0x40983b
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 0x4097b5
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 0x414d90
push str.StorageTool
push 2
push str.func
push 0x4b5
push str.file
call fcn.00407b42
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 0x40983b
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 0x414d90
push str.StorageTool
push 2
push str.func
push 0x4bd
push str.file
call fcn.00407b42
add esp, 0x20
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 4
call ebx
mov esi, dword [ebp - 0x264]
jmp 0x4093e2