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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
cmp dword [ebp + 0xc], 0
jle 0x4170f0
mov eax, dword [ebp + 8]
push eax
push 0x403c40
call fcn.00411780
add esp, 8
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x448148
call fcn.00425ee0
add esp, 0xc
test eax, eax
jne 0x41713f
lea edx, [ebp - 0x20]
push edx
push 0
push 0x448118
call fcn.00425e40
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41713d
mov eax, dword [ebp - 0xc]
push eax
call fcn.00416280
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00425da0
add esp, 4
jmp 0x417107
jmp 0x4170f0
push 0x10000
call fcn.00425d70
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4172f6
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403c74
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x270]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x41725b
mov ecx, dword [ebp - 0x270]
and ecx, 0x10
je 0x417233
mov dword [ebp - 8], 0
jmp 0x4171b5
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x22
jae 0x4171dd
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x447130]
push ecx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4171db
jmp 0x417233
jmp 0x4171ac
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403c7c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [ebp + 0xc], 0
jle 0x41721c
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp - 0x18], edx
jmp 0x417223
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004170d0
add esp, 8
lea edx, [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417194
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4172ea
cmp dword [0x448178], 0
je 0x4172ea
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00425d70
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x403c80
call fcn.004117d0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00425da0
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.00425da0
add esp, 4
cmp dword [ebp + 0xc], 0
jle 0x41730d
mov eax, dword [ebp + 8]
push eax
push 0x403c98
call fcn.00411780
add esp, 8
mov esp, ebp
pop ebp
ret