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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66231bd7
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x66274018]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
mov eax, dword [0x66274018]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x10], 0
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
and dword [esp + 0x4a8], 0
push 0x66240508
lea ecx, [esp + 0x14]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Append_wchar_t_const__]
lea eax, [esp + 0x3c]
push eax
call fcn.661c110e
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.661c54bb
mov byte [esp + 0x4a8], 1
or ebx, 0xffffffff
cmp dword [esp + 0x18], ebx
je 0x661e1413
push 0x17
push 0x6624a328
push 0x6624a318
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, 0x6624050c
call fcn.661c102d
test eax, eax
je 0x661e13d4
lea eax, [esp + 0x68]
push eax
mov ecx, 0x66240510
call fcn.661c102d
test eax, eax
je 0x661e13d4
mov eax, dword [esp + 0x24]
push 0x104
lea edx, [esp + 0x290]
call fcn.661c100a
lea eax, [esp + 0x68]
push eax
lea edi, [esp + 0x290]
call fcn.661e17c2
test byte [esp + 0x3c], 0x10
je 0x661e135b
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [esp + 0x20]
mov eax, edi
push eax
call fcn.661e121d
jmp 0x661e13d4
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
mov ecx, str..gfs
call fcn.661c89b9
test eax, eax
jne 0x661e13d4
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.661e16e8
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 0x661e13d4
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 0x661e12e9
mov byte [esp + 0x4a8], 1
lea eax, [esp + 0x1c]
push eax
call fcn.661c7d37
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 0x661e142b
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.66229806
mov esp, ebp
pop ebp
ret 8