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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040431c
mov eax, dword [ebp - 8]
call fcn.0040431c
xor eax, eax
push ebp
push 0x4180e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402894
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.0040432c
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00415ccc
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 8]
call fcn.00417428
mov eax, dword [ebp - 0x15c]
call fcn.0040432c
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.00417528
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindFirstFileA
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x418097
or esi, 0xffffffff
jmp 0x418097
cmp dword [ebp - 0x158], 0x10
jne 0x417fb7
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.00404100
mov eax, dword [ebp - 0x160]
mov edx, 0x4180f8
call fcn.00404278
je 0x418088
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.00404100
mov eax, dword [ebp - 0x164]
mov edx, 0x418104
call fcn.00404278
je 0x418088
mov eax, 0xff
call fcn.00402894
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00415ccc
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.00417528
mov edx, 0x418108
mov eax, ebx
call fcn.00417528
lea eax, [ebp - 0x168]
mov edx, ebx
call fcn.004040c4
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00417e2c
mov eax, ebx
call fcn.004028c4
jmp 0x418088
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.00404100
mov eax, dword [ebp - 0x16c]
mov edx, 0x4180f8
call fcn.00404278
je 0x418088
lea eax, [ebp - 0x170]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.00404100
mov eax, dword [ebp - 0x170]
mov edx, 0x418104
call fcn.00404278
je 0x418088
mov eax, 0xff
call fcn.00402894
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00415ccc
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.00417528
lea eax, [ebp - 0x174]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.00404100
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404178
mov eax, dword [ebp - 0x18]
call fcn.0040412c
mov ecx, eax
inc ecx
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x18]
call fcn.004054a4
lea edx, [ebp - 0x158]
mov ecx, 0x140
mov eax, dword [ebp - 0xc]
call fcn.004063d8
mov eax, ebx
call fcn.004028c4
lea eax, [ebp - 0x158]
push eax
push edi
call sub.kernel32.dll_FindNextFileA
mov esi, eax
test esi, esi
jne 0x417ef9
push edi
call sub.kernel32.dll_FindClose
mov eax, dword [ebp - 0x10]
call fcn.004028c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4180e7
lea eax, [ebp - 0x174]
mov edx, 7
call fcn.00403f0c
lea eax, [ebp - 0x18]
call fcn.00403ee8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f0c
ret