Function at 0x5e0f7f
Capabilities:
Get file attributes

Disassembly:
push 0x60
mov eax, 0x611d51
call fcn.004db4be
mov dword [ebp - 0x64], ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x5e118b
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x5e118b
mov eax, dword [0x668294]
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp edi, 3
jbe 0x5e0fd3
push 3
push 0x668324
push esi
call fcn.004ddf58
add esp, 0xc
test eax, eax
je 0x5e0fe0
mov edx, edi
mov ecx, esi
call fcn.0043bc96
test al, al
je 0x5e100e
lea eax, [edi - 3]
lea edx, [esi + 3]
push eax
lea ecx, [ebp - 0x58]
call fcn.00413747
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0040d242
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x5e1039
call fcn.00407965
jmp 0x5e1039
push ebx
push ebx
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
call esi
push eax
push eax
lea ecx, [ebp - 0x60]
call fcn.0040ceb7
push eax
push edi
push dword [ebp - 0x58]
push ebx
push ebx
call esi
dec eax
lea ecx, [ebp - 0x60]
push eax
call fcn.0040ce81
mov esi, dword [ebp - 0x60]
push dword [ebp - 0x5c]
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x64]
and eax, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x5e1061
mov ecx, ebx
jmp 0x5e106d
push eax
call fcn.00505bb3
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x5c]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.0040f513
push dword [ebp - 0x58]
mov ecx, edi
push esi
call fcn.005e09df
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x5e1177
mov ecx, ebx
mov dword [ebp - 0x68], ecx
jle 0x5e1174
lea edx, [edi + 0x14]
mov esi, edi
push ecx
mov ecx, edx
call fcn.00439910
mov ecx, dword [0x668294]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
add eax, 0x10
push ecx
push str.Artist
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.004b7400
mov edi, dword [ebp - 0x64]
cmp dword [edi - 8], ebx
jne 0x5e10e1
mov ecx, dword [ebp - 0x5c]
lea eax, [esi + 0xc]
push eax
push str.Artist
call fcn.00439200
push 0x40
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004e0bc0
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
add esp, 0xc
inc eax
mov dword [ebp - 0x68], eax
push 0xa
push ecx
push eax
call fcn.0051a2c7
add esp, 0xc
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040d2ee
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
push str.Tracknumber
mov byte [ebp - 4], 2
call fcn.00439200
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x5e113e
call fcn.00407965
mov ecx, dword [ebp - 0x5c]
lea eax, [esi + 8]
push eax
push str.Album
call fcn.00439200
lea ecx, [edi - 0xc]
mov byte [ebp - 4], bl
cmp ecx, 0x668010
je 0x5e1162
call fcn.00407965
mov ecx, dword [ebp - 0x68]
lea edx, [esi + 0x14]
cmp ecx, dword [ebp - 0x6c]
jl 0x5e109d
mov esi, dword [ebp - 0x60]
xor ebx, ebx
inc ebx
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5e1187
call fcn.00407965
mov eax, ebx
jmp 0x5e118d
xor eax, eax
call fcn.004db46d
ret 0xc