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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6ffea3
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
xor eax, eax
push eax
push eax
push eax
push str.moov
mov dword [esp + 0x38], eax
call fcn.00513440
mov esi, eax
test esi, esi
jne 0x4dde7c
push eax
push str.MP4:_Atom_moov_not_found
lea ecx, [esp + 0xa4]
call fcn.004c5540
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x9c], 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 0x4de0ac
mov ecx, dword [esp + 0xa0]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x14]
call fcn.004c2b20
push 0
push str.trak
lea eax, [esp + 0x34]
mov dword [esp + 0xf8], 0
push eax
mov ecx, esi
call fcn.00512fb0
mov byte [esp + 0xf0], 1
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 8]
mov esi, dword [esi]
cmp esi, dword [eax + 8]
je 0x4ddfc1
lea ecx, [ecx]
mov ebx, dword [esi + 8]
mov ecx, ebx
push 0
push 0
push str.hdlr
push str.mdia
mov dword [esp + 0x44], ebx
call fcn.00512f40
mov edi, eax
push 0
test edi, edi
je 0x4de944
mov ecx, dword [ebp + 8]
push dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx + 0x20]
push dword [edi + 4]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x98]
push eax
call fcn.004c8d10
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xf4], 2
call fcn.004c2c50
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], edi
mov dword [esp + 0x7c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4ddf46
push ecx
call fcn.004c2ee0
mov byte [esp + 0xf0], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x94], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4ddf6a
push ecx
call fcn.004c2ee0
push str.soun
lea ecx, [esp + 0x60]
call fcn.004c2e30
push 0xffffffffffffffff
push 0
push 0x10
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
call fcn.004c3180
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x1f], al
mov dword [esp + 0x5c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4ddfaa
push ecx
call fcn.004c2ee0
mov al, byte [esp + 0x1f]
test al, al
jne 0x4de0c4
mov eax, dword [esp + 0x30]
mov esi, dword [esi]
cmp esi, dword [eax + 8]
jne 0x4ddec0
push 0
push str.MP4:_No_audio_tracks
lea ecx, [esp + 0xe0]
call fcn.004c5540
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xd8], 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 0x4de000
mov ecx, dword [esp + 0xdc]
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esp + 0x18]
mov byte [esp + 0xf0], 0
push dword [esp + 0x30]
mov dword [esp + 0x30], vtable.TagLib::List_class_TagLib::MP4::Atom__.0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4de03a
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4de03a
mov ecx, edi
call fcn.004dea10
push edi
call fcn.006b31f8
add esp, 4
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x14], vtable.TagLib::ByteVector.0
test esi, esi
je 0x4de0ac
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov edi, dword [esp + 0x18]
mov dword [eax], ecx
jne 0x4de0a3
mov ecx, dword [edi]
test ecx, ecx
je 0x4de070
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 4]
test esi, esi
je 0x4de0a3
mov eax, dword [esi]
test eax, eax
je 0x4de09a
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
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x4ddfc1
push 0
push 0
push str.mdhd
push str.mdia
mov ecx, ebx
call fcn.00512f40
mov esi, eax
push 0
test esi, esi
jne 0x4de129
push str.MP4:_Atom_trak.mdia.mdhd_not_found
lea ecx, [esp + 0xbc]
call fcn.004c5540
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xb4], 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 0x4de000
mov ecx, dword [esp + 0xb8]
jmp 0x4ddffa
mov ebx, dword [ebp + 8]
push dword [esi]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [esi + 4]
lea eax, [esp + 0x78]
mov ecx, ebx
push eax
call fcn.004c8d10
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 3
call fcn.004c2c50
mov ecx, dword [eax + 4]
mov dword [eax + 4], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x8c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de182
push ecx
call fcn.004c2ee0
mov byte [esp + 0xf0], 1
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x74], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de1a0
push ecx
call fcn.004c2ee0
lea ecx, [esp + 0x14]
call fcn.004c3bf0
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [ecx]
cmp byte [edx + eax + 8], 1
jne 0x4de237
cmp dword [esi + 0xc], 0x2c
jae 0x4de204
push 0
push str.MP4:_Atom_trak.mdia.mdhd_is_smaller_than_expected
lea ecx, [esp + 0xd4]
call fcn.004c5540
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xcc], 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 0x4de000
mov ecx, dword [esp + 0xd0]
jmp 0x4ddffa
push 1
mov edx, 0x1c
lea ecx, [esp + 0x18]
call fcn.004c4680
add esp, 4
mov dword [esp + 0x24], edx
mov edx, 0x24
lea ecx, [esp + 0x14]
mov ebx, eax
push 1
call fcn.004c4680
add esp, 4
mov edi, eax
jmp 0x4de338
mov eax, dword [esi + 0xc]
cmp eax, 0x1c
jae 0x4de281
push 0
push str.MP4:_Atom_trak.mdia.mdhd_is_smaller_than_expected
lea ecx, [esp + 0xb0]
call fcn.004c5540
mov edx, dword [esp + 0xac]
mov dword [esp + 0xa8], 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 0x4de000
mov ecx, dword [esp + 0xac]
jmp 0x4ddffa
cmp eax, 0x18
jae 0x4de2a1
add eax, 0xffffffec
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x14
call fcn.004c45d0
add esp, 8
mov ebx, eax
jmp 0x4de2d4
test eax, eax
je 0x4de2ab
mov ecx, dword [ecx]
add ecx, edx
jmp 0x4de2ad
xor ecx, ecx
mov ecx, dword [ecx + 0x14]
mov ebx, ecx
mov eax, ecx
and ebx, 0xff0000
shr eax, 0x10
or ebx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr ebx, 8
shl eax, 8
or ebx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], 0
cmp eax, 0x1c
jae 0x4de2ff
add eax, 0xffffffe8
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x18
call fcn.004c45d0
add esp, 8
mov edi, eax
jmp 0x4de336
test eax, eax
je 0x4de30d
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add ecx, dword [eax]
jmp 0x4de30f
xor ecx, ecx
mov ecx, dword [ecx + 0x18]
mov edi, ecx
mov eax, ecx
and edi, 0xff0000
shr eax, 0x10
or edi, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edi, 8
shl eax, 8
or edi, eax
xor edx, edx
cmp dword [esp + 0x24], 0
jl 0x4de390
jg 0x4de345
test ebx, ebx
je 0x4de390
test edx, edx
jl 0x4de390
jg 0x4de34f
test edi, edi
je 0x4de390
mov ecx, edi
call fcn.006b479f
mulsd xmm0, qword [0x792160]
mov ecx, ebx
mov edx, dword [esp + 0x24]
movsd qword [esp + 0x3c], xmm0
call fcn.006b479f
movsd xmm1, qword [esp + 0x3c]
divsd xmm1, xmm0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
addsd xmm1, qword [0x792068]
cvttsd2si edx, xmm1
mov dword [eax], edx
jmp 0x4de394
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push str.stsd
push str.stbl
push str.minf
push str.mdia
call fcn.00512f40
mov dword [esp + 0x24], eax
test eax, eax
je 0x4de004
mov edi, dword [ebp + 8]
push 0
push dword [eax]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, edi
push dword [eax + 4]
lea eax, [esp + 0x40]
push eax
call fcn.004c8d10
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 4
call fcn.004c2c50
mov edi, dword [eax + 4]
mov dword [eax + 4], esi
mov esi, edi
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], esi
mov dword [esp + 0x84], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de41e
push ecx
call fcn.004c2ee0
mov byte [esp + 0xf0], 1
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de43c
push ecx
call fcn.004c2ee0
push str.mp4a
lea ecx, [esp + 0x38]
call fcn.004c2e30
push 0xffffffffffffffff
push 0
push 0x14
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.004c3180
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x1f], al
mov dword [esp + 0x34], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de47c
push ecx
call fcn.004c2ee0
mov al, byte [esp + 0x1f]
test al, al
je 0x4de744
mov eax, dword [ebx + 8]
mov dword [eax + 0x18], 1
mov eax, dword [edi + 0xc]
cmp eax, 0x2a
jae 0x4de4af
add eax, 0xffffffd8
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x28
call fcn.004c48b0
add esp, 8
jmp 0x4de4c7
test eax, eax
je 0x4de4bd
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
jmp 0x4de4bf
xor ecx, ecx
movzx eax, word [ecx + 0x28]
rol ax, 8
movzx eax, ax
movsx ecx, ax
mov eax, dword [ebx + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0xc]
cmp eax, 0x2c
jae 0x4de4f4
add eax, 0xffffffd6
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x2a
call fcn.004c48b0
add esp, 8
jmp 0x4de50c
test eax, eax
je 0x4de502
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
jmp 0x4de504
xor ecx, ecx
movzx eax, word [ecx + 0x2a]
rol ax, 8
movzx eax, ax
movsx ecx, ax
mov eax, dword [ebx + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0xc]
cmp eax, 0x32
jae 0x4de53b
add eax, 0xffffffd2
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x2e
call fcn.004c45d0
add esp, 8
mov edx, eax
jmp 0x4de572
test eax, eax
je 0x4de549
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
jmp 0x4de54b
xor ecx, ecx
mov ecx, dword [ecx + 0x2e]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x54]
push str.esds
mov dword [eax + 8], edx
call fcn.004c2e30
push 0xffffffffffffffff
push 0
push 0x38
lea eax, [esp + 0x60]
mov byte [esp + 0xfc], 5
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 1
call fcn.004c3180
test al, al
je 0x4de5ce
lea ecx, [esp + 0x14]
call fcn.004c3bf0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov eax, dword [eax]
cmp byte [ecx + eax + 0x40], 3
jne 0x4de5ce
mov bl, 1
jmp 0x4de5d0
xor bl, bl
mov dword [esp + 0xf0], 1
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], 0
mov dword [esp + 0x54], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de5f9
push ecx
call fcn.004c2ee0
test bl, bl
je 0x4de918
push 0x78e3f4
lea ecx, [esp + 0x70]
mov edi, 0x41
call fcn.004c2e30
push 0xffffffffffffffff
push 0
push edi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
call fcn.004c3180
mov ecx, dword [esp + 0x70]
mov bl, al
mov dword [esp + 0x6c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de63f
push ecx
call fcn.004c2ee0
mov eax, 0x44
lea ecx, [esp + 0x14]
test bl, bl
cmovne edi, eax
call fcn.004c3bf0
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add eax, dword [ecx]
cmp byte [eax + edi + 4], 4
jne 0x4de918
push 0x78e3f4
lea ecx, [esp + 0x68]
add edi, 5
call fcn.004c2e30
push 0xffffffffffffffff
push 0
push edi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
call fcn.004c3180
mov ecx, dword [esp + 0x68]
mov bl, al
mov dword [esp + 0x64], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de6a5
push ecx
call fcn.004c2ee0
test bl, bl
je 0x4de6ac
add edi, 3
mov ecx, dword [esi + 0xc]
add edi, 0xa
lea eax, [edi + 4]
cmp eax, ecx
jbe 0x4de6d0
sub ecx, edi
mov edx, edi
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.004c45d0
add esp, 8
mov edx, eax
jmp 0x4de707
test ecx, ecx
je 0x4de6de
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add ecx, dword [eax]
jmp 0x4de6e0
xor ecx, ecx
mov ecx, dword [ecx + edi]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
lea eax, [edx + 0x1f4]
mov ebx, dword [esp + 0x20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x792280]
mov eax, dword [ebx + 8]
divsd xmm0, qword [0x792160]
addsd xmm0, qword [0x792068]
cvttsd2si ecx, xmm0
mov dword [eax + 4], ecx
jmp 0x4de91c
push str.alac
lea ecx, [esp + 0x50]
call fcn.004c2e30
push 0xffffffffffffffff
push 0
push 0x14
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
call fcn.004c3180
mov ecx, dword [esp + 0x50]
mov bl, al
mov dword [esp + 0x4c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de77e
push ecx
call fcn.004c2ee0
test bl, bl
je 0x4de918
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0x58
jne 0x4de7c3
push str.alac
lea ecx, [esp + 0x48]
call fcn.004c2e30
push 0xffffffffffffffff
mov eax, 2
lea ecx, [esp + 0x18]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
push 0x38
push eax
call fcn.004c3180
test al, al
je 0x4de7c3
mov bl, 1
jmp 0x4de7c5
xor bl, bl
mov eax, dword [esp + 0x28]
test al, 2
je 0x4de7ea
mov ecx, dword [esp + 0x48]
and eax, 0xfffffffd
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4de7ea
push ecx
call fcn.004c2ee0
test bl, bl
mov ebx, dword [esp + 0x20]
je 0x4de91c
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x14]
push 0x45
mov dword [eax + 0x18], 2
call fcn.004c3050
movsx ecx, al
mov eax, dword [ebx + 8]
push 0x49
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x18]
call fcn.004c3050
movsx ecx, al
mov eax, dword [ebx + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0xc]
cmp eax, 0x54
jae 0x4de84b
add eax, 0xffffffb0
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x50
call fcn.004c45d0
add esp, 8
mov edx, eax
jmp 0x4de882
test eax, eax
je 0x4de859
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
jmp 0x4de85b
xor ecx, ecx
mov ecx, dword [ecx + 0x50]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
mov eax, dword [ebx + 8]
addsd xmm0, qword [edx*8 + 0x792280]
divsd xmm0, qword [0x792160]
addsd xmm0, qword [0x792068]
cvttsd2si ecx, xmm0
mov dword [eax + 4], ecx
mov eax, dword [edi + 0xc]
cmp eax, 0x58
jae 0x4de8d9
add eax, 0xffffffac
lea ecx, [esp + 0x14]
push 1
push eax
mov edx, 0x54
call fcn.004c45d0
mov edx, eax
add esp, 8
mov eax, dword [ebx + 8]
mov dword [eax + 8], edx
jmp 0x4de91c
test eax, eax
je 0x4de8e7
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
jmp 0x4de8e9
xor ecx, ecx
mov ecx, dword [ecx + 0x54]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov eax, dword [ebx + 8]
mov dword [eax + 8], edx
jmp 0x4de91c
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push str.drms
call fcn.00512f40
test eax, eax
je 0x4de004
mov eax, dword [ebx + 8]
mov byte [eax + 0x14], 1
jmp 0x4de004
push str.MP4:_Atom_trak.mdia.hdlr_not_found
lea ecx, [esp + 0xc8]
call fcn.004c5540
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xc0], 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 0x4de000
mov ecx, dword [esp + 0xc4]
jmp 0x4ddffa