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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b4
mov eax, dword [0x5b16b0]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
imul eax, dword [esi + 0xc]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
push edi
cdq
xor edi, edi
push 0x30
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x8c]
push edi
push eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
call fcn.004a1c90
push 0x38
lea ecx, [esp + 0xc8]
push edi
push ecx
call fcn.004a1c90
mov edx, dword [esi + 0x4310]
add esp, 0x18
or edx, dword [esi + 0x4314]
jne 0x4c1819
mov eax, dword [esi + 0x41e0]
or eax, dword [esi + 0x41e4]
jne 0x4c1819
mov ecx, dword [esi + 0x4278]
or ecx, dword [esi + 0x427c]
mov dword [esp + 0x28], edi
je 0x4c1821
mov dword [esp + 0x28], 1
cmp dword [esi + 4], edi
jle 0x4c1855
lea ebx, [esi + 0x22c]
lea esp, [esp]
mov eax, dword [ebx]
cmp dword [eax + 0x430], 0
je 0x4c184a
mov edx, dword [eax + 0x18f4]
push edx
call fcn.004cf540
add esp, 4
add edi, 1
add ebx, 4
cmp edi, dword [esi + 4]
jl 0x4c1830
mov eax, 0x57ad00
mov dword [esp + 0x34], eax
mov edi, edi
mov edi, dword [eax]
mov ebx, dword [esi + edi*4 + 0x4028]
test ebx, ebx
jle 0x4c199b
cmp dword [esi + 0x1b4], 0
mov dword [esp + 0x48], ebx
je 0x4c1964
mov ecx, dword [esp + 0x6c]
fild qword [esi + edi*8 + 0x40d8]
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, ebx
cdq
push ecx
push edx
push eax
call fcn.004a3f90
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
fmul qword [0x57ad28]
fdivp st(1)
fld qword [0x57ad20]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4c18ca
fstp st(0)
fld dword [0x578018]
jmp 0x4c18e8
call fcn.00567f60
fmul qword [0x57ad18]
fstp qword [esp + 0x40]
fld qword [0x574890]
call fcn.00567f60
fdivr qword [esp + 0x40]
fstp dword [esp + 0x38]
sub esp, 0x38
fild dword [esp + 0x80]
mov edx, dword [edi*4 + 0x5b2da8]
fld dword [esp + 0x70]
fstp qword [esp + 0x30]
fld qword [esi + edi*8 + 0x4100]
fdiv st(1)
fstp qword [esp + 0x28]
fld qword [esi + edi*8 + 0x4178]
fdiv st(1)
fstp qword [esp + 0x20]
fld qword [esi + edi*8 + 0x4150]
fdiv st(1)
fstp qword [esp + 0x18]
fld qword [esi + edi*8 + 0x4128]
fdiv st(1)
fstp qword [esp + 0x10]
fild qword [esi + edi*8 + 0x4040]
fdiv st(1)
fstp qword [esp + 8]
fdivr qword [esi + edi*8 + 0x4068]
fstp qword [esp]
push ebx
push edx
push str.slice__s:__5d_Avg_QP:_5.2f__size:_6.0f__PSNR_Mean_Y:_5.2f_U:_5.2f_V:_5.2f_Avg:_5.2f_Global:_5.2f_n
push 2
push esi
call fcn.004c44b0
add esp, 0x4c
jmp 0x4c199b
fild dword [esp + 0x48]
sub esp, 0x10
fild qword [esi + edi*8 + 0x4040]
mov eax, dword [edi*4 + 0x5b2da8]
fdiv st(1)
fstp qword [esp + 8]
fdivr qword [esi + edi*8 + 0x4068]
fstp qword [esp]
push ebx
push eax
push 0x57b390
push 2
push esi
call fcn.004c44b0
add esp, 0x24
mov eax, dword [esp + 0x34]
add eax, 4
cmp eax, 0x57ad14
mov dword [esp + 0x34], eax
jl 0x4c1860
mov edx, dword [esi + 0x5c]
test edx, edx
je 0x4c1a64
cmp dword [esi + 0x4028], 0
je 0x4c1a64
xor edi, edi
lea ecx, [esp + 0xf0]
xor eax, eax
test edx, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edi
jl 0x4c19fb
lea ecx, [esi + 0x4090]
mov ebx, dword [ecx]
add eax, 1
imul ebx, eax
add edi, ebx
add ecx, 4
cmp eax, edx
jle 0x4c19e6
mov dword [esp + 0x38], edi
xor eax, eax
test edx, edx
jl 0x4c1a4c
fild dword [esp + 0x38]
lea edi, [esi + 0x4090]
fstp qword [esp + 0x20]
lea ebx, [eax + 1]
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sub esp, 8
fmul qword [0x57b388]
fimul dword [edi]
fdiv qword [esp + 0x28]
fstp qword [esp]
push str.__4.1f__
push edx
call fcn.0049c054
add dword [esp + 0x3c], eax
mov eax, ebx
add esp, 0x10
add edi, 4
cmp eax, dword [esi + 0x5c]
jle 0x4c1a0f
lea eax, [esp + 0xf0]
push eax
push str.consecutive_B_frames:_s_n
push 2
push esi
call fcn.004c44b0
add esp, 0x10
mov dword [esp + 0x2c], 0
mov edi, 0x898
xor ecx, ecx
cmp ecx, 0xc
je 0x4c1a9e
movzx eax, byte [ecx + 0x57ab6c]
add eax, dword [esp + 0x2c]
lea edx, [edi + ecx]
mov ebx, dword [esi + edx*8]
add dword [esp + eax*8 + 0x80], ebx
mov edx, dword [esi + edx*8 + 4]
lea eax, [esp + eax*8 + 0x80]
adc dword [eax + 4], edx
add ecx, 1
cmp ecx, 0x11
jl 0x4c1a73
add dword [esp + 0x2c], 7
add edi, 0x11
cmp edi, 0x8ba
jl 0x4c1a71
mov eax, dword [esi + 0x4030]
test eax, eax
jle 0x4c1b70
mov ecx, dword [esi + 0x1ee0]
imul ecx, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov eax, str...PCM
fild dword [esp + 0x30]
fdiv qword [0x57b388]
fst qword [esp + 0x20]
jne 0x4c1af0
mov eax, 0x592027
fild qword [esi + 0x42f8]
sub esp, 0x18
lea edx, [esp + 0x108]
fdiv st(1)
fstp qword [esp + 0x10]
fild qword [esi + 0x4300]
fdiv st(1)
fstp qword [esp + 8]
fild qword [esi + 0x4308]
fdivrp st(1)
fstp qword [esp]
push eax
push str.I16..4_s:__4.1f____4.1f____4.1f__
push edx
call fcn.0049c054
add esp, 0x24
cmp dword [esp + 0x28], 0
lea eax, [esp + eax + 0xf0]
je 0x4c1b58
fild qword [esi + 0x4310]
sub esp, 8
fdiv qword [esp + 0x28]
fstp qword [esp]
push str.__4.1f__
push eax
call fcn.0049c054
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
push 0x57b360
push 2
push esi
call fcn.004c44b0
add esp, 0x10
mov eax, dword [esi + 0x4028]
test eax, eax
jle 0x4c1cc9
mov ecx, dword [esi + 0x1ee0]
imul ecx, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov eax, str...PCM
fild dword [esp + 0x30]
fdiv qword [0x57b388]
fst qword [esp + 0x20]
jne 0x4c1baa
mov eax, 0x592027
fild qword [esi + 0x41c8]
sub esp, 0x18
lea edx, [esp + 0x108]
fdiv st(1)
fstp qword [esp + 0x10]
fild qword [esi + 0x41d0]
fdiv st(1)
fstp qword [esp + 8]
fild qword [esi + 0x41d8]
fdivrp st(1)
fstp qword [esp]
push eax
push str.I16..4_s:__4.1f____4.1f____4.1f__
push edx
call fcn.0049c054
add esp, 0x24
cmp dword [esp + 0x28], 0
lea eax, [esp + eax + 0xf0]
je 0x4c1c12
fild qword [esi + 0x41e0]
sub esp, 8
fdiv qword [esp + 0x28]
fstp qword [esp]
push str.__4.1f__
push eax
call fcn.0049c054
add esp, 0x10
fld qword [esp + 0x20]
sub esp, 0x30
fld qword [0x57b358]
mov eax, dword [esp + 0xd0]
fmul st(1)
add eax, dword [esp + 0xd8]
fild qword [esi + 0x41f8]
mov ecx, dword [esp + 0xd4]
adc ecx, dword [esp + 0xdc]
mov dword [esp + 0x50], eax
fdivrp st(2)
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xb8]
add edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
adc eax, dword [esp + 0xc4]
lea ecx, [esp + 0x120]
fxch st(1)
fstp qword [esp + 0x28]
fild qword [esp + 0xe0]
fdiv st(1)
fstp qword [esp + 0x20]
fild qword [esp + 0x50]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
fdiv st(1)
fstp qword [esp + 0x18]
fild qword [esp + 0xc8]
fdiv st(1)
fstp qword [esp + 0x10]
fild qword [esp + 0x50]
fdiv st(1)
fstp qword [esp + 8]
fild qword [esp + 0xb0]
fdivrp st(1)
fstp qword [esp]
push ecx
push str.mb_P___s__P16..4:__4.1f____4.1f____4.1f____4.1f____4.1f______skip:_4.1f___n
push 2
push esi
call fcn.004c44b0
add esp, 0x40
mov eax, dword [esi + 0x402c]
xor ecx, ecx
cmp eax, ecx
jle 0x4c1f46
mov edx, dword [esi + 0x1ee0]
imul edx, eax
mov dword [esp + 0x30], edx
xor eax, eax
cmp dword [esp + 0x28], ecx
fild dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
fdiv qword [0x57b388]
mov dword [esp + 0x64], eax
lea edi, [esi + 0x4260]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov eax, str...PCM
fst qword [esp + 0x40]
jne 0x4c1d24
mov eax, 0x592027
fild qword [edi]
sub esp, 0x18
fdiv st(1)
fstp qword [esp + 0x10]
fild qword [edi + 8]
fdiv st(1)
fstp qword [esp + 8]
fild qword [edi + 0x10]
fdivrp st(1)
fstp qword [esp]
push eax
lea eax, [esp + 0x10c]
push str.I16..4_s:__4.1f____4.1f____4.1f__
push eax
call fcn.0049c054
add esp, 0x24
cmp dword [esp + 0x28], 0
lea eax, [esp + eax + 0xf0]
je 0x4c1d7f
fild qword [edi + 0x18]
sub esp, 8
fdiv qword [esp + 0x48]
fstp qword [esp]
push str.__4.1f__
push eax
call fcn.0049c054
add esp, 0x10
mov eax, 0x57aaea
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
movzx ecx, byte [eax - 2]
test ecx, ecx
movzx edx, byte [eax]
jne 0x4c1d9b
test edx, edx
je 0x4c1dc2
mov eax, dword [esp + 0x28]
lea ebx, [ecx + 1]
mov ecx, dword [eax + 4]
imul ebx, edx
mov edx, dword [eax]
push 0
push 2
push ecx
push edx
lea ebx, [esp + ebx*8 + 0x60]
call fcn.004a3f90
add dword [ebx], eax
mov eax, dword [esp + 0x2c]
adc dword [ebx + 4], edx
movzx ecx, byte [eax - 1]
test ecx, ecx
movzx edx, byte [eax + 1]
jne 0x4c1dd2
test edx, edx
je 0x4c1df9
mov eax, dword [esp + 0x28]
lea ebx, [ecx + 1]
mov ecx, dword [eax + 4]
imul ebx, edx
mov edx, dword [eax]
push 0
push 2
push ecx
push edx
lea ebx, [esp + ebx*8 + 0x60]
call fcn.004a3f90
add dword [ebx], eax
mov eax, dword [esp + 0x2c]
adc dword [ebx + 4], edx
add dword [esp + 0x28], 8
add eax, 4
cmp eax, 0x57ab2e
mov dword [esp + 0x2c], eax
jl 0x4c1d8c
mov eax, dword [esi + 0x4560]
add dword [esp + 0x50], eax
mov ecx, dword [esi + 0x4564]
mov edx, dword [esi + 0x4580]
adc dword [esp + 0x54], ecx
add dword [esp + 0x58], edx
mov eax, dword [esi + 0x4584]
mov ecx, dword [esi + 0x45a0]
adc dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x60]
mov edx, dword [esi + 0x45a4]
mov eax, dword [esi + 0x45a8]
add ebx, ecx
adc dword [esp + 0x64], edx
mov ecx, dword [esi + 0x45ac]
push 0
add eax, 2
push 4
adc ecx, 0
push ecx
push eax
mov dword [esp + 0x70], ebx
call fcn.004a3fd0
add dword [edi + 0x38], eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0xf0]
adc dword [edi + 0x3c], edx
add ebx, dword [esp + 0x58]
mov edx, dword [esp + 0xc0]
adc eax, dword [esp + 0x5c]
add ebx, dword [esp + 0x50]
adc eax, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
sub esp, 0x40
add edx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
fdiv qword [0x57b388]
adc eax, dword [esp + 0x10c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
fld qword [esp + 0x80]
fld qword [0x57b358]
fmul st(1)
fild qword [esp + 0xa0]
fdiv st(3)
fstp qword [esp + 0x38]
fild qword [esp + 0x98]
fdiv st(3)
fstp qword [esp + 0x30]
fild qword [esp + 0x90]
fdivrp st(3)
fxch st(2)
fstp qword [esp + 0x28]
fild qword [edi + 0x90]
fdiv st(1)
fstp qword [esp + 0x20]
fild qword [edi + 0x38]
fdivrp st(1)
fstp qword [esp + 0x18]
fild qword [esp + 0x110]
fdiv st(1)
fstp qword [esp + 0x10]
fild qword [esp + 0x60]
fdiv st(1)
fstp qword [esp + 8]
fild qword [esp + 0xf8]
fdivrp st(1)
fstp qword [esp]
push ecx
push 0x57b298
push 2
push esi
call fcn.004c44b0
add esp, 0x50
push esi
call fcn.004c7690
mov edx, dword [esi + 0x4028]
add edx, dword [esi + 0x4030]
mov eax, dword [esi + 0x402c]
add edx, eax
add esp, 4
test edx, edx
jle 0x4c24b5
mov edi, dword [esi + 0x4300]
fild dword [esi + 0x44]
add edi, dword [esi + 0x4268]
mov ebx, dword [esi + 0x4304]
adc ebx, dword [esi + 0x426c]
fidiv dword [esi + 0x48]
add edi, dword [esi + 0x41d0]
mov eax, dword [esi + 0x4308]
adc ebx, dword [esi + 0x41d4]
add eax, dword [esi + 0x42f8]
mov ecx, dword [esi + 0x430c]
adc ecx, dword [esi + 0x42fc]
add eax, dword [esi + 0x4270]
mov dword [esp + 0x70], edi
adc ecx, dword [esi + 0x4274]
add eax, dword [esi + 0x4260]
mov dword [esp + 0x74], ebx
adc ecx, dword [esi + 0x4264]
add eax, dword [esi + 0x41d8]
adc ecx, dword [esi + 0x41dc]
add eax, dword [esi + 0x41c8]
adc ecx, dword [esi + 0x41cc]
add eax, edi
mov edi, dword [esi + 0x4278]
adc ecx, ebx
add edi, dword [esi + 0x41e0]
mov ebx, dword [esi + 0x427c]
adc ebx, dword [esi + 0x41e4]
add edi, dword [esi + 0x4310]
mov dword [esp + 0x38], eax
adc ebx, dword [esi + 0x4314]
add edi, eax
mov eax, dword [esi + 0x1ee0]
adc ebx, ecx
mov dword [esp + 0x3c], ecx
mov ecx, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
imul eax, ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
mov ecx, dword [esi + 0x4050]
add ecx, dword [esi + 0x4048]
cdq
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x4054]
adc edx, dword [esi + 0x404c]
add ecx, dword [esi + 0x4040]
mov dword [esp + 0x20], eax
adc edx, dword [esi + 0x4044]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0xa3c]
cmp dword [eax + 0x3c], 0
fild qword [esp + 0x40]
fmulp st(1)
fidiv dword [esp + 0x2c]
fdiv qword [0x57b290]
fstp dword [esp + 0x30]
je 0x4c20ce
fild qword [esi + 0x45d8]
sub esp, 0x10
fld qword [0x57b388]
fmul st(1), st(0)
fild qword [esi + 0x45d0]
fdivp st(2)
fxch st(1)
fstp qword [esp + 8]
fild qword [esp + 0x80]
fmulp st(1)
fild qword [esp + 0x48]
fdivp st(1)
fstp qword [esp]
push str.8x8_transform__intra:_.1f____inter:_.1f___n
push 2
push esi
call fcn.004c44b0
add esp, 0x1c
cmp dword [esi + 0x170], 3
jne 0x4c211a
cmp dword [esi + 0x402c], 0
je 0x4c211a
fild dword [esi + 0x402c]
sub esp, 0x10
fild dword [esi + 0x4a18]
fld qword [0x57b388]
fmul st(1), st(0)
fxch st(1)
fdiv st(2)
fstp qword [esp + 8]
fimul dword [esi + 0x4a1c]
fdivrp st(1)
fstp qword [esp]
push str.direct_mvs__spatial:_.1f____temporal:_.1f___n
push 2
push esi
call fcn.004c44b0
add esp, 0x1c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, edi
sbb ecx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fild qword [esp + 0x40]
sub esp, 0x10
fild qword [esp + 0x58]
fild qword [esi + 0x4a08]
fld qword [0x57b388]
fmul st(1), st(0)
fxch st(1)
fdiv st(3)
fstp qword [esp + 8]
fild qword [esi + 0x49f8]
fmul st(1)
fdivrp st(3)
fxch st(2)
fstp qword [esp]
fild qword [esi + 0x49e8]
push 0
push 4
push ecx
push eax
fmul st(2)
call fcn.004a3f90
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
fild qword [esp + 0x30]
sub esp, 0x18
fdivp st(1)
fstp qword [esp + 0x10]
fild qword [esi + 0x4a00]
fmul st(2)
fdiv st(1)
fstp qword [esp + 8]
fild qword [esi + 0x49f0]
fmul st(2)
fdivrp st(1)
fstp qword [esp]
fild qword [esi + 0x49e0]
push 0
push 4
push ebx
push edi
fmulp st(1)
call fcn.004a3f90
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
fild qword [esp + 0x48]
sub esp, 8
fdivp st(1)
fstp qword [esp]
push str.coded_y_uvDC_uvAC_intra:_.1f____.1f____.1f___inter:_.1f____.1f____.1f___n
push 2
push esi
call fcn.004c44b0
lea ecx, [esi + 0x45e0]
add esp, 0x3c
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0xf0]
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov eax, 2
add edx, 8
mov ebx, dword [edx - 8]
mov edi, dword [edx - 4]
or ebx, edi
je 0x4c2239
mov ecx, dword [edx - 8]
add dword [esp + 0x20], ecx
lea ecx, [eax - 2]
adc dword [esp + 0x24], edi
mov ebx, dword [edx]
mov edi, dword [edx + 4]
or ebx, edi
je 0x4c224f
mov ecx, dword [edx]
add dword [esp + 0x20], ecx
lea ecx, [eax - 1]
adc dword [esp + 0x24], edi
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0xc]
or ebx, edi
je 0x4c2266
mov ecx, dword [edx + 8]
add dword [esp + 0x20], ecx
mov ecx, eax
adc dword [esp + 0x24], edi
mov ebx, dword [edx + 0x10]
mov edi, dword [edx + 0x14]
or ebx, edi
je 0x4c227e
mov ecx, dword [edx + 0x10]
add dword [esp + 0x20], ecx
lea ecx, [eax + 1]
adc dword [esp + 0x24], edi
add eax, 4
lea edi, [eax - 2]
add edx, 0x20
cmp edi, 0x20
jl 0x4c2221
test ecx, ecx
je 0x4c2301
jl 0x4c22d8
fild qword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
add ecx, 1
fstp qword [esp + 0x78]
mov dword [esp + 0x70], ecx
fild qword [edi]
sub esp, 8
fmul qword [0x57b388]
fdiv qword [esp + 0x80]
fstp qword [esp]
push str.__4.1f__
push ebx
call fcn.0049c054
add esp, 0x10
add ebx, eax
add edi, 8
sub dword [esp + 0x70], 1
jne 0x4c22a9
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xf0]
push ecx
movsx ecx, byte [eax + 0x57b1e0]
push edx
push ecx
push str.ref__c_L_d__s_n
push 2
push esi
call fcn.004c44b0
add esp, 0x18
mov eax, dword [esp + 0x34]
add dword [esp + 0x28], 0x200
add eax, 1
cmp eax, 2
mov dword [esp + 0x34], eax
jl 0x4c2200
mov eax, dword [esp + 0x48]
add dword [esp + 0x38], 0x100
add eax, 1
cmp eax, 2
mov dword [esp + 0x48], eax
jl 0x4c21f0
cmp dword [esi + 0x1b8], 0
je 0x4c236e
fld qword [esi + 0x41b0]
sub esp, 8
fadd qword [esi + 0x41a0]
fadd qword [esi + 0x41a8]
fidiv dword [esp + 0x34]
fstp qword [esp]
push str.SSIM_Mean_Y:_.7f_n
push 2
push esi
call fcn.004c44b0
add esp, 0x14
cmp dword [esi + 0x1b4], 0
je 0x4c249b
mov edx, dword [esi + 0x40e8]
add edx, dword [esi + 0x40e0]
mov eax, dword [esi + 0x40ec]
adc eax, dword [esi + 0x40e4]
add edx, dword [esi + 0x40d8]
mov ecx, dword [esp + 0x6c]
adc eax, dword [esi + 0x40dc]
push ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], edx
fild qword [esp + 0x24]
cdq
push ecx
push edx
push eax
call fcn.004a3f90
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
fild qword [esp + 0x68]
fmul qword [0x57ad28]
fdivp st(1)
fld qword [0x57ad20]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4c23ee
fstp st(0)
fld dword [0x578018]
jmp 0x4c240c
call fcn.00567f60
fmul qword [0x57ad18]
fstp qword [esp + 0x78]
fld qword [0x574890]
call fcn.00567f60
fdivr qword [esp + 0x78]
fstp dword [esp + 0x70]
sub esp, 0x30
fild dword [esp + 0x5c]
fld dword [esp + 0x60]
fstp qword [esp + 0x28]
fld dword [esp + 0xa0]
fstp qword [esp + 0x20]
fld qword [esi + 0x4110]
fadd qword [esi + 0x4100]
fadd qword [esi + 0x4108]
fdiv st(1)
fstp qword [esp + 0x18]
fld qword [esi + 0x4188]
fadd qword [esi + 0x4178]
fadd qword [esi + 0x4180]
fdiv st(1)
fstp qword [esp + 0x10]
fld qword [esi + 0x4160]
fadd qword [esi + 0x4150]
fadd qword [esi + 0x4158]
fdiv st(1)
fstp qword [esp + 8]
fld qword [esi + 0x4138]
fadd qword [esi + 0x4128]
fadd qword [esi + 0x4130]
fdivrp st(1)
fstp qword [esp]
push str.PSNR_Mean_Y:_6.3f_U:_6.3f_V:_6.3f_Avg:_6.3f_Global:_6.3f_kb_s:_.2f_n
push 2
push esi
call fcn.004c44b0
add esp, 0x3c
jmp 0x4c24b5
fld dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push str.kb_s:_.1f_n
push 2
push esi
call fcn.004c44b0
add esp, 0x14
push esi
call fcn.004c7750
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x4c24d1
push eax
call fcn.004994ab
add esp, 4
mov eax, dword [esi + 0x204]
test eax, eax
je 0x4c24e4
push eax
call fcn.004994ab
add esp, 4
push esi
call fcn.004ecf30
mov ecx, dword [esi + 4]
add esp, 4
cmp ecx, 1
jle 0x4c2505
mov eax, dword [esi + 0x434]
cdq
idiv ecx
mov esi, dword [esi + edx*4 + 0x22c]
mov eax, dword [esi + 0x1120]
test eax, eax
lea edi, [esi + 0x1120]
je 0x4c2528
push eax
call fcn.004cf540
mov eax, dword [edi + 4]
add edi, 4
add esp, 4
test eax, eax
jne 0x4c2515
mov eax, dword [esi + 0x122c]
test eax, eax
lea edi, [esi + 0x122c]
je 0x4c254b
push eax
call fcn.004cf540
mov eax, dword [edi + 4]
add edi, 4
add esp, 4
test eax, eax
jne 0x4c2538
mov eax, dword [esi + 0x1338]
test eax, eax
lea edi, [esi + 0x1338]
je 0x4c2573
jmp 0x4c2560
push eax
call fcn.004cf540
mov eax, dword [edi + 4]
add edi, 4
add esp, 4
test eax, eax
jne 0x4c2560
mov esi, dword [esi + 0x22c]
mov ebx, dword [esi + 4]
sub ebx, 1
js 0x4c261c
lea edi, [esi + ebx*4 + 0x22c]
mov esi, dword [edi]
mov eax, dword [esi + 0x188c]
add esi, 0x188c
test eax, eax
je 0x4c25c5
mov edi, edi
add dword [eax + 0x1238], 0xffffffff
mov eax, dword [esi]
cmp dword [eax + 0x1238], 0
jne 0x4c25bb
push eax
call fcn.004cf540
add esp, 4
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4c25a0
mov eax, dword [edi]
mov ecx, dword [eax + 0x18f8]
add dword [ecx + 0x1238], 0xffffffff
add eax, 0x18f8
mov eax, dword [eax]
cmp dword [eax + 0x1238], 0
jne 0x4c25ed
push eax
call fcn.004cf540
add esp, 4
mov edx, dword [edi]
push edx
call fcn.004cd7c0
mov eax, dword [edi]
mov ecx, dword [eax + 0x4c0]
push ecx
call fcn.004c4620
mov edx, dword [edi]
push edx
call fcn.004c4620
sub ebx, 1
add esp, 0xc
sub edi, 4
test ebx, ebx
jge 0x4c258c
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00499441
mov esp, ebp
pop ebp
ret