Function at 0x4b0474
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x4cbf66
call fcn.004c7e20
sub esp, 0x88
mov eax, dword [0x4ed384]
push esi
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x94]
call fcn.0040dae0
push 0x80
push 3
push 1
xor esi, esi
push SysReAllocStringLen
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x94]
call fcn.0040db18
test eax, eax
jne 0x4b04c5
xor edi, edi
jmp 0x4b06b4
mov eax, dword [0x4f0980]
push ebx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x68]
cmp ebx, esi
je 0x4b04de
mov edi, dword [ebp - 0x6c]
jmp 0x4b04ed
lea esi, [ebp - 0x94]
call fcn.0040d967
mov edi, eax
xor esi, esi
cmp edi, 3
jbe 0x4b0506
push 3
push 0x4f097c
push ebx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4b0513
push ebx
mov eax, edi
call fcn.0041d3d3
test al, al
pop ecx
je 0x4b0543
lea ecx, [ebx + 3]
push ecx
lea eax, [edi - 3]
lea ecx, [ebp - 0x58]
call fcn.00401621
mov edi, eax
pop ecx
lea eax, [ebp - 0x54]
call fcn.00402f73
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b056c
push eax
call fcn.004013aa
jmp 0x4b056c
push esi
push esi
push edi
push ebx
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call esi
push eax
lea ecx, [ebp - 0x54]
call fcn.00403042
push eax
push edi
push ebx
push 0
push 0
call esi
dec eax
lea ecx, [ebp - 0x54]
call fcn.0040306e
mov edi, dword [ebp - 0x54]
mov eax, dword [edi - 8]
push dword [ebp + 0xc]
lea ebx, [edi + eax*2]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
and al, 1
dec al
neg al
sbb eax, eax
inc eax
mov dword [esi], eax
lea eax, [esi + 4]
call fcn.00402fb6
push ebx
push esi
mov edx, edi
call fcn.004b0e43
test eax, eax
mov dword [ebp - 0x5c], eax
jne 0x4b05bf
add edi, 0xfffffff4
cmp edi, dword [0x4f0984]
je 0x4b05b8
push edi
call fcn.004013aa
xor edi, edi
jmp 0x4b06b3
and dword [ebp + 8], 0
test eax, eax
jle 0x4b069f
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x14]
call fcn.00416263
mov ecx, dword [0x4f0980]
mov dword [ebp + 0xc], ecx
lea ebx, [eax + 0x10]
lea eax, [ebp + 0xc]
push eax
mov edi, str.Artist
mov eax, edi
mov byte [ebp - 4], 2
call fcn.004ac7c5
mov eax, dword [ebp + 0xc]
cmp dword [eax - 8], 0
jne 0x4b060a
lea eax, [esi + 0xc]
push eax
mov ecx, edi
call fcn.00417fc1
and word [ebp - 0x50], 0
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
push 0xa
lea ecx, [ebp - 0x50]
inc eax
push ecx
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCRT.dll__itow]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea edi, [ebp - 0x58]
call fcn.00402f03
mov eax, edi
push eax
mov ecx, str.Tracknumber
mov byte [ebp - 4], 3
call fcn.00417fc1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b0667
push eax
call fcn.004013aa
lea eax, [esi + 8]
push eax
mov ecx, str.Album
call fcn.00417fc1
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b068d
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x5c]
mov dword [ebp + 8], eax
jl 0x4b05cb
mov edi, dword [ebp - 0x54]
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x4b06b0
push eax
call fcn.004013aa
xor edi, edi
inc edi
pop ebx
lea esi, [ebp - 0x94]
call fcn.0040dba2
mov eax, esi
call fcn.0040d935
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.004c7b01
leave
ret 8