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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x100f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov dword [ebp - 0x670], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x668], ecx
xor edi, edi
xor esi, esi
call fcn.01007765
mov eax, 0x1001bdc
cmp dword [ebp + 0xc], edi
jne 0x100c6f4
mov eax, 0x1001bd4
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100c8b7
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
je 0x100c8f2
mov eax, dword [ebp - 0x664]
test al, 0x10
je 0x100c847
cmp dword [ebp + 0x10], edi
je 0x100c88e
mov ecx, 0x1001bd0
lea eax, [ebp - 0x638]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100c775
cmp dx, di
je 0x100c771
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100c775
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100c74f
xor eax, eax
jmp 0x100c77a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x100c88e
mov ecx, 0x1001bc8
lea eax, [ebp - 0x638]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100c7b3
cmp dx, di
je 0x100c7af
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100c7b3
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100c78d
xor eax, eax
jmp 0x100c7b8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x100c88e
push dword [ebp - 0x670]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.01007765
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100c80a
mov ecx, dword [ebp - 0x668]
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push eax
call fcn.0100c6a9
jmp 0x100c88a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100c81e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100c88a
test byte [eax + 0x1c], 4
je 0x100c88a
push esi
push 0x1001b74
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006ad6
jmp 0x100c88a
and eax, 6
cmp al, 6
je 0x100c88e
cmp dword [ebp + 0xc], edi
je 0x100c857
xor eax, eax
jmp 0x100c86d
mov ecx, dword [ebp - 0x668]
lea eax, [ebp - 0x638]
push eax
call fcn.0100baed
cmp eax, edi
jl 0x100c88e
mov ecx, dword [ebp - 0x668]
push edi
inc eax
push eax
lea eax, [ebp - 0x638]
push eax
push dword [ebp - 0x670]
call fcn.0100c391
mov esi, eax
cmp esi, edi
jl 0x100c8a9
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100c72d
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100c8f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100c8cb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100c8f2
test byte [eax + 0x1c], 4
je 0x100c8f2
push esi
push 0x1001b74
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006ad6
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100d5cb
leave
ret 0xc