Function at 0x408f90
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 0x4241cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c8
mov eax, dword [0x434014]
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 - 0x2a4], edx
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2a8], eax
call fcn.004086d0
test al, al
jne 0x408ff2
xor eax, eax
jmp 0x4093c1
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
xor esi, esi
sub eax, ecx
mov dword [ebp - 0x2a0], esi
cmp eax, 4
jb 0x4093df
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x409017
mov eax, dword [edi]
push 4
push 0x42fd78
push ecx
push eax
push ecx
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x44]
call fcn.00409fe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x298]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x29c], eax
cmp eax, 0xffffffff
jne 0x409061
xor esi, esi
jmp 0x409389
cmp word [ebp - 0x26c], 0x2e
je 0x409360
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
mov eax, 0x7ffffffe
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4093df
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4090ab
mov eax, dword [edi]
push 1
push 0x42fd74
push ecx
push eax
push ecx
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x2d8]
call fcn.00409fe0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x2d8]
lea ecx, [ebp - 0x2c0]
call fcn.004099e0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40915a
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x409128
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40911e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093e9
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2ac]
cmp edx, 8
jb 0x40919a
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093e9
push edx
push ecx
call fcn.0040e74a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
cmp edx, 8
jb 0x4091fb
mov ecx, dword [ebp - 0x2d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4091f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093e9
push edx
push ecx
call fcn.0040e74a
add esp, 8
test byte [ebp - 0x298], 0x10
mov edx, dword [ebp - 0x2a4]
je 0x409220
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2c]
call fcn.00408f90
add esp, 4
jmp 0x40930e
xor eax, eax
mov dword [ebp - 0x2c0], 0
inc edx
mov word [ebp - 0x2c0], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
cmp eax, edx
jb 0x4093e4
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x2c0]
lea eax, [eax + edx*2]
push eax
call fcn.00404100
mov esi, dword [ebp - 0x2a8]
mov byte [ebp - 4], 3
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4092b6
movups xmm0, xmmword [ebp - 0x2c0]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2b0]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x2c0], ax
jmp 0x4092cb
lea ecx, [ebp - 0x2c0]
push ecx
push eax
mov ecx, esi
call fcn.00409b60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x409309
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4092ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093e9
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov eax, 1
mov esi, dword [ebp - 0x2a0]
add esi, eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2a0], esi
cmp edx, 8
jb 0x40935a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409350
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093e9
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40937d
mov eax, dword [ebp - 0x29c]
jmp 0x409061
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4093bf
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4093b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093e9
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov eax, esi
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.0040e3a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401590
call fcn.004043a0
call fcn.0041260f
int3