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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daf27
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 0x48b1f7
test ebx, ebx
je 0x48b1f7
push 0x20a
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push esi
push eax
call fcn.004bcf49
add esp, 0xc
test eax, eax
je 0x48b1f7
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 0x48afb1
lea ecx, [ebp - 0x26c]
xor edi, edi
call fcn.004335b0
mov eax, edi
jmp 0x48b1f9
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.00438660
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.0048eb60
push 0x4ed44c
lea ecx, [ebp - 0x254]
call fcn.0048eea0
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 0x48b01c
xor edi, edi
jmp 0x48b1d3
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 0x48b056
test dx, dx
je 0x48b052
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48b056
add eax, 4
add ecx, 4
test dx, dx
jne 0x48b030
xor eax, eax
jmp 0x48b05b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48b1b7
mov eax, 0x4e89dc
lea ecx, [ebp - 0x490]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x48b096
test dx, dx
je 0x48b092
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x48b096
add ecx, 4
add eax, 4
test dx, dx
jne 0x48b070
xor eax, eax
jmp 0x48b09b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48b1b7
test byte [ebp - 0x4bc], 0x10
je 0x48b11e
cmp dword [ebp + 8], 0
je 0x48b1b7
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00438660
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0048eb60
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0048eea0
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x23c]
push dword [ebp + 8]
cmovae ecx, dword [ebp - 0x23c]
mov edx, ebx
call fcn.0048aef0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.004335b0
jmp 0x48b1b7
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.0048eb60
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0048eea0
mov edi, dword [ebx]
lea eax, [ebp - 0x23c]
push eax
push dword [edi + 4]
push edi
call fcn.0048cfc0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x48b1ed
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 0x48b022
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 0x48b1f9
push str.list_T__too_long
call fcn.004a41c1
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.004a5d13
mov esp, ebp
pop ebp
ret