Function at 0x507b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x704739
mov eax, dword fs:[0]
push eax
sub esp, 0x188
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x10]
cmp dword [eax], 4
jae 0x507c17
push 0x78d620
lea ecx, [ebp - 0x54]
call fcn.004c2e30
mov dword [ebp - 4], ebx
mov ebx, 1
mov esi, dword [edi + 8]
mov dword [ebp - 0x18], ebx
lea ecx, [esi + 0x1c]
call fcn.004cee70
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x54]
push eax
add ecx, 4
call fcn.004ce1d0
mov eax, dword [eax + 4]
cmp dword [eax + 0xc], ebx
jne 0x507c17
push 0x78d720
lea ecx, [ebp - 0x3c]
call fcn.004c2e30
mov dword [ebp - 4], ebx
mov ebx, 3
mov esi, dword [edi + 8]
mov dword [ebp - 0x18], ebx
lea ecx, [esi + 0x1c]
call fcn.004cee70
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x3c]
push eax
add ecx, 4
call fcn.004ce1d0
mov byte [ebp - 0x11], 1
mov eax, dword [eax + 4]
cmp dword [eax + 0xc], 1
je 0x507c1b
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
test bl, 2
je 0x507c41
mov ecx, dword [ebp - 0x38]
and ebx, 0xfffffffd
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x3c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507c41
push ecx
call fcn.004c2ee0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x507c64
mov ecx, dword [ebp - 0x50]
and ebx, 0xfffffffe
mov dword [ebp - 0x54], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507c64
push ecx
call fcn.004c2ee0
cmp byte [ebp - 0x11], 0
je 0x5084cb
push 0x78d620
lea ecx, [ebp - 0x4c]
call fcn.004c2e30
mov dword [ebp - 4], 2
mov esi, dword [edi + 8]
lea ecx, [esi + 0x1c]
call fcn.004cee70
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x4c]
push eax
add ecx, 4
call fcn.004ce1d0
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507cc5
push ecx
call fcn.004c2ee0
push 0x78d720
lea ecx, [ebp - 0x44]
call fcn.004c2e30
mov dword [ebp - 4], 3
mov esi, dword [edi + 8]
lea ecx, [esi + 0x1c]
call fcn.004cee70
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x44]
push eax
add ecx, 4
call fcn.004ce1d0
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x44], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507d1c
push ecx
call fcn.004c2ee0
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x100]
push eax
mov ecx, esi
call fcn.004f2830
mov dword [ebp - 4], 4
or ebx, 4
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ebx
cmp dword [eax + 0xc], 1
jne 0x507d99
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.004f2830
mov esi, eax
mov dword [ebp - 4], 5
or ebx, 8
mov ecx, esi
mov dword [ebp - 0x18], ebx
call fcn.004c74c0
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 4
jne 0x507d99
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0051c5c0
or ebx, 0x10
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 4]
cmp dword [eax + 0xc], 5
jae 0x507d9d
mov byte [ebp - 0x11], 0
test bl, 0x10
je 0x507dc2
mov ecx, dword [ebp - 0x84]
and ebx, 0xffffffef
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x88], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507dc2
push ecx
call fcn.004c2ee0
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, 8
je 0x507e13
push dword [ebp - 0x114]
and ebx, 0xfffffff7
mov dword [ebp - 0x118], vtable.TagLib::List_class_TagLib::String_.0
mov dword [ebp - 0x18], ebx
call eax
test eax, eax
jne 0x507e0e
mov edi, dword [ebp - 0x114]
test edi, edi
je 0x507e0e
lea ecx, [edi + 8]
call fcn.004c7430
push dword [edi + 8]
call fcn.006b31f8
add esp, 4
push edi
call fcn.006b31f8
add esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x507e61
push dword [ebp - 0xfc]
and ebx, 0xfffffffb
mov dword [ebp - method.TagLib::List_class_TagLib::String_.virtual_0], vtable.TagLib::List_class_TagLib::String_.0
mov dword [ebp - 0x18], ebx
call eax
test eax, eax
jne 0x507e61
mov edi, dword [ebp - 0xfc]
test edi, edi
je 0x507e61
lea ecx, [edi + 8]
call fcn.004c7430
push dword [edi + 8]
call fcn.006b31f8
add esp, 4
push edi
call fcn.006b31f8
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x5084cb
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x98]
push eax
call fcn.0051c5c0
mov edi, eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0051c5c0
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004c3000
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004c3bf0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add ecx, dword [edx]
movsx eax, byte [ecx]
lea ecx, [ebp - 0x34]
push eax
push esi
call fcn.004c5710
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507eeb
push ecx
call fcn.004c2ee0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507f09
push ecx
call fcn.004c2ee0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x507f27
push ecx
call fcn.004c2ee0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], 4
jne 0x5084a4
push ecx
push 0x2d
lea ecx, [ebp - 0x60]
call fcn.004c5680
push ecx
push 0x2d
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xd
call fcn.004c5680
push 2
push 0
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x34]
call fcn.004c5d10
mov edi, eax
push 2
push 2
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x34]
call fcn.004c5d10
mov esi, eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xf4]
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
mov edx, dword [ebx]
call dword [edx + 8]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0xdc]
call fcn.004c67b0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd0]
call fcn.004c67b0
add esp, 4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
push ecx
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.004c67b0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xe8]
call fcn.004c67b0
add esp, 4
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50802c
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x50802c
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50805d
mov ecx, dword [ebp - 0xc0]
test ecx, ecx
je 0x50805d
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50808e
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x50808e
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x5080bf
mov ecx, dword [ebp - 0xd8]
test ecx, ecx
je 0x5080bf
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x5080f0
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x5080f0
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x108]
mov dword [ebp - method.TagLib::String.virtual_0], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x508121
mov ecx, dword [ebp - 0x108]
test ecx, ecx
je 0x508121
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x120]
mov dword [ebp - method.TagLib::String.virtual_0], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x508152
mov ecx, dword [ebp - 0x120]
test ecx, ecx
je 0x508152
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x508176
mov ecx, dword [ebp - 0x74]
push 1
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50819a
mov ecx, dword [ebp - 0x5c]
push 1
mov eax, dword [ecx]
call dword [eax]
push 0x78d738
lea ecx, [ebp - 0x28]
call fcn.004c2e30
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 0x16
mov esi, dword [edi + 8]
lea ecx, [esi + 0x1c]
call fcn.004cee70
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x28]
push eax
add ecx, 4
call fcn.004ce1d0
mov eax, dword [eax + 4]
cmp dword [eax + 0xc], 1
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
sete al
mov byte [ebp + 0xb], al
mov dword [ebp - 0x28], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x5081f0
push ecx
call fcn.004c2ee0
mov al, byte [ebp + 0xb]
test al, al
je 0x5084a4
push 0x78d738
lea ecx, [ebp - 0x20]
call fcn.004c2e30
mov byte [ebp - 4], 0x17
mov esi, dword [edi + 8]
lea ecx, [esi + 0x1c]
call fcn.004cee70
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x20]
push eax
add ecx, 4
call fcn.004ce1d0
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x508246
push ecx
call fcn.004c2ee0
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call fcn.0051c5c0
mov ecx, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
cmp dword [eax + 0xc], 5
mov dword [ebp - 0xb8], vtable.TagLib::ByteVector.0
setae al
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x50827e
push ecx
call fcn.004c2ee0
mov al, byte [ebp + 0xb]
test al, al
je 0x5084a4
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.0051c5c0
mov edi, eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x18
push eax
mov ecx, esi
call fcn.0051c5c0
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x19
push ecx
mov ecx, eax
call fcn.004c3000
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004c3bf0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add ecx, dword [edx]
movsx eax, byte [ecx]
lea ecx, [ebp - 0x6c]
push eax
push esi
call fcn.004c5710
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x5082fe
push ecx
call fcn.004c2ee0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x508316
push ecx
call fcn.004c2ee0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x508334
push ecx
call fcn.004c2ee0
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x18], 4
jne 0x508498
push ecx
push 0x3a
lea ecx, [ebp - 0x13c]
call fcn.004c5680
push ecx
push 0x54
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x1f
call fcn.004c5680
push 2
push 2
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x6c]
call fcn.004c5d10
mov edi, eax
push 2
push 0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x6c]
call fcn.004c5d10
mov esi, eax
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x160]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x23
push ecx
mov edx, eax
lea ecx, [ebp - 0x154]
call fcn.004c67b0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x148]
call fcn.004c67b0
add esp, 4
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x25
push ecx
mov edx, eax
lea ecx, [ebp - 0x184]
call fcn.004c67b0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x16c]
call fcn.004c67b0
add esp, 4
mov byte [ebp - 4], 0x27
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x26
call fcn.004c5890
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x25
call fcn.004c5890
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x24
call fcn.004c5890
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x154]
call fcn.004c5890
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x22
call fcn.004c5890
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x21
call fcn.004c5890
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x20
call fcn.004c5890
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x1f
call fcn.004c5890
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1e
call fcn.004c5890
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.004c5890
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x5084cb
mov ecx, dword [ebp - 0x30]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4