Function at 0x4d23f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eafd1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 8
mov edx, ebx
call fcn.004882e0
and al, 0x1f
cmp al, 7
jne 0x4d3526
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x4d2468
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.H264_Sequence_Parameter_Set
call fcn.00401830
mov byte [ebp - 4], 1
push esi
mov byte [ebp - 4], 0
call fcn.004806f0
mov dword [ebp - 0x10], eax
jmp 0x4d246b
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [ebp - 0x14], eax
cmp eax, edi
jge 0x4d2487
call fcn.0041d34a
mov edi, eax
inc edi
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
push 8
mov edx, ebx
call fcn.004882e0
push 0x28
mov dword [ebp - 0x14], eax
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x4d24e8
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Profile_IDC
call fcn.00401830
mov byte [ebp - 4], 3
push esi
mov byte [ebp - 4], 2
call fcn.0047f2d0
mov dword [ebp - 0x18], eax
jmp 0x4d24ef
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x4d250b
call fcn.0041d34a
mov edi, dword [ebp - 0x10]
inc edi
call fcn.004047b0
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jb 0x4d2531
mov dword [ebp - 0x18], 0
jmp 0x4d2554
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d2551
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jb 0x4d2565
mov dword [ebp - 0x10], 0
jmp 0x4d2588
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d2585
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jb 0x4d2599
mov dword [ebp - 0x1c], 0
jmp 0x4d25bc
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d25b9
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jb 0x4d25cd
mov dword [ebp - 0x20], 0
jmp 0x4d25f0
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d25ed
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
mov dword [ebp - 0x20], eax
push 4
mov edx, ebx
call fcn.004882e0
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 4
test edi, edi
je 0x4d2652
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x20]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Constraint_Set_Flags
mov dword [eax + 0xc], edx
call fcn.00401830
mov byte [ebp - 4], 5
push edi
mov byte [ebp - 4], 4
call fcn.0047efc0
mov dword [ebp - 0x20], eax
jmp 0x4d2659
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d266f
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 0x28
mov dword [eax + edx*4], ecx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x4d26cb
push 8
mov edx, ebx
call fcn.004882e0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Level_IDC
call fcn.00401830
mov byte [ebp - 4], 7
push edi
mov byte [ebp - 4], 6
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d26d2
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d26e8
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 0x28
mov dword [eax + edx*4], ecx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 8
test edi, edi
je 0x4d2742
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Seq_Parameter_Set_ID
call fcn.00401830
mov byte [ebp - 4], 9
push edi
mov byte [ebp - 4], 8
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d2749
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d275f
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
cmp dword [ebp - 0x14], 0x64
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
je 0x4d2792
mov eax, dword [ebp - 0x14]
cmp eax, 0x6e
je 0x4d2792
cmp eax, 0x7a
je 0x4d2792
cmp eax, 0x90
jne 0x4d2ac7
mov edx, ebx
call fcn.00488340
push 0x28
mov dword [ebp - 0x18], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xa
test edi, edi
je 0x4d27dd
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Chroma_Format_IDC
call fcn.00401830
mov byte [ebp - 4], 0xb
push edi
mov byte [ebp - 4], 0xa
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d27e4
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d27fa
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
cmp dword [ebp - 0x18], 3
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
jne 0x4d288c
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xc
test edi, edi
je 0x4d285a
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Residual_Colour_Transform
call fcn.00401830
mov byte [ebp - 4], 0xd
push edi
mov byte [ebp - 4], 0xc
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d2861
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2877
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xe
test edi, edi
je 0x4d28d1
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.BitDepth_Luma___8_
call fcn.00401830
mov byte [ebp - 4], 0xf
push edi
mov byte [ebp - 4], 0xe
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d28d8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d28ee
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x10
test edi, edi
je 0x4d2948
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.BitDepth_Chroma___8_
call fcn.00401830
mov byte [ebp - 4], 0x11
push edi
mov byte [ebp - 4], 0x10
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d294f
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2965
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x4d29e4
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jb 0x4d299e
xor eax, eax
jmp 0x4d29bd
dec dword [ebx + 0xc]
mov edx, dword [ebx + 0xc]
movzx eax, byte [edi]
mov cl, dl
shr eax, cl
and eax, 1
test edx, edx
jne 0x4d29bd
inc edi
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], 8
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.QPPrime_Y_Zero_Transform_Bypass
call fcn.00401830
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 0x12
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d29eb
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2a01
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jb 0x4d2a27
mov dword [ebp - 0x14], 0
jmp 0x4d2a4a
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d2a47
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
mov dword [ebp - 0x14], eax
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x14
test edi, edi
je 0x4d2a8b
mov edx, dword [ebp - 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Seq_Scaling_Matrix_Present
call fcn.00401830
mov byte [ebp - 4], 0x15
push edi
mov byte [ebp - 4], 0x14
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d2a92
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2aa8
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
cmp dword [ebp - 0x14], 0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
jne 0x4d3ca5
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x16
test edi, edi
je 0x4d2b0c
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Log2_Max_Frame_Num___4_
call fcn.00401830
mov byte [ebp - 4], 0x17
push edi
mov byte [ebp - 4], 0x16
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d2b13
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2b29
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
mov edx, ebx
call fcn.00488340
push 0x28
mov dword [ebp - 0x18], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x18
test edi, edi
je 0x4d2b89
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Pic_Order_Cnt_Type
call fcn.00401830
mov byte [ebp - 4], 0x19
push edi
mov byte [ebp - 4], 0x18
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d2b90
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2ba6
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
add esp, 4
cmp dword [ebp - 0x18], 0
mov edi, eax
mov dword [ebp - 0x24], edi
jne 0x4d2c3d
mov dword [ebp - 4], 0x1a
test edi, edi
je 0x4d2c06
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Log2_Max_Pic_Order_Cnt_Lsb___4_
call fcn.00401830
mov byte [ebp - 4], 0x1b
push edi
mov byte [ebp - 4], 0x1a
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d2c0d
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2c23
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
jmp 0x4d2f53
mov dword [ebp - 4], 0x1c
test edi, edi
je 0x4d2c73
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Delta_Pic_Order_Always_Zero
call fcn.00401830
mov byte [ebp - 4], 0x1d
push edi
mov byte [ebp - 4], 0x1c
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d2c7a
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2c90
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x1e
test edi, edi
je 0x4d2cfd
mov edx, ebx
call fcn.00488340
test al, 1
je 0x4d2cd2
inc eax
cdq
sub eax, edx
sar eax, 1
jmp 0x4d2cd9
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Offset_For_Non_Ref_Pic
call fcn.00401830
mov byte [ebp - 4], 0x1f
push edi
mov byte [ebp - 4], 0x1e
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d2d04
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2d1a
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x20
test edi, edi
je 0x4d2d87
mov edx, ebx
call fcn.00488340
test al, 1
je 0x4d2d5c
inc eax
cdq
sub eax, edx
sar eax, 1
jmp 0x4d2d63
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Offset_For_Top_To_Bottom_Field
call fcn.00401830
mov byte [ebp - 4], 0x21
push edi
mov byte [ebp - 4], 0x20
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d2d8e
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2da4
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
mov edx, ebx
call fcn.00488340
push 0x28
mov dword [ebp - 0x14], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x22
test edi, edi
je 0x4d2e04
mov ecx, dword [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Num_Ref_Frames_In_Pic_Order_Cnt_Cycle
call fcn.00401830
mov byte [ebp - 4], 0x23
push edi
mov byte [ebp - 4], 0x22
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d2e0b
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2e21
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
cmp dword [ebp - 0x14], 0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
jle 0x4d2f53
push 0x51e49c
lea ecx, [ebp - 0x10]
call fcn.00401830
mov dword [ebp - 4], 0x24
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4d2ea6
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x4d2e76
push 2
push 0x51e4a0
lea ecx, [ebp - 0x10]
call fcn.00402220
mov edx, ebx
call fcn.00488340
test al, 1
je 0x4d2e89
inc eax
cdq
sub eax, edx
sar eax, 1
jmp 0x4d2e90
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0x51e4a8
lea edi, [ebp - 0x10]
call fcn.004145f0
add esp, 8
dec dword [ebp - 0x20]
jne 0x4d2e5e
push 0x28
call fcn.00415ec5
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4d2efe
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x20], edi
call fcn.00402370
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Offset_For_Ref_Frames
call fcn.00401830
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x25
call fcn.0047ff90
mov dword [ebp - 0x20], eax
jmp 0x4d2f05
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0x24
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2f18
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d2f53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x2a
test edi, edi
je 0x4d2f98
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Num_Ref_Frames
call fcn.00401830
mov byte [ebp - 4], 0x2b
push edi
mov byte [ebp - 4], 0x2a
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d2f9f
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d2fb5
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0x2c
test eax, eax
je 0x4d3034
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jb 0x4d2fee
xor eax, eax
jmp 0x4d300d
dec dword [ebx + 0xc]
mov edx, dword [ebx + 0xc]
movzx eax, byte [edi]
mov cl, dl
shr eax, cl
and eax, 1
test edx, edx
jne 0x4d300d
inc edi
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], 8
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Gaps_In_Frame_Num_Value_Allowed
call fcn.00401830
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 0x2c
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d303b
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3051
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x28
mov dword [edx + ecx*4], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x2e
test edi, edi
je 0x4d30ab
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Pic_Width_In_Mbs___1_
call fcn.00401830
mov byte [ebp - 4], 0x2f
push edi
mov byte [ebp - 4], 0x2e
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d30b2
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d30c8
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x28
mov dword [edx + ecx*4], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x30
test edi, edi
je 0x4d3122
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Pic_Height_In_Map_Units___1_
call fcn.00401830
mov byte [ebp - 4], 0x31
push edi
mov byte [ebp - 4], 0x30
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3129
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d313f
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jb 0x4d3165
mov dword [ebp - 0x14], 0
jmp 0x4d3188
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d3185
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
mov dword [ebp - 0x14], eax
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x32
test edi, edi
je 0x4d31c9
mov edx, dword [ebp - 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Frame_Mbs_Only
call fcn.00401830
mov byte [ebp - 4], 0x33
push edi
mov byte [ebp - 4], 0x32
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d31d0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d31e6
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
cmp dword [ebp - 0x14], 0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
jne 0x4d3278
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x34
test edi, edi
je 0x4d3246
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Mb_Adaptive_Frame_Field
call fcn.00401830
mov byte [ebp - 4], 0x35
push edi
mov byte [ebp - 4], 0x34
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d324d
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3263
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
push 0x28
call fcn.00415ec5
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0x36
test eax, eax
je 0x4d32e2
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jb 0x4d329c
xor eax, eax
jmp 0x4d32bb
dec dword [ebx + 0xc]
mov edx, dword [ebx + 0xc]
movzx eax, byte [edi]
mov cl, dl
shr eax, cl
and eax, 1
test edx, edx
jne 0x4d32bb
inc edi
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], 8
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Direct_8x8_Inference
call fcn.00401830
mov byte [ebp - 4], 0x37
mov eax, dword [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x36
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d32e9
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d32ff
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov edx, dword [ebp - 0x20]
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
mov edx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jae 0x4d33fb
dec dword [ebx + 0xc]
movzx eax, byte [edx]
mov cl, byte [ebx + 0xc]
mov edi, dword [ebx + 0xc]
shr eax, cl
and eax, 1
test edi, edi
jne 0x4d3340
inc edx
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], 8
test eax, eax
je 0x4d33fb
mov edx, ebx
call fcn.00488340
mov edx, ebx
mov dword [ebp - 0x34], eax
call fcn.00488340
mov edx, ebx
mov dword [ebp - 0x2c], eax
call fcn.00488340
mov edx, ebx
mov dword [ebp - 0x30], eax
call fcn.00488340
push 0x28
mov dword [ebp - 0x28], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x38
test edi, edi
je 0x4d33c9
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x28]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Frame_Crop__l_r_t_b_
mov dword [eax + 0xc], edx
call fcn.00401830
mov byte [ebp - 4], 0x39
push edi
mov byte [ebp - 4], 0x38
call fcn.0047efc0
mov dword [ebp - 0x20], eax
jmp 0x4d33d0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d33e6
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jae 0x4d34a8
dec dword [ebx + 0xc]
mov edx, dword [ebx + 0xc]
movzx eax, byte [edi]
mov cl, dl
shr eax, cl
and eax, 1
test edx, edx
jne 0x4d3426
inc edi
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], 8
test eax, eax
je 0x4d34a8
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov ebx, 0x3a
mov dword [ebp - 4], ebx
test edi, edi
je 0x4d3469
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x51e64c
call fcn.00401830
mov byte [ebp - 4], 0x3b
push edi
mov byte [ebp - 4], bl
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d3470
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [esi + 8]
test ebx, ebx
jns 0x4d3483
call fcn.0041d34a
lea edi, [ebx + 1]
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + ebx*4], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov ebx, 0x3c
mov dword [ebp - 4], ebx
test edi, edi
je 0x4d34e7
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.VUI_Parameters_present
call fcn.00401830
mov byte [ebp - 4], 0x3d
push edi
mov byte [ebp - 4], bl
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d34ee
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [esi + 8]
test ebx, ebx
jns 0x4d3501
call fcn.0041d34a
lea edi, [ebx + 1]
call fcn.004047b0
mov eax, dword [ebp - 0x20]
mov edx, dword [esi + 4]
mov dword [edx + ebx*4], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 8
jne 0x4d3ca5
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0x3e
test esi, esi
je 0x4d356b
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.H264_Picture_Parameter_Set
call fcn.00401830
mov byte [ebp - 4], 0x3f
push esi
mov byte [ebp - 4], 0x3e
call fcn.004806f0
mov dword [ebp - 0x14], eax
jmp 0x4d3572
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x4d358e
call fcn.0041d34a
mov edi, eax
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0x40
test esi, esi
je 0x4d35e7
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.PPS_ID
call fcn.00401830
mov byte [ebp - 4], 0x41
push esi
mov byte [ebp - 4], 0x40
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d35ee
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d360a
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x42
test edi, edi
je 0x4d3664
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SPS_ID
call fcn.00401830
mov byte [ebp - 4], 0x43
push edi
mov byte [ebp - 4], 0x42
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d366b
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3681
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x44
test edi, edi
je 0x4d36db
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Entropy_Coding_Mode
call fcn.00401830
mov byte [ebp - 4], 0x45
push edi
mov byte [ebp - 4], 0x44
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d36e2
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d36f8
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x46
test edi, edi
je 0x4d3752
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Pic_Order_Present
call fcn.00401830
mov byte [ebp - 4], 0x47
push edi
mov byte [ebp - 4], 0x46
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3759
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d376f
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
mov edx, ebx
call fcn.00488340
push 0x28
mov dword [ebp - 0x18], eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x48
test edi, edi
je 0x4d37cf
mov ecx, dword [ebp - 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Num_Slice_Groups___1_
call fcn.00401830
mov byte [ebp - 4], 0x49
push edi
mov byte [ebp - 4], 0x48
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d37d6
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d37ec
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
cmp dword [ebp - 0x18], 0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
jle 0x4d3855
mov edx, ebx
call fcn.00488340
push 0x28
mov ebx, eax
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x4a
test edi, edi
je 0x4d34e7
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Slice_Group_Map_Type
call fcn.00401830
mov byte [ebp - 4], 0x4b
push edi
mov byte [ebp - 4], 0x4a
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d34ee
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x4c
test edi, edi
je 0x4d389a
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Num_Ref_Idx_10_Activ___1_
call fcn.00401830
mov byte [ebp - 4], 0x4d
push edi
mov byte [ebp - 4], 0x4c
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d38a1
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d38b7
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x4e
test edi, edi
je 0x4d3911
mov edx, ebx
call fcn.00488340
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Num_Ref_Idx_11_Activ___1_
call fcn.00401830
mov byte [ebp - 4], 0x4f
push edi
mov byte [ebp - 4], 0x4e
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3918
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d392e
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x50
test edi, edi
je 0x4d3988
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Weighted_Pred
call fcn.00401830
mov byte [ebp - 4], 0x51
push edi
mov byte [ebp - 4], 0x50
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d398f
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d39a5
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x52
test edi, edi
je 0x4d3a01
push 2
mov edx, ebx
call fcn.004882e0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Weighted_Bibred_Idc
call fcn.00401830
mov byte [ebp - 4], 0x53
push edi
mov byte [ebp - 4], 0x52
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3a08
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3a1e
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x54
test edi, edi
je 0x4d3a8b
mov edx, ebx
call fcn.00488340
test al, 1
je 0x4d3a60
inc eax
cdq
sub eax, edx
sar eax, 1
jmp 0x4d3a67
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Pic_Init_QP___26_
call fcn.00401830
mov byte [ebp - 4], 0x55
push edi
mov byte [ebp - 4], 0x54
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d3a92
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3aa8
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x56
test edi, edi
je 0x4d3b15
mov edx, ebx
call fcn.00488340
test al, 1
je 0x4d3aea
inc eax
cdq
sub eax, edx
sar eax, 1
jmp 0x4d3af1
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Pic_Init_QS___26_
call fcn.00401830
mov byte [ebp - 4], 0x57
push edi
mov byte [ebp - 4], 0x56
call fcn.0047f2d0
mov dword [ebp - 0x20], eax
jmp 0x4d3b1c
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3b32
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x58
test edi, edi
je 0x4d3b8c
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Deblocking_Filter_Ctrl_Present
call fcn.00401830
mov byte [ebp - 4], 0x59
push edi
mov byte [ebp - 4], 0x58
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3b93
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3ba9
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x5a
test edi, edi
je 0x4d3c03
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Constrained_Intra_Pred
call fcn.00401830
mov byte [ebp - 4], 0x5b
push edi
mov byte [ebp - 4], 0x5a
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3c0a
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4d3c20
call fcn.0041d34a
mov edi, dword [ebp - 0x1c]
inc edi
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0x28
mov dword [ecx + eax*4], edx
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x5c
test edi, edi
je 0x4d3c7a
mov edx, ebx
call fcn.00488280
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Redundant_Pic_Count_Present
call fcn.00401830
mov byte [ebp - 4], 0x5d
push edi
mov byte [ebp - 4], 0x5c
call fcn.0047f1d0
mov dword [ebp - 0x20], eax
jmp 0x4d3c81
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [esi + 8]
test ebx, ebx
jns 0x4d3c94
call fcn.0041d34a
lea edi, [ebx + 1]
call fcn.004047b0
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov dword [ecx + ebx*4], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret