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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
push ebx
push esi
push edi
mov dword [ebp - 0x55c], ecx
push eax
xor eax, eax
xor eax, eax
xor eax, eax
xor eax, eax
je 0x1000bee4
sub al, 0x2d
pop eax
pop eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x210], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x558], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x557]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x558]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x558]
push ecx
push str._s.
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x454], 0
mov ecx, 0x4f
xor eax, eax
lea edi, [ebp - 0x450]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x1000bfb1
xor eax, eax
jmp 0x1000c232
mov dword [ebp - 4], 0
mov byte [ebp - 0x314], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x313]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 4], 0
jne 0x1000c220
push 0x10014508
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
and eax, eax
je 0x1000c1de
push 0x10014504
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
and eax, eax
je 0x1000c1de
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x558]
push edx
push str._s_s
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 0x454]
and ecx, 0x10
and ecx, ecx
je 0x1000c069
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x314]
push ecx
mov ecx, dword [ebp - 0x55c]
call fcn.1000bec0
and eax, eax
jne 0x1000c064
xor eax, eax
jmp 0x1000c232
jmp 0x1000c1de
push 0x10014518
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
and eax, eax
je 0x1000c095
push 0x10014514
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
and eax, eax
jne 0x1000c0b0
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x55c]
call fcn.1000b7e0
jmp 0x1000c1de
movsx eax, byte [ebp - 0x108]
cmp eax, 0x2a
jne 0x1000c118
movsx ecx, byte [ebp - 0x107]
cmp ecx, 0x2e
jne 0x1000c118
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x428]
lea eax, [ebp - 0x107]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub esi, eax
push esi
lea ecx, [ebp - 0x107]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000c113
lea edx, [ebp - 0x314]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x55c]
call fcn.1000b7e0
jmp 0x1000c1de
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx edx, byte [ebp + eax - 0x10a]
cmp edx, 0x2e
jne 0x1000c1b0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx ecx, byte [ebp + eax - 0x109]
cmp ecx, 0x2a
jne 0x1000c1b0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 2
push eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x1000c1ae
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 2
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, eax
jne 0x1000c1ae
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x55c]
call fcn.1000b7e0
jmp 0x1000c1de
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000c1de
lea edx, [ebp - 0x314]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x55c]
call fcn.1000b7e0
lea ecx, [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000c21b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1000c20a
mov dword [ebp - 4], 1
jmp 0x1000c21b
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x1000c232
jmp 0x1000bfd1
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc