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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4524a3
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x47d00c]
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 dword [ebp - 0x288], edx
mov dword [ebp - 0x284], ecx
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x280], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
push edx
push 0x46d658
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00409ac0
mov ebx, dword [ebp + 8]
mov al, bl
and al, 4
mov dword [ebp - 4], 0
mov byte [ebp - 0x279], al
je 0x40fec1
and ebx, 0xfffffffb
push 0x258
lea eax, [ebp - 0x278]
mov edi, 1
push 0
push eax
call fcn.0043e2c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00409cd0
push 0x250
mov esi, eax
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.0043e2c0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x40ff23
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x24], edi
call fcn.00401800
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x40ff9f
test bl, 2
je 0x41005f
mov eax, dword [ebp - 0x280]
push dword [eax + 4]
push 5
push ecx
push dword [ebp - 0x284]
mov ecx, eax
call fcn.0040c400
lea ecx, [ebp - 0x1c]
call fcn.00409cd0
mov ecx, dword [ebp - 0x28]
mov esi, eax
cmp ecx, 0xffffffff
je 0x40ff67
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x41005f
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x24], 1
call fcn.00401800
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41005f
mov esi, dword [ebp - 0x280]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
push 0x46d658
push dword [ebp - 0x284]
lea ecx, [ebp - 0x1c]
call fcn.00409c70
test byte [ebp - 0x278], 0x10
lea ecx, [ebp - 0x1c]
push esi
je 0x40fff2
push ebx
call fcn.00409cd0
mov edx, dword [ebp - 0x288]
mov ecx, eax
call fcn.0040fe40
jmp 0x410000
call fcn.00409cd0
mov edx, ebx
mov ecx, eax
call fcn.004100d0
test eax, eax
jne 0x410008
xor edi, edi
jmp 0x410017
test edi, edi
je 0x410017
cmp eax, 2
mov eax, 2
cmove edi, eax
call fcn.0040b920
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x410065
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41004e
lea ecx, [ebp - 0x278]
call fcn.00401800
test al, al
jne 0x40ffa5
mov eax, dword [ebp - 0x28]
jmp 0x410065
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov dword [ebp - 0x28], eax
jmp 0x410065
mov esi, dword [ebp - 0x280]
cmp byte [ebp - 0x279], 0
jne 0x410096
mov ecx, dword [ebp - 0x284]
mov edx, ebx
push esi
call fcn.00410160
test eax, eax
jne 0x410084
xor edi, edi
jmp 0x410093
test edi, edi
je 0x410093
cmp eax, 2
mov eax, 2
cmove edi, eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4100a2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
call fcn.00409b80
mov eax, edi
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.00424a0b
mov esp, ebp
pop ebp
ret 8