Function at 0x14002edc0
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 0x14002eded
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 0x14002ee7a
test rax, rax
jne 0x14002eeaa
cmp rdx, 0xffffffffffffffff
je 0x14002eeaa
mov rcx, qword [rcx + 0x18]
movsd xmm1, qword [0x1402ab598]
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 0x14002eec0
mov rcx, qword [rdi + 0x1a8]
mov rdx, rdi
call fcn.140041960
mov r10d, eax
mov dword [rsp + 0x5c], eax
cmp eax, 0xffffffff
jne 0x14002ef0b
mov ebx, 1
lea r8, str.Failed_in_allocating_memory_in_BuildSpatialPicList
mov rcx, rdi
mov edx, ebx
call fcn.1400279c0
mov eax, ebx
jmp 0x140030adf
mov rax, qword [rdi + 0x70]
mov r9, qword [rax + 0x4a0]
test r9, r9
je 0x14002ef30
mov r8, qword [r14 + 0x1410]
mov edx, r10d
mov rcx, rdi
call r9
mov r10d, dword [rsp + 0x5c]
cmp r10d, 1
jge 0x14002ef8f
cmp dword [r13 + 0x1c], ebx
jle 0x14002ef5e
lea rax, [r13 + 0x3c4]
nop word [rax + rax]
inc dword [rax]
inc ebx
add rax, 0x44
cmp ebx, dword [r13 + 0x1c]
jl 0x14002ef50
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.1400279c0
xor eax, eax
jmp 0x140030adf
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 0x14002f316
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.140036530
movzx edx, byte [rsp + 0x5c]
mov r8d, r14d
movzx r9d, al
mov rcx, rdi
call fcn.140040c30
mov dword [rsp + 0x58], eax
cmp eax, 4
jne 0x14002f152
cmp byte [rbp + 0x352], bl
je 0x14002f0c5
mov rax, qword [rdi + 0x70]
mov r8, qword [rax + 0x498]
test r8, r8
je 0x14002f085
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.1400279c0
mov r15d, dword [rsp + 0x58]
jmp 0x14002f2f7
mov rax, qword [rdi + 0x70]
cmp qword [rax + 0x498], rbx
je 0x14002f112
mov eax, dword [rsp + 0x5c]
test eax, eax
jle 0x14002f112
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 0x14002f0f0
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.1400279c0
mov r15d, dword [rsp + 0x58]
jmp 0x14002f2f7
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 0x14002f2f7
mov rax, qword [rdi + 0x18]
test byte [rax + 0x34c], 2
jne 0x14002f2cc
cmp byte [rbp + 0x352], bl
je 0x14002f1de
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.14002e800
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
inc word [r12 + 0x2c]
jmp 0x14002f2f7
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.14002deb0
test eax, eax
jne 0x14002f2c4
mov ecx, dword [rsp + 0x5c]
test ecx, ecx
jle 0x14002f261
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 0x14002f24f
inc cx
mov word [rdx + rax + 0x3c0], cx
jmp 0x14002f257
mov word [rdx + rax + 0x3c0], bx
add rax, 0x44
sub r8, 1
jne 0x14002f230
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 0x14002f2f7
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.14002e9e0
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
cmp r15d, 4
jne 0x14002f35e
mov r12, qword [rsp + 0x108]
mov dword [r12 + 0x1408], r15d
mov dword [rsi + 4], r15d
jmp 0x140030ad5
cmp dword [r13 + 0x1c], ebx
mov r8d, ebx
jle 0x14002f36b
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 0x14002f34f
lea eax, [r9 + 1]
mov dword [rdx], eax
inc r8d
add rdx, 0x44
cmp r8d, dword [r13 + 0x1c]
jl 0x14002f330
jmp 0x14002f36b
mov r14, qword [rsp + 0x108]
mov r10d, dword [rsp + 0x5c]
mov rax, rbx
mov qword [rsp + 0x88], rbx
test r10d, r10d
jle 0x1400308fa
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 0x14002f6ec
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.140036530
movzx edx, byte [rsp + 0x5c]
mov r8d, r13d
movzx r9d, al
mov rcx, rdi
call fcn.140040c30
mov dword [rsp + 0x58], eax
cmp eax, 4
jne 0x14002f50c
cmp byte [rbp + 0x352], bl
je 0x14002f494
mov rax, qword [rdi + 0x70]
mov r8, qword [rax + 0x498]
test r8, r8
je 0x14002f452
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.1400279c0
jmp 0x14002f697
mov rax, qword [rdi + 0x70]
cmp qword [rax + 0x498], rbx
je 0x14002f4ca
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 0x14002f4b0
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.1400279c0
jmp 0x14002f697
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 0x14002f697
mov rax, qword [rdi + 0x18]
test byte [rax + 0x34c], 2
jne 0x14002f66c
cmp byte [rbp + 0x352], bl
je 0x14002f592
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.14002e800
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
inc word [r12 + 0x2c]
jmp 0x14002f697
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.14002deb0
test eax, eax
jne 0x14002f664
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 0x14002f5ef
inc cx
mov word [rdx + rax + 0x3c0], cx
jmp 0x14002f5f7
mov word [rdx + rax + 0x3c0], bx
add rax, 0x44
sub r8, 1
jne 0x14002f5d0
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 0x14002f697
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.14002e9e0
mov rsi, qword [rsp + 0x60]
mov dword [rdi + 0x880], eax
mov ebp, dword [rsp + 0x58]
cmp ebp, 4
jne 0x14002f6d2
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 0x1400306d7
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x100]
jmp 0x14002f6f0
mov ebp, dword [rsp + 0x58]
movsx r14d, dl
mov rcx, rdi
mov edx, ebp
mov r8d, r14d
call fcn.140040ae0
mov rcx, qword [rdi + 0x1a8]
mov r8d, r14d
mov rdx, rdi
call fcn.140041a80
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 0x14002f77e
sub ecx, 2
jne 0x14002f7f4
mov rcx, rdi
call fcn.14002d1f0
mov rcx, rdi
mov edx, eax
mov word [rdi + 0x26c], ax
call fcn.14002d390
jmp 0x14002f7f4
movzx eax, word [r13 + 0x37c]
cmp ax, 1
jbe 0x14002f7f4
cmp byte [r13 + 0x37e], bl
je 0x14002f7f4
movzx eax, ax
cmp eax, dword [rdx + r13 + 0x44]
jb 0x14002f7f4
cmp byte [rsp + 0x100], bl
jle 0x14002f7b5
mov edx, r14d
mov rcx, rdi
call fcn.14003cf40
jmp 0x14002f7f4
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.14003c3b0
test eax, eax
je 0x14002f7f0
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call fcn.14003c4d0
mov ebp, dword [rsp + 0x58]
jmp 0x14002f7f4
mov ebp, dword [rsp + 0x58]
mov eax, dword [rsp + 0x50]
cmp eax, 0x80
jge 0x1400308d1
movzx ecx, byte [r13 + 0x352]
mov r14d, ebx
mov dword [rsp + 0x68], ebx
test cl, cl
jne 0x14002f823
cmp byte [rsp + 0x100], bl
je 0x14002f823
xor al, al
jmp 0x14002f825
mov al, 1
test cl, cl
jne 0x14002f846
test al, al
je 0x14002f846
cmp byte [r13 + 0x350], bl
jne 0x14002f83d
cmp dword [r13 + 0x1c], 1
jle 0x14002f846
mov edx, 1
mov ecx, edx
jmp 0x14002f84d
mov ecx, ebx
mov edx, 1
mov byte [rdi + 0x16b], cl
cmp ebp, 3
jne 0x14002f86b
mov r8d, reloc.WS2_32.dll_sendto
test al, al
cmovne r8d, edx
mov dword [rsp + 0x74], r8d
jmp 0x14002f88d
cmp ebp, 1
jne 0x14002f888
test al, al
mov r8d, reloc.WS2_32.dll_sendto
mov eax, 5
cmovne r8d, eax
mov dword [rsp + 0x74], r8d
jmp 0x14002f88d
mov r8d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x14002f8c0
cmp dword [rdi + 0x14c], 2
je 0x14002f8c0
mov ecx, dword [rsp + 0x78]
cmp eax, ecx
jne 0x14002f8ae
mov ebp, ebx
mov dword [rsp + 0x60], ebx
jmp 0x14002f8c9
inc eax
mov ebp, 3
cmp eax, ecx
cmove ebp, edx
mov dword [rsp + 0x60], ebp
jmp 0x14002f8c9
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.14002d4a0
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 0x14003089f
cmp dword [rdi + 0x14c], 2
je 0x14002f974
mov rcx, qword [rdi + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [r13 + 0x10], 0xffffffff
je 0x14002f9d2
mov eax, dword [rdi + 0x14c]
test eax, eax
jne 0x14002f992
cmp byte [r13 + 0x38d], bl
je 0x14002f992
mov cl, 1
jmp 0x14002f994
xor ecx, ecx
test eax, eax
jne 0x14002f9a9
cmp byte [rdi + 0x168], bl
jbe 0x14002f9a9
mov r9, qword [rdi + 0xc0]
jmp 0x14002f9ac
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.140042f20
mov r15d, dword [rsp + 0x58]
mov edx, dword [r12 + r13 + 0x3d4]
mov rcx, rdi
mov r8d, r15d
call fcn.1400338a0
mov r11, qword [rdi + 0xa8]
mov r9b, 0xff
movsxd r8, dword [r11 + 0x194]
cmp r15d, 1
je 0x14002fa1e
mov rcx, qword [rdi + 0xc0]
mov rax, r11
xor r9b, r9b
mov qword [rdi + 0xa0], rcx
mov qword [rax + 0x100], rcx
jmp 0x14002fa33
mov rax, qword [rdi + 0xa8]
mov qword [rdi + 0xa0], rbx
mov qword [rax + 0x100], rbx
mov rdx, rbx
test r8, r8
jle 0x14002fa5f
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 0x14002fa40
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.14002d810
mov rcx, qword [rsp + 0x80]
mov r12d, ebx
mov eax, dword [rcx + r13 + 0x40]
mov dword [rsp + 0x118], ebx
test eax, eax
jne 0x14002fd3d
mov rax, qword [rdi + 0xa8]
mov dword [rsp + 0x118], ebx
mov rbp, qword [rax + 0x30]
cmp byte [rdi + 0x16b], bl
je 0x14002fb09
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.14002e1e0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
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 0x14002fba4
test rbp, rbp
je 0x14002fba4
mov rax, qword [rcx + 0x1d8]
test rax, rax
je 0x14002fba4
cmp qword [rcx + 0x1e0], rbx
je 0x14002fba4
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 0x14002fba9
mov eax, 4
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
mov r8d, r10d
mov rdx, rbp
mov rcx, rdi
call fcn.14003b4d0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
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.1400406f0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
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 0x14002fcc0
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, ebx
mov dword [rsi + 0xc], ebx
jmp 0x140030314
cmp r15d, 2
jne 0x14002fcdf
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, 1
mov dword [rsi + 0xc], eax
jmp 0x140030314
cmp r15d, 3
jne 0x14002fd24
cmp byte [rdi + 0x148], bl
je 0x14002fd06
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, 2
mov dword [rsi + 0xc], eax
jmp 0x140030314
movzx eax, byte [rdi + 0x16a]
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
add eax, 3
mov dword [rsi + 0xc], eax
jmp 0x140030314
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov eax, 7
mov dword [rsi + 0xc], eax
jmp 0x140030314
cmp eax, 3
jne 0x14002fe00
cmp word [r13 + 0x37c], 1
ja 0x14002fe00
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.140031830
mov dword [rdi + 0x880], eax
mov dword [rsi + 4], r15d
cmp r15d, 1
jne 0x14002fdac
mov eax, ebx
jmp 0x14002fddd
cmp r15d, 2
jne 0x14002fdb8
lea eax, [r15 - 1]
jmp 0x14002fddd
cmp r15d, 3
jne 0x14002fdd8
cmp byte [rdi + 0x148], bl
je 0x14002fdcc
lea eax, [r15 - 1]
jmp 0x14002fddd
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002fddd
mov eax, 7
mov dword [rsi + 0xc], eax
cmp dword [rdi + 0x880], ebx
jne 0x140030793
mov r12d, dword [rsp + 0x118]
mov cl, byte [rsp + 0x100]
jmp 0x140030314
cmp eax, 3
je 0x14002feff
cmp word [r13 + 0x37c], 1
jbe 0x14002feff
mov rax, qword [rdi + 0xa8]
add rax, 0x78
je 0x14002fe2a
mov ebp, dword [rax + 8]
jmp 0x14002fe2d
or ebp, 0xffffffff
mov r9d, dword [rsp + 0x50]
lea eax, [r9 + 1]
cmp eax, 0x80
jge 0x140030729
cmp ebp, 1
jle 0x14003071a
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 0x14002fe87
mov eax, ebx
jmp 0x14002feb8
cmp r15d, 2
jne 0x14002fe93
lea eax, [r15 - 1]
jmp 0x14002feb8
cmp r15d, 3
jne 0x14002feb3
cmp byte [rdi + 0x148], bl
je 0x14002fea7
lea eax, [r15 - 1]
jmp 0x14002feb8
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002feb8
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 0x1400306ee
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call fcn.14003cd50
mov r14, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x60]
mov cl, byte [rsp + 0x100]
mov r12d, eax
jmp 0x140030314
cmp eax, 3
jne 0x140030074
cmp word [r13 + 0x37c], 1
jbe 0x140030074
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 0x14002ff80
mov eax, ebx
jmp 0x14002ffb1
cmp r15d, 2
jne 0x14002ff8c
lea eax, [r15 - 1]
jmp 0x14002ffb1
cmp r15d, 3
jne 0x14002ffac
cmp byte [rdi + 0x148], bl
je 0x14002ffa0
lea eax, [r15 - 1]
jmp 0x14002ffb1
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x14002ffb1
mov eax, 7
mov dword [r14 + rdx*8 + 0x14], eax
mov r8d, ebx
test r9, r9
jle 0x14002fff5
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 0x14002ffd0
mov rcx, rdi
call fcn.14003a0e0
test eax, eax
jne 0x14003079e
mov rcx, qword [rdi + 0x80]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp dword [rdi + 0x880], ebx
jne 0x140030768
mov r12, qword [rsp + 0x80]
mov r8, rsi
mov rdx, r14
mov r9d, dword [r12 + r13 + 0x40]
mov rcx, rdi
call fcn.14003b350
test eax, eax
jne 0x1400307a6
mov rax, qword [rdi + 0xa8]
add rax, 0x78
je 0x140030056
mov r8d, dword [rax + 8]
jmp 0x14003005a
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14003cd50
mov cl, byte [rsp + 0x100]
mov r12d, eax
jmp 0x140030314
mov rax, qword [rdi + 0xa8]
movzx edx, byte [rdi + 0x16b]
mov rbp, rbx
add rax, 0x78
mov byte [rsp + 0x118], dl
je 0x140030097
mov ecx, dword [rax + 8]
jmp 0x14003009a
or ecx, 0xffffffff
movsxd rax, ecx
mov qword [rsp + 0xa8], rax
test ecx, ecx
jle 0x1400302ab
mov r15, rbx
mov dword [rsp + 0x78], ebx
test dl, dl
je 0x1400300fe
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.14002e1e0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
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 0x1400301a3
test rdx, rdx
je 0x1400301a3
mov rax, qword [rcx + 0x1d8]
test rax, rax
je 0x1400301a3
cmp qword [rcx + 0x1e0], rbx
je 0x1400301a3
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 0x1400301a8
mov eax, 4
mov r8d, r10d
mov rcx, rdi
mov dword [rdi + 0x880], eax
call fcn.14003b4d0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
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.1400406f0
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
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 0x1400300b0
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 0x1400302d4
mov eax, ebx
jmp 0x140030305
cmp r15d, 2
jne 0x1400302e0
lea eax, [r15 - 1]
jmp 0x140030305
cmp r15d, 3
jne 0x140030300
cmp byte [rdi + 0x148], bl
je 0x1400302f4
lea eax, [r15 - 1]
jmp 0x140030305
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x140030305
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 0x14003033c
mov r8, qword [r14 + 0x1410]
movsx edx, cl
mov rcx, rdi
call r9
test al, al
jne 0x1400307c9
mov rax, qword [rdi + 0xa8]
cmp byte [rax + 0xfc], bl
jne 0x140030375
test ebp, ebp
je 0x140030375
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + r13 + 0x3b5]
test al, al
je 0x14003036d
movsx eax, al
cmp dword [rsp + 0x6c], eax
jge 0x140030375
mov rcx, rdi
call fcn.14004e730
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.140036ab0
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 0x1400303f3
mov rcx, qword [rdi + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x18]
test al, al
je 0x140030843
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 0x140030420
cmp eax, 0x20
je 0x140030420
cmp eax, 0x28
jne 0x140030422
sar ecx, 1
cmp dword [rsp + 0x54], ecx
jle 0x14003043c
lea r8, str.WelsEncoderEncodeExt__MinCr_Checking_codec_bitstream_size_is_larger_than_Level_limitation
mov edx, 2
mov rcx, rdi
call fcn.1400279c0
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 0x1400305ae
movzx ecx, byte [rdi + 0x169]
mov rax, qword [rdi + 0x170]
imul rcx, rcx, 0x168
mov edx, dword [rcx + rax + 0x128]
test edx, edx
jle 0x1400305ae
lea r8, [rsp + 0x118]
mov rcx, rdi
mov dword [rsp + 0x118], ebx
call fcn.14002e450
mov dword [rdi + 0x880], eax
test eax, eax
jne 0x140030ad7
mov r8d, dword [rsp + 0x118]
test r8d, r8d
jle 0x1400307bf
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 0x140030542
mov eax, ebx
jmp 0x140030571
cmp r15d, 2
jne 0x14003054c
mov eax, ecx
jmp 0x140030571
cmp r15d, 3
jne 0x14003056c
cmp byte [rdi + 0x148], bl
je 0x140030560
lea eax, [r15 - 1]
jmp 0x140030571
movzx eax, byte [rdi + 0x16a]
add eax, 3
jmp 0x140030571
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 0x1400305e3
cmp byte [r13 + 0x37e], bl
je 0x1400305e3
movzx eax, word [r13 + 0x37c]
cmp ax, 1
jbe 0x1400305e3
movzx eax, ax
cmp eax, dword [r12 + r13 + 0x44]
jb 0x1400305e3
mov rcx, qword [rdi + 0xa8]
call fcn.14003c2e0
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 0x140030648
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.140041d00
test eax, eax
jne 0x14003086a
cmp byte [r13 + 0x370], bl
je 0x1400306ac
movzx eax, byte [rdi + 0x169]
mov rcx, qword [rdi + 0x140]
imul rax, rax, 0x3c
cmp byte [rax + rcx + 0x38], bl
je 0x140030694
cmp dword [rax + rcx + 0x14], ebx
je 0x14003069a
cmp r15d, 1
jne 0x1400306ac
movsxd rax, dword [rsp + 0x6c]
lea rcx, [rdi + rax]
mov byte [rcx + r12*4 + 0x258], 1
cmp byte [r13 + 0x352], bl
je 0x1400306cf
mov rax, qword [rsp + 0x98]
inc dword [rax + r13 + 0x3c4]
mov rax, qword [rsp + 0x88]
jmp 0x1400306d7
mov rax, qword [rsp + 0x88]
mov r10d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x70]
cmp edx, r10d
jl 0x14002f380
jmp 0x1400308fc
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.1400279c0
mov eax, dword [rdi + 0x880]
jmp 0x140030ad7
mov r9d, ebp
lea r8, str.WelsEncoderEncodeExt____iSliceCount__d__from_GetCurrentSliceNum___is_untrusted_due_stack_heap_crupted_
jmp 0x1400307b2
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.1400279c0
mov eax, 2
jmp 0x140030ad7
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.1400279c0
mov eax, dword [rdi + 0x880]
jmp 0x140030ad7
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.1400279c0
mov eax, 4
jmp 0x140030ad7
mov edx, r15d
mov rcx, rdi
call fcn.14002ec90
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 0x140030814
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 0x140030800
mov dword [r14], ebx
mov dword [r14 + 0x140c], ebx
mov rax, qword [rdi + 0x70]
mov r8, qword [rax + 0x498]
test r8, r8
je 0x140030838
mov edx, dword [rsp + 0x5c]
mov rcx, rdi
call r8
mov dword [rdi + 0x880], ebx
jmp 0x140030ad5
lea r8, str.WelsEncoderEncodeExt____WelsUpdateRefList_failed._ForceCodingIDR_
mov edx, 2
mov rcx, rdi
call fcn.1400279c0
mov edx, dword [rsp + 0x70]
mov dword [rdi + 0x880], 8
jmp 0x1400308fc
movsx edx, bpl
mov rcx, rdi
call fcn.14002e5d0
lea r8, str.WelsEncoderEncodeExt____Logic_Error_Found_in_Preprocess_updating._ForceCodingIDR_
mov edx, 2
mov rcx, rdi
call fcn.1400279c0
mov dword [r14 + 0x1408], r15d
mov dword [rsi + 4], r15d
mov eax, 8
jmp 0x140030ad7
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.1400279c0
mov edx, dword [rsp + 0x70]
mov r15d, 1
mov dword [rdi + 0x880], 8
jmp 0x1400308fc
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.1400279c0
mov eax, 2
jmp 0x140030ad7
mov edx, eax
cmp byte [r13 + 0x352], bl
jne 0x14003092e
cmp dword [r13 + 0x1c], ebx
mov ecx, ebx
jle 0x14003092e
lea rax, [r13 + 0x3c4]
nop word [rax + rax]
inc dword [rax]
inc ecx
add rax, 0x44
cmp ecx, dword [r13 + 0x1c]
jl 0x140030920
cmp dword [rdi + 0x880], 8
jne 0x1400309a1
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.140041d00
mov edx, dword [rdi + rbx*8 + 0x210]
mov rcx, rdi
call fcn.14002e5d0
lea r8, str.WelsEncoderEncodeExt____Logic_Error_Found_in_temporal_level._ForceCodingIDR_
mov edx, 1
mov rcx, rdi
call fcn.1400279c0
mov r12, qword [rsp + 0x108]
mov eax, 8
mov dword [r12 + 0x1408], r15d
mov dword [rsi + 4], r15d
jmp 0x140030ad7
mov r13d, dword [rsp + 0x50]
cmp r13d, 0x80
jle 0x1400309d8
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.1400279c0
mov eax, 1
jmp 0x140030ad7
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.1400279c0
mov ebp, ebx
test r13d, r13d
jle 0x140030a86
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.1400279c0
inc ebp
add r12, 0x28
cmp ebp, r13d
jl 0x140030a20
mov r12, qword [rsp + 0x108]
call fcn.1401d07f0
mov dword [rsi + 4], r15d
cmp dword [r12], ebx
mov dword [r12 + 0x140c], r14d
mov dword [r12 + 0x1408], r15d
jle 0x140030ad5
lea rcx, [r12 + 0xc]
nop word [rax + rax]
mov eax, dword [rcx]
cmp dword [r12 + 0x1408], eax
je 0x140030ac9
mov eax, 5
mov dword [r12 + 0x1408], eax
inc ebx
add rcx, 0x28
cmp ebx, dword [r12]
jl 0x140030ab0
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