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

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x64
mov eax, 0x10182696
call fcn.10145d80
mov esi, ecx
mov dword [ebp - 0x1c], esi
push 0x101a7550
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp - 0x28]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.10007b6e
push 0x24c
lea eax, [ebp + 4]
push edi
push eax
mov byte [ebp - 4], 1
mov dword [ebp], edi
call fcn.10146c80
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x1005eb50
mov edi, 0x1019fce4
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10007b11
mov ebx, dword [ebp]
push 0x101a7204
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10005373
test eax, eax
pop ecx
pop ecx
je 0x1005eb26
push 0x101a71fc
push dword [ebp - 0x10]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
je 0x1005eb26
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.10007ade
lea eax, [ebp - 0x14]
push eax
call fcn.1011eeb6
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10004076
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x101a7548
push dword [ebp - 0x14]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x1005e985
push edi
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10007b6e
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 4
call fcn.100100f8
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov byte [ebp - 4], 5
call fcn.1011f044
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.10003b75
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
jne 0x1005eabe
test bl, 0x10
je 0x1005ea4c
mov ebx, str.folder
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10007b11
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x58]
add esi, 0x28
push eax
mov ecx, esi
call fcn.1005dcaa
lea ecx, [ebp - 0x2c]
call fcn.10003b75
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x70]
call fcn.1005d9ea
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.1005d868
test al, al
jne 0x1005e9ef
lea ecx, [ebp - 0x58]
call fcn.1005d8cf
add eax, 4
inc dword [eax]
jmp 0x1005ea19
push ebx
lea ecx, [ebp - 0x30]
call fcn.10007b11
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.1005e799
lea ecx, [ebp - 0x30]
mov dword [eax], 1
mov byte [ebp - 4], 3
call fcn.10003b75
push edi
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007b6e
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
mov byte [ebp - 4], 7
call fcn.100100f8
mov ecx, dword [ebp - 0x1c]
call fcn.1005e82f
lea ecx, [ebp - 0x40]
jmp 0x1005eab7
mov ebx, str.noext
push ebx
lea ecx, [ebp - 0x18]
call fcn.10007b11
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
add esi, 0x28
push eax
mov ecx, esi
call fcn.1005dcaa
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x60]
call fcn.1005d9ea
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
call fcn.1005d868
test al, al
jne 0x1005ea96
lea ecx, [ebp - 0x50]
jmp 0x1005eaf0
push ebx
lea ecx, [ebp - 0x24]
call fcn.10007b11
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.1005e799
mov dword [eax], 1
lea ecx, [ebp - 0x24]
call fcn.10003b75
jmp 0x1005eb0d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
add esi, 0x28
push eax
mov ecx, esi
call fcn.1005dcaa
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x68]
call fcn.1005d9ea
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
call fcn.1005d868
test al, al
jne 0x1005eafc
lea ecx, [ebp - 0x48]
call fcn.1005d8cf
add eax, 4
inc dword [eax]
jmp 0x1005eb0d
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.1005e799
mov dword [eax], 1
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10003b75
mov esi, dword [ebp - 0x1c]
jmp 0x1005eb32
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10003b75
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005e8a9
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.10003b75
lea ecx, [ebp + 0x25c]
call fcn.10003b75
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x254
leave
ret 4