Function at 0x500a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7039b7
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov ebx, dword [ebp + 8]
push 1
push 0x12
mov eax, dword [ebx + 8]
mov dword [eax + 0x20], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
push 4
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.004c8d10
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
cmp eax, 4
je 0x500af7
mov dword [esp + 0x60], 0xffffffff
push ecx
mov dword [esp + 0x48], vtable.TagLib::ByteVector.0
call fcn.004c2ee0
xor esi, esi
mov dword [esp + 0x28], esi
jmp 0x500b27
test eax, eax
je 0x500b05
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
add edx, dword [eax]
jmp 0x500b07
xor edx, edx
mov esi, dword [edx]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x500b27
push ecx
call fcn.004c2ee0
xor eax, eax
xorps xmm0, xmm0
movlpd qword [esp + 0x4c], xmm0
jl 0x500f6f
jg 0x500b42
test esi, esi
je 0x500f6f
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
push 0x10
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.004c8d10
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x40]
cmp dword [eax + 0xc], 0x10
jne 0x500f4a
push 8
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
call fcn.004c8d10
mov byte [esp + 0x60], 2
mov esi, dword [esp + 0x50]
cmp dword [esi + 0xc], 8
jne 0x500ee6
push 0
xor edx, edx
lea ecx, [esp + 0x50]
call fcn.004c4680
mov byte [esp + 0x64], 1
add esp, 4
mov edi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], vtable.TagLib::ByteVector.0
test edi, edi
je 0x500c1b
mov esi, dword [edi]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov eax, dword [esi + 4]
dec ecx
mov dword [eax], ecx
jne 0x500c12
mov ecx, dword [edi]
test ecx, ecx
je 0x500bdf
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 4]
test esi, esi
je 0x500c12
mov eax, dword [esi]
test eax, eax
je 0x500c09
push eax
call fcn.006b31f8
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
call fcn.006b31f8
add esp, 4
push edi
call fcn.006b31f8
add esp, 4
push 0x7e8678
lea ecx, [esp + 0x40]
call fcn.004c3560
test al, al
je 0x500c9f
push 0x18
call fcn.006b6815
mov edi, eax
add esp, 4
test edi, edi
je 0x500e8c
mov dword [esp + 0x20], edi
mov byte [esp + 0x60], 3
mov dword [edi], vtable.TagLib::ASF::File::FilePrivate::BaseObject.0
push 0x10
mov dword [edi + 4], vtable.TagLib::ByteVector.0
call fcn.006b6815
add esp, 4
test eax, eax
je 0x500e78
mov dword [esp + 0x38], eax
push 0
push 0
mov ecx, eax
mov byte [esp + 0x68], 4
call fcn.004c2870
mov dword [edi + 8], eax
mov byte [esp + 0x60], 5
lea ecx, [edi + 0xc]
mov dword [edi], vtable.TagLib::ASF::File::FilePrivate::MetadataObject.0
call fcn.00513d10
mov dword [edi + 0xc], vtable.TagLib::ByteVectorList.0
jmp 0x500d2d
push 0x7e8630
lea ecx, [esp + 0x40]
call fcn.004c3560
test al, al
je 0x500cf1
push 0x18
call fcn.006b6815
mov edi, eax
add esp, 4
test edi, edi
je 0x500ea0
mov dword [esp + 0x38], edi
mov ecx, edi
mov byte [esp + 0x60], 6
call fcn.004ff980
mov byte [esp + 0x60], 7
lea ecx, [edi + 0xc]
mov dword [edi], vtable.TagLib::ASF::File::FilePrivate::MetadataLibraryObject.0
call fcn.00513d10
mov dword [edi + 0xc], vtable.TagLib::ByteVectorList.0
jmp 0x500d2d
push 0x14
call fcn.006b6815
mov edi, eax
add esp, 4
test edi, edi
je 0x500ed2
mov dword [esp + 0x38], edi
mov ecx, edi
mov byte [esp + 0x60], 8
call fcn.004ff980
lea eax, [esp + 0x3c]
mov byte [esp + 0x60], 9
push eax
lea ecx, [edi + 0xc]
mov dword [edi], vtable.TagLib::ASF::File::FilePrivate::UnknownObject.0
call fcn.004c2c50
push dword [esp + 0x2c]
mov byte [esp + 0x64], 1
mov ecx, edi
mov eax, dword [edi]
push ebx
mov dword [esp + 0x28], edi
call dword [eax + 8]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x10]
cmp dword [eax], 1
jle 0x500d95
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0x10
call fcn.006b6815
mov esi, eax
add esp, 4
test esi, esi
je 0x500eb4
mov dword [esp + 0x38], esi
mov byte [esp + 0x60], 0xa
mov ecx, dword [edi + 0x10]
add ecx, 8
mov dword [esi], 1
push ecx
lea ecx, [esi + 8]
mov byte [esi + 4], 0
call fcn.004ddb50
mov byte [esp + 0x60], 1
mov dword [edi + 0x10], esi
mov esi, dword [edi + 0x10]
lea eax, [esp + 0x20]
push eax
mov edi, dword [esi + 8]
push dword [edi + 4]
push edi
call fcn.00493310
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [esi + 0xc]
sub ecx, eax
cmp ecx, 1
jb 0x500ec8
lea ecx, [eax + 1]
mov dword [esi + 0xc], ecx
mov esi, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [esp + 0x60], 0xffffffff
mov dword [eax], edx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
adc esi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], vtable.TagLib::ByteVector.0
test edi, edi
je 0x500e5b
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x500e4e
mov ecx, dword [edi]
test ecx, ecx
je 0x500e17
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 4]
test esi, esi
je 0x500e4a
mov eax, dword [esi]
test eax, eax
je 0x500e41
push eax
call fcn.006b31f8
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
call fcn.006b31f8
add esp, 4
mov esi, dword [esp + 0x1c]
push edi
call fcn.006b31f8
mov eax, dword [esp + 0x28]
add esp, 4
test esi, esi
jg 0x500f6f
jl 0x500b52
cmp eax, dword [esp + 0x28]
jae 0x500f6f
jmp 0x500b52
push 0x7da8d8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.006b4394
push 0x7da8d8
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0
push eax
call fcn.006b4394
push 0x7da8d8
lea eax, [esp + 0x1d]
mov byte [esp + 0x1d], 0
push eax
call fcn.006b4394
push 0x7da8d8
lea eax, [esp + 0x1e]
mov byte [esp + 0x1e], 0
push eax
call fcn.006b4394
push str.list_T__too_long
call fcn.006b1a39
push 0x7da8d8
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], 0
push eax
call fcn.006b4394
mov byte [esp + 0x60], 1
mov dword [esp + 0x4c], vtable.TagLib::ByteVector.0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x500f41
mov ecx, dword [esi]
test ecx, ecx
je 0x500f0e
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 4]
test edi, edi
je 0x500f41
mov eax, dword [edi]
test eax, eax
je 0x500f38
push eax
call fcn.006b31f8
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push edi
call fcn.006b31f8
add esp, 4
push esi
call fcn.006b31f8
add esp, 4
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0xffffffff
mov byte [eax + 5], 0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x500f6f
push ecx
call fcn.004c2ee0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8