Function at 0x406e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dcbd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28c], edi
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
mov dword [ebp - 0x284], eax
xor eax, eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x52], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x400
mov byte [ebp - 4], 1
push 0x14
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.0041be18
mov dword [ebp - 0x1c], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0x10000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 2
call fcn.0040c6e0
cmp dword [eax + 0x30], 0
je 0x406ed5
xor esi, esi
jmp 0x4074ed
push str.extractor
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c4c0
mov edx, 0x1000
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x406f27
mov ax, word [ecx + 0x1e]
shr ax, 0xa
test al, 1
je 0x406f27
add ecx, 0x10
test word [ecx + 0xe], dx
jne 0x406f12
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x406f27
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [ebp - 0x284]
mov dword [esi], eax
jmp 0x406f2d
mov esi, dword [ebp - 0x284]
push str.thumbnail
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c4c0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x406f78
mov ax, word [ecx + 0x1e]
shr ax, 0xa
test al, 1
je 0x406f78
add ecx, 0x10
mov eax, 0x1000
test word [ecx + 0xe], ax
jne 0x406f6a
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x406f78
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0xc], eax
push str.playlist_title
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c4c0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x406fc3
mov ax, word [ecx + 0x1e]
shr ax, 0xa
test al, 1
je 0x406fc3
add ecx, 0x10
mov eax, 0x1000
test word [ecx + 0xe], ax
jne 0x406fb5
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x406fc3
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 8], eax
push str.title
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c4c0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x40700e
mov ax, word [ecx + 0x1e]
shr ax, 0xa
test al, 1
je 0x40700e
add ecx, 0x10
mov eax, 0x1000
test word [ecx + 0xe], ax
jne 0x407000
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x40700e
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 4], eax
push str.is_live
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c4c0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x407045
movzx eax, word [ecx + 0x1e]
mov ecx, eax
shr al, 3
test al, 1
je 0x407045
xor eax, eax
cmp ecx, 0xa
sete al
jmp 0x407047
xor eax, eax
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x60]
push str.n_entries
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c4c0
movsd xmm2, qword [0x437eb8]
mov esi, 0x200
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x4070d9
movzx eax, word [ecx + 0x1e]
mov edx, eax
shr al, 5
test al, 1
je 0x40708a
mov eax, dword [ecx + 0x10]
cdq
jmp 0x4070ca
shr dl, 7
test dl, 1
je 0x40709a
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
jmp 0x4070ca
test word [ecx + 0x1e], si
je 0x4070d9
movsd xmm0, qword [ecx + 0x10]
comisd xmm0, xmm2
jb 0x4070d9
movsd xmm1, qword [0x437ea0]
comisd xmm1, xmm0
jb 0x4070d9
cvtpd2ps xmm0, xmm0
call fcn.0042dae0
movsd xmm2, qword [0x437eb8]
test edx, edx
jl 0x4070d9
jg 0x4070d4
test eax, eax
je 0x4070d9
mov dword [ebp - 0x1c], edx
jmp 0x4070e4
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xa36c], eax
lea ecx, [ebp - 0x60]
push str.playlist_index
lea eax, [ebp - 0x288]
push eax
call fcn.0040c4c0
mov esi, dword [ebp - 0x60]
mov ecx, dword [eax]
mov eax, esi
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x407175
movzx eax, word [ecx + 0x1e]
mov edx, eax
shr al, 5
test al, 1
je 0x407122
mov eax, dword [ecx + 0x10]
cdq
jmp 0x407164
shr dl, 7
test dl, 1
je 0x407137
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ecx, eax
mov dword [ebp - 0x1c], eax
jmp 0x407166
mov eax, 0x200
test word [ecx + 0x1e], ax
je 0x407175
movsd xmm0, qword [ecx + 0x10]
comisd xmm0, xmm2
jb 0x407175
movsd xmm1, qword [0x437ea0]
comisd xmm1, xmm0
jb 0x407175
cvtpd2ps xmm0, xmm0
call fcn.0042dae0
mov ecx, eax
test edx, edx
jl 0x407175
jg 0x407170
test ecx, ecx
je 0x407175
mov dword [ebp - 0x1c], edx
jmp 0x407180
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x284]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
cmp dword [eax + 0x10], 0
mov dword [eax + 0x18], ecx
jne 0x407223
push str.duration
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c4c0
mov esi, dword [ebp - 0x60]
mov ecx, dword [eax]
mov eax, esi
shl eax, 5
add eax, dword [ebp - 0x58]
cmp ecx, eax
je 0x40721b
movzx eax, word [ecx + 0x1e]
mov edx, eax
shr al, 5
test al, 1
je 0x4071d0
mov eax, dword [ecx + 0x10]
cdq
jmp 0x407211
shr dl, 7
test dl, 1
je 0x4071e0
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
jmp 0x407211
mov eax, 0x200
test word [ecx + 0x1e], ax
je 0x40721b
movsd xmm0, qword [ecx + 0x10]
comisd xmm0, xmmword [0x437eb8]
jb 0x40721b
movsd xmm1, qword [0x437ea0]
comisd xmm1, xmm0
jb 0x40721b
cvtpd2ps xmm0, xmm0
call fcn.0042dae0
test edx, edx
jg 0x407226
jl 0x40721b
test eax, eax
jae 0x407226
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x284]
mov dword [ecx + 0x1c], eax
cmp dword [edi + 0xa36c], 0
jne 0x40746f
push str.formats
lea eax, [ebp - 0x28c]
shl esi, 5
add esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x60]
push eax
call fcn.0040c4c0
cmp dword [eax], esi
je 0x4072f9
push ecx
lea ecx, [ebp - 0x60]
call fcn.0040c530
cmp word [eax + 0xe], 4
jne 0x407335
push ecx
lea ecx, [ebp - 0x60]
call fcn.0040c530
xorps xmm0, xmm0
mov ecx, 4
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
mov word [eax + 0xe], cx
movd eax, xmm1
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x288], eax
test eax, eax
je 0x407335
mov esi, dword [ebp - 0x20]
nop word [eax + eax]
push 0x220
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.0041d2c0
add esp, 0xc
lea edx, [ebp - 0x280]
mov ecx, esi
call fcn.00406630
test eax, eax
je 0x4072eb
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
push dword [ebp - 0x284]
call fcn.00408d20
add esi, 0x10
sub dword [ebp - 0x288], 1
jne 0x4072b0
jmp 0x407335
push 0x220
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.0041d2c0
add esp, 0xc
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x60]
call fcn.00406630
test eax, eax
je 0x407335
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
push dword [ebp - 0x284]
call fcn.00408d20
mov ecx, edi
call fcn.00408a90
mov eax, dword [ebp - 0x284]
push str.ArteTV
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edx, dword [edi + 0x1758]
neg eax
sbb eax, eax
xor esi, esi
and eax, 0xfffffe98
add eax, 0x2d0
mov dword [ebp - 0x28c], eax
test edx, edx
je 0x4073d7
lea ecx, [edi + 0x1964]
lea eax, [edi + 0x1960]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x288], eax
test byte [eax], 2
je 0x4073b8
mov edx, dword [ecx]
test edx, edx
je 0x4073b8
cmp edx, dword [ebp - 0x28c]
jae 0x4073b8
test esi, esi
je 0x4073b8
push esi
mov ecx, edi
call fcn.004081f0
mov eax, dword [ebp - 0x288]
dec esi
mov ecx, dword [ebp - 0x1c]
sub eax, 0x220
sub ecx, 0x220
mov edx, dword [edi + 0x1758]
inc esi
add eax, 0x220
add ecx, 0x220
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x1c], ecx
cmp esi, edx
jb 0x407384
xor esi, esi
test edx, edx
je 0x407431
lea eax, [edi + 0x1880]
mov dword [ebp - 0x288], eax
nop dword [eax]
test byte [eax + 0xe0], 2
je 0x407413
push str.multiple
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40740d
test esi, esi
jne 0x407429
mov eax, dword [ebp - 0x288]
inc esi
add eax, 0x220
mov dword [ebp - 0x288], eax
cmp esi, dword [edi + 0x1758]
jb 0x4073f0
jmp 0x407431
push esi
mov ecx, edi
call fcn.004081f0
mov ecx, edi
call fcn.00408770
mov ecx, edi
call fcn.004085c0
mov eax, dword [ebp - 0x284]
push str.ArteTV
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4074cc
lea ecx, [edi + 0x1760]
mov edx, 0x80
push ecx
push str.dlnow_best
push ecx
call fcn.00401190
jmp 0x4074cc
push 0x220
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.0041d2c0
add esp, 8
mov edx, 0x80
push str.dlnow_best
push ecx
lea ecx, [ebp - 0x280]
call fcn.00401190
add edi, 0x1760
mov dword [ebp - 0x80], 2
mov ecx, 0x88
lea esi, [ebp - 0x280]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x28c]
mov ecx, edi
mov dword [edi + 0x1758], 1
call fcn.004085c0
mov eax, dword [edi + 0xa360]
test eax, eax
je 0x4074e8
cmp eax, dword [edi + 0x1758]
jb 0x4074e8
mov dword [edi + 0xa360], 0
mov esi, 1
lea ecx, [ebp - 0x60]
call fcn.0040c430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041bbdc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8