Function at 0x40d6c0
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 0x5c6f26
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.0048fce0
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 0x646e70
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 0x40dbd8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x646660
lea eax, [ebp - 0x474]
push eax
call esi
test eax, eax
je 0x40dbbd
push 0x646664
lea eax, [ebp - 0x474]
push eax
call esi
test eax, eax
je 0x40dbbd
mov eax, dword [ebp - 0x4a0]
test eax, 0x4002
jne 0x40dbbd
mov esi, dword [ebx + 0x1c]
xorps xmm0, xmm0
lea edi, [ebx + 0xc]
test al, 0x10
je 0x40d9a3
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 0x40dc33
cmp esi, 7
ja 0x40d81f
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x250], xmm0
jmp 0x40d880
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40d832
mov eax, bind
jmp 0x40d83d
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.004029e0
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.0048f690
add esp, 0x14
push 1
push 0x645ce4
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.00409e30
lea ecx, [ebp - 0x474]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d8a0
sub ecx, edx
lea eax, [ebp - 0x474]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00409e30
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 0x40dc33
cmp edi, 7
ja 0x40d91e
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x40d974
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40d931
mov eax, bind
jmp 0x40d93c
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
push esi
call fcn.004029e0
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.0048f690
add esp, 0x14
push dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
call fcn.0040d6c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x40dbb7
mov edx, dword [ebp - 0x250]
jmp 0x40db88
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 0x40dc33
cmp esi, 7
ja 0x40d9f3
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x238], xmm0
jmp 0x40da54
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40da06
mov eax, bind
jmp 0x40da11
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.004029e0
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.0048f690
add esp, 0x14
push 1
push 0x645ce4
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.00409e30
lea eax, [ebp - 0x474]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40da73
sub eax, edx
lea ecx, [ebp - 0x238]
sar eax, 1
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00409e30
mov edi, dword [ebp - 0x4ac]
lea eax, [ebp - 0x238]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x40db6a
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 0x40dc33
cmp edi, 7
ja 0x40db08
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 0x40db73
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40db1b
mov eax, bind
jmp 0x40db26
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
push esi
call fcn.004029e0
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.0048f690
mov esi, dword [ebp - 0x4ac]
add esp, 0x14
add dword [esi + 4], 0x18
jmp 0x40db73
push eax
push esi
mov ecx, edi
call fcn.00422870
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x40dbb7
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dbad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc2e
push ecx
push edx
call fcn.004392c8
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 0x40d781
mov ecx, dword [ebx + 0x20]
cmp ecx, 7
jbe 0x40dc0e
mov edx, dword [ebx + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dc04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc2e
push ecx
push edx
call fcn.004392c8
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.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
call fcn.0049452a
call fcn.004012e0
int3