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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
mov eax, dword [0x4f0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x874], eax
mov eax, dword [ebp + 0xc]
push edi
cmp word [esi], 0
mov edi, ecx
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x87c], esi
jne 0x486f59
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x486f70
push esi
push eax
lea eax, [ebp - 0x418]
push 0x4d0ed4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x4d1540
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov dword [ebp - 0x880], eax
cmp word [ebp - 0x844], 0x24
je 0x487163
push 0x4d1548
lea eax, [ebp - 0x844]
push eax
call ebx
test eax, eax
je 0x487163
push 0x4d1550
lea eax, [ebp - 0x844]
push eax
call ebx
test eax, eax
je 0x487163
test byte [ebp - 0x870], 0x10
lea eax, [ebp - 0x844]
je 0x487033
cmp word [esi], 0
push eax
lea eax, [ebp - 0x620]
jne 0x487001
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x487011
push esi
push 0x4d0ed4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x620]
mov ecx, edi
push eax
push dword [ebp - 0x884]
push dword [ebp - 0x874]
call fcn.00486f10
jmp 0x487163
push str.info.ini
push eax
call ebx
test eax, eax
je 0x487163
push str.desktop.ini
lea eax, [ebp - 0x844]
push eax
call ebx
test eax, eax
je 0x487163
cmp word [esi], 0
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x210]
jne 0x487075
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x487085
push esi
push 0x4d0ed4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov ecx, dword [ebp - 0x874]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 4]
test esi, esi
je 0x4870bd
lea eax, [ebp - 0x210]
push eax
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x4870b0
mov eax, dword [esi + 0x14]
cmp eax, dword [edi]
je 0x48715d
mov esi, dword [esi + 4]
test esi, esi
jne 0x487095
mov ecx, dword [ebp - 0x874]
mov eax, dword [ecx]
mov esi, dword [edi + 4]
call dword [eax]
mov dword [ebp - 0x878], eax
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x874]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4870e9
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x4870e0
mov esi, dword [ebp - 0x878]
mov dword [edx + 4], esi
mov eax, dword [edi]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x210]
push eax
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x48715a
lea eax, [eax*2 + 2]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x878], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x487151
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x878]
mov dword [esi + 0xc], eax
inc dword [edi + 4]
mov esi, dword [ebp - 0x87c]
lea eax, [ebp - 0x870]
push eax
push dword [ebp - 0x880]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x486fa2
push dword [ebp - 0x880]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004912f2
mov esp, ebp
pop ebp
ret 0x10