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

Disassembly:
sub esp, 0xac
mov dword [esp + 0x9c], ebx
mov ebx, edx
mov dword [esp + 0xa8], ebp
mov ebp, eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x28]
cmp eax, 4
ja 0x6f1417c2
mov ecx, str.svcdsub
mov edx, 3
mov edi, 5
mov esi, str.invalid_packet_header__size__zu____u_
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
mov dword [esp], ebx
call dword [ebx + 0x30]
xor ebx, ebx
mov eax, ebx
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
add esp, 0xac
ret
mov esi, dword [edx + 0x2c]
mov eax, 0xfffffff9
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.libvlccore.dll_vlc_object_find
test eax, eax
mov edi, eax
je 0x6f141845
lea eax, [esp + 0x88]
mov ecx, str.sub_track
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
call sub.libvlccore.dll_var_Get
test eax, eax
jne 0x6f141bc0
mov dword [esp], edi
call sub.libvlccore.dll_vlc_object_release
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x6f141826
mov edx, dword [esp + 0x5c]
test byte [edx], 2
jne 0x6f141ab5
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
je 0x6f14183d
movzx edi, byte [esi + 1]
and eax, 3
cmp eax, edi
je 0x6f141890
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jne 0x6f141850
xor ebx, ebx
jmp 0x6f14179d
mov esi, dword [esp + 0x5c]
test byte [esi], 2
je 0x6f141845
mov eax, str._s:_subtitle_not_for_us._n
mov ecx, str.svcdsub
mov edx, 3
mov edi, str.Reassemble
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
jmp 0x6f14179d
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
test edx, edx
je 0x6f141b00
mov eax, dword [esp + 0x5c]
movzx edx, byte [eax + 0xe]
movzx ecx, word [eax + 0xc]
inc dl
cmp byte [esi + 2], 0
js 0x6f141f04
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], 1
movzx eax, byte [esi + 2]
add esi, 3
movzx edi, byte [esi + 1]
movzx esi, byte [esi]
shl esi, 8
lea esi, [edi + esi]
mov edi, dword [esp + 0x5c]
movzx esi, si
cmp cx, si
mov word [edi + 0xc], si
je 0x6f141923
mov dword [esp + 0x14], esi
mov edi, str.expected_subtitle_image__u_but_found__u
mov esi, str.svcdsub
mov dword [esp + 0x10], ecx
mov ecx, 2
mov byte [esp + 0x54], al
mov byte [esp + 0x58], dl
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
movzx edx, byte [esp + 0x58]
movzx eax, byte [esp + 0x54]
cmp al, dl
je 0x6f141961
movzx ecx, al
movzx edi, dl
mov dword [esp + 0x14], ecx
mov edx, 2
mov ecx, str.svcdsub
mov esi, str.expected_subtitle_image_packet__u_but_found__u
mov byte [esp + 0x54], al
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
movzx eax, byte [esp + 0x54]
mov edx, dword [esp + 0x5c]
add dword [ebx + 0x2c], 5
sub dword [ebx + 0x28], 5
test al, al
mov byte [edx + 0xe], al
je 0x6f141bd0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
test eax, eax
je 0x6f141f20
mov esi, esi
lea edi, [edi]
mov edx, eax
mov eax, dword [eax]
test eax, eax
jne 0x6f141990
mov dword [edx], ebx
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 4], 2
jne 0x6f141845
mov ebx, dword [ecx + 8]
mov eax, dword [ebx]
test eax, eax
je 0x6f141b62
xor edi, edi
xor esi, esi
mov dword [esp + 0x70], edi
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0x74], esi
xor edi, edi
xor esi, esi
jmp 0x6f1419d4
mov edx, eax
mov eax, dword [eax]
add ecx, dword [edx + 0x28]
add esi, dword [edx + 0x18]
adc edi, dword [edx + 0x1c]
test eax, eax
jne 0x6f1419d0
mov dword [esp], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
call sub.libvlccore.dll_block_Alloc
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x6c], eax
test edx, edx
mov dword [esp + 0x60], ecx
je 0x6f141b18
mov eax, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x4c], edx
jmp 0x6f141a64
xor ecx, ecx
test bl, 4
je 0x6f141a30
mov ebp, dword [esi]
mov ecx, 4
mov dword [edi], ebp
test bl, 2
je 0x6f141a40
movzx ebp, word [esi + ecx]
mov word [edi + ecx], bp
add ecx, 2
test bl, 1
je 0x6f141a4c
movzx ebx, byte [esi + ecx]
mov byte [edi + ecx], bl
add dword [esp + 0x60], edx
sub dword [esp + 0x4c], edx
mov eax, dword [eax]
je 0x6f141b10
test eax, eax
je 0x6f141b10
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x4c]
cmp edx, ecx
jbe 0x6f141a71
mov edx, ecx
mov ecx, dword [eax + 0x2c]
cmp edx, 8
mov ebx, edx
mov edi, dword [esp + 0x60]
mov esi, ecx
jb 0x6f141a20
test edi, 1
jne 0x6f141f64
test edi, 2
jne 0x6f141f50
test edi, 4
nop
jne 0x6f141f80
mov ecx, ebx
and ebx, 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x6f141a20
movzx eax, byte [esi + 1]
mov edx, str.Reassemble
mov edi, str._s:_val.i_int__x_p_buffer_i___x
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
mov eax, str.svcdsub
mov dword [esp + 0x14], ecx
mov ecx, 3
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
jmp 0x6f141826
mov ecx, dword [edi + 0xc]
xor edx, edx
inc ecx
movzx ecx, cx
jmp 0x6f1418ad
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x6c]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x6c]
mov edi, dword [ebx + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x74]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
jmp 0x6f141b52
mov ebx, esi
mov esi, dword [ebx]
mov dword [esp], ebx
call dword [ebx + 0x30]
test esi, esi
jne 0x6f141b50
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ebx + 0x28]
mov edx, dword [ecx + 0x10]
cmp eax, edx
je 0x6f141b9b
mov dword [esp + 0x14], edx
mov esi, str.subtitle_packets_size_zu_should_be__zu
mov edx, 2
mov dword [esp + 0x10], eax
mov eax, str.svcdsub
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
mov edi, dword [esp + 0x5c]
test byte [edi], 2
jne 0x6f141f92
mov ebp, dword [esp + 0x5c]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
jmp 0x6f14179d
mov dword [esp], edi
xor ebx, ebx
call sub.libvlccore.dll_vlc_object_release
jmp 0x6f14179d
mov edi, dword [ebx + 0x2c]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x70], edi
movzx ecx, byte [edi + 1]
mov edi, dword [esp + 0x70]
movzx edx, byte [edi]
add edi, 4
mov dword [esp + 0x6c], edi
shl edx, 8
lea eax, [ecx + edx]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x70]
test byte [eax + 2], 8
je 0x6f141f30
mov edx, dword [esp + 0x6c]
movzx ecx, byte [eax + 4]
movzx edi, byte [edi + 3]
movzx eax, byte [edx + 1]
shl ecx, 0x18
add edi, ecx
shl eax, 0x10
lea ecx, [edi + eax]
movzx edi, byte [edx + 2]
shl edi, 8
lea eax, [ecx + edi]
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0x70]
sar ecx, 0x1f
mov edi, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
mov ecx, 0xb
mov edx, dword [esp + 0x64]
add eax, 8
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edx
imul edi, dword [esp + 0x64], 0xb
mul ecx
add edx, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0x6c]
mov dword [esi + 0x28], edx
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
shl eax, 8
lea edx, [ecx + eax]
mov word [esi + 0x30], dx
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 3]
shl eax, 8
lea edx, [ecx + eax]
mov word [esi + 0x32], dx
movzx eax, byte [edi + 4]
movzx ecx, byte [edi + 5]
shl eax, 8
lea edx, [ecx + eax]
mov word [esi + 0x34], dx
movzx eax, byte [edi + 6]
movzx ecx, byte [edi + 7]
shl eax, 8
lea edx, [ecx + eax]
mov word [esi + 0x36], dx
movzx ecx, byte [edi + 8]
mov byte [esi + 0x38], cl
movzx eax, byte [edi + 9]
mov byte [esi + 0x3a], al
movzx edx, byte [edi + 0xa]
mov byte [esi + 0x39], dl
movzx ecx, byte [edi + 0xb]
mov byte [esi + 0x3b], cl
movzx eax, byte [edi + 0xc]
mov byte [esi + 0x3c], al
movzx edx, byte [edi + 0xd]
mov byte [esi + 0x3e], dl
movzx ecx, byte [edi + 0xe]
mov byte [esi + 0x3d], cl
movzx eax, byte [edi + 0xf]
mov byte [esi + 0x3f], al
movzx edx, byte [edi + 0x10]
mov byte [esi + 0x40], dl
movzx ecx, byte [edi + 0x11]
mov byte [esi + 0x42], cl
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x41], al
movzx edx, byte [edi + 0x13]
mov byte [esi + 0x43], dl
movzx ecx, byte [edi + 0x14]
mov byte [esi + 0x44], cl
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x46], al
movzx edx, byte [edi + 0x16]
mov byte [esi + 0x45], dl
mov edx, edi
movzx ecx, byte [edi + 0x17]
add edx, 0x19
mov byte [esi + 0x47], cl
cmp byte [edi + 0x18], 0
je 0x6f141d3f
add edx, 4
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
add edx, 2
shl eax, 8
lea edi, [ecx + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x1c], edi
sub edx, eax
mov eax, dword [esi + 0x10]
movzx edx, dx
mov word [esi + 0x14], dx
mov dword [esi + 0x24], edx
sub eax, edx
test byte [esi], 2
mov dword [esi + 0x18], eax
je 0x6f141978
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
movzx edi, word [esi + 0x36]
mov dword [esp + 0x1c], edi
mov edi, str.x_start:__d__y_start:__d__width:__d__height__d__spu_size:__zu__duration:__llu__d:_zu_p:_u_
movzx edx, word [esi + 0x34]
mov dword [esp + 0x18], edx
mov edx, str.svcdsub
movzx ecx, word [esi + 0x32]
mov dword [esp + 0x14], ecx
mov ecx, 3
movzx eax, word [esi + 0x30]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
movzx eax, byte [esi + 0x3a]
mov dword [esp + 0x20], eax
xor eax, eax
movzx edi, byte [esi + 0x39]
mov dword [esp + 0x1c], edi
mov edi, str.palette__d__T:__2x__Y:__2x__u:__2x__v:__2x
movzx edx, byte [esi + 0x38]
mov dword [esp + 0x18], edx
mov edx, str.svcdsub
movzx ecx, byte [esi + 0x3b]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
mov ecx, 3
mov dword [esp + 4], ecx
mov dword [esp], ebp
call fcn.6f141060
movzx eax, byte [esi + 0x3e]
mov dword [esp + 0x20], eax
mov eax, 1
movzx edi, byte [esi + 0x3d]
mov dword [esp + 0x1c], edi
mov edi, str.palette__d__T:__2x__Y:__2x__u:__2x__v:__2x
movzx edx, byte [esi + 0x3c]
mov dword [esp + 0x18], edx
mov edx, str.svcdsub
movzx ecx, byte [esi + 0x3f]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
mov ecx, 3
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
movzx eax, byte [esi + 0x42]
mov dword [esp + 0x20], eax
mov eax, 2
movzx edi, byte [esi + 0x41]
mov dword [esp + 0x1c], edi
mov edi, str.palette__d__T:__2x__Y:__2x__u:__2x__v:__2x
movzx edx, byte [esi + 0x40]
mov dword [esp + 0x18], edx
mov edx, str.svcdsub
movzx ecx, byte [esi + 0x43]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
mov ecx, 3
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
movzx eax, byte [esi + 0x46]
mov dword [esp + 0x20], eax
mov eax, 3
movzx edi, byte [esi + 0x45]
mov dword [esp + 0x1c], edi
mov edi, str.palette__d__T:__2x__Y:__2x__u:__2x__v:__2x
movzx edx, byte [esi + 0x44]
mov dword [esp + 0x18], edx
mov edx, str.svcdsub
movzx ecx, byte [esi + 0x47]
mov esi, 3
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 4], esi
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
jmp 0x6f141978
mov edi, dword [esp + 0x5c]
mov dword [edi + 4], 2
movzx eax, byte [esi + 2]
add esi, 3
and al, 0x7f
jmp 0x6f1418c9
mov dword [edx + 8], ebx
jmp 0x6f14199a
xor eax, eax
xor edx, edx
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
jmp 0x6f141c68
movzx ebp, word [esi]
sub ebx, 2
add esi, 2
mov word [edi], bp
add edi, 2
jmp 0x6f141a99
movzx ebx, byte [ecx]
inc esi
mov byte [edi], bl
lea ebx, [edx - 1]
mov edi, dword [esp + 0x60]
inc edi
jmp 0x6f141a8d
mov ecx, dword [esi]
sub ebx, 4
add esi, 4
mov dword [edi], ecx
add edi, 4
jmp 0x6f141aa6
mov edi, dword [ebx + 0x28]
mov esi, str.Reassemble
mov eax, str._s:_subtitle_packet_complete__size_zu
mov edx, str.svcdsub
mov ecx, 3
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sub.libvlccore.dll_msg_Generic
jmp 0x6f141ba8