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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x459008]
xor eax, esp
mov dword [esp + 0x270], eax
cmp dword [0x479b08], 0
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
je 0x406288
push ecx
push str.FINDFILES_:__s
call fcn.00401d20
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop
push 0x3c4
push 8
push dword [0x47a330]
call esi
mov edi, eax
test edi, edi
je 0x406290
cmp dword [0x478100], 0
mov esi, dword [esp + 0x10]
jne 0x4062c2
cmp dword [0x479b0c], 0
jne 0x4062c2
mov ecx, esi
call fcn.00405cd0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x44586c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x406499
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
mov eax, dword [0x47a34c]
cmp dword [eax + 8], 0x258
jle 0x40633b
nop
cmp dword [0x479b08], 0
je 0x406326
push str.Queue_Size___600___Waiting...
call fcn.00401d20
add esp, 4
push 0x12c
call ebx
mov eax, dword [0x47a34c]
cmp dword [eax + 8], 0x258
jg 0x406310
push 0x445874
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x406476
push 0x445878
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x406476
mov eax, dword [esp + 0x28]
test eax, 0x400
jne 0x406476
test al, 0x10
je 0x4063c1
lea ecx, [esp + 0x54]
call fcn.00405bc0
test eax, eax
je 0x4063b5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x445880
push edi
call esi
lea eax, [esp + 0x54]
push eax
push edi
call esi
mov ecx, edi
call fcn.00406250
jmp 0x406472
mov eax, dword [esp + 0x28]
test al, 0x10
jne 0x406472
lea ecx, [esp + 0x54]
call fcn.00405ab0
test eax, eax
je 0x406472
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x445880
push edi
call esi
lea eax, [esp + 0x54]
push eax
push edi
call esi
mov eax, dword [0x47989c]
cmp eax, 0x28
jne 0x40640a
mov ecx, edi
call fcn.004069e0
test eax, eax
jne 0x406455
mov eax, dword [0x47989c]
cmp eax, 0x32
jne 0x40644b
mov dword [esp + 0x18], str..000
xor esi, esi
mov dword [esp + 0x1c], str..cab
mov dword [esp + 0x20], str..zip
mov dword [esp + 0x24], str..rar
push dword [esp + esi*4 + 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x406455
inc esi
cmp esi, 4
jl 0x406431
mov eax, dword [0x47989c]
cmp eax, 0x28
je 0x406472
cmp eax, 0x32
je 0x406472
push 0x47a334
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, edi
call fcn.004083b0
push 0x47a334
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406300
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4064ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Cant_FindFirstFileW_path_:__s____lu
call fcn.00401d20
add esp, 0xc
push edi
push 0
push dword [0x47a330]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x479b08], 0
je 0x4064d3
push str.return_FINDFILES
call fcn.00401d20
add esp, 4
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret