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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463afa
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
mov eax, dword [0x482308]
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 - 0x3f0], ecx
mov edi, dword [ebp + 0x9c]
mov eax, dword [ebp + 0x94]
mov dword [ebp - 4], 1
cmp eax, 0xffffffff
je 0x405c68
cmp dword [ebp + 0x98], eax
jg 0x405ec0
push str..
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 8]
call fcn.0041462e
push 0x250
lea eax, [ebp - 0x3ec]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00447640
add esp, 0xc
lea eax, [ebp - 0x3ec]
lea ecx, [ebp - 0x118]
push eax
call fcn.00411afa
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x3f4], esi
cmp esi, 0xffffffff
je 0x405eb5
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
push 0x47a8c4
lea eax, [ebp - 0x3c0]
push eax
call ebx
test eax, eax
je 0x405e98
push 0x47a8c8
lea eax, [ebp - 0x3c0]
push eax
call ebx
test eax, eax
je 0x405e98
test byte [ebp - 0x3ec], 0x10
lea eax, [ebp - 0x19c]
push 0x47881c
lea ecx, [ebp + 8]
push eax
je 0x405db2
call fcn.0041462e
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.0041462e
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.00414593
lea ecx, [ebp - 0x94]
call fcn.00414510
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call fcn.00414510
mov eax, dword [ebp + 0x98]
push edi
inc eax
push eax
push dword [ebp + 0x94]
lea eax, [ebp + 0x8c]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x3f8], esp
push eax
call fcn.00406690
sub esp, 0x84
mov byte [ebp - 4], 5
lea eax, [ebp - 0x118]
mov ecx, esp
push eax
call fcn.004143d5
mov ecx, dword [ebp - 0x3f0]
mov byte [ebp - 4], 2
call fcn.00405c10
jmp 0x405e98
call fcn.0041462e
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.0041462e
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 8
call fcn.00414510
lea ecx, [ebp - 0x94]
call fcn.00411afa
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, dword [ebp + 0x8c]
mov ebx, eax
mov esi, dword [ecx]
cmp esi, ecx
je 0x405e7d
nop
lea ecx, [esi + 0x10]
push ebx
call fcn.00414873
test eax, eax
je 0x405e56
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x405e34
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x405e30
nop
cmp esi, dword [eax + 8]
jne 0x405e30
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x405e20
mov esi, eax
jmp 0x405e4c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x405e4c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x405e40
cmp esi, dword [ebp + 0x8c]
jne 0x405e00
jmp 0x405e7d
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x94]
push ecx
cmp eax, dword [edi + 8]
je 0x405e75
mov ecx, eax
call fcn.004143d5
add dword [edi + 4], 0x84
jmp 0x405e7d
push eax
mov ecx, edi
call fcn.00406df0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00414510
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov esi, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3ec]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405cd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x118]
call fcn.00414510
lea ecx, [ebp + 8]
call fcn.00414510
lea eax, [ebp + 0x8c]
push eax
mov ecx, eax
call fcn.00406b10
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.00445e0f
mov esp, ebp
pop ebp
ret 0x98