Function at 0x474bd0
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 0x474e96
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.0040364c
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403750
push eax
call fcn.0040587c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x474d48
xor edx, edx
push ebp
push 0x474d41
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x15c]
test al, 0x10
jne 0x474d12
cmp byte [ebp + 0xc], 0
je 0x474c6d
test al, 2
jne 0x474d12
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
call fcn.004737f0
mov eax, dword [ebp + 8]
test byte [eax + 0x4b], 0x10
jne 0x474cb5
push dword [ebp - 0x18]
push dword [ebp - 8]
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00403574
push dword [ebp - 0x160]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040364c
jmp 0x474cf3
cmp dword [ebp - 8], 0
je 0x474cf3
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x18]
call fcn.0042c888
push dword [ebp - 0x160]
push dword [ebp - 8]
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 0x18]
call fcn.0042c860
push dword [ebp - 0x164]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040364c
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00474a84
pop ecx
test al, al
je 0x474d12
mov byte [ebp - 0xd], 1
call fcn.004031d4
jmp 0x474e6b
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00405884
test eax, eax
jne 0x474c51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474d48
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00405874
ret
mov eax, dword [ebp + 8]
test byte [eax + 0x4c], 0x20
je 0x474e6b
lea eax, [ebp - 0x15c]
push eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x160]
call fcn.004034ac
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 8]
call fcn.00403594
lea eax, [ebp - 0x160]
mov edx, 0x474eb4
call fcn.00403594
mov eax, dword [ebp - 0x160]
call fcn.00403750
push eax
call fcn.0040587c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x474e6b
xor eax, eax
push ebp
push 0x474e64
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
call fcn.004749e4
test al, al
je 0x474e35
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.004034ac
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00403574
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
call fcn.00403594
lea eax, [ebp - 0x160]
mov edx, 0x474ec0
call fcn.00403594
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00474bd0
pop ecx
test al, al
je 0x474e35
mov byte [ebp - 0xd], 1
call fcn.004031d4
jmp 0x474e6b
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00405884
test eax, eax
jne 0x474db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e6b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00405874
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e9d
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.00403438
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403438
ret