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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c05db
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov edi, dword [ebp + 0xc]
je 0x47eafb
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x47eae8
mov eax, dword [esi]
jmp 0x47eaea
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
jne 0x47eb02
xor eax, eax
jmp 0x47ed3e
push str..
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00419240
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x47eb26
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f4], eax
cmp eax, 0xffffffff
je 0x47ecf8
lea ecx, [ebp - 0x2c4]
push ecx
push 0x4cdb44
call fcn.0049e6e1
add esp, 8
test eax, eax
je 0x47eccf
lea edx, [ebp - 0x2c4]
push edx
push 0x4cdb48
call fcn.0049e6e1
add esp, 8
test eax, eax
je 0x47eccf
push 0x4cccdc
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00419240
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.004191b0
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], ebx
jb 0x47ebba
mov eax, dword [ebp - 0x64]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
test byte [ebp - 0x2f0], 0x10
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
je 0x47ec99
cmp byte [ebp + 0x10], cl
je 0x47ec7e
push 0x4cccdc
lea edx, [ebp - 0x9c]
push esi
push edx
call fcn.00419240
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.004191b0
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, eax
mov ebx, edi
call fcn.00422b00
mov byte [ebp - 4], 4
cmp dword [ebp - 0x6c], 8
jb 0x47ec34
mov eax, dword [ebp - 0x80]
push eax
call fcn.0049b30a
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x88], 8
jb 0x47ec62
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
lea ebx, [eax + 8]
cmp byte [ebp + 0x14], 0
je 0x47eca6
mov ecx, dword [ebp + 0x10]
push 1
push ecx
lea edx, [ebp - 0x48]
push edi
push edx
call fcn.0047eaa0
add esp, 0x10
jmp 0x47eca6
cmp byte [ebp + 0x10], cl
jne 0x47eca6
lea ecx, [ebp - 0x48]
call fcn.0046fe70
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x47ecbb
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
mov eax, dword [ebp - 0x2f4]
lea edx, [ebp - 0x2f0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47eb43
mov ecx, dword [ebp - 0x2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x47ed28
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b315
mov esp, ebp
pop ebp
ret