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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da8e7
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
test esi, esi
je 0x48acd7
test ebx, ebx
je 0x48acd7
push 0x20a
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push esi
push eax
call fcn.004bc949
add esp, 0xc
test eax, eax
je 0x48acd7
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00438660
mov dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
cmp dword [ebp - 0x258], 8
cmovae eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48aa91
lea ecx, [ebp - 0x26c]
xor edi, edi
call fcn.004335b0
mov eax, edi
jmp 0x48acd9
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.00438660
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.0048e640
push 0x4ed44c
lea ecx, [ebp - 0x254]
call fcn.0048e980
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x4bc]
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x4c0], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x48aafc
xor edi, edi
jmp 0x48acb3
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x4ed430
lea eax, [ebp - 0x490]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48ab36
test dx, dx
je 0x48ab32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48ab36
add eax, 4
add ecx, 4
test dx, dx
jne 0x48ab10
xor eax, eax
jmp 0x48ab3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48ac97
mov eax, 0x4e89dc
lea ecx, [ebp - 0x490]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x48ab76
test dx, dx
je 0x48ab72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x48ab76
add ecx, 4
add eax, 4
test dx, dx
jne 0x48ab50
xor eax, eax
jmp 0x48ab7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48ac97
test byte [ebp - 0x4bc], 0x10
je 0x48abfe
cmp dword [ebp + 8], 0
je 0x48ac97
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00438660
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0048e640
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0048e980
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x23c]
push dword [ebp + 8]
cmovae ecx, dword [ebp - 0x23c]
mov edx, ebx
call fcn.0048a9d0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.004335b0
jmp 0x48ac97
xor eax, eax
mov dword [ebp - 0x228], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x23c], ax
lea ecx, [ebp - 0x23c]
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x22c], 0
push eax
call fcn.00438df0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.0048e640
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0048e980
mov edi, dword [ebx]
lea eax, [ebp - 0x23c]
push eax
push dword [edi + 4]
push edi
call fcn.0048caa0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x48accd
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x23c]
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov byte [ebp - 4], 2
mov dword [eax], edx
call fcn.004335b0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x4bc]
push eax
push esi
call edi
test eax, eax
jne 0x48ab02
push esi
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x254]
call fcn.004335b0
lea ecx, [ebp - 0x26c]
call fcn.004335b0
mov eax, edi
jmp 0x48acd9
push str.list_T__too_long
call fcn.004a3c3b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret