Function at 0x5debf0
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
sub esp, 0x4ac
mov eax, dword [esp + 0x4b4]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x28c]
push str._s.
push ecx
xor ebp, ebp
call fcn.0044d095
add esp, 0xc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x288]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x5dec4e
mov esi, 0x54416464
push esi
call fcn.005df1b0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x4ac
ret
mov edi, dword [esp + 0x1c]
mov esi, 0x66d3a8
and edi, 0x10
lea eax, [esp + 0x48]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x5dec82
test cl, cl
je 0x5dec7e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x5dec82
add eax, 2
add esi, 2
test cl, cl
jne 0x5dec5e
xor eax, eax
jmp 0x5dec87
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5def9f
mov esi, 0x66e49c
lea eax, [esp + 0x48]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x5decbc
test cl, cl
je 0x5decb8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x5decbc
add eax, 2
add esi, 2
test cl, cl
jne 0x5dec98
xor eax, eax
jmp 0x5decc1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5def9f
mov ecx, dword [esp + 0x4c0]
lea eax, [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x164]
push 0x66fd64
push edx
call fcn.0044d095
mov ecx, dword [0x6b4f70]
lea eax, [esp + 0x16c]
push eax
push 0
call dword [ecx + 0x40]
add esp, 0x18
test eax, eax
jne 0x5def9f
mov edx, dword [0x6b4f70]
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x5dee10
lea eax, [esp + 0x48]
push str..lnk
push eax
call fcn.0044d5a0
add esp, 8
test eax, eax
jne 0x5ded47
lea ecx, [esp + 0x48]
push str..LNK
push ecx
call fcn.0044d5a0
add esp, 8
test eax, eax
je 0x5dee10
mov ecx, dword [0x6b4f70]
lea edx, [esp + 0x38c]
lea eax, [esp + 0x15c]
push edx
push eax
call dword [ecx + 0x4c]
lea edi, [esp + 0x394]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x164]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x6b4f70]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x164]
push ecx
push 0
call dword [edx + 0x40]
add esp, 0x10
test eax, eax
je 0x5dedad
test ebp, ebp
jne 0x5defc2
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5dedc4
test al, 0x10
jne 0x5dee18
lea ecx, [esp + 0x18]
push ecx
push str.a_File_Alias
push 0x130
call fcn.005de1d0
add esp, 0xc
test eax, eax
jne 0x5def9f
mov ecx, dword [esp + 0x4bc]
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x15c]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10], eax
mov ecx, 0x4b
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
jmp 0x5def9f
test edi, edi
je 0x5deeff
mov ecx, dword [0x6b4f70]
mov ebp, dword [esp + 0x4bc]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x5deedf
mov edi, dword [ebp + 0x14]
test edi, edi
mov dword [esp + 0x10], edi
je 0x5dee8c
lea esi, [edi + 4]
lea eax, [esp + 0x15c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x5dee69
test cl, cl
je 0x5dee65
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x5dee69
add eax, 2
add esi, 2
test cl, cl
jne 0x5dee45
xor eax, eax
jmp 0x5dee6e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5dee7e
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x10], edi
je 0x5dee85
jmp 0x5dee3b
xor ebp, ebp
jmp 0x5def9f
mov ebp, dword [esp + 0x4bc]
lea eax, [esp + 0x10]
push eax
push str.an_SPSeenFolder
push 0x130
call fcn.005de1d0
add esp, 0xc
test eax, eax
jne 0x5defc4
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x15c]
lea edi, [ecx + 4]
mov ecx, 0x4b
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
inc ecx
test eax, eax
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x18], ecx
jne 0x5defc4
lea eax, [esp + 0x15c]
push eax
push ebp
call fcn.005debf0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x5defc2
jmp 0x5def9f
mov edx, dword [esp + 0x4bc]
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.005dd8e0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x5defc2
mov eax, dword [esp + 0xc]
mov ecx, 0x4b
lea esi, [esp + 0x15c]
push 0x2e
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x134], edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x14c], ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x138], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x13c], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [edx + 0x140], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x144], edx
mov eax, dword [esp + 0x10]
add eax, 4
push eax
call fcn.0044df50
mov ecx, dword [esp + 0x14]
add esp, 8
mov dword [ecx + 0x148], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5dec4e
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 0x4ac
ret