Function at 0x4ab265
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x4c65a1
call fcn.004c2540
sub esp, 0x88
mov eax, dword [0x4e7384]
push esi
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x94]
call fcn.0040dbcf
push 0x80
push 3
push 1
xor esi, esi
push SysReAllocString
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x94]
call fcn.0040dc07
test eax, eax
jne 0x4ab2b6
xor edi, edi
jmp 0x4ab4a5
mov eax, dword [0x4e9150]
push ebx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x68]
cmp ebx, esi
je 0x4ab2cf
mov edi, dword [ebp - 0x6c]
jmp 0x4ab2de
lea esi, [ebp - 0x94]
call fcn.0040da56
mov edi, eax
xor esi, esi
cmp edi, 3
jbe 0x4ab2f7
push 3
push 0x4e914c
push ebx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4ab304
push ebx
mov eax, edi
call fcn.0041d69a
test al, al
pop ecx
je 0x4ab334
lea ecx, [ebx + 3]
push ecx
lea eax, [edi - 3]
lea ecx, [ebp - 0x58]
call fcn.004014d0
mov edi, eax
pop ecx
lea eax, [ebp - 0x54]
call fcn.00402e80
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4ab35d
push eax
call fcn.004013aa
jmp 0x4ab35d
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.00402f4f
push eax
push edi
push ebx
push 0
push 0
call esi
dec eax
lea ecx, [ebp - 0x54]
call fcn.00402f7b
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.00402ec3
push ebx
push esi
mov edx, edi
call fcn.004abc34
test eax, eax
mov dword [ebp - 0x5c], eax
jne 0x4ab3b0
add edi, 0xfffffff4
cmp edi, dword [0x4e9154]
je 0x4ab3a9
push edi
call fcn.004013aa
xor edi, edi
jmp 0x4ab4a4
and dword [ebp + 8], 0
test eax, eax
jle 0x4ab490
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x14]
call fcn.0041a5a2
mov ecx, dword [0x4e9150]
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.004a7d0e
mov eax, dword [ebp + 0xc]
cmp dword [eax - 8], 0
jne 0x4ab3fb
lea eax, [esi + 0xc]
push eax
mov ecx, edi
call fcn.004180df
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.00402e10
mov eax, edi
push eax
mov ecx, str.Tracknumber
mov byte [ebp - 4], 3
call fcn.004180df
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4ab458
push eax
call fcn.004013aa
lea eax, [esi + 8]
push eax
mov ecx, str.Album
call fcn.004180df
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4ab47e
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x5c]
mov dword [ebp + 8], eax
jl 0x4ab3bc
mov edi, dword [ebp - 0x54]
lea eax, [edi - 0xc]
cmp eax, dword [0x4e9154]
je 0x4ab4a1
push eax
call fcn.004013aa
xor edi, edi
inc edi
pop ebx
lea esi, [ebp - 0x94]
call fcn.0040dc91
mov eax, esi
call fcn.0040da24
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.004c2215
leave
ret 8