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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x103090f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x140
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x450]
push 0
push eax
mov dword [ebp - 0x45c], edi
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x1009f0cd
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x310]
push eax
push 0x104
push edi
call ebx
test eax, eax
je 0x1009f15e
mov esi, dword [ebp - 0x454]
lea edx, [ebp - 0x20c]
mov ecx, esi
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1009ef70
lea eax, [ebp - 0x450]
mov dword [esi], 0x2a2e2a
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x450], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x460], esi
cmp esi, 0xffffffff
je 0x1009f0c6
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
nop dword [eax + eax]
push 1
lea eax, [ebp - 0x424]
push 0x101508e4
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x1009f0aa
push 2
lea eax, [ebp - 0x424]
push 0x10150c4c
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x1009f0aa
test byte [ebp - 0x450], 0x10
je 0x1009f0aa
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x1009f15e
mov edx, dword [ebp - 0x454]
lea ecx, [ebp - 0x424]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x1009f031
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x1009f046
mov ax, word [0x10150c50]
lea edx, [ebp - 0x20c]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1009f061
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1009f071
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x458]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.1009eef0
mov edi, dword [ebp - 0x45c]
add esp, 0xc
mov esi, dword [ebp - 0x460]
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1009efc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1009f148
test byte [ebp - 0x450], 0x10
jne 0x1009f12f
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
push edi
call ebx
test eax, eax
je 0x1009f15e
mov edx, dword [ebp - 0x454]
lea ecx, [ebp - 0x424]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x1009f111
lea eax, [ebp - 0x424]
push eax
call dword [ebp - 0x458]
add esp, 4
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1009f0e2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e1332
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e1332
mov esp, ebp
pop ebp
ret