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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
and byte [ebp - 0x684], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x683]
push dword [0x47d9dc]
rep stosd dword es:[edi], eax
and dword [ebp - 0xc], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_HideCaret]
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
cmp byte [esi], 0x5c
jne 0x405d40
push 0x40dac0
push esi
mov dword [ebp - 0xc], 1
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x47c]
push eax
call edi
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x47c]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x47c]
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x405ec8
lea eax, [ebp - 0x248]
push 0x40d86c
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x405ea7
lea eax, [ebp - 0x248]
push 0x40dab4
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x405ea7
cmp dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x274]
jne 0x405ddc
and eax, 0x10
cmp al, 0x10
jne 0x405ea7
jmp 0x405de7
and eax, 0x10
cmp al, 0x10
je 0x405ea7
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x684]
push dword [ebp + 8]
push str._s_s
push eax
call ebx
add esp, 0x10
inc dword [0x42ebb8]
mov eax, dword [0x42ebb8]
push 0x64
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x405e4b
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x88c]
push dword [ebp + 8]
push dword [0x42ebb8]
push str._d__s_s_n
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x88c]
push eax
push dword [0x47ef28]
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x30]
push dword [0x47ef28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x405e8b
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x405e8b
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x684]
push 0
push eax
push dword [0x42ebc0]
call fcn.0040155b
add esp, 0xc
mov dword [0x42ebc0], eax
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x405d8f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 8]
lea eax, [ebp - 0x47c]
push 0x40dacc
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x47c]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x40600a
mov esi, dword [sym.imp.USER32.dll_CharLowerA]
mov eax, dword [ebp - 0x274]
and eax, 0x10
cmp al, 0x10
jne 0x405fe9
lea eax, [ebp - 0x248]
push 0x40d86c
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x405fe9
lea eax, [ebp - 0x248]
push 0x40dab4
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x405fe9
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x47c]
push dword [ebp + 8]
push str._s_s_
push eax
call ebx
and dword [ebp - 0x10], 0
add esp, 0x10
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x684]
push eax
call edi
lea eax, [ebp - 0x684]
push eax
call esi
cmp byte [0x40e3b4], 0
je 0x405fc8
mov eax, 0x40e3b4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
call esi
push dword [ebp - 8]
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x405faf
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
add eax, 0x208
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
cmp byte [eax], 0
jne 0x405f8f
cmp dword [ebp - 0x10], 0
jne 0x405fe9
cmp dword [ebp - 0xc], 1
jne 0x405fd8
push 0x40d0cc
push dword [ebp + 0xc]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x47c]
push eax
call fcn.00405cee
pop ecx
pop ecx
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x405efe
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
pop ebx
leave
ret