Function at 0x10005f70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017653
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x1001d080]
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 eax, dword [0x1002331c]
mov esi, ecx
mov ebx, 8
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x88], eax
cmp dword [esi + 0x14], ebx
jb 0x10005fbc
mov eax, dword [esi]
jmp 0x10005fbe
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000634e
lea ecx, [ebp - 0x69]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.10005450
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x14], ebx
jb 0x10005fec
mov eax, dword [esi]
jmp 0x10005fee
mov eax, esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.100056d0
add esp, 4
test al, al
jne 0x10006013
cmp dword [esi + 0x14], ebx
jb 0x10006008
mov esi, dword [esi]
push esi
push str.Unable_to_read_songs_map___s_
jmp 0x10006305
mov eax, dword [ebp - 0xc4]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
cmp ebx, eax
je 0x100062f7
mov eax, 0x22
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], eax
jmp 0x10006045
mov ebx, dword [ebp - 0x68]
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
lea eax, [ebp - 0x90]
push eax
add ebx, 0xc
push ebx
mov byte [ebp - 4], 2
call fcn.10006600
lea edx, [ebp - 0x8c]
mov edi, eax
push edx
lea ecx, [edi + 1]
push ebx
mov dword [ebp - 0x70], ecx
call fcn.10006600
mov esi, eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [esi + 1]
push ebx
call fcn.10006600
lea edx, [ebp - 0x80]
push edx
lea ecx, [eax + 1]
push ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ecx
call fcn.10006600
mov dword [ebp - 0x84], eax
cmp edi, 0xffffffff
je 0x10006181
cmp esi, 0xffffffff
je 0x10006181
cmp dword [ebp - 0x74], 0xffffffff
je 0x1000614a
cmp eax, 0xffffffff
je 0x1000614a
mov ecx, dword [ebp - 0x70]
sub esi, edi
dec esi
push esi
lea esi, [ebp - 0x64]
mov edx, ebx
call fcn.10002b80
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10002c20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x1000610c
mov eax, dword [ebp - 0x64]
push eax
call fcn.10007dc9
add esp, 4
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
dec eax
push eax
lea esi, [ebp - 0x64]
mov edx, ebx
call fcn.10002b80
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10002c20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x1000619e
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10007dc9
add esp, 4
jmp 0x1000619e
mov ecx, dword [ebp - 0x70]
sub esi, edi
dec esi
push esi
lea esi, [ebp - 0x64]
mov edx, ebx
call fcn.10002b80
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.10002c20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x1000618f
mov edx, dword [ebp - 0x64]
push edx
call fcn.10007dc9
add esp, 4
jmp 0x1000618f
push 0
push ebx
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10002c90
push 0xe
mov eax, str.Unknown_Artist
lea esi, [ebp - 0x2c]
call fcn.100036f0
mov edi, dword [ebp - 0x68]
mov ax, word [edi + 8]
mov ebx, 8
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x100061bc
lea eax, [ebp - 0x48]
push eax
call fcn.10001190
mov esi, eax
mov eax, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0xd0], esi
cmp dword [ebp - 0x18], ebx
jae 0x100061d8
lea eax, [ebp - 0x2c]
push eax
call fcn.10001190
mov cx, word [edi + 8]
mov edi, dword [ebp - 0x88]
mov edx, dword [ebp - 0xd4]
mov ebx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xdc], esi
mov esi, dword [eax]
mov eax, dword [esi + 4]
add esp, 4
push eax
push esi
lea eax, [ebp - 0xe4]
mov word [ebp - 0xe4], cx
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xd8], ebx
call fcn.10006e90
mov ecx, dword [edi + 8]
mov edx, 0xffffffe
sub edx, ecx
cmp edx, 1
jb 0x1000636a
inc ecx
mov dword [edi + 8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push ecx
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x9c]
push eax
push edi
call fcn.10006930
cmp byte [ebp - 0x98], 0
jne 0x100062a0
mov esi, dword [ebp - 0x9c]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1000627d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10006294
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xd0]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ebx
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x100062b6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10007dc9
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x100062de
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10007dc9
add esp, 4
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
xor edi, edi
mov dword [ebp - 0x68], eax
cmp eax, dword [ebp - 0xc4]
jne 0x10006042
mov esi, dword [ebp - 0x7c]
cmp dword [esi + 0x14], 8
jb 0x100062ff
mov esi, dword [esi]
push esi
push str.Songs_map___s__read
push edi
call dword [sym.imp.kload.dll__LogX]
mov eax, dword [ebp - 0xb8]
add esp, 0xc
cmp eax, edi
je 0x10006322
push eax
call fcn.10007dc9
add esp, 4
lea ebx, [ebp - 0xc4]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
call fcn.10005670
mov eax, dword [ebp - 0xc4]
push eax
call fcn.10007dc9
add esp, 4
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.10007054
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.10006f99
int3