Function at 0x5e9e50
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
sub esp, 0x458
push ebp
mov ebp, dword [esp + 0x460]
test ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ecx
je 0x5ea15a
mov edi, 0x6f7896
mov esi, ebp
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5ea15a
mov esi, dword [esp + 0x46c]
test esi, esi
je 0x5ea15a
mov edi, 0x6f7896
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x5ea15a
push 0x104
lea eax, [esp + 0x120]
push ebp
push eax
mov dword [esp + 0x18], edx
call dword [sym.imp.MSVCR71.dll_strncpy]
lea eax, [esp + 0x128]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5e9ed0
sub eax, edx
mov cl, byte [esp + eax + 0x11b]
cmp cl, 0x5c
je 0x5e9efa
cmp cl, 0x2f
je 0x5e9efa
mov byte [esp + eax + 0x11c], 0x5c
mov byte [esp + eax + 0x11d], 0
lea ecx, [esp + 0x11c]
push ecx
call fcn.0056f630
xor eax, eax
mov ecx, 0x50
lea edi, [esp + 0x328]
lea edx, [esp + 0x224]
add esp, 4
rep stosd dword es:[edi], eax
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5e9f25
lea eax, [esp + 0x220]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5e9f40
sub eax, edx
mov cl, byte [esp + eax + 0x21f]
cmp cl, 0x5c
je 0x5e9f6a
cmp cl, 0x2f
je 0x5e9f6a
mov byte [esp + eax + 0x220], 0x5c
mov byte [esp + eax + 0x221], 0
lea edi, [esp + 0x220]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5e9f72
mov dx, word [0x70b1b0]
lea eax, [esp + 0x220]
push eax
mov word [edi], dx
call fcn.0056f630
add esp, 4
lea ecx, [esp + 0x324]
push ecx
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x5ea14a
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x11c]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x5e9fc0
lea eax, [esp + 0x350]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5e9fe0
lea edi, [esp + 0x18]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x5e9ff0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
push ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0056f630
mov ebp, dword [esp + 0x47c]
mov ebx, dword [esp + 0x478]
add esp, 4
jmp 0x5ea030
xor eax, eax
mov cl, byte [esp + eax + 0x120]
mov byte [esp + eax + 0x1c], cl
inc eax
test cl, cl
jne 0x5ea032
lea eax, [esp + 0x354]
mov edx, eax
jmp 0x5ea050
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ea050
lea edi, [esp + 0x1c]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x5ea060
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x5ea104
mov edi, 0x6f7894
lea esi, [esp + 0x354]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x5ea123
mov edi, 0x712b00
lea esi, [esp + 0x354]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5ea123
test bl, bl
je 0x5ea123
lea edi, [esp + 0x1c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5ea0c2
mov cx, word [0x70e1b4]
lea edx, [esp + 0x1c]
push edx
push str.____Recurse_directory__s_n
mov word [edi], cx
call fcn.005cb1b0
mov eax, dword [esp + 0x478]
add esp, 8
push ebp
push ebx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005e9e50
add dword [esp + 0x10], eax
jmp 0x5ea123
mov edx, dword [esp + 0x470]
mov ecx, dword [esp + 0x14]
push ebp
push edx
lea eax, [esp + 0x24]
push eax
call fcn.005e42e0
test al, al
je 0x5ea123
inc dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x328]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5ea030
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
add esp, 0x458
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x458
ret 0x10