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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
sub rsp, 0xe0
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
jne 0x14002c95d
lea eax, [rcx + 1]
add rsp, 0xe0
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 0x110], rbx
xor ebx, ebx
mov qword [rsp + 0xd8], rsi
mov dword [rcx + 0x880], ebx
mov byte [rcx + 0x148], bl
lea rsi, [rdx + 8]
mov qword [rsp + 0xc8], r13
mov r13, qword [rcx + 0x18]
mov dword [rdx + 0x1408], 4
mov dword [rdx], ebx
mov rdx, qword [rcx + 0x17e78]
mov rax, qword [r8 + 0x40]
cmp rdx, rax
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x54], ebx
mov r15d, ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x6c], ebx
jge 0x14002c9ea
test rax, rax
jne 0x14002ca1a
cmp rdx, 0xffffffffffffffff
je 0x14002ca1a
mov rcx, qword [rcx + 0x18]
movsd xmm1, qword [0x1402a88d8]
movsxd rax, dword [rcx + 0x1c]
imul rax, rax, 0xc8
movd xmm0, dword [rax + rcx - 0xa0]
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si eax, xmm1
cdqe
add rax, rdx
mov qword [r14 + 0x1410], rax
mov ecx, 0x80
lea rax, [r14 + 0x18]
nop word [rax + rax]
mov dword [rax - 0xc], 4
mov dword [rax], ebx
add rax, 0x28
sub rcx, 1
jne 0x14002ca30
mov rcx, qword [rdi + 0x1a8]
mov rdx, rdi
call fcn.14003f4c0
mov r10d, eax
mov dword [rsp + 0x5c], eax
cmp eax, 0xffffffff
jne 0x14002ca7b
mov ebx, 1
lea r8, str.Failed_in_allocating_memory_in_BuildSpatialPicList
mov rcx, rdi
mov edx, ebx
call fcn.1400254a0
mov eax, ebx
jmp 0x14002e64f
mov rax, qword [rdi + 0x70]
mov r9, qword [rax + 0x4a0]
test r9, r9
je 0x14002caa0
mov r8, qword [r14 + 0x1410]
mov edx, r10d
mov rcx, rdi
call r9
mov r10d, dword [rsp + 0x5c]
cmp r10d, 1
jge 0x14002caff
cmp dword [r13 + 0x1c], ebx
jle 0x14002cace
lea rax, [r13 + 0x3c4]
nop word [rax + rax]
inc dword [rax]
inc ebx
add rax, 0x44
cmp ebx, dword [r13 + 0x1c]
jl 0x14002cac0
mov dword [r14 + 0x1408], 4
mov dword [rsi + 4], 4
mov r9, qword [rbp + 0x40]
lea r8, str._Rc__Frame_timestamp___lld__skip_one_frame_due_to_preprocessing_return__temporal_layer_settings_or_else_
mov edx, 8
mov rcx, rdi
call fcn.1400254a0
xor eax, eax
jmp 0x14002e64f
mov rax, qword [rdi + 0x1f0]
mov dword [rdi + 0x204], ebx
mov qword [rsp + 0xd0], r12
mov dword [rax + 0x54], ebx
mov rax, qword [rdi + 0x1f0]
mov dword [rax + 0x58], ebx
mov rdx, qword [rdi + 0x1f0]
mov rcx, qword [rdx]
movsxd rax, dword [rdx + 8]
mov dword [rdx + 0x3c], 0x20
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x30], rcx
mov dword [rdx + 0x38], ebx
add rax, rcx
mov qword [rdx + 0x18], rax
mov rax, qword [rdi + 0x1f8]
mov qword [rsi + 0x20], rax
mov rax, qword [rdi + 0x1f0]
mov rcx, qword [rax + 0x48]
mov qword [rsi + 0x18], rcx
movsx rdx, byte [rdi + 0x210]
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rax + rdx*8]
mov r12, rdx
mov qword [rdi + 0xa8], rcx
mov qword [rcx + 0x1f8], rbx
cmp byte [r13 + 0x352], bl
jne 0x14002ce86
mov r15, qword [r14 + 0x1410]
mov rbp, qword [rdi + 0x18]
movsx r14d, dl
mov r9d, r14d
mov r8d, r10d
mov rcx, rdi
mov rdx, r15
call fcn.1400340a0
movzx edx, byte [rsp + 0x5c]
mov r8d, r14d
movzx r9d, al
mov rcx, rdi
call fcn.14003e790
mov dword [rsp + 0x58], eax
cmp eax, 4
jne 0x14002ccc2
cmp byte [rbp + 0x352], bl
je 0x14002cc35
mov rax, qword [rdi + 0x70]
mov r8, qword [rax + 0x498]
test r8, r8
je 0x14002cbf5
mov edx, r14d
mov rcx, rdi
call r8
mov rax, qword [rdi + 0x170]
imul r12, r12, 0x168
lea r8, str._Rc__Frame_timestamp___lld__iDid___d_skip_one_frame_due_to_target_br__continual_skipped__d_frames
mov ecx, dword [r12 + rax + 0x134]
mov r9, r15
mov edx, 8
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1400254a0
mov r15d, dword [rsp + 0x58]
jmp 0x14002ce67
mov rax, qword [rdi + 0x70]
cmp qword [rax + 0x498], rbx
je 0x14002cc82
mov eax, dword [rsp + 0x5c]
test eax, eax
jle 0x14002cc82
lea rbp, [rdi + 0x210]
mov r13, rax
nop word [rax + rax]
mov rax, qword [rdi + 0x70]
mov edx, dword [rbp]
mov rcx, rdi
call qword [rax + 0x498]
add rbp, 0x10
sub r13, 1
jne 0x14002cc60
mov r13, qword [rsp + 0xa0]
mov rax, qword [rdi + 0x170]
imul r12, r12, 0x168
lea r8, str._Rc__Frame_timestamp___lld__iDid___d_skip_one_frame_due_to_target_br__continual_skipped__d_frames
mov ecx, dword [r12 + rax + 0x134]
mov r9, r15
mov edx, 8
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1400254a0
mov r15d, dword [rsp + 0x58]
jmp 0x14002ce67
mov eax, dword [rbp + 0x4a4]
mov r15d, dword [rsp + 0x58]
imul r12, r12, 0x44
dec eax
lea r12, [r12 + rbp + 0x394]
movsxd rcx, eax
movsxd rax, dword [r12 + 0x30]
and rcx, rax
movzx eax, byte [rcx + r12 + 0x10]
mov dword [rsp + 0x6c], eax
mov byte [rdi + 0x16a], al
cmp r15d, 1
jne 0x14002ce67
mov rax, qword [rdi + 0x18]
test byte [rax + 0x34c], 2
jne 0x14002ce3c
cmp byte [rbp + 0x352], bl
je 0x14002cd4e
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov edx, r14d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14002c370
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
inc word [r12 + 0x2c]
jmp 0x14002ce67
mov rdx, qword [rsi + 0x18]
lea r9, [rsp + 0x118]
lea r8, [rsp + 0x100]
mov rcx, rdi
mov dword [rsp + 0x118], ebx
mov dword [rsp + 0x100], ebx
call fcn.14002ba20
test eax, eax
jne 0x14002ce34
mov ecx, dword [rsp + 0x5c]
test ecx, ecx
jle 0x14002cdd1
mov rax, rbx
mov r8, rcx
mov r9d, 0xffff
nop word [rax + rax]
mov rdx, qword [rdi + 0x18]
movzx ecx, word [rdx + rax + 0x3c0]
cmp cx, r9w
jae 0x14002cdbf
inc cx
mov word [rdx + rax + 0x3c0], cx
jmp 0x14002cdc7
mov word [rdx + rax + 0x3c0], bx
add rax, 0x44
sub r8, 1
jne 0x14002cda0
movsxd rcx, dword [rsp + 0x100]
mov byte [rsi + 1], bl
mov byte [rsi], bl
mov byte [rsi + 2], bl
mov byte [rsi + 8], bl
mov dword [rsi + 0x10], ecx
add rsi, 0x28
mov edx, 1
mov dword [rsi - 0x24], edx
mov dword [rsi - 0x1c], ebx
mov rax, qword [rdi + 0x1f0]
inc dword [rax + 0x58]
movsxd rax, dword [rdi + 0x204]
mov qword [rsp + 0x60], rsi
add rax, qword [rdi + 0x1f8]
mov dword [rsp + 0x50], edx
mov qword [rsi + 0x20], rax
mov rax, qword [rsi - 0x10]
lea rcx, [rax + rcx*4]
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x54], eax
mov eax, ebx
mov qword [rsi + 0x18], rcx
mov dword [rdi + 0x880], eax
jmp 0x14002ce67
mov edx, dword [rsp + 0x5c]
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14002c550
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
cmp r15d, 4
jne 0x14002cece
mov r12, qword [rsp + 0x108]
mov dword [r12 + 0x1408], r15d
mov dword [rsi + 4], r15d
jmp 0x14002e645
cmp dword [r13 + 0x1c], ebx
mov r8d, ebx
jle 0x14002cedb
lea rdx, [r13 + 0x3c4]
nop word [rax + rax]
mov eax, dword [r13 + 0x4a4]
movsxd r9, dword [rdx]
dec eax
movsxd rcx, eax
and rcx, r9
cmp byte [rcx + rdx - 0x20], 0xff
jne 0x14002cebf
lea eax, [r9 + 1]
mov dword [rdx], eax
inc r8d
add rdx, 0x44
cmp r8d, dword [r13 + 0x1c]
jl 0x14002cea0
jmp 0x14002cedb
mov r14, qword [rsp + 0x108]
mov r10d, dword [rsp + 0x5c]
mov rax, rbx
mov qword [rsp + 0x88], rbx
test r10d, r10d
jle 0x14002e46a
nop
mov r15, rax
add r15, r15
movsx rdx, byte [rdi + r15*8 + 0x210]
mov rax, rdx
mov r12, rdx
mov byte [rsp + 0x100], dl
mov qword [rsp + 0x90], rdx
imul rax, rax, 0xc8
imul r12, r12, 0x44
mov qword [rsp + 0x80], rax
mov eax, dword [r12 + r13 + 0x3a0]
mov qword [rsp + 0x98], r12
mov dword [rsp + 0x78], eax
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rax + rdx*8]
mov byte [rdi + 0x169], dl
mov qword [rdi + 0xa8], rcx
cmp byte [r13 + 0x352], bl
je 0x14002d25c
mov r14, qword [r14 + 0x1410]
mov rbp, qword [rdi + 0x18]
movsx r13d, dl
mov r9d, r13d
mov r8d, r10d
mov rcx, rdi
mov rdx, r14
call fcn.1400340a0
movzx edx, byte [rsp + 0x5c]
mov r8d, r13d
movzx r9d, al
mov rcx, rdi
call fcn.14003e790
mov dword [rsp + 0x58], eax
cmp eax, 4
jne 0x14002d07c
cmp byte [rbp + 0x352], bl
je 0x14002d004
mov rax, qword [rdi + 0x70]
mov r8, qword [rax + 0x498]
test r8, r8
je 0x14002cfc2
mov edx, r13d
mov rcx, rdi
call r8
mov rax, qword [rdi + 0x170]
mov rcx, qword [rsp + 0x90]
lea r8, str._Rc__Frame_timestamp___lld__iDid___d_skip_one_frame_due_to_target_br__continual_skipped__d_frames
imul rcx, rcx, 0x168
mov ecx, dword [rcx + rax + 0x134]
mov r9, r14
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov edx, 8
mov dword [rsp + 0x20], r13d
call fcn.1400254a0
jmp 0x14002d207
mov rax, qword [rdi + 0x70]
cmp qword [rax + 0x498], rbx
je 0x14002d03a
mov r12d, dword [rsp + 0x5c]
lea rbp, [rdi + 0x210]
nop dword [rax]
mov rax, qword [rdi + 0x70]
mov edx, dword [rbp]
mov rcx, rdi
call qword [rax + 0x498]
add rbp, 0x10
sub r12, 1
jne 0x14002d020
mov rax, qword [rdi + 0x170]
mov rcx, qword [rsp + 0x90]
lea r8, str._Rc__Frame_timestamp___lld__iDid___d_skip_one_frame_due_to_target_br__continual_skipped__d_frames
imul rcx, rcx, 0x168
mov ecx, dword [rcx + rax + 0x134]
mov r9, r14
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov edx, 8
mov dword [rsp + 0x20], r13d
call fcn.1400254a0
jmp 0x14002d207
mov eax, dword [rbp + 0x4a4]
lea r12, [r12 + rbp + 0x394]
dec eax
movsxd rcx, eax
movsxd rax, dword [r12 + 0x30]
and rcx, rax
movzx eax, byte [rcx + r12 + 0x10]
mov dword [rsp + 0x6c], eax
mov byte [rdi + 0x16a], al
mov eax, dword [rsp + 0x58]
cmp eax, 1
jne 0x14002d207
mov rax, qword [rdi + 0x18]
test byte [rax + 0x34c], 2
jne 0x14002d1dc
cmp byte [rbp + 0x352], bl
je 0x14002d102
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov edx, r13d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14002c370
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
inc word [r12 + 0x2c]
jmp 0x14002d207
mov rdx, qword [rsi + 0x18]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x118]
mov rcx, rdi
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x118], ebx
call fcn.14002ba20
test eax, eax
jne 0x14002d1d4
mov r8d, dword [rsp + 0x5c]
mov rax, rbx
mov r9d, 0xffff
nop dword [rax]
mov rdx, qword [rdi + 0x18]
movzx ecx, word [rdx + rax + 0x3c0]
cmp cx, r9w
jae 0x14002d15f
inc cx
mov word [rdx + rax + 0x3c0], cx
jmp 0x14002d167
mov word [rdx + rax + 0x3c0], bx
add rax, 0x44
sub r8, 1
jne 0x14002d140
movsxd rcx, dword [rsp + 0x118]
inc dword [rsp + 0x50]
mov byte [rsi + 1], bl
mov byte [rsi], bl
mov byte [rsi + 2], bl
mov byte [rsi + 8], bl
mov dword [rsi + 0x10], ecx
mov dword [rsi + 4], 1
mov dword [rsi + 0xc], ebx
mov rax, qword [rdi + 0x1f0]
add rsi, 0x28
inc dword [rax + 0x58]
movsxd rax, dword [rdi + 0x204]
mov qword [rsp + 0x60], rsi
add rax, qword [rdi + 0x1f8]
mov qword [rsi + 0x20], rax
mov rax, qword [rsi - 0x10]
lea rcx, [rax + rcx*4]
mov eax, dword [rsp + 0x54]
add eax, dword [rsp + 0x68]
mov qword [rsi + 0x18], rcx
mov dword [rsp + 0x54], eax
mov eax, ebx
mov dword [rdi + 0x880], eax
jmp 0x14002d207
mov edx, dword [rsp + 0x5c]
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14002c550
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
mov ebp, dword [rsp + 0x58]
cmp ebp, 4
jne 0x14002d242
mov rax, qword [rsp + 0x88]
inc dword [rsp + 0x70]
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x108]
inc rax
mov dword [rsi + 4], ebp
mov qword [rsp + 0x88], rax
mov r15d, ebp
jmp 0x14002e247
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x100]
jmp 0x14002d260
mov ebp, dword [rsp + 0x58]
movsx r14d, dl
mov rcx, rdi
mov edx, ebp
mov r8d, r14d
call fcn.14003e640
mov rcx, qword [rdi + 0x1a8]
mov r8d, r14d
mov rdx, rdi
call fcn.14003f5e0
mov r11, qword [rdi + r15*8 + 0x208]
mov eax, dword [rdi + 0x14c]
mov rdx, qword [rsp + 0x80]
mov qword [rdi + 0x90], r11
mov dword [r11 + 0x34], eax
mov rcx, qword [rdi + 0x90]
mov eax, dword [r12 + r13 + 0x3d4]
mov dword [rcx + 0x38], eax
mov ecx, dword [rdx + r13 + 0x40]
mov r12d, dword [rdx + r13 + 0x20]
sub ecx, 1
mov r15d, dword [rdx + r13 + 0x24]
je 0x14002d2ee
sub ecx, 2
jne 0x14002d364
mov rcx, rdi
call fcn.14002ad60
mov rcx, rdi
mov edx, eax
mov word [rdi + 0x26c], ax
call fcn.14002af00
jmp 0x14002d364
movzx eax, word [r13 + 0x37c]
cmp ax, 1
jbe 0x14002d364
cmp byte [r13 + 0x37e], bl
je 0x14002d364
movzx eax, ax
cmp eax, dword [rdx + r13 + 0x44]
jb 0x14002d364
cmp byte [rsp + 0x100], bl
jle 0x14002d325
mov edx, r14d
mov rcx, rdi
call fcn.14003abd0
jmp 0x14002d364
mov rcx, qword [rdi + 0xb0]
mov rbp, qword [rcx]
mov qword [rdi + 0xa8], rbp
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x70]
mov edx, dword [rbp + 0x80]
call fcn.14003a040
test eax, eax
je 0x14002d360
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call fcn.14003a160
mov ebp, dword [rsp + 0x58]
jmp 0x14002d364
mov ebp, dword [rsp + 0x58]
mov eax, dword [rsp + 0x50]
cmp eax, 0x80
jge 0x14002e441
movzx ecx, byte [r13 + 0x352]
mov r14d, ebx
mov dword [rsp + 0x68], ebx
test cl, cl
jne 0x14002d393
cmp byte [rsp + 0x100], bl
je 0x14002d393
xor al, al
jmp 0x14002d395
mov al, 1
test cl, cl
jne 0x14002d3b6
test al, al
je 0x14002d3b6
cmp byte [r13 + 0x350], bl
jne 0x14002d3ad
cmp dword [r13 + 0x1c], 1
jle 0x14002d3b6
mov edx, 1
mov ecx, edx
jmp 0x14002d3bd
mov ecx, ebx
mov edx, 1
mov byte [rdi + 0x16b], cl
cmp ebp, 3
jne 0x14002d3db
mov r8d, reloc.WS2_32.dll_sendto
test al, al
cmovne r8d, edx
mov dword [rsp + 0x74], r8d
jmp 0x14002d3fd
cmp ebp, 1
jne 0x14002d3f8
test al, al
mov r8d, reloc.WS2_32.dll_sendto
mov eax, 5
cmovne r8d, eax
mov dword [rsp + 0x74], r8d
jmp 0x14002d3fd
mov r8d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x14002d430
cmp dword [rdi + 0x14c], 2
je 0x14002d430
mov ecx, dword [rsp + 0x78]
cmp eax, ecx
jne 0x14002d41e
mov ebp, ebx
mov dword [rsp + 0x60], ebx
jmp 0x14002d439
inc eax
mov ebp, 3
cmp eax, ecx
cmove ebp, edx
mov dword [rsp + 0x60], ebp
jmp 0x14002d439
mov ebp, 3
mov dword [rsp + 0x60], ebp
mov rax, qword [rdi + 0xb8]
mov rcx, qword [rsp + 0x90]
mov dword [rdi + 0x150], r8d
mov dword [rdi + 0x154], ebp
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdi + 0x14c]
mov r9, qword [rcx + 0xb0]
mov r8d, r15d
mov edx, r12d
mov qword [rdi + 0x98], r9
mov dword [r9 + 0x34], eax
mov rcx, qword [rdi + 0x98]
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + r13 + 0x3d4]
mov dword [rcx + 0x38], eax
mov rcx, rdi
call fcn.14002b010
mov rcx, qword [rdi + 0x88]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x88]
mov r12, qword [rsp + 0x98]
mov rax, qword [rcx]
mov edx, dword [r12 + r13 + 0x3d4]
xor r8d, r8d
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x14002e40f
cmp dword [rdi + 0x14c], 2
je 0x14002d4e4
mov rcx, qword [rdi + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [r13 + 0x10], 0xffffffff
je 0x14002d542
mov eax, dword [rdi + 0x14c]
test eax, eax
jne 0x14002d502
cmp byte [r13 + 0x38d], bl
je 0x14002d502
mov cl, 1
jmp 0x14002d504
xor ecx, ecx
test eax, eax
jne 0x14002d519
cmp byte [rdi + 0x168], bl
jbe 0x14002d519
mov r9, qword [rdi + 0xc0]
jmp 0x14002d51c
mov r9, rbx
mov r8, qword [rdi + 0x90]
mov byte [rsp + 0x28], cl
movsx ecx, byte [rsp + 0x100]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x1a8]
mov rdx, rdi
call fcn.140040a80
mov r15d, dword [rsp + 0x58]
mov edx, dword [r12 + r13 + 0x3d4]
mov rcx, rdi
mov r8d, r15d
call fcn.140031410
mov r11, qword [rdi + 0xa8]
mov r9b, 0xff
movsxd r8, dword [r11 + 0x194]
cmp r15d, 1
je 0x14002d58e
mov rcx, qword [rdi + 0xc0]
mov rax, r11
xor r9b, r9b
mov qword [rdi + 0xa0], rcx
mov qword [rax + 0x100], rcx
jmp 0x14002d5a3
mov rax, qword [rdi + 0xa8]
mov qword [rdi + 0xa0], rbx
mov qword [rax + 0x100], rbx
mov rdx, rbx
test r8, r8
jle 0x14002d5cf
nop dword [rax + rax]
mov rax, qword [rdi + 0xa8]
inc rdx
cmp rdx, r8
mov rcx, qword [rax + 0x70]
mov rax, qword [rcx + rdx*8 - 8]
mov byte [rax + 0x30a], r9b
jl 0x14002d5b0
mov r12, qword [rsp + 0x108]
mov rax, qword [rdi + 0x70]
mov rcx, rdi
mov rdx, qword [r12 + 0x1410]
call qword [rax + 0x468]
mov rcx, rdi
call fcn.14002b380
mov rcx, qword [rsp + 0x80]
mov r12d, ebx
mov eax, dword [rcx + r13 + 0x40]
mov dword [rsp + 0x118], ebx
test eax, eax
jne 0x14002d8ad
mov rax, qword [rdi + 0xa8]
mov dword [rsp + 0x118], ebx
mov rbp, qword [rax + 0x30]
cmp byte [rdi + 0x16b], bl
je 0x14002d679
mov r8, qword [rsi + 0x18]
lea rax, [rsp + 0x118]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14002bd50
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov r12d, dword [rsp + 0x118]
mov r14d, dword [rsp + 0x68]
mov rdx, qword [rdi + 0x1f0]
mov r10d, dword [rsp + 0x74]
movsxd rax, dword [rdx + 0x54]
mov rcx, qword [rdx + 0x30]
mov r8, qword [rdx + 0x40]
lea r9, [rax + rax*4]
mov rax, qword [rdx + 0x10]
shl rcx, 3
shl rax, 3
sub ecx, eax
mov eax, dword [rsp + 0x60]
sub ecx, dword [rdx + 0x3c]
mov byte [r8 + r9*8 + 0xd], al
mov dword [r8 + r9*8 + 0x10], r10d
mov byte [r8 + r9*8 + 0xc], bl
add ecx, 0x20
sar ecx, 3
movsxd rax, ecx
add rax, qword [rdx]
mov dword [r8 + r9*8 + 0x24], ecx
mov dword [r8 + r9*8 + 8], ebx
mov qword [r8 + r9*8], rax
mov rcx, qword [rdi + 0xa8]
test rcx, rcx
je 0x14002d714
test rbp, rbp
je 0x14002d714
mov rax, qword [rcx + 0x1d8]
test rax, rax
je 0x14002d714
cmp qword [rcx + 0x1e0], rbx
je 0x14002d714
mov eax, dword [rax]
mov dword [rbp + 0x2f8], eax
mov rax, qword [rcx + 0x1e0]
mov ecx, dword [rax]
mov eax, ebx
mov dword [rbp + 0x5f0], ecx
jmp 0x14002d719
mov eax, 4
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov r8d, r10d
mov rdx, rbp
mov rcx, rdi
call fcn.140039160
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov r9, qword [rdi + 0x1f0]
movsxd rbp, r14d
movsxd rax, dword [r9 + 0x54]
mov rdx, qword [r9 + 0x40]
mov rcx, qword [r9 + 0x30]
lea r8, [rax + rax*4]
mov rax, qword [r9 + 0x10]
shl rcx, 3
shl rax, 3
sub ecx, eax
sub ecx, dword [r9 + 0x3c]
add ecx, 0x20
sar ecx, 3
sub ecx, dword [rdx + r8*8 + 0x24]
mov dword [rdx + r8*8 + 8], ecx
inc dword [r9 + 0x54]
mov rax, qword [rsi + 0x18]
mov rdx, qword [rdi + 0x1f0]
movsxd rcx, dword [rdi + 0x204]
mov r8d, dword [rdi + 0x200]
lea r9, [rax + rbp*4]
mov eax, dword [rdx + 0x54]
mov r10, rcx
add r10, qword [rdi + 0x1f8]
dec eax
sub r8d, ecx
cdqe
mov qword [rsp + 0x20], r9
mov r9, r10
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x40]
mov rdx, qword [rdi + 0xa8]
lea rcx, [rax + rcx*8]
call fcn.14003e250
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov rax, qword [rsi + 0x18]
inc r14d
mov ecx, dword [rax + rbp*4]
mov eax, dword [rsp + 0x6c]
add dword [rdi + 0x204], ecx
mov byte [rsi + 8], 1
add r12d, ecx
mov cl, byte [rsp + 0x100]
mov byte [rsi + 1], cl
mov byte [rsi], al
mov byte [rsi + 2], bl
mov dword [rsi + 0x10], r14d
mov dword [rsi + 4], r15d
cmp r15d, 1
jne 0x14002d830
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, ebx
mov dword [rsi + 0xc], ebx
jmp 0x14002de84
cmp r15d, 2
jne 0x14002d84f
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, 1
mov dword [rsi + 0xc], eax
jmp 0x14002de84
cmp r15d, 3
jne 0x14002d894
cmp byte [rdi + 0x148], bl
je 0x14002d876
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, 2
mov dword [rsi + 0xc], eax
jmp 0x14002de84
movzx eax, byte [rdi + 0x16a]
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
add eax, 3
mov dword [rsi + 0xc], eax
jmp 0x14002de84
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, 7
mov dword [rsi + 0xc], eax
jmp 0x14002de84
cmp eax, 3
jne 0x14002d970
cmp word [r13 + 0x37c], 1
ja 0x14002d970
mov rax, qword [rdi + 0xa8]
mov r14, qword [rsp + 0x108]
mov dword [rsp + 0x38], ebx
mov ecx, dword [rax + 0x84]
lea rax, [rsp + 0x118]
lea r9, [rsp + 0x68]
dec ecx
mov r8, rsi
mov rdx, r14
mov dword [rsp + 0x30], ecx
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14002f3a0
mov dword [rdi + 0x880], eax
mov dword [rsi + 4], r15d
cmp r15d, 1
jne 0x14002d91c
mov eax, ebx
jmp 0x14002d94d
cmp r15d, 2
jne 0x14002d928
lea eax, [r15 - 1]
jmp 0x14002d94d
cmp r15d, 3
jne 0x14002d948
cmp byte [rdi + 0x148], bl
je 0x14002d93c
lea eax, [r15 - 1]
jmp 0x14002d94d
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002d94d
mov eax, 7
mov dword [rsi + 0xc], eax
cmp dword [rdi + 0x880], ebx
jne 0x14002e303
mov r12d, dword [rsp + 0x118]
mov cl, byte [rsp + 0x100]
jmp 0x14002de84
cmp eax, 3
je 0x14002da6f
cmp word [r13 + 0x37c], 1
jbe 0x14002da6f
mov rax, qword [rdi + 0xa8]
add rax, 0x78
je 0x14002d99a
mov ebp, dword [rax + 8]
jmp 0x14002d99d
or ebp, 0xffffffff
mov r9d, dword [rsp + 0x50]
lea eax, [r9 + 1]
cmp eax, 0x80
jge 0x14002e299
cmp ebp, 1
jle 0x14002e28a
movsxd rax, dword [rdi + 0x204]
add rax, qword [rdi + 0x1f8]
mov qword [rsi + 0x20], rax
mov byte [rsi + 8], 1
movzx eax, byte [rdi + 0x169]
mov byte [rsi + 1], al
movzx eax, byte [rdi + 0x16a]
mov byte [rsi], al
mov byte [rsi + 2], bl
mov dword [rsi + 0x10], ebx
mov dword [rsi + 4], r15d
cmp r15d, 1
jne 0x14002d9f7
mov eax, ebx
jmp 0x14002da28
cmp r15d, 2
jne 0x14002da03
lea eax, [r15 - 1]
jmp 0x14002da28
cmp r15d, 3
jne 0x14002da23
cmp byte [rdi + 0x148], bl
je 0x14002da17
lea eax, [r15 - 1]
jmp 0x14002da28
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002da28
mov eax, 7
mov dword [rsi + 0xc], eax
mov rcx, qword [rdi + 0x80]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp dword [rdi + 0x880], ebx
jne 0x14002e25e
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call fcn.14003a9e0
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov cl, byte [rsp + 0x100]
mov r12d, eax
jmp 0x14002de84
cmp eax, 3
jne 0x14002dbe4
cmp word [r13 + 0x37c], 1
jbe 0x14002dbe4
mov rax, qword [rdi + 0x1f0]
mov r14, qword [rsp + 0x108]
movsx r9, word [rdi + 0x26c]
movsxd rcx, dword [rax + 0x58]
movsxd rax, dword [rdi + 0x204]
add rax, qword [rdi + 0x1f8]
lea rdx, [rcx + rcx*4]
mov qword [r14 + rdx*8 + 0x28], rax
mov byte [r14 + rdx*8 + 0x10], 1
movzx eax, byte [rdi + 0x169]
mov byte [r14 + rdx*8 + 9], al
movzx eax, byte [rdi + 0x16a]
mov byte [r14 + rdx*8 + 0xa], bl
mov dword [r14 + rdx*8 + 0x18], ebx
mov dword [r14 + rdx*8 + 0xc], r15d
mov byte [r14 + rdx*8 + 8], al
cmp r15d, 1
jne 0x14002daf0
mov eax, ebx
jmp 0x14002db21
cmp r15d, 2
jne 0x14002dafc
lea eax, [r15 - 1]
jmp 0x14002db21
cmp r15d, 3
jne 0x14002db1c
cmp byte [rdi + 0x148], bl
je 0x14002db10
lea eax, [r15 - 1]
jmp 0x14002db21
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002db21
mov eax, 7
mov dword [r14 + rdx*8 + 0x14], eax
mov r8d, ebx
test r9, r9
jle 0x14002db65
mov rdx, rbx
nop word [rax + rax]
mov rax, qword [rdi + 0x78]
add rdx, 0x18
mov rcx, qword [rax]
mov qword [rcx + rdx - 0x10], r14
mov rax, qword [rdi + 0x78]
mov rcx, qword [rax]
mov dword [rcx + rdx - 8], r8d
inc r8d
sub r9, 1
jne 0x14002db40
mov rcx, rdi
call fcn.140037d70
test eax, eax
jne 0x14002e30e
mov rcx, qword [rdi + 0x80]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp dword [rdi + 0x880], ebx
jne 0x14002e2d8
mov r12, qword [rsp + 0x80]
mov r8, rsi
mov rdx, r14
mov r9d, dword [r12 + r13 + 0x40]
mov rcx, rdi
call fcn.140038fe0
test eax, eax
jne 0x14002e316
mov rax, qword [rdi + 0xa8]
add rax, 0x78
je 0x14002dbc6
mov r8d, dword [rax + 8]
jmp 0x14002dbca
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14003a9e0
mov cl, byte [rsp + 0x100]
mov r12d, eax
jmp 0x14002de84
mov rax, qword [rdi + 0xa8]
movzx edx, byte [rdi + 0x16b]
mov rbp, rbx
add rax, 0x78
mov byte [rsp + 0x118], dl
je 0x14002dc07
mov ecx, dword [rax + 8]
jmp 0x14002dc0a
or ecx, 0xffffffff
movsxd rax, ecx
mov qword [rsp + 0xa8], rax
test ecx, ecx
jle 0x14002de1b
mov r15, rbx
mov dword [rsp + 0x78], ebx
test dl, dl
je 0x14002dc6e
mov r8, qword [rsi + 0x18]
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14002bd50
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
add r12d, dword [rsp + 0x78]
mov r14d, dword [rsp + 0x68]
mov rdx, qword [rdi + 0x1f0]
mov r10d, dword [rsp + 0x74]
movsxd rax, dword [rdx + 0x54]
mov rcx, qword [rdx + 0x30]
mov r8, qword [rdx + 0x40]
lea r9, [rax + rax*4]
mov rax, qword [rdx + 0x10]
shl rcx, 3
shl rax, 3
sub ecx, eax
mov eax, dword [rsp + 0x60]
sub ecx, dword [rdx + 0x3c]
mov byte [r8 + r9*8 + 0xd], al
mov dword [r8 + r9*8 + 0x10], r10d
mov byte [r8 + r9*8 + 0xc], bl
add ecx, 0x20
sar ecx, 3
movsxd rax, ecx
add rax, qword [rdx]
mov dword [r8 + r9*8 + 0x24], ecx
mov dword [r8 + r9*8 + 8], ebx
mov qword [r8 + r9*8], rax
mov rcx, qword [rdi + 0xa8]
mov rax, qword [rcx + 0x30]
lea rdx, [r15 + rax]
test rcx, rcx
je 0x14002dd13
test rdx, rdx
je 0x14002dd13
mov rax, qword [rcx + 0x1d8]
test rax, rax
je 0x14002dd13
cmp qword [rcx + 0x1e0], rbx
je 0x14002dd13
mov eax, dword [rax + rbp*4]
mov dword [rdx + 0x2f8], eax
mov rax, qword [rcx + 0x1e0]
mov ecx, dword [rax + rbp*4]
mov eax, ebx
mov dword [rdx + 0x5f0], ecx
jmp 0x14002dd18
mov eax, 4
mov r8d, r10d
mov rcx, rdi
mov dword [rdi + 0x880], eax
call fcn.140039160
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov r9, qword [rdi + 0x1f0]
movsxd r13, r14d
movsxd rax, dword [r9 + 0x54]
mov rdx, qword [r9 + 0x40]
mov rcx, qword [r9 + 0x30]
lea r8, [rax + rax*4]
mov rax, qword [r9 + 0x10]
shl rcx, 3
shl rax, 3
sub ecx, eax
sub ecx, dword [r9 + 0x3c]
add ecx, 0x20
sar ecx, 3
sub ecx, dword [rdx + r8*8 + 0x24]
mov dword [rdx + r8*8 + 8], ecx
inc dword [r9 + 0x54]
mov rax, qword [rsi + 0x18]
mov rdx, qword [rdi + 0x1f0]
movsxd rcx, dword [rdi + 0x204]
mov r8d, dword [rdi + 0x200]
lea r9, [rax + r13*4]
mov eax, dword [rdx + 0x54]
mov r10, rcx
add r10, qword [rdi + 0x1f8]
dec eax
sub r8d, ecx
cdqe
mov qword [rsp + 0x20], r9
mov r9, r10
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x40]
mov rdx, qword [rdi + 0xa8]
lea rcx, [rax + rcx*8]
call fcn.14003e250
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov rax, qword [rsi + 0x18]
mov dl, byte [rsp + 0x118]
inc r14d
mov ecx, dword [rax + r13*4]
inc rbp
add r15, 0x630
add dword [rdi + 0x204], ecx
add r12d, ecx
cmp rbp, qword [rsp + 0xa8]
mov dword [rsp + 0x68], r14d
jl 0x14002dc20
mov r13, qword [rsp + 0xa0]
mov r15d, dword [rsp + 0x58]
mov cl, byte [rsp + 0x100]
mov eax, dword [rsp + 0x6c]
mov byte [rsi + 8], 1
mov byte [rsi + 1], cl
mov byte [rsi], al
mov byte [rsi + 2], bl
mov dword [rsi + 0x10], r14d
mov dword [rsi + 4], r15d
cmp r15d, 1
jne 0x14002de44
mov eax, ebx
jmp 0x14002de75
cmp r15d, 2
jne 0x14002de50
lea eax, [r15 - 1]
jmp 0x14002de75
cmp r15d, 3
jne 0x14002de70
cmp byte [rdi + 0x148], bl
je 0x14002de64
lea eax, [r15 - 1]
jmp 0x14002de75
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002de75
mov eax, 7
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov dword [rsi + 0xc], eax
mov rax, qword [rdi + 0x70]
mov r9, qword [rax + 0x4a8]
test r9, r9
je 0x14002deac
mov r8, qword [r14 + 0x1410]
movsx edx, cl
mov rcx, rdi
call r9
test al, al
jne 0x14002e339
mov rax, qword [rdi + 0xa8]
cmp byte [rax + 0xfc], bl
jne 0x14002dee5
test ebp, ebp
je 0x14002dee5
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + r13 + 0x3b5]
test al, al
je 0x14002dedd
movsx eax, al
cmp dword [rsp + 0x6c], eax
jge 0x14002dee5
mov rcx, rdi
call fcn.14004c290
mov rax, qword [rdi + 0x70]
mov edx, r12d
mov rcx, rdi
call qword [rax + 0x478]
mov eax, dword [rsp + 0x54]
mov rdx, qword [r14 + 0x1410]
add eax, r12d
mov rcx, rdi
mov r8d, eax
mov dword [rsp + 0x54], eax
call fcn.140034630
mov rax, qword [rdi + 0x170]
mov rcx, qword [rdi + 0x98]
mov rdx, qword [rsp + 0x90]
imul rdx, rdx, 0x168
mov eax, dword [rdx + rax + 0xa4]
mov dword [rcx + 0x78], eax
mov rax, qword [rdi + 0x70]
mov rcx, qword [rdi + 0xa8]
call qword [rax + 0x330]
test ebp, ebp
je 0x14002df63
mov rcx, qword [rdi + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x18]
test al, al
je 0x14002e3b3
mov r12, qword [rsp + 0x80]
mov eax, dword [r12 + r13 + 0x24]
imul eax, dword [r12 + r13 + 0x20]
lea ecx, [rax + rax*2]
mov eax, dword [r12 + r13 + 0x38]
sar ecx, 2
cmp eax, 0x1f
je 0x14002df90
cmp eax, 0x20
je 0x14002df90
cmp eax, 0x28
jne 0x14002df92
sar ecx, 1
cmp dword [rsp + 0x54], ecx
jle 0x14002dfac
lea r8, str.WelsEncoderEncodeExt__MinCr_Checking_codec_bitstream_size_is_larger_than_Level_limitation
mov edx, 2
mov rcx, rdi
call fcn.1400254a0
movsxd rcx, dword [rsi + 0x10]
mov rax, qword [rdi + 0x1f0]
inc dword [rsp + 0x50]
inc dword [rax + 0x58]
movsxd rax, dword [rdi + 0x204]
add rsi, 0x28
add rax, qword [rdi + 0x1f8]
mov qword [rsp + 0x60], rsi
mov qword [rsi + 0x20], rax
mov rax, qword [rsi - 0x10]
lea rcx, [rax + rcx*4]
mov qword [rsi + 0x18], rcx
cmp dword [r13 + 0x354], ebx
je 0x14002e11e
movzx ecx, byte [rdi + 0x169]
mov rax, qword [rdi + 0x170]
imul rcx, rcx, 0x168
mov edx, dword [rcx + rax + 0x128]
test edx, edx
jle 0x14002e11e
lea r8, [rsp + 0x118]
mov rcx, rdi
mov dword [rsp + 0x118], ebx
call fcn.14002bfc0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x14002e647
mov r8d, dword [rsp + 0x118]
test r8d, r8d
jle 0x14002e32f
mov rcx, qword [rdi + 0x170]
movzx edx, byte [rdi + 0x169]
imul rdx, rdx, 0x168
mov eax, dword [rdx + rcx + 0x128]
add dword [rdx + rcx + 0x12c], eax
movzx ecx, byte [rdi + 0x169]
mov rax, qword [rdi + 0x170]
imul rcx, rcx, 0x168
mov dword [rcx + rax + 0x128], ebx
mov byte [rsi + 1], bl
mov byte [rsi], bl
mov byte [rsi + 2], bl
mov byte [rsi + 8], bl
mov ecx, 1
mov dword [rsi + 0x10], ecx
mov rax, qword [rsi + 0x18]
mov dword [rax], r8d
mov dword [rsi + 4], r15d
cmp r15d, ecx
jne 0x14002e0b2
mov eax, ebx
jmp 0x14002e0e1
cmp r15d, 2
jne 0x14002e0bc
mov eax, ecx
jmp 0x14002e0e1
cmp r15d, 3
jne 0x14002e0dc
cmp byte [rdi + 0x148], bl
je 0x14002e0d0
lea eax, [r15 - 1]
jmp 0x14002e0e1
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002e0e1
mov eax, 7
inc dword [rsp + 0x50]
mov dword [rsi + 0xc], eax
mov rax, qword [rdi + 0x1f0]
inc dword [rax + 0x58]
movsxd rax, dword [rdi + 0x204]
add rsi, 0x28
add rax, qword [rdi + 0x1f8]
mov qword [rsp + 0x60], rsi
mov qword [rsi + 0x20], rax
mov rax, qword [rsi - 0x10]
add rax, 4
add dword [rsp + 0x54], r8d
mov qword [rsi + 0x18], rax
cmp dword [r12 + r13 + 0x40], 1
jne 0x14002e153
cmp byte [r13 + 0x37e], bl
je 0x14002e153
movzx eax, word [r13 + 0x37c]
cmp ax, 1
jbe 0x14002e153
movzx eax, ax
cmp eax, dword [r12 + r13 + 0x44]
jb 0x14002e153
mov rcx, qword [rdi + 0xa8]
call fcn.140039f70
mov r12, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
inc dword [rsp + 0x70]
mov dword [rdi + r12*4 + 0x158], ebp
movsx ebp, r12b
inc rcx
lea eax, [rbp + 1]
mov qword [rsp + 0x88], rcx
mov r9d, ebp
cmp eax, dword [r13 + 0x1c]
jge 0x14002e1b8
mov r8, qword [rdi + 0xa8]
mov rax, rcx
add rax, rax
movsxd rcx, dword [rdi + rax*8 + 0x210]
mov rax, qword [rdi + 0xb0]
mov rdx, qword [rax + rcx*8]
mov qword [rdi + 0xa8], rdx
mov qword [rdx + 0x1f8], r8
mov rcx, qword [rdi + 0x1a8]
mov dword [rsp + 0x20], r9d
movzx r9d, byte [rsp + 0x6c]
mov r8, r13
mov rdx, rdi
call fcn.14003f860
test eax, eax
jne 0x14002e3da
cmp byte [r13 + 0x370], bl
je 0x14002e21c
movzx eax, byte [rdi + 0x169]
mov rcx, qword [rdi + 0x140]
imul rax, rax, 0x3c
cmp byte [rax + rcx + 0x38], bl
je 0x14002e204
cmp dword [rax + rcx + 0x14], ebx
je 0x14002e20a
cmp r15d, 1
jne 0x14002e21c
movsxd rax, dword [rsp + 0x6c]
lea rcx, [rdi + rax]
mov byte [rcx + r12*4 + 0x258], 1
cmp byte [r13 + 0x352], bl
je 0x14002e23f
mov rax, qword [rsp + 0x98]
inc dword [rax + r13 + 0x3c4]
mov rax, qword [rsp + 0x88]
jmp 0x14002e247
mov rax, qword [rsp + 0x88]
mov r10d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x70]
cmp edx, r10d
jl 0x14002cef0
jmp 0x14002e46c
mov r12, qword [rsp + 0x80]
lea r8, str.WelsEncoderEncodeExt____multi_slice__mode__d__encoding_error_
mov edx, 1
mov r9d, dword [r12 + r13 + 0x40]
mov rcx, rdi
call fcn.1400254a0
mov eax, dword [rdi + 0x880]
jmp 0x14002e647
mov r9d, ebp
lea r8, str.WelsEncoderEncodeExt____iSliceCount__d__from_GetCurrentSliceNum___is_untrusted_due_stack_heap_crupted_
jmp 0x14002e322
mov ecx, dword [rcx + r13 + 0x40]
movsx edx, byte [rsp + 0x100]
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
lea r8, str.WelsEncoderEncodeExt____iLayerNum__d__overflow_max:_d__at_iDid__d_uiSliceMode__d__iSliceCount__d_
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x20], 0x80
call fcn.1400254a0
mov eax, 2
jmp 0x14002e647
mov eax, dword [rdi + 0x880]
mov r12, qword [rsp + 0x80]
lea r8, str.WelsEncoderEncodeExt____multi_slice__mode__d__encoding_error___d_
mov r9d, dword [r12 + r13 + 0x40]
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1400254a0
mov eax, dword [rdi + 0x880]
jmp 0x14002e647
mov r12, qword [rsp + 0x80]
mov r9d, dword [r12 + r13 + 0x40]
lea r8, str.WelsEncoderEncodeExt____multi_slice__mode__d__InitAllSlicesInThread___error_
mov edx, 1
mov rcx, rdi
call fcn.1400254a0
mov eax, 4
jmp 0x14002e647
mov edx, r15d
mov rcx, rdi
call fcn.14002c800
cmp dword [r14], ebx
mov r11, qword [rdi + 0x1f8]
mov qword [r14 + 0x28], r11
mov rax, qword [rdi + 0x1f0]
mov rcx, qword [rax + 0x48]
mov qword [r14 + 0x20], rcx
mov ecx, ebx
jle 0x14002e384
lea rax, [r14 + 0xc]
nop dword [rax]
mov dword [rax + 0xc], ebx
mov dword [rax], 4
inc ecx
add rax, 0x28
cmp ecx, dword [r14]
jl 0x14002e370
mov dword [r14], ebx
mov dword [r14 + 0x140c], ebx
mov rax, qword [rdi + 0x70]
mov r8, qword [rax + 0x498]
test r8, r8
je 0x14002e3a8
mov edx, dword [rsp + 0x5c]
mov rcx, rdi
call r8
mov dword [rdi + 0x880], ebx
jmp 0x14002e645
lea r8, str.WelsEncoderEncodeExt____WelsUpdateRefList_failed._ForceCodingIDR_
mov edx, 2
mov rcx, rdi
call fcn.1400254a0
mov edx, dword [rsp + 0x70]
mov dword [rdi + 0x880], 8
jmp 0x14002e46c
movsx edx, bpl
mov rcx, rdi
call fcn.14002c140
lea r8, str.WelsEncoderEncodeExt____Logic_Error_Found_in_Preprocess_updating._ForceCodingIDR_
mov edx, 2
mov rcx, rdi
call fcn.1400254a0
mov dword [r14 + 0x1408], r15d
mov dword [rsi + 4], r15d
mov eax, 8
jmp 0x14002e647
movzx r9d, byte [rdi + 0x168]
lea r8, str.WelsEncoderEncodeExt____WelsBuildRefList_failed_for_P_frames__pCtx__iNumRef0__d._ForceCodingIDR_
mov edx, 2
mov rcx, rdi
call fcn.1400254a0
mov edx, dword [rsp + 0x70]
mov r15d, 1
mov dword [rdi + 0x880], 8
jmp 0x14002e46c
lea r8, str.WelsEncoderEncodeExt____iLayerNum__d__overflow_max:_d__
mov r9d, eax
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x20], 0x80
call fcn.1400254a0
mov eax, 2
jmp 0x14002e647
mov edx, eax
cmp byte [r13 + 0x352], bl
jne 0x14002e49e
cmp dword [r13 + 0x1c], ebx
mov ecx, ebx
jle 0x14002e49e
lea rax, [r13 + 0x3c4]
nop word [rax + rax]
inc dword [rax]
inc ecx
add rax, 0x44
cmp ecx, dword [r13 + 0x1c]
jl 0x14002e490
cmp dword [rdi + 0x880], 8
jne 0x14002e511
movzx r9d, byte [rsp + 0x6c]
mov rcx, qword [rdi + 0x1a8]
movsxd rbx, edx
add rbx, rbx
mov r8, r13
mov rdx, rdi
mov eax, dword [rdi + rbx*8 + 0x210]
mov dword [rsp + 0x20], eax
call fcn.14003f860
mov edx, dword [rdi + rbx*8 + 0x210]
mov rcx, rdi
call fcn.14002c140
lea r8, str.WelsEncoderEncodeExt____Logic_Error_Found_in_temporal_level._ForceCodingIDR_
mov edx, 1
mov rcx, rdi
call fcn.1400254a0
mov r12, qword [rsp + 0x108]
mov eax, 8
mov dword [r12 + 0x1408], r15d
mov dword [rsi + 4], r15d
jmp 0x14002e647
mov r13d, dword [rsp + 0x50]
cmp r13d, 0x80
jle 0x14002e548
lea r8, str.WelsEncoderEncodeExt____iLayerNum__d____MAX_LAYER_NUM_OF_FRAME__d__
mov r9d, r13d
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x20], 0x80
call fcn.1400254a0
mov eax, 1
jmp 0x14002e647
mov r12, qword [rsp + 0x108]
mov r14d, dword [rsp + 0x54]
lea r8, str.WelsEncoderEncodeExt___OutputInfo_iLayerNum___d_iFrameSize___d
mov r9d, r13d
mov edx, 8
mov rcx, rdi
mov dword [r12], r13d
mov dword [rsp + 0x20], r14d
call fcn.1400254a0
mov ebp, ebx
test r13d, r13d
jle 0x14002e5f6
mov r12, qword [rsp + 0xb0]
nop word [rax + rax]
mov r8, qword [r12 + 0x18]
mov eax, dword [r12 + 0xc]
movzx ecx, byte [r12]
movzx edx, byte [r12 + 1]
movzx r9d, byte [r12 + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [r8]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], eax
mov eax, dword [r12 + 0x10]
lea r8, str.WelsEncoderEncodeExt___OutputInfo_iLayerId___d_iNalType___d_iNalCount___d__first_Nal_Length_d_uiSpatialId___d_uiTemporalId___d_iSubSeqId___d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r9d
mov edx, 8
mov r9d, ebp
mov rcx, rdi
call fcn.1400254a0
inc ebp
add r12, 0x28
cmp ebp, r13d
jl 0x14002e590
mov r12, qword [rsp + 0x108]
call fcn.1401cd9a0
mov dword [rsi + 4], r15d
cmp dword [r12], ebx
mov dword [r12 + 0x140c], r14d
mov dword [r12 + 0x1408], r15d
jle 0x14002e645
lea rcx, [r12 + 0xc]
nop word [rax + rax]
mov eax, dword [rcx]
cmp dword [r12 + 0x1408], eax
je 0x14002e639
mov eax, 5
mov dword [r12 + 0x1408], eax
inc ebx
add rcx, 0x28
cmp ebx, dword [r12]
jl 0x14002e620
xor eax, eax
mov r12, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0xc0]
add rsp, 0xe0
pop r14
pop rdi
pop rbp
ret