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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x496d50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], cx
xor edx, edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], dx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x406d2d
lea eax, [ebp + 8]
push 0x10000000
push str.EVERYONE
call fcn.0042d630
add esp, 8
test eax, eax
jne 0x406ed5
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x84]
call fcn.004015e0
push 0xffffffffffffffff
push edi
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x30]
call fcn.004015e0
push 1
mov eax, 0x47469c
lea esi, [ebp - 0x30]
call fcn.00412040
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x406d82
mov eax, esi
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2d8], esi
jmp 0x406da0
cmp esi, 0xffffffff
je 0x406eb3
mov ecx, 0x4746a0
lea eax, [ebp - 0x2a8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406dda
cmp dx, di
je 0x406dd6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406dda
add eax, 4
add ecx, 4
cmp dx, di
jne 0x406db4
xor eax, eax
jmp 0x406ddf
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x406eb3
mov ecx, 0x4746a4
lea eax, [ebp - 0x2a8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406e18
cmp dx, di
je 0x406e14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406e18
add eax, 4
add ecx, 4
cmp dx, di
jne 0x406df2
xor eax, eax
jmp 0x406e1d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x406eb3
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004015e0
lea eax, [ebp - 0x2a8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406e40
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a8]
lea esi, [ebp - 0x4c]
call fcn.00412040
test byte [ebp - 0x2d4], 0x10
je 0x406ead
push 0xffffffffffffffff
push edi
mov eax, esi
push eax
lea ecx, [ebp - 0x68]
call fcn.004015e0
push 1
mov eax, 0x4743e0
lea esi, [ebp - 0x68]
call fcn.00412040
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2dc], esp
push 0xffffffffffffffff
push edi
mov eax, esi
xor edx, edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
push eax
mov word [ecx], dx
call fcn.004015e0
call fcn.00406cb0
add esp, 0x1c
mov esi, dword [ebp - 0x2d8]
lea ecx, [ebp - 0x2d4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406da0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x406ee6
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x54], esi
jb 0x406f03
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x70], esi
jb 0x406f23
mov eax, dword [ebp - 0x84]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x1c], esi
jb 0x406f43
mov edx, dword [ebp - 0x30]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
cmp dword [ebp + 0x1c], esi
jb 0x406f60
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044e60d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044e488
mov esp, ebp
pop ebp
ret