Function at 0x471d20
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x49dd37
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x4c02a0]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x4dc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4ec]
mov eax, dword [esp + 0x4f0]
mov dword [esp + 0x18], eax
test esi, esi
je 0x471e60
test eax, eax
je 0x471e60
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x2ce]
push ecx
mov word [esp + 0x2d0], ax
call fcn.004820f0
add esp, 0xc
push 0x104
lea edx, [esp + 0x2c8]
push esi
push edx
call fcn.00481646
add esp, 0xc
test eax, eax
je 0x471e60
lea eax, [esp + 0x2c4]
lea ecx, [esp + 0x3c]
call fcn.004127d0
mov dword [esp + 0x4e4], 0
mov eax, dword [esp + 0x40]
mov esi, 8
cmp dword [esp + 0x54], esi
jae 0x471de9
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x471e57
lea eax, [esp + 0x2c4]
lea ecx, [esp + 0x58]
call fcn.004127d0
lea edi, [esp + 0x58]
mov byte [esp + 0x4e4], 1
call fcn.00476860
push 0x4ac0fc
mov ebx, edi
call fcn.00476960
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x471e2f
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x4e4], 2
cmp ebp, 0xffffffff
jne 0x471e8a
lea esi, [esp + 0x58]
call fcn.0041dfc0
lea esi, [esp + 0x3c]
call fcn.0041dfc0
xor eax, eax
mov ecx, dword [esp + 0x4dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.0047cee5
add esp, 0x4d4
ret
mov ecx, 0x4ac100
lea eax, [esp + 0xa0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471ebc
test dx, dx
je 0x471eb8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471ebc
add eax, 4
add ecx, 4
test dx, dx
jne 0x471e96
xor eax, eax
jmp 0x471ec1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x471fbd
mov ecx, 0x4ac104
lea eax, [esp + 0xa0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471efb
test dx, dx
je 0x471ef7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471efb
add eax, 4
add ecx, 4
test dx, dx
jne 0x471ed5
xor eax, eax
jmp 0x471f00
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x471fbd
test byte [esp + 0x74], 0x10
je 0x471f6e
mov esi, dword [esp + 0x4f4]
test esi, esi
je 0x471fb6
lea eax, [esp + 0x2c4]
lea ecx, [esp + 0x20]
call fcn.004127d0
lea edi, [esp + 0x20]
mov byte [esp + 0x4e4], 3
call fcn.00476860
lea edx, [esp + 0xa0]
push edx
mov ebx, edi
call fcn.00476960
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x471f5d
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x18]
push esi
push ecx
push eax
call fcn.00471d20
add esp, 0xc
jmp 0x471fa5
lea edx, [esp + 0x3c]
push edx
lea esi, [esp + 0x24]
call fcn.0040dfa0
mov edi, esi
mov byte [esp + 0x4e4], 4
call fcn.00476860
lea eax, [esp + 0xa0]
push eax
mov ebx, esi
call fcn.00476960
mov ebx, dword [esp + 0x18]
mov eax, esi
call fcn.00472260
lea esi, [esp + 0x20]
mov byte [esp + 0x4e4], 2
call fcn.0041dfc0
lea ecx, [esp + 0x74]
push ecx
jmp 0x471fc2
lea edx, [esp + 0x74]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x471e8a
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [esp + 0x58]
call fcn.0041dfc0
lea esi, [esp + 0x3c]
call fcn.0041dfc0
mov eax, 1
jmp 0x471e62