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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
nop
mov eax, 0
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0
jne 0x1000a799
mov eax, 0
jmp 0x1000ab0d
mov eax, dword [ebp - 0x148]
dec eax
mov ecx, dword [ebp + 8]
add ecx, eax
movsx eax, byte [ecx]
cmp eax, 0x5c
je 0x1000a7de
mov eax, dword [ebp - 0x148]
dec eax
mov ecx, dword [ebp + 8]
add ecx, eax
movsx eax, byte [ecx]
cmp eax, 0x2f
je 0x1000a7de
mov eax, dword [ebp + 8]
push eax
mov eax, 0x10027148
push eax
call sym.xPack.dll_xCore_FormatA
add esp, 8
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, 0x1002714c
push eax
call sym.xPack.dll_xCore_FormatA
add esp, 0xc
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x150]
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x154], eax
mov eax, 0
mov dword [0x10029090], eax
mov eax, dword [ebp - 0x154]
cmp eax, 0xffffffff
je 0x1000a8da
mov eax, 1
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
cmp eax, 0
je 0x1000a8da
mov eax, dword [ebp + 0x10]
or eax, 0x10
mov ecx, dword [ebp - 0x140]
and ecx, eax
cmp ecx, 0
jne 0x1000a8bc
mov eax, dword [ebp + 0x14]
and eax, 1
cmp eax, 0
jne 0x1000a8bc
mov eax, dword [ebp + 0x1c]
cmp eax, 0
je 0x1000a8ad
mov eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14c]
call eax
add esp, 0xc
mov dword [0x10029090], eax
mov eax, dword [0x10029090]
cmp eax, 0
je 0x1000a8ad
jmp 0x1000a8da
mov eax, dword [ebp - 0x144]
mov ecx, eax
inc eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x154]
push eax
call sub.kernel32.dll_FindNextFileA
mov dword [ebp - 0x158], eax
jmp 0x1000a838
mov eax, dword [ebp - 0x154]
push eax
call sub.kernel32.dll_FindClose
mov eax, dword [0x10029090]
cmp eax, 0
je 0x1000a900
mov eax, dword [ebp - 0x144]
jmp 0x1000ab0d
mov eax, dword [ebp + 8]
push eax
mov eax, 0x10027151
push eax
call sym.xPack.dll_xCore_FormatA
add esp, 8
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x150]
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
cmp eax, 0xffffffff
je 0x1000aafb
mov eax, 1
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
cmp eax, 0
je 0x1000aafb
mov eax, dword [ebp - 0x140]
and eax, 0x10
cmp eax, 0
je 0x1000aadd
mov eax, 0x10027155
push eax
lea eax, [ebp - 0x114]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
cmp eax, 0
je 0x1000a9a8
mov eax, 0x10027157
push eax
lea eax, [ebp - 0x114]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
cmp eax, 0
jne 0x1000aa0b
mov eax, dword [ebp + 0x14]
and eax, 4
cmp eax, 0
je 0x1000aa06
mov eax, dword [ebp + 0x1c]
cmp eax, 0
je 0x1000a9f7
mov eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14c]
call eax
add esp, 0xc
mov dword [0x10029090], eax
mov eax, dword [0x10029090]
cmp eax, 0
je 0x1000a9f7
jmp 0x1000aafb
mov eax, dword [ebp - 0x144]
mov ecx, eax
inc eax
mov dword [ebp - 0x144], eax
jmp 0x1000aadd
mov eax, dword [ebp + 0x14]
and eax, 2
cmp eax, 0
jne 0x1000aa5a
mov eax, dword [ebp + 0x1c]
cmp eax, 0
je 0x1000aa5a
mov eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14c]
call eax
add esp, 0xc
mov dword [0x10029090], eax
mov eax, dword [0x10029090]
cmp eax, 0
je 0x1000aa5a
jmp 0x1000aafb
mov eax, dword [ebp - 0x144]
mov ecx, eax
inc eax
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x18]
cmp eax, 0
je 0x1000aadd
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, str._s_s_
push eax
call sym.xPack.dll_xCore_FormatA
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x150]
push eax
call sym.xPack.dll_xFile_ScanA
add esp, 0x1c
mov ecx, dword [ebp - 0x144]
add ecx, eax
mov dword [ebp - 0x144], ecx
mov eax, dword [0x10029090]
cmp eax, 0
je 0x1000aadd
jmp 0x1000aafb
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x15c]
push eax
call sub.kernel32.dll_FindNextFileA
mov dword [ebp - 0x160], eax
jmp 0x1000a94b
mov eax, dword [ebp - 0x15c]
push eax
call sub.kernel32.dll_FindClose
mov eax, dword [ebp - 0x144]
leave
ret