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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7576
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a8
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b0], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4ac], eax
push 0x250
lea eax, [ebp - 0x4a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebx + 0xc]
cmp dword [ebx + 0x20], 7
cmova eax, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4b4], eax
cmp eax, 0xffffffff
je 0x40dfe8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x646660
lea eax, [ebp - 0x474]
push eax
call esi
test eax, eax
je 0x40dfcd
push 0x646664
lea eax, [ebp - 0x474]
push eax
call esi
test eax, eax
je 0x40dfcd
mov eax, dword [ebp - 0x4a0]
test eax, 0x4002
jne 0x40dfcd
mov esi, dword [ebx + 0x1c]
xorps xmm0, xmm0
lea edi, [ebx + 0xc]
test al, 0x10
je 0x40ddb3
cmp dword [ebx + 0x20], 7
movups xmmword [ebp - 0x250], xmm0
cmova edi, dword [ebx + 0xc]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
cmp esi, 0x7ffffffe
ja 0x40e043
cmp esi, 7
ja 0x40dc2f
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x250], xmm0
jmp 0x40dc90
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40dc42
mov eax, bind
jmp 0x40dc4d
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00402980
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x23c], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x240], esi
call fcn.0048fd10
add esp, 0x14
push 1
push 0x645ce4
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.0040a240
lea ecx, [ebp - 0x474]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dcb0
sub ecx, edx
lea eax, [ebp - 0x474]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.0040a240
sub esp, 0x18
lea eax, [ebp - 0x250]
mov esi, esp
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x23c], 7
mov edi, dword [ebp - 0x240]
cmova eax, dword [ebp - 0x250]
mov dword [ebp - 0x4a8], eax
cmp edi, 0x7ffffffe
ja 0x40e043
cmp edi, 7
ja 0x40dd2e
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x40dd84
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40dd41
mov eax, bind
jmp 0x40dd4c
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
push esi
call fcn.00402980
mov ecx, dword [ebp - 0x4a4]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x4a8]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.0048fd10
add esp, 0x14
push dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
call fcn.0040dad0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x40dfc7
mov edx, dword [ebp - 0x250]
jmp 0x40df98
cmp dword [ebx + 0x20], 7
movups xmmword [ebp - 0x238], xmm0
cmova edi, dword [ebx + 0xc]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
cmp esi, 0x7ffffffe
ja 0x40e043
cmp esi, 7
ja 0x40de03
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x238], xmm0
jmp 0x40de64
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40de16
mov eax, bind
jmp 0x40de21
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00402980
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x224], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x228], esi
call fcn.0048fd10
add esp, 0x14
push 1
push 0x645ce4
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.0040a240
lea eax, [ebp - 0x474]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40de83
sub eax, edx
lea ecx, [ebp - 0x238]
sar eax, 1
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0040a240
mov edi, dword [ebp - 0x4ac]
lea eax, [ebp - 0x238]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x40df7a
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x224], 7
mov edi, dword [ebp - 0x228]
cmova eax, dword [ebp - 0x238]
mov dword [ebp - 0x4a8], eax
cmp edi, 0x7ffffffe
ja 0x40e043
cmp edi, 7
ja 0x40df18
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov esi, dword [ebp - 0x4ac]
add dword [esi + 4], 0x18
jmp 0x40df83
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40df2b
mov eax, bind
jmp 0x40df36
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
push esi
call fcn.00402980
mov ecx, dword [ebp - 0x4a4]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x4a8]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.0048fd10
mov esi, dword [ebp - 0x4ac]
add esp, 0x14
add dword [esi + 4], 0x18
jmp 0x40df83
push eax
push esi
mov ecx, edi
call fcn.00422ef0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x40dfc7
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dfbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e03e
push ecx
push edx
call fcn.00439938
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40db91
mov ecx, dword [ebx + 0x20]
cmp ecx, 7
jbe 0x40e01e
mov edx, dword [ebx + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e014
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e03e
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
call fcn.00494baa
call fcn.004012e0
int3