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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x350
mov eax, dword [0x435a64]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
jne 0x40ad86
mov ebx, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
test ebx, ebx
mov dword [ebp - 0x14], edx
je 0x40ad86
test edx, edx
jle 0x40ad86
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x35c]
sub edi, ecx
mov eax, ecx
mov dword [ebp + 8], esi
mov esi, edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [edx + ebx - 1], 0x5c
je 0x40ab9a
mov edi, 0x430650
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x35c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4318fc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x35c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x154]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x40abec
push eax
jmp 0x40ad80
xor eax, eax
test eax, eax
jne 0x40ad7c
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x258]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + ebx - 1], 0x5c
je 0x40ac53
mov edi, 0x430650
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x258]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x258]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x154]
shr edi, 4
and edi, 1
je 0x40ad21
mov esi, 0x430dfc
lea eax, [ebp - 0x128]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40acc5
test cl, cl
je 0x40acc1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40acc5
add eax, 2
add esi, 2
test cl, cl
jne 0x40aca1
xor eax, eax
jmp 0x40acca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ad06
mov esi, 0x4318f8
lea eax, [ebp - 0x128]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40acfd
test cl, cl
je 0x40acf9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40acfd
add eax, 2
add esi, 2
test cl, cl
jne 0x40acd9
xor eax, eax
jmp 0x40ad02
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ad21
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x154]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
inc eax
jmp 0x40abee
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40ad4e
cmp dword [ebp + 0x10], edi
je 0x40ad4e
mov edx, dword [ebp + 0x18]
lea eax, [ebp - 0x258]
push edx
push eax
call esi
test eax, eax
jne 0x40ad4e
mov ecx, dword [ebp + 8]
mov dword [0x435a64], 1
push ecx
jmp 0x40ad80
test edi, edi
je 0x40ad06
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40ad06
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push edx
push esi
push ecx
lea edx, [ebp - 0x258]
push eax
push edx
call fcn.0040aae0
add esp, 0x14
jmp 0x40ad06
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret