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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fb1c
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x550144]
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 edi, edx
mov dword [ebp - 0x4b8], edi
mov esi, ecx
test esi, esi
je 0x489050
test edi, edi
je 0x489050
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e0230
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004f60f9
add esp, 0x18
test eax, eax
je 0x489050
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
lea edx, [ecx + 2]
mov word [ebp - 0x24c], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488ca0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a760
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
cmovae eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x488cef
xor edi, edi
jmp 0x489010
xor eax, eax
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea edx, [ecx + 2]
mov word [ebp - 0x234], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488d20
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044a760
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
cmp ecx, 1
jb 0x488d93
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
movzx ecx, word [eax + ecx*2 - 2]
xor eax, eax
nop dword [eax]
cmp cx, word [eax + 0x534f54]
je 0x488d93
add eax, 2
cmp eax, 4
jb 0x488d70
push 1
push 0x536ac0
lea ecx, [ebp - 0x234]
call fcn.0044aee0
push 0x535938
lea ecx, [ebp - 0x234]
call fcn.0048f4e0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x4b4]
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x4c4], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x488de0
xor edi, edi
jmp 0x488fb3
mov ecx, 0x53593c
lea eax, [ebp - 0x488]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488e16
test dx, dx
je 0x488e12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488e16
add eax, 4
add ecx, 4
test dx, dx
jne 0x488df0
xor eax, eax
jmp 0x488e1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x488f93
mov ecx, 0x535940
lea eax, [ebp - 0x488]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488e56
test dx, dx
je 0x488e52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488e56
add eax, 4
add ecx, 4
test dx, dx
jne 0x488e30
xor eax, eax
jmp 0x488e5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x488f93
test byte [ebp - 0x4b4], 0x10
jne 0x488f93
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x264]
call fcn.0044ae50
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x254]
cmp ecx, 1
jb 0x488ed3
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
movzx ecx, word [eax + ecx*2 - 2]
xor eax, eax
nop dword [eax]
cmp cx, word [eax + 0x534f54]
je 0x488ed3
add eax, 2
cmp eax, 4
jb 0x488eb0
push 1
push 0x536ac0
lea ecx, [ebp - 0x264]
call fcn.0044aee0
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x264]
call fcn.0048f4e0
cmp dword [edi + 4], 0x7ffffff
mov ebx, dword [edi]
je 0x489073
mov dword [ebp - 0x4c0], edi
mov byte [ebp - 4], 5
push 0x20
mov dword [ebp - 0x4bc], 0
call fcn.004de42a
mov edi, eax
add esp, 4
lea eax, [ebp - 0x264]
mov dword [ebp - 0x4bc], edi
lea ecx, [edi + 8]
push eax
call fcn.0044ae50
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], 0
inc dword [eax + 4]
mov eax, dword [ebx + 4]
mov dword [edi], ebx
mov dword [edi + 4], eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x250]
mov dword [ebx + 4], edi
mov dword [eax], edi
cmp edx, 8
jb 0x488f8d
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488f83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48906e
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edi, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x488de0
push esi
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x488ff3
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488fe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48906e
push edx
push ecx
call fcn.004de45a
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x48904c
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x489042
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48906e
push edx
push ecx
call fcn.004de45a
add esp, 8
mov eax, edi
jmp 0x489052
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 - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
call fcn.004e364a
push str.list_too_long
call fcn.004dcdf2
int3