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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414b4e
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
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 dword [ebp - 0x298], ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x2a0], eax
mov edi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x270]
push edx
mov dword [ebp - 4], 1
call edi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call dword [0x416078]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x294], esp
push eax
call esi
call fcn.00408af0
push ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
mov dword [ebp - 0x29c], eax
call edi
add esp, 0x10
push str.Audio_
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call dword [0x416078]
push ebx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x268]
push ecx
call edi
add esp, 0xc
push str.Audio_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call dword [0x416078]
push ecx
lea edx, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x294], esp
xor ebx, ebx
push edx
mov dword [ebp - 0x278], ebx
call esi
call fcn.00408820
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x294], eax
jne 0x40b516
lea ecx, [ebp - 0x264]
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 0x40b44b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
call esi
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0x449
push str.file
call fcn.004097e0
add esp, 0x20
mov edi, dword [ebp - 0x298]
cmp dword [edi + 0x48], ebx
je 0x40b469
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0x64
call esi
cmp dword [edi + 0x48], ebx
jne 0x40b460
mov ecx, dword [ebp - 0x2a0]
cmp ecx, ebx
je 0x40b48e
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push ebx
push eax
mov eax, dword [ebp + 0x18]
push eax
push 1
push 3
call edx
cmp dword [ebp - 0x278], ebx
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
je 0x40b4de
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 3
jmp 0x40b9be
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
jmp 0x40b9be
push 0x24c
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x290], ebx
push 0
mov ebx, 1
push eax
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x260], 0
call sub.MSVCR80.dll_memset
push 0x417bdc
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call edi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2a4]
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]
cmp eax, 0xffffffff
mov dword [ebp - 0x2a8], eax
je 0x40b88f
lea esp, [esp]
cmp dword [ebp - 0x26c], 0
je 0x40b870
test byte [ebp - 0x260], 0x10
lea ecx, [ebp - 0x234]
jne 0x40b682
add dword [ebp - 0x290], 1
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x284]
push eax
call edi
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 6
call edi
add esp, 0x18
cmp dword [ebp - 0x29c], 0
push 1
push ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28c]
mov ecx, esp
je 0x40b628
mov dword [ebp - 0x26c], esp
push edx
call esi
push ecx
lea eax, [ebp - 0x284]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
mov byte [ebp - 4], 8
call esi
mov byte [ebp - 4], 7
call fcn.00409850
jmp 0x40b650
mov dword [ebp - 0x280], esp
push edx
call esi
push ecx
lea eax, [ebp - 0x284]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
mov byte [ebp - 4], 9
call esi
mov byte [ebp - 4], 7
call fcn.00409980
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40b827
cmp ebx, 0xfffffffd
je 0x40b827
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x284]
jmp 0x40b794
push 0x417bd4
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40b79e
push 0x417bd0
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40b79e
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x27c]
push edx
call edi
add esp, 0xc
mov ebx, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417df0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
call ebx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x274]
push edx
call edi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xb
call ebx
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call esi
cmp dword [ebp - 0x29c], 0
je 0x40b748
push ecx
lea edx, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push edx
mov byte [ebp - 4], 0xc
call esi
mov byte [ebp - 4], 0xb
call fcn.0040a0c0
jmp 0x40b767
push ecx
lea edx, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push edx
mov byte [ebp - 4], 0xd
call esi
mov byte [ebp - 4], 0xb
call fcn.00409d70
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x40b849
cmp ebx, 0xfffffffd
je 0x40b849
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x48], 0
je 0x40b7c4
lea ebx, [ebx]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x48], 0
jne 0x40b7b0
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
mov dword [ebp - 0x278], 0
je 0x40b808
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x290]
push eax
mov eax, dword [ebp - 0x294]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
push 1
push 3
call edx
cmp dword [ebp - 0x278], 0
jne 0x40b86b
mov ecx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x26c], eax
jmp 0x40b590
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x40b870
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x40b870
mov ebx, 3
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0xffffffff
je 0x40b971
cmp ebx, 0xfffffffd
je 0x40b971
lea ecx, [ebp - 0x264]
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 0x40b8e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call esi
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0x4b5
push str.file
call fcn.004097e0
add esp, 0x20
mov ecx, dword [ebp - 0x288]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x288]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0xe
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x264]
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 0x40b977
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x280], esp
push edx
call esi
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0x4bd
push str.file
call fcn.004097e0
add esp, 0x20
jmp 0x40b977
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 4
call edi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call edi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, ebx
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 0x1c