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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46ff5a
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040377c
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403880
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x46fe0c
xor edx, edx
push ebp
push 0x46fe05
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x15c]
test al, 0x10
jne 0x46fdd6
cmp byte [ebp + 0xc], 0
je 0x46fd31
test al, 2
jne 0x46fdd6
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
call fcn.0046ee0c
mov eax, dword [ebp + 8]
test byte [eax + 0x4b], 0x10
jne 0x46fd79
push dword [ebp - 0x18]
push dword [ebp - 8]
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.004036a4
push dword [ebp - 0x160]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040377c
jmp 0x46fdb7
cmp dword [ebp - 8], 0
je 0x46fdb7
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x18]
call fcn.0042c9dc
push dword [ebp - 0x160]
push dword [ebp - 8]
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 0x18]
call fcn.0042c9b4
push dword [ebp - 0x164]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040377c
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0046fb5c
pop ecx
test al, al
je 0x46fdd6
mov byte [ebp - 0xd], 1
call fcn.00403304
jmp 0x46ff2f
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46fd15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fe0c
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindClose
ret
mov eax, dword [ebp + 8]
test byte [eax + 0x4c], 0x20
je 0x46ff2f
lea eax, [ebp - 0x15c]
push eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x160]
call fcn.004035dc
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 8]
call fcn.004036c4
lea eax, [ebp - 0x160]
mov edx, 0x46ff78
call fcn.004036c4
mov eax, dword [ebp - 0x160]
call fcn.00403880
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x46ff2f
xor eax, eax
push ebp
push 0x46ff28
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
call fcn.0046fabc
test al, al
je 0x46fef9
mov eax, dword [ebp + 0x10]
push eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x160]
call fcn.004035dc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.004036a4
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
call fcn.004036c4
lea eax, [ebp - 0x160]
mov edx, 0x46ff84
call fcn.004036c4
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0046fc94
pop ecx
test al, al
je 0x46fef9
mov byte [ebp - 0xd], 1
call fcn.00403304
jmp 0x46ff2f
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46fe78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ff2f
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ff61
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.00403568
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403568
ret