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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f7bc
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 0x4890c0
test edi, edi
je 0x4890c0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dfec0
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004f5d89
add esp, 0x18
test eax, eax
je 0x4890c0
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 0x488d10
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a770
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 0x488d5f
xor edi, edi
jmp 0x489080
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 0x488d90
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044a770
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
cmp ecx, 1
jb 0x488e03
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 + 0x534df4]
je 0x488e03
add eax, 2
cmp eax, 4
jb 0x488de0
push 1
push 0x536960
lea ecx, [ebp - 0x234]
call fcn.0044aee0
push 0x5357d8
lea ecx, [ebp - 0x234]
call fcn.0048f560
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 0x488e50
xor edi, edi
jmp 0x489023
mov ecx, 0x5357dc
lea eax, [ebp - 0x488]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488e86
test dx, dx
je 0x488e82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488e86
add eax, 4
add ecx, 4
test dx, dx
jne 0x488e60
xor eax, eax
jmp 0x488e8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x489003
mov ecx, 0x5357e0
lea eax, [ebp - 0x488]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488ec6
test dx, dx
je 0x488ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488ec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x488ea0
xor eax, eax
jmp 0x488ecb
sbb eax, eax
or eax, 1
test eax, eax
je 0x489003
test byte [ebp - 0x4b4], 0x10
jne 0x489003
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 0x488f43
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 + 0x534df4]
je 0x488f43
add eax, 2
cmp eax, 4
jb 0x488f20
push 1
push 0x536960
lea ecx, [ebp - 0x264]
call fcn.0044aee0
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x264]
call fcn.0048f560
cmp dword [edi + 4], 0x7ffffff
mov ebx, dword [edi]
je 0x4890e3
mov dword [ebp - 0x4c0], edi
mov byte [ebp - 4], 5
push 0x20
mov dword [ebp - 0x4bc], 0
call fcn.004de0ba
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 0x488ffd
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488ff3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4890de
push edx
push ecx
call fcn.004de0ea
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 0x488e50
push esi
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x489063
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x489059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4890de
push edx
push ecx
call fcn.004de0ea
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 0x4890bc
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4890b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4890de
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov eax, edi
jmp 0x4890c2
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.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
push str.list_too_long
call fcn.004dca82
int3