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

Disassembly:
mov eax, 0x41554c
call fcn.00414a90
sub esp, 0xa64
and dword [ebp - 0x270], 0
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x26c]
mov ebx, 0x410
rep stosd dword es:[edi], eax
push ebx
call sub.MSVCRT.dll_malloc
mov edi, eax
push ebx
mov dword [ebp - 0x1c], edi
call sub.MSVCRT.dll_malloc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
push edi
call esi
push edi
call fcn.0040e87b
pop ecx
push edi
push dword [ebp - 0x10]
call esi
push 0x425040
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40eab2
cmp dword [0x432590], 0x14
jle 0x40e980
mov eax, dword [0x425320]
mov ecx, 0x1ff
mov dword [ebp - 0xa70], eax
xor eax, eax
lea edi, [ebp - 0xa6c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x34]
push dword [eax + 0xc]
lea eax, [ebp - 0xa70]
push str.____Items:__d
push eax
call sub.MSVCRT.dll_swprintf
add esp, 0xc
lea eax, [ebp - 0xa70]
push eax
push dword [edi + 0x888]
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [0x432590], 0
inc dword [0x432590]
lea eax, [ebp - 0x270]
push eax
call fcn.0040e841
test eax, eax
pop ecx
jne 0x40ea8c
push ebx
call sub.MSVCRT.dll_malloc
pop ecx
mov edi, eax
push dword [ebp - 0x10]
and word [edi], 0
push edi
call esi
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [ebp + 0x14], 0
je 0x40e9fa
push edi
lea ecx, [ebp - 0x20]
call fcn.00402f54
and dword [ebp - 4], 0
lea eax, [ebp - 0x270]
push eax
call fcn.0040c57a
test eax, eax
pop ecx
je 0x40e9ee
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.00409405
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402f28
cmp dword [ebp + 0xc], 0
je 0x40ea30
lea eax, [ebp - 0x270]
push eax
call fcn.0040c57a
test eax, eax
pop ecx
je 0x40ea30
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040e8a0
test edi, edi
je 0x40ea8c
push edi
call sub.MSVCRT.dll_free
pop ecx
jmp 0x40ea8c
cmp dword [ebp + 0x10], 0
je 0x40ea8c
push ebx
call sub.MSVCRT.dll_malloc
pop ecx
mov edi, eax
push dword [ebp - 0x10]
and word [edi], 0
push edi
call esi
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
lea ecx, [ebp - 0x18]
call fcn.00402f54
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0
push eax
mov dword [ebp - 4], 1
call fcn.00409405
test edi, edi
je 0x40ea80
push edi
call sub.MSVCRT.dll_free
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402f28
lea eax, [ebp - 0x270]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e986
cmp dword [ebp + 8], eax
je 0x40eab2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x10], 0
pop edi
pop esi
pop ebx
je 0x40eac4
push dword [ebp - 0x10]
call sub.MSVCRT.dll_free
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x40ead3
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_free
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10