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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039d01
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x1004b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x1000f0d6
cmp dword [edi + 0x14], 0x10
jb 0x1000ed94
mov eax, dword [edi]
jmp 0x1000ed96
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1000edb8
and eax, 0xfffffffe
cmp dword [edi + 0x14], 0x10
jb 0x1000edae
mov ecx, dword [edi]
jmp 0x1000edb0
mov ecx, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [edi + 0x14], 0x10
jb 0x1000edc2
mov edx, dword [edi]
jmp 0x1000edc4
mov edx, edi
mov dword [ebp - 0x188], 0xf
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
cmp byte [edx], 0
jne 0x1000ede8
xor ecx, ecx
jmp 0x1000edf9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000edf0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x19c]
call fcn.10001830
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0
call fcn.10006950
mov eax, dword [ebp - 0x188]
cmp eax, 0x10
jb 0x1000ee36
inc eax
lea ecx, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
call fcn.10001b80
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.10001930
push 2
push 0x1004548c
lea ecx, [ebp - 0x40]
call fcn.10009a50
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x184], esi
cmp esi, 0xffffffff
je 0x1000f09a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x10045490
lea eax, [ebp - 0x154]
push eax
call ebx
test eax, eax
je 0x1000f07d
push 0x10045494
lea eax, [ebp - 0x154]
push eax
call ebx
test eax, eax
je 0x1000f07d
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x28]
call fcn.10001930
push 1
push 0x10043df8
lea ecx, [ebp - 0x28]
call fcn.10009a50
cmp byte [ebp - 0x154], 0
jne 0x1000ef06
xor ecx, ecx
jmp 0x1000ef19
lea ecx, [ebp - 0x154]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ef10
sub ecx, edx
push ecx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call fcn.10009a50
test byte [ebp - 0x180], 0x10
je 0x1000efca
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x188], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
cmp byte [edx], 0
jne 0x1000ef65
xor ecx, ecx
jmp 0x1000ef7f
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ef70
sub ecx, esi
mov esi, dword [ebp - 0x184]
push ecx
push edx
lea ecx, [ebp - 0x19c]
call fcn.10001830
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 3
call fcn.10006950
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x188]
cmp eax, 0x10
jb 0x1000efbd
inc eax
lea ecx, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
call fcn.10001b80
lea ecx, [ebp - 0x28]
call fcn.1000ed50
jmp 0x1000f07d
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1000eff6
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x1a0], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
cmp byte [edx], 0
jne 0x1000f025
xor ecx, ecx
jmp 0x1000f03f
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f030
sub ecx, esi
mov esi, dword [ebp - 0x184]
push ecx
push edx
lea ecx, [ebp - 0x1b4]
call fcn.10001830
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 4
call fcn.10006950
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1a0]
cmp eax, 0x10
jb 0x1000f07d
inc eax
lea ecx, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1b4]
call fcn.10001b80
lea eax, [ebp - 0x180]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000eeb1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000f0af
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10001b80
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1000f0d6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10001b80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e3e5
mov esp, ebp
pop ebp
ret