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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f5c2
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x10095070]
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
mov dword [ebp - 0x26c], edi
mov ebx, dword [edi]
mov ecx, dword [ebx - 0x10]
lea esi, [ebx - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x10006db7
cmp ecx, dword [esi]
jne 0x10006db7
lock inc dword [eax]
jmp 0x10006de7
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x10007081
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov edx, dword [edi]
inc edx
push edx
push ebx
call fcn.10003510
mov edi, dword [ebp - 0x26c]
add esp, 8
lea eax, [esi + 0x10]
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.10006cf0
push 1
push 0x10085410
lea ecx, [ebp - 0x268]
call fcn.10005a60
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.10050890
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
add esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x270], eax
cmp eax, ebx
je 0x10007042
nop
cmp word [ebp - 0x234], 0x2e
jne 0x10006e7e
mov ax, word [ebp - 0x232]
test ax, ax
je 0x1000701a
cmp ax, 0x2e
jne 0x10006e7e
cmp word [ebp - 0x230], 0
je 0x1000701a
mov eax, dword [edi]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp - 0x274], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x10006ea5
cmp ecx, dword [edi]
jne 0x10006ea5
lock inc dword [eax]
jmp 0x10006ed4
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10007081
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [ebx]
inc edx
push edx
push dword [ebp - 0x274]
call fcn.10003510
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jle 0x10006f5d
lea ecx, [ebx - 1]
test ecx, ecx
js 0x10007086
cmp ecx, ebx
jg 0x10007086
cmp word [eax + ecx*2], 0x5c
je 0x10006f5d
lea edi, [ebx + 1]
test edi, edi
js 0x10007086
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x10006f36
push edi
lea ecx, [ebp - 0x264]
call fcn.100034a0
mov eax, dword [ebp - 0x264]
mov ecx, 0x5c
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x264]
cmp edi, dword [eax - 8]
jg 0x10007086
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x264]
mov word [eax + edi*2], cx
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006f66
sub eax, edx
lea ecx, [ebp - 0x264]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10005a60
test byte [ebp - 0x260], 0x10
je 0x10006fcb
mov dl, 1
lea ecx, [ebp - 0x264]
call fcn.10006d60
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x10006fbe
and eax, 0xfffffffe
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.100070a0
jmp 0x10006ff6
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x10006feb
and eax, 0xfffffffe
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.100071d0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x264]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000701a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000703c
mov edi, dword [ebp - 0x26c]
jmp 0x10006e50
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10007065
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.10039765
mov esp, ebp
pop ebp
ret
call fcn.10003450
push 0x80070057
call fcn.100035d0
int3