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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10070556
push eax
mov eax, 0x16a4
mov dword fs:[0], esp
call fcn.1006e670
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x16c4]
push 0x10085f84
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
mov al, byte [esp + 0x1f]
xor ebx, ebx
mov dword [esp + 0x16bc], ebx
mov byte [esp + 0x344], al
mov dword [esp + 0x348], ebx
mov dword [esp + 0x34c], ebx
mov dword [esp + 0x350], ebx
push 0x208
lea ecx, [esp + 0x13ac]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ecx
mov byte [esp + 0x16c8], 1
mov dword [esp + 0x1c], ebx
call edi
lea edx, [esp + 0x13a8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x13a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
cmp esi, ebx
mov dword [esp + 0x18], ebx
je 0x10014644
push esi
lea ecx, [esp + 0x664]
push 0x824
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x10013f6a
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x10013e4f
xor ebx, ebx
mov al, byte [esp + 0x660]
cmp al, 9
je 0x10014258
cmp al, 0x20
je 0x10014258
mov ebx, dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea edx, [esp + 0x660]
push str._r_n_t
push edx
call ebx
push 0x1008602c
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
push eax
lea eax, [esp + 0x664]
push 0x1008602c
push eax
call esi
test eax, eax
je 0x10013f41
push str.PERFORMER
call ebp
push eax
lea ecx, [esp + 0x664]
push str.PERFORMER
push ecx
call esi
test eax, eax
jne 0x10013fa0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10013ef7
mov ecx, 0xca
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x16c8]
push edx
push 1
mov ecx, edi
mov eax, dword [edi + 8]
push eax
call fcn.10016060
mov dword [esp + 0x18], 1
jmp 0x10013efe
mov edi, dword [esp + 0x16c8]
mov esi, dword [edi + 8]
push 0x104
push str.PERFORMER
call ebp
lea ecx, [esp + eax + 0x664]
add esi, 0xfffffee8
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [edi + 8]
push str._t_r_n__
sub edx, 0x118
push edx
call ebx
mov dword [esp + 0x10], 1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x660]
push edx
push 0x824
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
mov esi, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x10013e4d
xor ebx, ebx
mov edx, dword [esp + 0x348]
push edx
call fcn.1003c010
push esi
mov dword [esp + 0x350], ebx
mov dword [esp + 0x354], ebx
mov dword [esp + 0x358], ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
mov eax, 1
jmp 0x10014656
push str.TITLE
call ebp
push eax
lea eax, [esp + 0x664]
push str.TITLE
push eax
call esi
test eax, eax
jne 0x10014032
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10013ff3
mov ecx, 0xca
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x16c8]
lea ecx, [esp + 0x2c]
push ecx
push 1
mov edx, dword [edi + 8]
mov ecx, edi
push edx
call fcn.10016060
mov dword [esp + 0x18], 1
jmp 0x10013ffa
mov edi, dword [esp + 0x16c8]
mov esi, dword [edi + 8]
push 0x104
push str.TITLE
call ebp
lea eax, [esp + eax + 0x664]
add esi, 0xfffffde0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [edi + 8]
push str._t_r_n__
sub ecx, 0x220
push ecx
jmp 0x10013f31
push str.FILE
call ebp
push eax
lea edx, [esp + 0x664]
push str.FILE
push edx
call esi
test eax, eax
jne 0x10013f41
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1001408f
mov ebx, dword [esp + 0x16c8]
mov ecx, 0xca
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x2c]
push eax
push 1
push ecx
mov ecx, ebx
call fcn.10016060
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esp + 0x18], 1
jmp 0x10014096
mov ebx, dword [esp + 0x16c8]
push 0x30c
push str.FILE
call ebp
lea edx, [esp + eax + 0x664]
lea eax, [esp + 0xe88]
push edx
push eax
call edi
push str.WAVE
lea ecx, [esp + 0xe88]
push 0
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRStrIA]
mov esi, eax
test esi, esi
je 0x100144e6
push str.WAVE
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100144e6
lea edx, [esp + 0xe84]
push str._t_r_n__
push edx
mov byte [esi], al
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea eax, [esp + 0xe84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeA]
test eax, eax
je 0x10014233
lea ecx, [esp + 0x13a8]
push 0x208
lea edx, [esp + 0x358]
push ecx
push edx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xe84]
lea ecx, [esp + 0x354]
push eax
push ecx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea edx, [esp + 0x354]
push edx
call ebx
cmp eax, 0xffffffff
jne 0x10014206
mov eax, dword [esp + 0x16c4]
push 0x103
lea ecx, [esp + 0x358]
push eax
push ecx
call edi
lea edx, [esp + 0x354]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea eax, [esp + 0x354]
push str..ape
push eax
call esi
lea ecx, [esp + 0x354]
push ecx
call ebx
cmp eax, 0xffffffff
je 0x100141ce
test al, 0x10
jne 0x100141ce
mov eax, dword [esp + 0x16c8]
lea edx, [esp + 0x354]
push 0x104
push edx
mov ecx, dword [eax + 8]
sub ecx, 0x328
push ecx
call edi
mov dword [esp + 0x10], 1
jmp 0x10013f41
lea edx, [esp + 0x354]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea eax, [esp + 0x354]
push str..flac
push eax
call esi
lea ecx, [esp + 0x354]
push ecx
call ebx
cmp eax, 0xffffffff
je 0x100144af
test al, 0x10
jne 0x100144af
mov eax, dword [esp + 0x16c8]
lea edx, [esp + 0x354]
push 0x104
push edx
mov ecx, dword [eax + 8]
sub ecx, 0x328
push ecx
call edi
mov dword [esp + 0x10], 1
jmp 0x10013f41
mov eax, dword [ebx + 8]
lea edx, [esp + 0xe84]
push 0x104
sub eax, 0x328
push edx
push eax
call edi
mov dword [esp + 0x10], 1
jmp 0x10013f41
cmp dword [esp + 0x18], ebx
je 0x1001451d
mov ebx, dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea ecx, [esp + 0x660]
push str._r_n_t
push ecx
call ebx
mov edx, dword [esp + 0x16c8]
push str.TRACK
mov esi, dword [edx + 8]
call ebp
push eax
lea eax, [esp + 0x664]
push str.TRACK
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x1001430b
xor edi, edi
push str.AUDIO
lea ecx, [esp + 0x664]
push edi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRStrIA]
cmp eax, edi
je 0x1001453d
push str.AUDIO
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1001453d
mov dword [esp + 0x10], edi
mov ecx, 0x85
lea edi, [esp + 0x1191]
mov byte [esp + 0x1190], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esi, 0xfffffff0
lea edx, [esp + 0x1190]
stosb byte es:[edi], al
mov eax, dword [esi + 8]
push edx
push 1
push eax
mov ecx, esi
call fcn.10015d30
jmp 0x10013f3b
push str.INDEX
call ebp
push eax
lea ecx, [esp + 0x664]
push str.INDEX
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x10014402
mov edi, dword [esi - 8]
push str.INDEX
mov dword [esp + 0x14], eax
call ebp
lea esi, [esp + eax + 0x660]
push str._r_n_t
push esi
call ebx
push 2
push 0x10085fe4
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNA]
test eax, eax
jne 0x10013f3b
add esi, 2
push str._r_n_t
push esi
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push 0x3a
push esi
mov ebx, eax
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov esi, eax
test esi, esi
je 0x10014596
inc esi
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push 0x3a
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.SHLWAPI.dll_StrChrA]
xor esi, esi
cmp eax, esi
je 0x100145ee
inc eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esp + 0x24], eax
lea eax, [ebx + ebx*2]
fild dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x20]
lea eax, [eax + edx*4]
fmul qword [0x100757c8]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 7
cdq
mov dword [edi - 8], eax
mov dword [edi - 4], edx
fild qword [edi - 8]
faddp st(1)
call sub.MSVCRT.dll__ftol
mov dword [edi - 8], eax
mov dword [edi - 4], edx
jmp 0x10013f3b
push str.TITLE
call ebp
push eax
lea ecx, [esp + 0x664]
push str.TITLE
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x10014452
mov esi, dword [esi - 8]
push 0x104
push str.TITLE
mov dword [esp + 0x18], eax
sub esi, 0x218
call ebp
lea edx, [esp + eax + 0x664]
push edx
push esi
call edi
push str._t_r_n__
push esi
call ebx
jmp 0x10013f41
push str.PERFORMER
call ebp
push eax
lea eax, [esp + 0x664]
push str.PERFORMER
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x10013f41
mov dword [esp + 0x10], eax
mov eax, dword [esi - 8]
sub eax, 0x218
push 0x104
push str.PERFORMER
lea esi, [eax + 0x108]
call ebp
lea ecx, [esp + eax + 0x664]
push ecx
push esi
call edi
push str._t_r_n__
push esi
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
jmp 0x10013f41
mov ecx, dword [esp + 0x348]
push ecx
call fcn.1003c010
mov edx, dword [esp + 0x18]
xor eax, eax
push edx
mov dword [esp + 0x350], eax
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
jmp 0x10014654
mov eax, dword [esp + 0x348]
push eax
call fcn.1003c010
mov ecx, dword [esp + 0x18]
xor eax, eax
push ecx
mov dword [esp + 0x350], eax
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
jmp 0x10014654
lea ecx, [esp + 0x344]
mov byte [esp + 0x16bc], 0
call fcn.10032790
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
jmp 0x10014651
mov edx, dword [esp + 0x34c]
mov eax, dword [esp + 0x348]
push edx
push eax
lea ecx, [esp + 0x34c]
mov byte [esp + 0x16c4], 0
call fcn.10008e80
mov ecx, dword [esp + 0x348]
push ecx
call fcn.1003c010
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34c], edi
push edx
mov dword [esp + 0x354], edi
mov dword [esp + 0x358], edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
jmp 0x10014654
mov eax, dword [esp + 0x34c]
mov ecx, dword [esp + 0x348]
push eax
push ecx
lea ecx, [esp + 0x34c]
mov byte [esp + 0x16c4], 0
call fcn.10008e80
mov edx, dword [esp + 0x348]
push edx
call fcn.1003c010
xor eax, eax
mov dword [esp + 0x34c], eax
mov dword [esp + 0x350], eax
mov dword [esp + 0x354], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
jmp 0x10014654
mov ecx, dword [esp + 0x34c]
mov edx, dword [esp + 0x348]
push ecx
push edx
lea ecx, [esp + 0x34c]
mov byte [esp + 0x16c4], 0
call fcn.10008e80
mov eax, dword [esp + 0x348]
push eax
call fcn.1003c010
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34c], esi
push ecx
mov dword [esp + 0x354], esi
mov dword [esp + 0x358], esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
jmp 0x10014654
mov eax, dword [esp + 0x348]
push eax
call fcn.1003c010
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x16b4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x16b0
ret 8