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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f208
push 0x10004160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffc9c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
cmp dword [0x10016458], 0
je 0x100020ec
mov dword [ebp - 4], 0xffffffff
jmp 0x1000236f
mov eax, dword [ebp + 8]
push eax
call fcn.10003310
add esp, 4
mov dword [ebp - 0x370], eax
push str.Program
mov ecx, dword [ebp + 8]
push ecx
call fcn.10004c50
add esp, 8
test eax, eax
jne 0x1000213e
push str.Windows
mov edx, dword [ebp + 8]
push edx
call fcn.10004c50
add esp, 8
test eax, eax
jne 0x1000213e
mov eax, dword [0x10016444]
push eax
call fcn.10004c3a
add esp, 4
cmp eax, dword [ebp - 0x370]
jg 0x1000214a
mov dword [ebp - 4], 0xffffffff
jmp 0x1000236f
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.10003ec0
add esp, 8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x370]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x10002183
push str..
lea edx, [ebp - 0x368]
push edx
call fcn.10003ed0
add esp, 8
push 0x1001355c
lea eax, [ebp - 0x368]
push eax
call fcn.10003ed0
add esp, 8
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x368]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0xffffffff
jne 0x100021d3
mov eax, dword [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000236f
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jne 0x10002349
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.10003ec0
add esp, 8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x370]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x10002227
push 0x10013560
lea edx, [ebp - 0x120]
push edx
call fcn.10003ed0
add esp, 8
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.10003ed0
add esp, 8
mov edx, dword [ebp - 0x264]
and edx, 0x10
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x36c], edx
cmp dword [ebp - 0x36c], 0
je 0x100022ac
push 0x10013564
lea eax, [ebp - 0x238]
push eax
call fcn.10003280
add esp, 8
test eax, eax
je 0x1000228b
push 0x10013568
lea ecx, [ebp - 0x238]
push ecx
call fcn.10003280
add esp, 8
test eax, eax
jne 0x100022ac
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100021e4
cmp dword [ebp + 0x14], 0
je 0x100022fa
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x36c]
je 0x100022fa
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x120]
push eax
call dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x100022fa
mov dword [0x10016458], 1
mov ecx, dword [ebp - 0x374]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000236f
cmp dword [ebp - 0x36c], 0
je 0x10002328
cmp dword [ebp + 0xc], 0
je 0x10002328
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.100020a7
add esp, 0x14
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x374]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100021e4
mov eax, dword [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000236f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret