Function at 0x661f12e4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66242c62
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x66286018]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
mov eax, dword [0x66286018]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
xor esi, esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
mov dword [esp + 0x4a8], esi
push 0x66251518
lea ecx, [esp + 0x14]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Append_wchar_t_const__]
push 0x250
lea eax, [esp + 0x40]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
lea esi, [esp + 0x18]
call fcn.661d525a
mov byte [esp + 0x4a8], 1
or ebx, 0xffffffff
cmp dword [esp + 0x18], ebx
je 0x661f14e3
push 0x17
push 0x6625b6b8
push 0x6625b6a8
lea ecx, [esp + 0x28]
call dword [sym.imp.GrooveUtil.DLL_protected:_void___thiscall_GCIPtrBase::CreateInstanceNoRelease_struct__GUID_const___struct__GUID_const___unsigned_long_int_]
mov byte [esp + 0x4a8], 4
lea eax, [esp + 0x68]
push eax
mov ecx, 0x6625151c
call fcn.661d102d
test eax, eax
je 0x661f14a4
lea eax, [esp + 0x68]
push eax
mov ecx, 0x66251520
call fcn.661d102d
test eax, eax
je 0x661f14a4
mov eax, dword [esp + 0x24]
push 0x104
lea edx, [esp + 0x290]
call fcn.661d100a
lea eax, [esp + 0x68]
push eax
lea edi, [esp + 0x290]
call fcn.661f198e
test byte [esp + 0x3c], 0x10
je 0x661f142b
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [esp + 0x20]
mov eax, edi
push eax
call fcn.661f12e4
jmp 0x661f14a4
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
mov ecx, str..gfs
call fcn.661d84fb
test eax, eax
jne 0x661f14a4
and dword [esp + 0x14], eax
lea eax, [esp + 0x28c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
mov byte [esp + 0x4a8], 5
push dword [esp + 0x20]
mov esi, dword [esp + 0x20]
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.661f18b4
mov byte [esp + 0x4a8], 5
lea ecx, [esp + 0x28]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
mov byte [esp + 0x4a8], 4
cmp dword [esp + 0x14], 0
je 0x661f14a4
lea ecx, [esp + 0x14]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x661f13b9
mov byte [esp + 0x4a8], 1
lea eax, [esp + 0x1c]
push eax
call fcn.661da1c1
mov byte [esp + 0x4a8], 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4a8], ebx
cmp dword [esp + 0x10], 0
je 0x661f14fb
lea ecx, [esp + 0x10]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.6623a9c1
mov esp, ebp
pop ebp
ret 8