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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push dword [ebp + 0x10]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc], 0xffffffff
push dword [ebp + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x30], xmm0
call fcn.00470280
add esp, 0xc
test eax, eax
je 0x45944c
push str.Skipping_slice_header_due_to_failure_in_init_bitstream._n
call fcn.0048f060
add esp, 4
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
xor eax, eax
cmp dword [ebp + 0x14], 5
push str._nSLICE_HEADER_n
sete al
push 0
push 2
mov dword [ebp - 0x10], eax
call fcn.0048e990
lea eax, [ebp - 0x58]
push eax
call fcn.004706c0
push edx
push eax
push edx
push eax
push str.first_mb_in_slice_______4lld___llX__n
push 0
push 2
call fcn.0048e990
lea eax, [ebp - 0x58]
push eax
call fcn.004706c0
mov ecx, edx
mov dword [ebp - 4], eax
push ecx
push eax
push str.slice_type______________4llX_n
push 0
push 2
mov dword [ebp - 8], ecx
call fcn.0048e990
add esp, 0x44
lea eax, [ebp - 0x58]
push eax
call fcn.004706c0
push edx
push eax
push edx
push eax
push str.pic_parameter_set_id____4lld___llX__n
push 0
push 2
call fcn.0048e990
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x104]
mov eax, dword [ecx + 0x50]
mov dword [ecx + 0x58], eax
mov eax, dword [ecx + 0x54]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebx + 0x104]
mov ecx, dword [eax + 0x20]
mov eax, 1
shl eax, cl
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
push ecx
push eax
call fcn.00470760
mov ecx, dword [ebx + 0x104]
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
mov eax, dword [ebx + 0x104]
push dword [eax + 0x54]
push dword [eax + 0x50]
push str.frame_num_______________4llX_n
push 0
push 2
call fcn.0048e990
mov eax, dword [ebx + 0x104]
add esp, 0x3c
cmp dword [eax + 0x2c], 0
jne 0x459591
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.00470760
mov esi, edx
mov edi, eax
push esi
push edi
push str.field_pic_flag__________4llX_n
push 0
push 2
call fcn.0048e990
add esp, 0x1c
or edi, esi
je 0x459591
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.00470760
mov edi, edx
mov esi, eax
push edi
push esi
push str.bottom_field_flag_______4llX_n
push 0
push 2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.0048e990
mov eax, dword [ebx + 0x118]
add esp, 0x1c
movsd xmm0, qword [eax*8 + 0x535070]
movsd qword [0x5c6dd8], xmm0
jmp 0x45959d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
push str.ird_pic_flag______________4d_n
push 0
push 2
call fcn.0048e990
add esp, 0x10
cmp dword [ebp + 0x14], 5
jne 0x4595d5
lea eax, [ebp - 0x58]
push eax
call fcn.004706c0
push edx
push eax
push edx
push eax
push str.idr_pic_id______________4lld___llX__n
push 0
push 2
call fcn.0048e990
add esp, 0x20
mov eax, dword [ebx + 0x104]
cmp dword [eax + 0x24], 0
jne 0x459609
push dword [eax + 0x28]
lea eax, [ebp - 0x58]
push eax
call fcn.00470760
mov esi, edx
mov edi, eax
push esi
push edi
push str.pic_order_cnt_lsb_______4llX_n
push 0
push 2
mov dword [ebp - 0xc], esi
call fcn.0048e990
add esp, 0x1c
jmp 0x45960e
or edi, 0xffffffff
or esi, edi
mov eax, dword [ebx + 0x104]
cmp dword [eax + 0x24], 1
jne 0x45962c
push str.In_slice_header:_AVC:_ctx__avc_ctx__pic_order_cnt_type__1_not_yet_supported.
push 0x3e8
call fcn.0048eb50
add esp, 8
cmp dword [0x60242c], 0
je 0x45965d
mov eax, dword [ebx + 0x104]
cmp dword [eax + 0x88], edi
jne 0x45964f
cmp dword [eax + 0x8c], esi
je 0x459be9
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], esi
jmp 0x45968f
mov eax, dword [ebx + 0xf4]
mov ecx, dword [ebx + 0x104]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp edx, dword [ecx + 0x90]
jne 0x459683
cmp eax, dword [ecx + 0x94]
je 0x459be9
mov dword [ecx + 0x90], edx
mov dword [ecx + 0x94], eax
cmp dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
ja 0x4596bb
mov eax, dword [ebp - 4]
jb 0x4596a6
cmp eax, 7
ja 0x4596bb
movzx eax, byte [eax + 0x459bf8]
jmp dword [eax*4 + 0x459bf0]
mov edx, dword [ebx + 0x104]
mov esi, 1
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x5c]
shl esi, cl
mov ecx, dword [edx + 0x58]
dec esi
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x50]
sub eax, ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0x54]
sbb ecx, dword [edx + 0x5c]
mov dword [ebp - 8], eax
mov eax, 1
sub eax, dword [ebp - 0x1c]
cdq
cmp dword [ebp - 8], eax
jne 0x459708
cmp ecx, edx
jne 0x459708
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
jmp 0x45970b
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], 0xffffffff
jl 0x459774
jg 0x459719
cmp dword [ebp - 0x28], 0xffffffff
jbe 0x459774
test ecx, ecx
jl 0x45972e
jg 0x45972e
test eax, eax
jb 0x45972e
test ecx, ecx
jl 0x459774
jg 0x45972e
cmp eax, 1
jbe 0x459774
mov eax, dword [ebx + 0x104]
inc dword [eax + 0x3c]
mov eax, dword [ebx + 0x104]
push dword [eax + 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [eax + 0x50]
push str._nJump_in_frame_numbers___lld__lld__n
push 0
push 2
call fcn.0048e990
mov eax, dword [ebx + 0x104]
add esp, 0x1c
mov dword [eax + 0x64], 0xffffffff
mov eax, dword [ebx + 0x104]
mov dword [eax + 0x68], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x4598de
cmp dword [ebx + 0xd0], 3
jg 0x45979d
push str.Ignoring_this_reference_pic._n
push 0
push 4
call fcn.0048e990
add esp, 0xc
jmp 0x4598de
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x5c6bf8]
push str._nReference_pic____s__n
push 0
push 2
call fcn.0048e990
mov eax, dword [ebp - 4]
push esi
push dword [eax*4 + 0x5c6bf8]
push str._nReference_pic____s__maxrefcnt:__3d_n
push 0
push 4
call fcn.0048e990
add esp, 0x24
cmp dword [ebx + 0xfc], 0
je 0x4597e6
push dword [ebp + 0x18]
push ebx
call fcn.00485d40
add esp, 8
mov ecx, dword [ebx + 0x104]
mov eax, dword [ebx + 0xd0]
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xd0], 0
mov eax, dword [ecx + 0x74]
mov dword [ecx + 0x78], eax
mov eax, dword [ebx + 0x104]
mov dword [eax + 0x74], 0
mov ecx, dword [ebx + 0x104]
mov eax, dword [ecx + 0x64]
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x104]
mov dword [eax + 0x64], 0
mov ecx, dword [ebx + 0x104]
mov eax, dword [ecx + 0x6c]
mov dword [ecx + 0x70], eax
mov eax, dword [ebx + 0x104]
mov dword [eax + 0x6c], 0x2710
cmp dword [0x60242c], 0
je 0x4598a1
mov eax, dword [ebx + 0x104]
mov dword [eax + 0x60], edi
mov eax, 0x55555556
mov ecx, dword [ebx + 0x104]
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ecx + 0x60]
cmp edx, eax
jge 0x45987c
lea eax, [edx + 1]
add eax, esi
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x104]
mov ecx, dword [eax + 0x68]
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebx + 0x104]
sar eax, 1
add eax, dword [edx + 0x60]
cmp ecx, eax
jle 0x4598cc
sub ecx, esi
dec ecx
mov dword [edx + 0x68], ecx
jmp 0x4598cc
mov ecx, dword [ebx + 0xf4]
mov edx, dword [ebx + 0x104]
mov eax, dword [ecx + 8]
mov dword [edx + 0x80], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x84], eax
mov eax, dword [ebx + 0x104]
mov dword [eax + 0x60], 0
mov eax, dword [ebx + 0x104]
push dword [eax + 0x60]
push ebx
call fcn.00485cc0
add esp, 8
cmp dword [0x60242c], 0
je 0x4599c4
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + 0x60]
cdq
sub eax, edi
mov ecx, edx
mov dword [ebp - 0x2c], eax
mov eax, esi
sbb ecx, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
cdq
cmp ecx, edx
jl 0x459917
jg 0x459912
cmp dword [ebp - 0x2c], eax
jbe 0x459917
inc esi
add esi, edi
jmp 0x459919
mov esi, edi
mov eax, dword [ebx + 0x104]
cmp esi, dword [eax + 0x64]
jle 0x459927
mov dword [eax + 0x64], esi
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + 0x68]
test eax, eax
jle 0x459995
mov ecx, esi
sub ecx, eax
mov eax, dword [ebx + 0xf4]
dec ecx
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0xf4]
mov ecx, dword [ebx + 0x104]
mov eax, dword [eax + 0x14]
cmp eax, dword [ecx + 0x74]
jle 0x459959
mov dword [ecx + 0x74], eax
movd xmm0, dword [ebx + 0xdc]
mov eax, dword [ebx + 0x104]
cvtdq2pd xmm0, xmm0
movd xmm1, dword [eax + 0x78]
mulsd xmm0, qword [0x535068]
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x4599a2
mov ecx, dword [ebx + 0xf4]
mov eax, dword [ecx + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x14], eax
jmp 0x4599a2
mov eax, dword [ebx + 0xf4]
mov dword [eax + 0x14], 0
mov eax, dword [ebx + 0xf4]
cmp dword [eax + 0x14], 0
jge 0x459aa1
push str.current_tref_is_negative___n
call fcn.0048f060
add esp, 4
jmp 0x459aa1
mov eax, dword [ebx + 0xf4]
mov esi, dword [ebx + 0x104]
mov ecx, dword [eax + 8]
sub ecx, dword [esi + 0x80]
mov edx, dword [eax + 0xc]
sbb edx, dword [esi + 0x84]
shld edx, ecx, 1
add ecx, ecx
call fcn.004f0620
movd xmm1, dword [0x5c6dd0]
sub esp, 8
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x5c6dd8]
divsd xmm0, xmm1
addsd xmm0, qword [0x524190]
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.004f8410
fstp qword [ebp - 0x30]
cvttsd2si esi, qword [ebp - 0x30]
add esp, 8
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jl 0x459a47
push esi
push str._nFound_large_gap__d__in_PTS__Trying_to_recover_..._n
call fcn.0048f060
add esp, 8
xor esi, esi
mov eax, dword [ebx + 0x104]
cmp esi, dword [eax + 0x64]
jle 0x459a55
mov dword [eax + 0x64], esi
mov eax, dword [ebx + 0x104]
cmp esi, dword [eax + 0x6c]
jge 0x459a63
mov dword [eax + 0x6c], esi
mov eax, dword [ebx + 0xf4]
mov dword [eax + 0x14], 1
mov eax, dword [ebx + 0x104]
cmp esi, dword [eax + 0x70]
jne 0x459a88
mov eax, dword [ebx + 0xf4]
mov dword [eax + 0x14], 0
mov eax, dword [ebx + 0x104]
cmp dword [eax + 0x68], 0xffffffff
jne 0x459aa1
mov eax, dword [ebx + 0xf4]
mov dword [eax + 0x14], 0
push dword [ebx + 0xf4]
call fcn.0045bc30
mov eax, dword [ebx + 0x104]
push dword [eax + 0x74]
push dword [eax + 0x68]
push dword [eax + 0x60]
mov eax, dword [ebx + 0xf4]
push esi
push dword [eax + 0x14]
push dword [ebp - 0xc]
push edi
push str.__picordercnt:_3lld_tref:_3d_idx:_3d_refidx:_3d_lmaxidx:_3d_maxtref:_3d_n
push 0
push 4
call fcn.0048e990
mov ecx, dword [ebx + 0xf4]
mov eax, 0x10624dd3
imul dword [0x5c6dd0]
add esp, 0x2c
sar edx, 6
mov eax, edx
shr eax, 0x1f
push dword [ecx + 0x28]
add eax, edx
cdq
push edx
push eax
push dword [ecx + 0x2c]
push dword [ecx + 0x28]
call fcn.004f0650
push edx
push eax
call fcn.0045bb60
add esp, 8
push eax
push str.__sync_pts:_s___8u_
push 0
push 4
call fcn.0048e990
push dword [ebx + 0xd0]
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x5c6bf8]
push str.____s_since_GOP:__2u
push 0
push 4
call fcn.0048e990
mov eax, dword [ebx + 0x104]
push dword [eax + 0x54]
push dword [eax + 0x50]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push str.__b:_lld__frame__lld_n
push 0
push 4
call fcn.0048e990
mov eax, dword [ebx + 0x104]
add esp, 0x44
cmp dword [eax + 0x68], 0xffffffff
jle 0x459ba1
mov eax, dword [ebx + 0xf4]
cmp dword [eax + 0x14], 0
jne 0x459ba1
mov eax, dword [0x6024c8]
and eax, 4
or eax, 0
je 0x459ba1
push str._nNew_temporal_reference:_n
push 0
push 4
call fcn.0048e990
push dword [ebx + 0xf4]
call fcn.0045b910
add esp, 0x10
inc dword [0x601b88]
push dword [ebp + 0x18]
mov eax, dword [ebx + 0xf4]
inc dword [ebx + 0xd0]
mov ecx, dword [ebx + 0x104]
push dword [eax + 0x3c]
push dword [eax + 0x38]
movzx eax, byte [ecx]
push esi
push eax
push dword [ecx + 4]
push ebx
call fcn.00485e90
mov eax, dword [ebx + 0x104]
add esp, 0x1c
mov dword [eax + 0xc], 1
mov eax, dword [ebx + 0x104]
mov byte [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret