Function at 0x1000fea0
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x10070174
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
push ebx
mov ebx, dword [esp + 0x358]
push ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebp, ebp
lea ecx, [esp + 0x10]
mov al, byte [esp + 0x2b]
push ebp
push ebp
mov byte [esp + 0x18], al
call fcn.100159a0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x360]
push ebp
push ebx
mov ecx, edi
mov dword [esp + 0x360], ebp
call fcn.10014db0
test eax, eax
jl 0x1000ff3a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10015910
mov edx, dword [esp + 0x14]
push edx
call fcn.1003c010
add esp, 4
xor eax, eax
jmp 0x100104d3
push ebx
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathIsURLA]
test eax, eax
je 0x1000ff59
push 3
push ebx
call dword [sym.imp.SHLWAPI.dll_UrlIsA]
test eax, eax
je 0x1000ff59
mov esi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000ff69
test al, 0x10
je 0x1000ff71
cmp esi, ebp
je 0x10010059
push ebx
call fcn.10010520
add esp, 4
test eax, eax
jne 0x10010059
push 0x60
mov dword [esp + 0x28], ebp
mov esi, 0x8007000e
call fcn.1003bfe0
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x358], 1
je 0x1000ffaf
push ebp
mov ecx, eax
call fcn.10017a90
jmp 0x1000ffb1
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x358], 0
je 0x1000ffcc
mov edx, dword [eax + 8]
xor esi, esi
inc edx
mov ecx, edx
mov dword [eax + 8], edx
dec ecx
mov dword [eax + 8], ecx
cmp esi, ebp
mov dword [esp + 0x24], eax
jge 0x1000fff0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x20]
push ecx
jmp 0x10010307
push ebx
mov ecx, eax
call fcn.1000ea30
test eax, eax
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [eax]
je 0x1001004c
call dword [edx + 4]
mov eax, dword [edi + 0x10]
lea ecx, [edi + 8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.100159d0
mov dword [esp + 0x358], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10015910
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1003c010
add esp, 4
xor eax, eax
jmp 0x100104d3
call dword [edx + 4]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsURLA]
test eax, eax
je 0x10010139
push 3
push ebx
call dword [sym.imp.SHLWAPI.dll_UrlIsA]
test eax, eax
jne 0x100100d6
mov dl, byte [esp + 0x10]
sub esp, 0xc
mov dword [esp + 0x28], esp
mov esi, esp
push ebp
push ebp
mov ecx, esi
mov byte [esi], dl
call fcn.100159a0
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x2c]
push ecx
push eax
mov ecx, esi
call fcn.10008e90
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.100158a0
push ebx
push edi
call fcn.10010e90
mov esi, eax
mov dword [esp + 0x358], 0xffffffff
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
mov ecx, dword [eax]
push ecx
jmp 0x1001024a
lea ecx, [esp + 0x24]
push ebp
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
mov dword [esp + 0x34], 0x30c
call dword [sym.imp.SHLWAPI.dll_PathCreateFromUrlA]
test eax, eax
je 0x10010179
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x360], 0xffffffff
call fcn.10008e90
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.10015910
mov eax, dword [esp + 0x14]
push eax
call fcn.1003c010
add esp, 4
jmp 0x100104ce
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10010168
mov dword [esp + 0x358], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.10008e90
mov edx, dword [eax]
lea eax, [esp + 0x20]
push edx
jmp 0x100101aa
push 0x103
lea edx, [esp + 0x48]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100101c6
mov dword [esp + 0x358], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.10008e90
mov edx, dword [eax]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.10015910
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1003c010
add esp, 4
jmp 0x100104ce
test al, 0x10
je 0x10010268
mov dl, byte [esp + 0x10]
sub esp, 0xc
mov dword [esp + 0x2c], esp
mov esi, esp
push ebp
push ebp
mov ecx, esi
mov byte [esi], dl
call fcn.100159a0
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.10008e90
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.10008e90
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.100158a0
lea edx, [esp + 0x50]
push edx
push edi
call fcn.100106f0
mov esi, eax
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10008e90
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.10015910
mov eax, dword [esp + 0x14]
push eax
call fcn.1003c010
add esp, 4
mov eax, esi
jmp 0x100104d3
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov esi, eax
push esi
call fcn.100146b0
add esp, 4
test eax, eax
je 0x10010325
mov dl, byte [esp + 0x10]
sub esp, 0xc
mov dword [esp + 0x2c], esp
mov esi, esp
push ebp
push ebp
mov ecx, esi
mov byte [esi], dl
call fcn.100159a0
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.10008e90
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.10008e90
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.100158a0
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
push edx
push eax
push edi
call fcn.10011140
mov esi, eax
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.10008e90
mov edx, dword [eax]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.10015910
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1003c010
add esp, 4
mov eax, esi
jmp 0x100104d3
push 0x10085ee0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100104ee
mov dl, byte [esp + 0x2b]
mov dword [esp + 0x30], ebp
mov byte [esp + 0x2c], dl
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x360], 2
call fcn.10013d70
test eax, eax
je 0x100104a9
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp ebx, eax
je 0x10010409
mov ebp, dword [ebx + 0x31c]
mov eax, dword [ebx + 0x320]
cmp ebp, eax
je 0x100103f7
lea esi, [ebp + 0x108]
push ebx
mov ecx, edi
call fcn.10013940
mov edi, eax
test edi, edi
je 0x10010430
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x108]
push edx
push eax
push str.STARTPOS
mov ecx, edi
call fcn.1000e160
push ebp
push str.TITLE
mov ecx, edi
call fcn.1000dfc0
push esi
push str.ARTIST
mov ecx, edi
call fcn.1000dfc0
mov eax, dword [ebx + 0x320]
add ebp, 0x218
mov edi, dword [esp + 0x360]
add esi, 0x218
cmp ebp, eax
jne 0x10010394
mov eax, dword [esp + 0x34]
add ebx, 0x328
cmp ebx, eax
jne 0x1001037e
lea ecx, [esp + 0x2c]
call fcn.10015520
test eax, eax
je 0x100104a9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x358], 0
call fcn.10015400
jmp 0x100104fe
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x360], 0
call fcn.10015c50
mov eax, dword [esp + 0x30]
push eax
call fcn.1003c010
xor eax, eax
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x360], 0xffffffff
call fcn.10008e90
mov edx, dword [eax]
lea eax, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.10015910
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1003c010
add esp, 4
mov eax, 0x8007000e
jmp 0x100104d3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x358], 0
call fcn.10015400
lea ecx, [esp + 0x10]
mov dword [esp + 0x358], 0xffffffff
call fcn.100152a0
mov eax, 0x80004005
mov ecx, dword [esp + 0x350]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34c
ret 8
lea edx, [esp + 0x44]
mov ecx, edi
push edx
call fcn.10013940
cmp eax, ebp
je 0x100104ba
lea ecx, [esp + 0x10]
mov dword [esp + 0x358], 0xffffffff
call fcn.100152a0
xor eax, eax
jmp 0x100104d3