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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
movaps xmmword [rax - 0x58], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
call fcn.140001040
movsxd rax, dword [rbx + 4]
imul rcx, rax, 0x308
call fcn.1400c1e30
mov qword [rbx + 0xbec0], rax
mov r12, 0xffffffffffffffff
test rax, rax
je 0x1401b4792
movsxd rcx, dword [rbx + 4]
xor edx, edx
imul r8, rcx, 0x308
mov rcx, rax
call fcn.1402612c0
mov r13, qword [rbx + 0xbec0]
xor edi, edi
cmp dword [rbx + 0x290], edi
je 0x1401b2ed4
lea eax, [rdi + 1]
cmp dword [rbx + 0x2e8], edi
je 0x1401b2ed6
mov eax, edi
mov dword [r13], eax
cmp dword [rbx + 0x290], 2
jne 0x1401b2ef0
mov eax, 1
cmp dword [rbx + 0x2e8], edi
jne 0x1401b2ef2
mov eax, edi
mov dword [r13 + 4], eax
mov eax, dword [rbx + 0x398]
test eax, eax
je 0x1401b2f23
mov ecx, dword [rbx + 0x39c]
test ecx, ecx
je 0x1401b2f23
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, rax
cvtsi2ss xmm0, rcx
divss xmm1, xmm0
cvtps2pd xmm2, xmm1
jmp 0x1401b2f2b
movsd xmm2, qword [0x14031d638]
movsd qword [r13 + 0x10], xmm2
cmp dword [rbx + 0x2d4], edi
je 0x1401b2f4d
movsd xmm0, qword [0x1402f3fb0]
mov dword [rbx + 0x2c4], 0x3f800000
jmp 0x1401b2f58
movss xmm0, dword [rbx + 0x2f8]
cvtps2pd xmm0, xmm0
movsd qword [r13 + 0x28], xmm0
cmp dword [rbx + 0x8c], edi
je 0x1401b2f70
movsd xmm1, qword [0x14031d648]
jmp 0x1401b2f78
movsd xmm1, qword [0x1402f6d18]
movd xmm0, dword [rbx + 0x2a4]
movabs rcx, 0x3ff0000000000000
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [r13 + 0x18], xmm0
movss xmm0, dword [rbx + 0x2b0]
cvtps2pd xmm0, xmm0
movsd qword [r13 + 0x20], xmm0
mov eax, dword [rbx + 0x6e08]
mov dword [r13 + 0x30], eax
mov dword [r13 + 0x168], r12d
mov qword [r13 + 0xd0], rcx
cmp dword [rbx + 0x290], 2
je 0x1401b2fe8
cmp dword [rbx + 0x2e8], edi
je 0x1401b2fe8
lea r8, str.CRF_CQP_is_incompatible_with_2pass._n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
mov edx, 1
mov rcx, rbx
call fcn.1401b1d70
cmp dword [rbx + 0x34], edi
je 0x1401b30b5
movsxd rcx, dword [rbx + 0x32d4]
lea rdx, [rbp + 0xa0]
mov eax, dword [rbx + 0x32b0]
imul rcx, rax
mov qword [rbp + 0x98], 0x15f90
mov qword [rbp + 0xa0], rcx
lea rcx, [rbp + 0x98]
call fcn.1400c60b0
mov rcx, qword [rbp + 0x98]
xor edx, edx
mov eax, 0x15f90
xorps xmm0, xmm0
div rcx
cvtsi2sd xmm0, rcx
mov qword [r13 + 0x300], rax
test rcx, rcx
jns 0x1401b3061
addsd xmm0, qword [0x1402f3fc8]
call fcn.14028215c
mov eax, dword [rbx + 0x32b0]
movaps xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
call fcn.14028215c
addsd xmm6, xmm0
movd xmm0, dword [rbx + 0x32d8]
cvtdq2pd xmm0, xmm0
call fcn.14028215c
addsd xmm0, xmm6
comisd xmm0, xmmword [0x14031d640]
jb 0x1401b30b5
lea r8, str.HRD_with_very_large_timescale_and_bufsize_not_supported_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
movsd xmm6, qword [0x1402f9768]
movabs rsi, 0x3f847ae147ae147b
comisd xmm6, xmmword [r13 + 0x20]
jbe 0x1401b30e7
lea r8, str.bitrate_tolerance_too_small__using_.01_n
mov edx, 1
mov rcx, rbx
call fcn.14010dde0
mov qword [r13 + 0x20], rsi
cmp dword [r13 + 8], edi
jne 0x1401b30f7
mov eax, edi
cmp dword [rbx + 0x2cc], edi
je 0x1401b30fc
mov eax, 1
movss xmm8, dword [0x14031d67c]
mov dword [rbx + 0xb830], eax
cmp dword [r13], edi
je 0x1401b319e
mov qword [r13 + 0x178], rsi
cmp dword [rbx + 0x290], 1
jne 0x1401b312f
movss xmm0, dword [rbx + 0x2a8]
jmp 0x1401b3133
movaps xmm0, xmm8
addss xmm0, dword [0x1402fad20]
movsd xmm1, qword [r13 + 0x28]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd qword [r13 + 0x170], xmm0
movsd xmm0, qword [0x14031d668]
call fcn.1402777a0
xorps xmm1, xmm1
mulsd xmm0, xmm6
cvtsi2sd xmm1, dword [rbx + 0x6e08]
mov dword [r13 + 0x168], 2
sqrtpd xmm2, xmm1
mulsd xmm0, xmm2
movsd qword [r13 + 0xb0], xmm0
movsd xmm0, qword [r13 + 0x18]
divsd xmm0, qword [r13 + 0x10]
movsd qword [r13 + 0xc8], xmm0
movss xmm0, dword [rbx + 0x2c0]
call fcn.140281688
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x14031d620]
movsd qword [r13 + 0xf0], xmm1
movss xmm0, dword [rbx + 0x2c4]
call fcn.140281688
movsd xmm13, qword [0x1402f6d08]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov ecx, 0x51
mulsd xmm1, qword [0x14031d620]
movsd qword [r13 + 0xf8], xmm1
mov eax, dword [rbx + 0x294]
mov dword [r13 + 0x34], eax
movd xmm0, dword [rbx + 0x294]
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [r13 + 0xf0]
addsd xmm0, xmm13
cvttsd2si eax, xmm0
test eax, eax
jns 0x1401b3226
mov eax, edi
jmp 0x1401b322b
cmp eax, ecx
cmovg eax, ecx
mov dword [r13 + 0x3c], eax
movd xmm0, dword [rbx + 0x294]
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
addsd xmm0, xmm13
cvttsd2si eax, xmm0
test eax, eax
jns 0x1401b3250
mov eax, edi
jmp 0x1401b3255
cmp eax, ecx
cmovg eax, ecx
mov dword [r13 + 0x38], eax
movsd xmm0, qword [r13 + 0xf0]
movd xmm1, dword [rbx + 0x2a0]
addsd xmm0, xmm13
cvtdq2pd xmm1, xmm1
cvttsd2si eax, xmm0
mulsd xmm1, qword [0x14031d5a8]
mov dword [rbx + 0x72cc], eax
movsd xmm0, qword [0x140314428]
call fcn.1402777a0
movabs rax, 0x4011228a8f6215c0
movsd qword [r13 + 0x1b8], xmm0
mov qword [r13 + 0x148], rax
mov eax, dword [rbx + 0xc]
imul eax, dword [rbx + 4]
inc eax
movsxd r12, eax
imul rcx, r12, 0x64
call fcn.1400c1e30
mov qword [r13 + 0x90], rax
test rax, rax
je 0x1401b478b
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400c1e30
mov qword [r13 + 0x2c0], rax
test rax, rax
je 0x1401b478b
movss xmm11, dword [0x14031d54c]
lea r15, [r13 + 0x188]
movss xmm10, dword [0x14031b5c8]
lea rsi, [r13 + 0x24c]
movss xmm12, dword [0x14031d578]
mov r14, rdi
movss xmm6, dword [0x1402f2b78]
mov qword [rbp + 0x98], rdi
cmp dword [rbx + 0x290], 1
jne 0x1401b3339
movss xmm1, dword [rbx + 0x2a8]
jmp 0x1401b333d
movaps xmm1, xmm8
mulss xmm1, xmm11
movaps xmm0, xmm10
subss xmm1, xmm10
call fcn.140278e40
xorps xmm1, xmm1
mulss xmm0, xmm12
cvtss2sd xmm0, xmm0
movsd qword [r15 - 0x38], xmm0
movaps xmm0, xmm10
cvtsi2ss xmm1, dword [rbx + 0x298]
subss xmm1, xmm8
mulss xmm1, xmm11
call fcn.140278e40
xorps xmm1, xmm1
mulss xmm0, xmm12
cvtss2sd xmm0, xmm0
movsd qword [r15], xmm0
movaps xmm0, xmm10
cvtsi2ss xmm1, dword [rbx + 0x29c]
subss xmm1, xmm8
mulss xmm1, xmm11
call fcn.140278e40
mov r9, qword [rbp + 0x98]
mov r8, rdi
mulss xmm0, xmm12
lea r10, [0x140327df0]
cvtss2sd xmm0, xmm0
movsd qword [r15 + 0x18], xmm0
cmp r12, 4
jl 0x1401b354a
movss xmm1, dword [r10 + r14*4]
lea rdx, [r12 - 4]
shr rdx, 2
movaps xmm0, xmm1
inc rdx
mulss xmm0, xmm6
mov rcx, r9
lea r8, [rdx*4]
nop word [rax + rax]
mov rax, qword [r13 + 0x90]
lea rcx, [rcx + 0x190]
movss dword [rcx + rax - 0x190], xmm0
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0x18c], xmm1
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x188], 0x3f800000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x184], 0x3f000000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x180], edi
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0x12c], xmm0
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0x128], xmm1
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x124], 0x3f800000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x120], 0x3f000000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x11c], edi
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0xc8], xmm0
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0xc4], xmm1
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0xc0], 0x3f800000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0xbc], 0x3f000000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0xb8], edi
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0x64], xmm0
mov rax, qword [r13 + 0x90]
movss dword [rcx + rax - 0x60], xmm1
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x5c], 0x3f800000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x58], 0x3f000000
mov rax, qword [r13 + 0x90]
mov dword [rcx + rax - 0x54], edi
sub rdx, 1
jne 0x1401b3400
cmp r8, r12
jge 0x1401b35c0
movss xmm1, dword [r10 + r14*4]
lea rcx, [r14 + r8*4]
add rcx, r8
movaps xmm0, xmm1
mulss xmm0, xmm6
lea rdx, [rcx + rcx*4]
mov rcx, r12
shl rdx, 2
sub rcx, r8
mov rax, qword [r13 + 0x90]
lea rdx, [rdx + 0x64]
movss dword [rdx + rax - 0x64], xmm0
mov rax, qword [r13 + 0x90]
movss dword [rdx + rax - 0x60], xmm1
mov rax, qword [r13 + 0x90]
mov dword [rdx + rax - 0x5c], 0x3f800000
mov rax, qword [r13 + 0x90]
mov dword [rdx + rax - 0x58], 0x3f000000
mov rax, qword [r13 + 0x90]
mov dword [rdx + rax - 0x54], edi
sub rcx, 1
jne 0x1401b3571
nop
mov dword [rsi - 4], 0x3d800000
add r9, 0x14
mov dword [rsi], 0x3e800000
inc r14
mov dword [rsi + 4], 0x3f800000
add r15, 8
mov qword [rsi + 8], 0x3f000000
mov dword [rsi + 0x10], 0x3d800000
mov dword [rsi + 0x14], 0x3e800000
mov dword [rsi + 0x18], 0x3f800000
mov qword [rsi + 0x1c], 0x3f000000
add rsi, 0x28
mov qword [rbp + 0x98], r9
cmp r14, 3
jl 0x1401b3326
mov rax, qword [r13 + 0x2c0]
mov rcx, rbx
mov dword [rax], 0x3e800000
mov rax, qword [r13 + 0x2c0]
mov dword [rax + 4], 0x3f000000
mov rax, qword [r13 + 0x2c0]
mov dword [rax + 8], 0x3f800000
mov rax, qword [r13 + 0x2c0]
mov dword [rax + 0xc], 0x3f000000
mov rax, qword [r13 + 0x2c0]
mov dword [rax + 0x10], edi
call fcn.1401aed80
test eax, eax
jns 0x1401b3681
lea r8, str.failed_to_parse_zones_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
mov eax, 0xffffffff
jmp 0x1401b4795
cmp dword [rbx + 0x2e8], edi
je 0x1401b4332
mov rcx, qword [rbx + 0x2f0]
test rcx, rcx
jne 0x1401b36b9
mov r8d, 0x369
lea rdx, str.encoder_ratecontrol.c
lea rcx, str.h__param.rc.psz_stat_in
call fcn.140282c4c
mov rcx, qword [rbx + 0x2f0]
call fcn.1400c6110
mov qword [rbp - 0x48], rax
mov r15, rax
mov r12, 0xffffffffffffffff
test rax, rax
je 0x1401b4487
cmp dword [rbx + 0x2d4], edi
je 0x1401b3772
mov rsi, qword [rbx + 0x2f0]
mov rcx, r12
nop dword [rax + rax]
inc rcx
cmp byte [rsi + rcx], dil
jne 0x1401b36f0
add rcx, 8
call fcn.1400c1e30
mov r14, rax
test rax, rax
je 0x1401b4792
mov rdx, rax
sub rdx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rsi]
mov byte [rdx + rsi], cl
lea rsi, [rsi + 1]
test cl, cl
jne 0x1401b3720
dec rax
cmp byte [rax + 1], dil
lea rax, [rax + 1]
jne 0x1401b3731
movsd xmm0, qword [str..mbtree]
lea rdx, [0x1402f5ec8]
mov rcx, r14
movsd qword [rax], xmm0
call fcn.140148610
mov rcx, r14
mov qword [r13 + 0x128], rax
call fcn.1400c1d50
cmp qword [r13 + 0x128], rdi
je 0x1401b4600
mov r8d, 9
lea rdx, str.options:
mov rcx, r15
call fcn.1402776e0
test eax, eax
je 0x1401b37a1
lea r8, str.options_list_in_stats_file_not_valid_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
mov edx, 0xa
mov rcx, r15
call fcn.14025f3dc
mov r14, rax
test rax, rax
je 0x1401b4792
inc r14
mov byte [rax], dil
lea r9, [rbp - 0x70]
mov qword [rbp - 0x58], r14
lea r8, [rbp + 0xa0]
mov rcx, r15
lea rdx, str.options:__dx_d
call fcn.1400a68e0
cmp eax, 2
je 0x1401b37f9
lea r8, str.resolution_specified_in_stats_file_not_valid_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
mov ecx, dword [rbp - 0x70]
mov eax, dword [rbp + 0xa0]
cmp dword [rbx + 0x2d4], edi
je 0x1401b3818
mov dword [r13 + 0x218], eax
mov dword [r13 + 0x21c], ecx
movd xmm7, dword [rbx + 0x20]
movd xmm0, dword [rbx + 0x1c]
movss xmm1, dword [0x14031d56c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm7, xmm7
imul eax, ecx
mulss xmm7, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm7, xmm0
movaps xmm0, xmm7
call fcn.140278e40
lea rdx, str.timebase
mov rcx, r15
movaps xmm9, xmm0
call fcn.14026165c
test rax, rax
je 0x1401b4412
lea r9, [rbp - 0x6c]
mov rcx, rax
lea r8, [rbp - 0x68]
lea rdx, str.timebase_u__u
call fcn.1400a68e0
cmp eax, 2
jne 0x1401b4412
mov r9d, dword [rbx + 0x3a0]
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x6c]
cmp ecx, r9d
jne 0x1401b43ea
cmp eax, dword [rbx + 0x3a4]
jne 0x1401b43ea
lea rdx, str.bitdepth
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3901
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.bitdepth_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3901
mov eax, dword [rbp + 0xa0]
cmp eax, 0xa
je 0x1401b3901
mov r9d, 0xa
mov dword [rsp + 0x20], eax
lea r8, str.different_bitdepth_setting_than_first_pass___d_vs__d__n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.weightp
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3963
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.weightp_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3963
mov eax, dword [rbx + 0x22c]
mov r9d, edi
test eax, eax
cmovns r9d, eax
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b3963
lea r8, str.different_weightp_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.bframes
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b39ba
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.bframes_d
call fcn.1400a68e0
test eax, eax
je 0x1401b39ba
mov r9d, dword [rbx + 0x74]
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b39ba
lea r8, str.different_bframes_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.b_pyramid
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3a14
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.b_pyramid_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3a14
mov r9d, dword [rbx + 0x80]
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b3a14
lea r8, str.different_b_pyramid_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.intra_refresh
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3a6b
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.intra_refresh_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3a6b
mov r9d, dword [rbx + 0x70]
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b3a6b
lea r8, str.different_intra_refresh_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.open_gop
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3ac5
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.open_gop_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3ac5
mov r9d, dword [rbx + 0x84]
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b3ac5
lea r8, str.different_open_gop_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.bluray_compat
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3b1f
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.bluray_compat_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3b1f
mov r9d, dword [rbx + 0x88]
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b3b1f
lea r8, str.different_bluray_compat_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.mbtree
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3b79
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.mbtree_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3b79
mov r9d, dword [rbx + 0x2d4]
mov eax, dword [rbp + 0xa0]
cmp r9d, eax
je 0x1401b3b79
lea r8, str.different_mbtree_setting_than_first_pass___d_vs__d__n
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.interlaced
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3c2c
cmp dword [rbx + 0xa8], edi
je 0x1401b3baf
cmp dword [rbx + 0x3a8], edi
lea rcx, [0x1402f63bc]
lea rsi, [0x1402f63c0]
jmp 0x1401b3bc3
cmp dword [rbx + 0x3b0], edi
lea rcx, str.fake
lea rsi, [0x1402f2160]
cmovne rsi, rcx
lea r8, [rbp + 0x98]
mov rcx, rax
lea rdx, str.interlaced_4s
call fcn.1400a68e0
lea r8, [rbp + 0x98]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1401b3c03
inc rax
test ecx, ecx
jne 0x1401b3bf0
test edx, edx
je 0x1401b3c2c
lea rax, [rbp + 0x98]
mov r9, rsi
lea r8, str.different_interlaced_setting_than_first_pass___s_vs__s__n
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.keyint
mov rcx, r15
call fcn.14026165c
mov rsi, rax
test rax, rax
je 0x1401b3cfa
movsd xmm0, qword [str.infinite]
xor eax, eax
movzx ecx, word [0x14031cc78]
add rsi, 7
mov r8d, dword [rbx + 0x64]
movsd qword [rsp + 0x78], xmm0
mov word [rbp - 0x80], cx
mov word [rbp - 0x7e], ax
mov byte [rbp - 0x7c], al
cmp r8d, 0x40000000
je 0x1401b3c8b
lea rdx, [0x14031cc7c]
lea rcx, [rsp + 0x78]
call fcn.140084b10
lea rax, [rsp + 0x78]
mov r8, r12
inc r8
cmp byte [rax + r8], dil
jne 0x1401b3c93
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.1402776e0
test eax, eax
je 0x1401b3cfa
lea rdx, [0x1402f44f4]
mov rcx, rsi
call fcn.140277300
lea rcx, [rsp + 0x78]
mov r9, r12
inc r9
cmp byte [rcx + r9], dil
jne 0x1401b3cc4
mov qword [rsp + 0x30], rsi
lea r8, str.different_keyint_setting_than_first_pass___.s_vs__.s__n
mov qword [rsp + 0x28], rax
dec r9
lea rax, [rsp + 0x78]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14010dde0
jmp 0x1401b4792
lea rdx, str.qp0
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3d2b
cmp dword [rbx + 0x290], 2
jne 0x1401b3d2b
lea r8, str.1st_pass_was_lossless__bitrate_prediction_will_be_inaccurate_n
mov edx, 1
mov rcx, rbx
call fcn.14010dde0
lea rdx, str.direct3
mov rcx, r15
call fcn.14026165c
test rax, rax
jne 0x1401b3d64
cmp dword [rbx + 0x234], 3
jne 0x1401b3d64
lea r8, str.directauto_not_used_on_the_first_pass_n
mov rcx, rbx
lea edx, [rax + 1]
call fcn.14010dde0
mov dword [rbx + 0xb83c], 1
lea rdx, str.b_adapt
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3e30
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.b_adapt_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3e30
mov eax, dword [rbp + 0xa0]
cmp eax, 2
ja 0x1401b3e30
mov dword [rbx + 0x78], eax
cmp dword [rbx + 0x2d4], edi
jne 0x1401b3dbc
cmp dword [rbx + 0x2b8], edi
je 0x1401b3df6
lea rdx, str.rc_lookahead
mov rcx, r15
call fcn.14026165c
test rax, rax
je 0x1401b3df6
lea r8, [rbp + 0xa0]
mov rcx, rax
lea rdx, str.rc_lookahead_d
call fcn.1400a68e0
test eax, eax
je 0x1401b3df6
mov eax, dword [rbp + 0xa0]
mov dword [rbx + 0x2d8], eax
mov rax, r14
mov esi, r12d
test r14, r14
je 0x1401b3e4f
lea rcx, [rax + 1]
mov edx, 0x3b
call fcn.14025f3dc
inc esi
test rax, rax
jne 0x1401b3e01
test esi, esi
jne 0x1401b3e4f
lea r8, str.empty_stats_file_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
cmp dword [rbx + 0x74], edi
je 0x1401b3dac
lea r8, str.b_adapt_method_specified_in_stats_file_not_valid_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
mov dword [r13 + 0x130], esi
mov eax, esi
mov r9d, dword [rbx + 0x30]
mov ecx, r9d
cmp r9d, esi
jge 0x1401b3e8b
test r9d, r9d
jle 0x1401b3e8b
lea r8, str.2nd_pass_has_fewer_frames_than_1st_pass___d_vs__d__n
mov dword [rsp + 0x20], esi
mov edx, 1
mov rcx, rbx
call fcn.14010dde0
mov eax, dword [r13 + 0x130]
mov ecx, dword [rbx + 0x30]
cmp ecx, eax
jle 0x1401b3eac
mov r9d, ecx
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea r8, str.2nd_pass_has_more_frames_than_1st_pass___d_vs__d__n
xor edx, edx
call fcn.14010dde0
jmp 0x1401b4792
cdqe
imul rcx, rax, 0xc8
call fcn.1400c1e30
mov qword [r13 + 0x138], rax
test rax, rax
je 0x1401b4792
movsxd rcx, dword [r13 + 0x130]
xor edx, edx
imul r8, rcx, 0xc8
mov rcx, rax
call fcn.1402612c0
movsxd rcx, dword [r13 + 0x130]
shl rcx, 3
call fcn.1400c1e30
mov qword [r13 + 0x140], rax
test rax, rax
je 0x1401b4792
mov eax, dword [r13 + 0x130]
mov r9d, edi
test eax, eax
jle 0x1401b3f67
mov rdx, rdi
mov r8, rdi
movabs r10, 0x4001228a8f6215c0
mov rcx, qword [r13 + 0x138]
lea rdx, [rdx + 8]
add rcx, r8
inc r9d
add r8, 0xc8
mov dword [rcx], edi
mov qword [rcx + 0x38], r10
mov qword [rcx + 0x10], r10
mov eax, dword [r13 + 0x30]
add eax, 0xa
mov dword [rcx + 0x40], edi
mov dword [rcx + 0x20], eax
mov rax, qword [r13 + 0x140]
mov qword [rdx + rax - 8], rcx
mov eax, dword [r13 + 0x130]
cmp r9d, eax
jl 0x1401b3f20
mov dword [rsp + 0x70], edi
xorps xmm6, xmm6
mov esi, edi
test eax, eax
jle 0x1401b42e3
nop dword [rax + rax]
mov edx, 0x3b
mov dword [rbp - 0x78], edi
mov rcx, r14
mov dword [rbp - 0x74], edi
mov byte [rbp + 0x98], 0
call fcn.14025f3dc
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1401b3fad
mov byte [rax], 0
inc rax
mov qword [rbp - 0x50], rax
lea r9, [rbp - 0x74]
mov rcx, r14
lea r8, [rbp - 0x78]
lea rdx, str._in:_d_out:_d
call fcn.1400a68e0
movsxd r9, dword [rbp - 0x78]
mov dword [rbp + 0xa8], eax
test r9d, r9d
js 0x1401b43cc
mov ecx, dword [r13 + 0x130]
cmp r9d, ecx
jge 0x1401b43cc
movsxd rdx, dword [rbp - 0x74]
test edx, edx
js 0x1401b43ab
cmp edx, ecx
jge 0x1401b43ab
mov rax, qword [r13 + 0x140]
lea r8, [rbp + 0x98]
imul r9, r9, 0xc8
add r9, qword [r13 + 0x138]
mov qword [rax + rdx*8], r9
lea rdx, str._in:_d_out:_d_type:_c_dur:_I64d_cpbdur:_I64d_q:_f_aq:_f_tex:_d_mv:_d_misc:_d_imb:_d_pmb:_d_smb:_d_d:_c
mov byte [r9 + 0x54], 0
mov qword [rsp + 0x78], r9
lea rax, [r9 + 0x54]
mov qword [rsp + 0x68], rax
lea rcx, [r9 + 0xb8]
lea r12, [r9 + 0x4c]
mov qword [rsp + 0x60], r12
lea r15, [r9 + 0x48]
mov qword [rsp + 0x58], r15
lea r14, [r9 + 0x44]
mov qword [rsp + 0x50], r14
lea rsi, [r9 + 0x20]
mov qword [rsp + 0x48], rsi
lea rdi, [r9 + 0x18]
mov qword [rsp + 0x40], rdi
lea rbx, [r9 + 0x1c]
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
add r9, 0xb0
lea rax, [rbp - 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x58]
call fcn.1400a68e0
add dword [rbp + 0xa8], eax
lea rdx, str.ref:
movd xmm0, dword [rbx]
movd xmm1, dword [rdi]
mov rcx, qword [rbp - 0x58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm9
mulss xmm1, xmm9
cvttss2si eax, xmm0
movd xmm0, dword [rsi]
mov dword [rbx], eax
cvttss2si eax, xmm1
movd xmm1, dword [r14]
cvtdq2ps xmm0, xmm0
mov dword [rdi], eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm9
mulss xmm1, xmm7
cvttss2si eax, xmm0
movd xmm0, dword [r15]
mov dword [rsi], eax
cvttss2si eax, xmm1
movd xmm1, dword [r12]
mov dword [r14], eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm7
mulss xmm1, xmm7
cvttss2si eax, xmm0
mov dword [r15], eax
cvttss2si eax, xmm1
mov dword [r12], eax
call fcn.14026165c
mov r14, rax
test rax, rax
je 0x1401b437b
mov rbx, qword [rsp + 0x78]
add r14, 4
xor edi, edi
mov esi, edi
nop dword [rax]
movsxd rcx, esi
lea rdx, [0x14031cf24]
add rcx, 0x1a
lea r8, [rbx + rcx*4]
mov rcx, r14
call fcn.1400a68e0
cmp eax, 1
jne 0x1401b417e
lea rcx, [r14 + 1]
lea edx, [rax + 0x1f]
call fcn.14025f3dc
mov r14, rax
test rax, rax
je 0x1401b437b
inc esi
cmp esi, 0x10
jl 0x1401b4140
mov dword [rbx + 0xa8], esi
mov r12, 0xffffffffffffffff
lea rsi, [rbx + 0x64]
mov rcx, r14
mov word [rsi], r12w
mov word [rbx + 0x62], r12w
lea edx, [r12 + 0x78]
call fcn.14025f3dc
test rax, rax
je 0x1401b4206
lea rcx, [rbx + 0x60]
mov qword [rsp + 0x48], rcx
lea rdx, [rbx + 0x5e]
mov qword [rsp + 0x40], rdx
lea r8, [rbx + 0x5c]
mov qword [rsp + 0x38], r8
lea r10, [rbx + 0x5a]
mov qword [rsp + 0x30], r10
lea r11, [rbx + 0x58]
mov qword [rsp + 0x28], rsi
lea r9, [rbx + 0x56]
lea r8, [rbx + 0x62]
mov qword [rsp + 0x20], r11
lea rdx, str.w:_hd__hd__hd__hd__hd__hd__hd__hd
mov rcx, rax
call fcn.1400a68e0
cmp eax, 3
je 0x1401b4202
cmp eax, 8
je 0x1401b4206
mov word [rbx + 0x62], r12w
mov word [rsi], r12w
movzx eax, byte [rbp + 0x98]
cmp al, 0x62
je 0x1401b421f
mov dword [rbx + 8], 1
movzx eax, byte [rbp + 0x98]
cmp al, 0x42
je 0x1401b4269
cmp al, 0x49
je 0x1401b425a
cmp al, 0x50
je 0x1401b424f
cmp al, 0x62
je 0x1401b4246
cmp al, 0x69
jne 0x1401b4376
mov dword [rbx + 4], 2
mov dword [rbx], 2
jmp 0x1401b4276
mov dword [rbx + 4], 5
jmp 0x1401b4270
mov dword [rbx + 4], 3
mov dword [rbx], edi
jmp 0x1401b4276
mov dword [rbx + 4], 1
mov dword [rbx], 2
jmp 0x1401b4276
mov dword [rbx + 4], 4
mov dword [rbx], 1
mov eax, dword [rbp + 0xa8]
cmp eax, 0xe
jl 0x1401b4388
movss xmm1, dword [rbp - 0x64]
movaps xmm0, xmm10
subss xmm1, xmm8
mulss xmm1, xmm11
call fcn.140278e40
mov esi, dword [rsp + 0x70]
mov r14, qword [rbp - 0x50]
inc esi
mulss xmm0, xmm12
mov qword [rbp - 0x58], r14
mov dword [rsp + 0x70], esi
cvtss2sd xmm0, xmm0
movsd qword [rbx + 0x10], xmm0
movss xmm1, dword [rbp - 0x60]
mov eax, dword [r13 + 0x130]
cvtps2pd xmm1, xmm1
addsd xmm6, xmm1
cmp esi, eax
jl 0x1401b3f80
mov rbx, qword [rbp + 0x90]
mov r15, qword [rbp - 0x48]
cmp dword [rbx + 0x3b4], 0
jne 0x1401b4311
movd xmm0, eax
mov ecx, 0x3f
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
addsd xmm6, xmm13
cvttsd2si eax, xmm6
cmp eax, ecx
cmovl ecx, eax
mov dword [rbx + 0x338c], ecx
mov rcx, r15
call fcn.1400c1d50
cmp dword [rbx + 0x290], 2
jne 0x1401b4332
mov rcx, rbx
call fcn.1401adb10
test eax, eax
js 0x1401b4792
cmp dword [rbx + 0x2dc], 0
mov r12, 0xffffffffffffffff
je 0x1401b4616
mov rsi, qword [rbx + 0x2e0]
mov rcx, r12
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1401b4350
add rcx, 6
call fcn.1400c1e30
mov rcx, rax
test rax, rax
jne 0x1401b4428
mov rcx, rdi
jmp 0x1401b445f
mov eax, r12d
jmp 0x1401b4388
mov eax, dword [rbp + 0xa8]
mov r12, 0xffffffffffffffff
mov r9d, dword [rsp + 0x70]
lea r8, str.statistics_are_damaged_at_line__d__parser_out_d_n
mov rcx, qword [rbp + 0x90]
xor edx, edx
mov dword [rsp + 0x20], eax
call fcn.14010dde0
jmp 0x1401b4792
mov rcx, qword [rbp + 0x90]
lea r8, str.bad_frame_output_number___d__at_stats_line__d_n
mov r9d, edx
mov dword [rsp + 0x20], esi
xor edx, edx
call fcn.14010dde0
jmp 0x1401b4792
mov rcx, qword [rbp + 0x90]
lea r8, str.bad_frame_number___d__at_stats_line__d_n
xor edx, edx
mov dword [rsp + 0x20], esi
call fcn.14010dde0
jmp 0x1401b4792
mov dword [rsp + 0x30], eax
lea r8, str.timebase_mismatch_with_1st_pass___u__u_vs__u__u__n
mov eax, dword [rbx + 0x3a4]
xor edx, edx
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14010dde0
jmp 0x1401b4792
lea r8, str.timebase_specified_in_stats_file_not_valid_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
mov rdx, rcx
sub rdx, rsi
nop
movzx eax, byte [rsi]
mov byte [rdx + rsi], al
lea rsi, [rsi + 1]
test al, al
jne 0x1401b4430
lea rdx, [rcx - 1]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x1401b4442
mov eax, dword [str..temp]
mov dword [rdx], eax
movzx eax, word [reloc.WS2_32.dll_WSASetLastError]
mov word [rdx + 4], ax
mov qword [r13 + 0x108], rcx
test rcx, rcx
je 0x1401b4792
lea rdx, [0x140312b68]
call fcn.140148610
mov qword [r13 + 0x100], rax
test rax, rax
jne 0x1401b449d
lea r8, str.ratecontrol_init:_cant_open_stats_file_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
mov edx, 1
mov rcx, rbx
call fcn.1400c1eb0
mov rsi, rax
test rax, rax
je 0x1401b44c8
mov rcx, qword [r13 + 0x100]
lea rdx, str.options:__s_n
mov r8, rax
call fcn.140088fb0
mov rcx, rsi
call fcn.1400c1d50
cmp dword [rbx + 0x2d4], 0
je 0x1401b4658
cmp dword [rbx + 0x2e8], 0
jne 0x1401b4616
mov rsi, qword [rbx + 0x2e0]
mov rcx, r12
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1401b44f4
add rcx, 0xd
call fcn.1400c1e30
mov rdx, rax
test rax, rax
jne 0x1401b4513
mov rdx, rdi
jmp 0x1401b455b
mov rcx, rdx
sub rcx, rsi
nop dword [rax]
movzx eax, byte [rsi]
mov byte [rcx + rsi], al
lea rsi, [rsi + 1]
test al, al
jne 0x1401b4520
lea rcx, [rdx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1401b4532
movsd xmm0, qword [str..mbtree.temp]
movsd qword [rcx], xmm0
mov eax, dword [0x14031cfa8]
mov dword [rcx + 8], eax
movzx eax, byte [0x14031cfac]
mov byte [rcx + 0xc], al
mov qword [r13 + 0x118], rdx
mov rcx, r12
mov rsi, qword [rbx + 0x2e0]
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1401b4570
add rcx, 8
call fcn.1400c1e30
mov rdx, rax
test rax, rax
jne 0x1401b458f
mov rdx, rdi
jmp 0x1401b45c8
mov rcx, rdx
sub rcx, rsi
nop word [rax + rax]
movzx eax, byte [rsi]
mov byte [rcx + rsi], al
lea rsi, [rsi + 1]
test al, al
jne 0x1401b45a0
lea rax, [rdx - 1]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x1401b45b2
movsd xmm0, qword [str..mbtree]
movsd qword [rax], xmm0
mov rcx, qword [r13 + 0x118]
mov qword [r13 + 0x120], rdx
test rcx, rcx
je 0x1401b4792
test rdx, rdx
je 0x1401b4792
lea rdx, [0x140312b68]
call fcn.140148610
mov qword [r13 + 0x110], rax
test rax, rax
jne 0x1401b4616
lea r8, str.ratecontrol_init:_cant_open_mbtree_stats_file_n
xor edx, edx
mov rcx, rbx
call fcn.14010dde0
jmp 0x1401b4792
cmp dword [rbx + 0x2d4], 0
je 0x1401b4658
cmp dword [rbx + 0x2e8], 0
jne 0x1401b4645
cmp dword [rbx + 0x2dc], 0
je 0x1401b4658
mov eax, dword [rbx + 0x1c]
mov dword [r13 + 0x218], eax
mov eax, dword [rbx + 0x20]
mov dword [r13 + 0x21c], eax
mov rdx, r13
mov rcx, rbx
call fcn.140140aa0
test eax, eax
js 0x1401b4792
cmp dword [rbx + 4], 0
jle 0x1401b4787
mov r8d, 0x408
nop dword [rax + rax]
movsxd rax, edi
imul rdx, rax, 0x308
mov rax, qword [r8 + rbx]
add rdx, r13
mov qword [rax + 0xbec0], rdx
test edi, edi
je 0x1401b4778
mov rax, r13
mov ecx, 6
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x1401b46a0
mov rax, qword [rax]
mov rcx, rbx
mov qword [rdx], rax
mov edx, 8
mov rax, qword [r8 + rbx]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1401b4705
mov rcx, qword [r8 + rbx]
mov eax, dword [rbx + 0xb830]
mov dword [rcx + 0xb830], eax
mov rcx, qword [r8 + rbx]
mov eax, dword [rbx + 0x72cc]
mov dword [rcx + 0x72cc], eax
inc edi
add r8, 8
cmp edi, dword [rbx + 4]
jl 0x1401b4670
xor eax, eax
jmp 0x1401b4795
mov r12, 0xffffffffffffffff
mov eax, r12d
lea r11, [rsp + 0x148]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret