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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c4fc
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x54b144]
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 0x488e60
test edi, edi
je 0x488e60
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dcc10
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004f29e9
add esp, 0x18
test eax, eax
je 0x488e60
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 0x488ab0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a750
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 0x488aff
xor edi, edi
jmp 0x488e20
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 0x488b30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044a750
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
cmp ecx, 1
jb 0x488ba3
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 + 0x530e54]
je 0x488ba3
add eax, 2
cmp eax, 4
jb 0x488b80
push 1
push 0x5329c0
lea ecx, [ebp - 0x234]
call fcn.0044ae60
push 0x531838
lea ecx, [ebp - 0x234]
call fcn.0048f080
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 0x488bf0
xor edi, edi
jmp 0x488dc3
mov ecx, 0x53183c
lea eax, [ebp - 0x488]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488c26
test dx, dx
je 0x488c22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488c26
add eax, 4
add ecx, 4
test dx, dx
jne 0x488c00
xor eax, eax
jmp 0x488c2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x488da3
mov ecx, 0x531840
lea eax, [ebp - 0x488]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488c66
test dx, dx
je 0x488c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x488c40
xor eax, eax
jmp 0x488c6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x488da3
test byte [ebp - 0x4b4], 0x10
jne 0x488da3
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x264]
call fcn.0044add0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x254]
cmp ecx, 1
jb 0x488ce3
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 + 0x530e54]
je 0x488ce3
add eax, 2
cmp eax, 4
jb 0x488cc0
push 1
push 0x5329c0
lea ecx, [ebp - 0x264]
call fcn.0044ae60
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x264]
call fcn.0048f080
cmp dword [edi + 4], 0x7ffffff
mov ebx, dword [edi]
je 0x488e83
mov dword [ebp - 0x4c0], edi
mov byte [ebp - 4], 5
push 0x20
mov dword [ebp - 0x4bc], 0
call fcn.004daf9a
mov edi, eax
add esp, 4
lea eax, [ebp - 0x264]
mov dword [ebp - 0x4bc], edi
lea ecx, [edi + 8]
push eax
call fcn.0044add0
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 0x488d9d
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488d93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488e7e
push edx
push ecx
call fcn.004dafca
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 0x488bf0
push esi
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x488e03
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488df9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488e7e
push edx
push ecx
call fcn.004dafca
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 0x488e5c
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488e7e
push edx
push ecx
call fcn.004dafca
add esp, 8
mov eax, edi
jmp 0x488e62
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.004dafe6
mov esp, ebp
pop ebp
ret
call fcn.004e002c
push str.list_too_long
call fcn.004d9962
int3