Function at 0x5096a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x70492f
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x20], 0
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 4]
test ecx, ecx
js 0x50970a
mov eax, dword [edx + 0x20]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xb], 0
mov eax, dword [eax + 0xc]
je 0x509705
add eax, 0x14
jmp 0x509708
add eax, 0xa
add eax, ecx
push eax
mov ecx, ebx
call fcn.004d17e0
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jns 0x509752
push 0
push str.MPEG::Properties::read______Could_not_find_an_MPEG_frame_in_the_stream.
lea ecx, [esp + 0x54]
call fcn.004c5540
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], 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 0x509be4
mov ecx, dword [esp + 0x50]
jmp 0x509bde
push 1
push esi
push ebx
lea ecx, [esp + 0x30]
call fcn.00520710
mov dword [esp + 0x88], 1
mov edi, dword [esp + 0x28]
mov al, byte [edi + 8]
test al, al
jne 0x509848
lea esp, [esp]
lea eax, [esi + 1]
mov ecx, ebx
push eax
call fcn.004d17e0
mov dword [esp + 0x14], eax
test eax, eax
js 0x50988c
push 0x34
mov dword [esp + 0x38], vtable.TagLib::MPEG::Header.0
call fcn.006b6815
add esp, 4
test eax, eax
je 0x509878
mov dword [esp + 0x18], eax
mov ecx, eax
mov byte [esp + 0x88], 2
call fcn.00520630
push 1
push dword [esp + 0x18]
mov esi, eax
mov byte [esp + 0x90], 1
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], esi
call fcn.005207d0
mov byte [esp + 0x88], 3
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov eax, dword [edi + 4]
dec ecx
mov dword [eax], ecx
jne 0x509801
mov ecx, dword [esp + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 4]
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
mov eax, dword [esi + 4]
inc ecx
mov dword [eax], ecx
mov byte [esp + 0x88], 1
mov eax, dword [esi + 4]
mov dword [esp + 0x34], vtable.TagLib::MPEG::Header.0
mov ecx, dword [eax]
mov eax, dword [esi + 4]
dec ecx
mov dword [eax], ecx
jne 0x509835
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov al, byte [esi + 8]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
test al, al
je 0x509780
mov eax, dword [ebx + 4]
push 0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
push 8
call fcn.006b6815
mov esi, eax
add esp, 4
test esi, esi
jne 0x5098cc
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x7da8d8
push eax
call fcn.006b4394
push 0x7da8d8
lea eax, [esp + 0x16]
mov byte [esp + 0x16], 0
push eax
call fcn.006b4394
push 0
push str.MPEG::Properties::read______Could_not_find_a_valid_first_MPEG_frame_in_the_stream.
lea ecx, [esp + 0x60]
call fcn.004c5540
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], 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 0x509c24
mov ecx, dword [esp + 0x5c]
push 1
mov eax, dword [ecx]
call dword [eax]
mov edi, dword [esp + 0x28]
jmp 0x509bba
mov dword [esp + 0x18], esi
mov byte [esp + 0x88], 4
lea eax, [esp + 0x44]
push dword [edi + 0x2c]
mov ecx, ebx
push eax
call fcn.004c8d10
mov byte [esp + 0x88], 5
mov ecx, esi
push eax
mov dword [esp + 0x24], 1
call fcn.005201f0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov dword [esp + 0x88], 1
mov dword [esp + 0x20], 0
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x44], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x509931
push ecx
call fcn.004c2ee0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
cmp dword [eax + 8], 0
je 0x50994a
cmp dword [eax], 0
jbe 0x50994a
cmp dword [eax + 4], 0
ja 0x50995d
test ecx, ecx
je 0x509954
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 8]
mov dword [eax], 0
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
test eax, eax
je 0x509a0a
mov edx, dword [edi + 0x30]
test edx, edx
jle 0x509a0a
cmp dword [edi + 0x1c], 0
jle 0x509a0a
movd xmm0, dword [edi + 0x1c]
movd xmm1, edx
cvtdq2pd xmm0, xmm0
mov eax, dword [eax + 4]
mov eax, dword [eax]
cvtdq2pd xmm1, xmm1
movd xmm2, eax
mulsd xmm1, qword [0x792160]
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
divsd xmm1, xmm0
addsd xmm2, qword [eax*8 + 0x792280]
mulsd xmm2, xmm1
movaps xmm0, xmm2
addsd xmm0, qword [0x792068]
cvttsd2si eax, xmm0
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x792280]
mulsd xmm0, qword [0x792108]
divsd xmm0, xmm2
addsd xmm0, qword [0x792068]
cvttsd2si eax, xmm0
mov dword [ecx + 8], eax
jmp 0x509b6b
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x509b6b
mov dword [ecx + 8], eax
mov ecx, ebx
call fcn.004d2390
mov esi, eax
push 0
test esi, esi
jns 0x509a43
push str.MPEG::Properties::read______Could_not_find_an_MPEG_frame_in_the_stream.
lea ecx, [esp + 0x6c]
call fcn.004c5540
lea ecx, [esp + 0x64]
call fcn.004c5890
jmp 0x509bba
push esi
push ebx
lea ecx, [esp + 0x38]
call fcn.00520710
mov byte [esp + 0x88], 7
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov al, byte [ecx + 8]
test al, al
jne 0x509b1a
mov edi, ecx
jmp 0x509a70
push esi
mov ecx, ebx
call fcn.004d1db0
mov esi, eax
push 0
test esi, esi
js 0x509bfc
push esi
push ebx
lea ecx, [esp + 0x48]
call fcn.00520710
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 8
cmp eax, ecx
je 0x509ad0
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov eax, dword [edi + 4]
dec ecx
mov dword [eax], ecx
jne 0x509aba
mov ecx, dword [esp + 0x30]
push 1
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [esp + 0x30], edx
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
inc ecx
mov dword [eax], ecx
mov byte [esp + 0x88], 7
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], vtable.TagLib::MPEG::Header.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x509aff
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x509aff
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], edi
mov al, byte [edi + 8]
test al, al
je 0x509a70
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x2c]
sub eax, dword [esp + 0x14]
add eax, esi
mov esi, dword [esp + 0x1c]
test eax, eax
jle 0x509b5a
mov ecx, dword [esi + 8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movd xmm0, dword [ecx + 8]
mulsd xmm1, qword [0x792108]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x792068]
cvttsd2si eax, xmm1
mov dword [ecx + 4], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 1
call fcn.005207a0
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x1c]
mov dword [eax + 0xc], ecx
xor ecx, ecx
cmp dword [edi + 0x24], 3
mov eax, dword [esi + 8]
setne cl
inc ecx
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 8]
mov cl, byte [edi + 0x14]
mov byte [eax + 0x20], cl
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 8]
mov cl, byte [edi + 0x28]
mov byte [eax + 0x21], cl
mov eax, dword [esi + 8]
mov cl, byte [edi + 0x29]
mov byte [eax + 0x22], cl
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [edi + 4]
mov dword [esp + 0x24], vtable.TagLib::MPEG::Header.0
mov ecx, dword [eax]
mov eax, dword [edi + 4]
dec ecx
mov dword [eax], ecx
jne 0x509be4
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.MPEG::Properties::read______Could_not_find_a_valid_last_MPEG_frame_in_the_stream.
lea ecx, [esp + 0x78]
call fcn.004c5540
lea ecx, [esp + 0x70]
call fcn.004c5890
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 1
call fcn.005207a0
mov edi, dword [esp + 0x28]
jmp 0x509bba