Function at 0x486000
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x100000
lea ebx, [esi + 0xc]
mov dword [esi + 4], 0
push ebx
push esi
call fcn.00476180
add esp, 0xc
mov dword [esi + 0x100010], eax
cmp eax, 0xffffffff
jne 0x48603c
push str.Error_reading_input_file__n
push 8
call fcn.0048eb50
add esp, 8
mov eax, dword [esi + 0x100010]
cmp eax, 4
jl 0x486065
cmp byte [ebx], 0x30
jne 0x486065
cmp byte [esi + 0xd], 0x26
jne 0x486065
cmp byte [esi + 0xe], 0xb2
jne 0x486065
cmp byte [esi + 0xf], 0x75
jne 0x486065
mov dword [esi + 4], 3
cmp dword [esi + 4], 0
jne 0x48614b
cmp eax, 4
jl 0x4860b0
cmp byte [ebx], 0x1a
jne 0x486092
cmp byte [esi + 0xd], 0x45
jne 0x486092
cmp byte [esi + 0xe], 0xdf
jne 0x486092
cmp byte [esi + 0xf], 0xa3
jne 0x486092
mov dword [esi + 4], 0xc
cmp byte [ebx], 0x18
jne 0x4860b0
cmp byte [esi + 0xd], 0x53
jne 0x4860b0
cmp byte [esi + 0xe], 0x80
jne 0x4860b0
cmp byte [esi + 0xf], 0x67
jne 0x4860b0
mov dword [esi + 4], 0xc
cmp dword [esi + 4], 0
jne 0x48614b
push eax
push ebx
call fcn.0046e4b0
add esp, 8
cmp eax, 1
jne 0x4860df
push esi
mov dword [esi + 4], 0xb
call fcn.0046e470
add esp, 4
mov dword [esi + 0x1c7d3c], eax
cmp dword [esi + 4], 0
jne 0x48614b
cmp dword [esi + 0x100010], 4
jl 0x48610c
cmp byte [ebx], 0xb7
jne 0x48610c
cmp byte [esi + 0xd], 0xd8
jne 0x48610c
cmp byte [esi + 0xe], 0
jne 0x48610c
cmp byte [esi + 0xf], 0x20
jne 0x48610c
mov dword [esi + 4], 9
cmp dword [esi + 4], 0
jne 0x48614b
cmp dword [esi + 0x100010], 0xb
jl 0x486145
cmp byte [ebx], 0xcc
jne 0x486145
cmp byte [esi + 0xd], 0xcc
jne 0x486145
cmp byte [esi + 0xe], 0xed
jne 0x486145
cmp byte [esi + 0x14], 0
jne 0x486145
cmp byte [esi + 0x15], 0
jne 0x486145
cmp byte [esi + 0x16], 0
jne 0x486145
mov dword [esi + 4], 5
cmp dword [esi + 4], 0
je 0x486154
cmp dword [0x6022a8], 0
je 0x4861b3
mov eax, dword [esi + 0x100010]
cmp eax, 4
jl 0x4861b3
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 8], edi
add eax, 0xfffffff8
je 0x4861b2
nop dword [eax]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
call fcn.004863e0
add esp, 0x10
test eax, eax
je 0x486193
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
cmp ecx, 7
jg 0x4861a6
jmp 0x486199
xor ecx, ecx
inc edi
mov dword [ebp + 8], ecx
mov eax, dword [esi + 0x100010]
sub eax, 8
cmp edi, eax
jb 0x486170
cmp ecx, 1
jle 0x4861b2
mov dword [esi + 4], 7
pop edi
cmp dword [esi + 4], 0
jne 0x4863bd
push esi
call fcn.0040c590
add esp, 4
cmp eax, 1
jne 0x4861e1
push esi
mov dword [esi + 4], 0xd
call fcn.0040c560
add esp, 4
mov dword [esi + 0x1c7d3c], eax
cmp dword [esi + 4], 0
jne 0x4863bd
mov edx, dword [esi + 0x100010]
cmp edx, 0x5e0
jle 0x4863ac
xor eax, eax
nop
cmp byte [ebx + eax], 0x47
jne 0x48624c
cmp byte [eax + esi + 0xc8], 0x47
jne 0x48624c
cmp byte [eax + esi + 0x184], 0x47
jne 0x48624c
cmp byte [eax + esi + 0x240], 0x47
jne 0x48624c
cmp byte [eax + esi + 0x2fc], 0x47
jne 0x48624c
cmp byte [eax + esi + 0x3b8], 0x47
jne 0x48624c
cmp byte [eax + esi + 0x474], 0x47
jne 0x48624c
cmp byte [eax + esi + 0x530], 0x47
je 0x486256
inc eax
cmp eax, 0xbc
jb 0x486200
jmp 0x486269
mov dword [esi + 0x10000c], eax
mov dword [esi + 4], 1
mov dword [esi], 0
cmp dword [esi + 4], 1
jne 0x486293
push str.detect_stream_type:_detected_as_TS_n
push 0
push 1
call fcn.0048e990
push dword [esi + 0x100010]
push ebx
push esi
call fcn.00476a40
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp byte [esi + eax + 0x10], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0xd0], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0x190], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0x250], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0x310], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0x3d0], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0x490], 0x47
jne 0x4862e2
cmp byte [eax + esi + 0x550], 0x47
je 0x4862ec
inc eax
cmp eax, 0xc0
jb 0x486295
jmp 0x4862ff
mov dword [esi + 0x10000c], eax
mov dword [esi + 4], 1
mov dword [esi], 1
cmp dword [esi + 4], 1
jne 0x48630f
push str.detect_stream_type:_detected_as_M2TS_n
jmp 0x486274
xor eax, eax
lea ecx, [edx - 3]
cmp edx, 0xc350
jl 0x486321
mov ecx, 0xc34d
cmp eax, ecx
jae 0x486350
cmp byte [ebx + eax], 0
jne 0x486340
cmp byte [eax + esi + 0xd], 0
jne 0x486340
cmp byte [eax + esi + 0xe], 1
jne 0x486340
cmp byte [eax + esi + 0xf], 0xba
je 0x486343
inc eax
jmp 0x486311
mov dword [esi + 0x10000c], eax
mov dword [esi + 4], 2
cmp dword [esi + 4], 2
jne 0x486367
push str.detect_stream_type:_detected_as_PS_n
push 0
push 1
call fcn.0048e990
add esp, 0xc
cmp byte [ebx], 0x54
jne 0x4863bd
cmp byte [esi + 0xd], 0x69
jne 0x4863bd
cmp byte [esi + 0xe], 0x56
jne 0x4863bd
cmp byte [esi + 0xf], 0x6f
jne 0x4863bd
push str.detect_stream_type:_detected_as_Tivo_PS_n
push 0
push 1
call fcn.0048e990
add esp, 0xc
mov dword [esi + 0x10000c], 0xbb
mov dword [esi + 4], 2
mov dword [esi + 0x1c7d34], 1
jmp 0x4863bd
mov dword [esi + 0x10000c], 0
mov dword [esi + 4], 0
push dword [esi + 0x100010]
push ebx
push esi
call fcn.00476a40
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret