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

Disassembly:
push rbx
push rdi
push r12
push r14
sub rsp, 0xd68
mov rax, qword [0x14003e3b8]
xor rax, rsp
mov qword [rsp + 0xd50], rax
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0xd20
mov r14d, r12d
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0xf006000c
cmp qword [rbx + 0x2018], r12
jne 0x14001a348
cmp qword [rbx + 0x2030], r12
je 0x14001a351
cmp qword [rbx + 0xf0], r12
jne 0x14001a35b
mov eax, 0xffffffea
jmp 0x14001a6ec
mov qword [rsp + 0xda8], rsi
test rdi, rdi
je 0x14001a4b3
cmp qword [rdi + 0x120], r12
je 0x14001a4b3
mov r8, qword [rbx + 0x2080]
test r8, r8
je 0x14001a4a9
mov r9, qword [rbx + 0x2078]
mov rdx, qword [rbx + 0x2070]
mov rcx, r9
dec rdx
and ecx, 1
mov rax, r9
shr rax, 1
and rdx, rax
mov rax, qword [rbx + 0x2068]
mov rax, qword [rax + rdx*8]
mov r14, qword [rax + rcx*8]
lea rax, [r8 - 1]
mov qword [rbx + 0x2080], rax
test rax, rax
jne 0x14001a3d1
mov qword [rbx + 0x2078], r12
jmp 0x14001a3dc
lea rax, [r9 + 1]
mov qword [rbx + 0x2078], rax
test r14, r14
je 0x14001a4a9
mov rcx, rbx
call fcn.14001b1a0
test eax, eax
js 0x14001a6e4
mov rcx, rbx
call fcn.14001b1e0
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.14001c690
mov rcx, rbx
mov esi, eax
call fcn.14001adc0
test eax, eax
js 0x14001a6e4
test esi, esi
je 0x14001a428
mov eax, esi
jmp 0x14001a6e4
mov rax, qword [r14]
mov ecx, dword [rbx + 0x98]
mov qword [rsp + 0x58], rax
mov eax, dword [r14 + 0x30]
mov dword [rsp + 0x70], eax
mov eax, dword [r14 + 0x14]
mov dword [rsp + 0x34], eax
mov eax, dword [r14 + 0x18]
mov dword [rsp + 0x38], eax
mov eax, dword [r14 + 0x1c]
mov dword [rsp + 0x3c], eax
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x74], 1
test ecx, ecx
js 0x14001a496
cmp dword [rdi + 0x7c], 1
jne 0x14001a496
mov eax, r12d
test ecx, ecx
setne al
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rdi + 0x88]
mov qword [rsp + 0x48], rax
jmp 0x14001a4bb
mov rax, qword [rdi + 0x88]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r12d
jmp 0x14001a4bb
mov eax, 0xfffffff5
jmp 0x14001a6e4
mov dword [rsp + 0x40], 8
cmp qword [rbx + 0x2030], r12
jne 0x14001a4e2
mov rax, qword [rbx + 0xf8]
mov rcx, qword [rbx + 0x2018]
mov rdx, qword [rax + 0x50]
call rdx
mov ecx, eax
neg ecx
sbb edx, edx
test eax, eax
jne 0x14001a523
mov rax, qword [rbx + 0x190]
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0xf0]
call rax
mov esi, eax
cmp qword [rbx + 0x2030], r12
jne 0x14001a52a
mov rcx, qword [rbx + 0xf8]
mov qword [rsp + 0x20], r12
mov rdx, qword [rcx + 0x58]
lea rcx, [rsp + 0x20]
call rdx
mov ecx, eax
neg ecx
sbb edx, edx
test eax, eax
je 0x14001a52a
mov eax, edx
jmp 0x14001a6e4
test esi, esi
je 0x14001a557
cmp esi, 0x11
je 0x14001a557
cmp dword [rsp + 0x40], 8
je 0x14001a554
mov edx, esi
lea rcx, str.nvEncEncodePicture_failed:__d
call fcn.140007b50
mov ecx, esi
call fcn.140019440
jmp 0x14001a6e4
mov esi, r12d
test rdi, rdi
je 0x14001a639
cmp qword [rdi + 0x120], r12
je 0x14001a639
mov qword [rsp + 0xda0], rbp
lea rcx, [rbx + 0x20c8]
mov rdx, r14
mov qword [rsp + 0xd60], r15
call fcn.140017dd0
mov r15, qword [rdi + 0x88]
lea rdi, [rbx + 0x2198]
mov rcx, qword [rdi + 0x20]
mov r8, qword [rdi + 0x18]
mov r9, rcx
lea eax, [rcx + r8]
test al, 1
jne 0x14001a5cf
lea rax, [rcx + 2]
shr rax, 1
cmp qword [rdi + 0x10], rax
ja 0x14001a5cf
mov edx, 1
mov rcx, rdi
call fcn.1400163f0
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x10]
lea rax, [rcx*2 - 1]
and rax, r8
mov qword [rdi + 0x18], rax
dec rcx
lea rbp, [rax + r9]
mov rax, rbp
shr rax, 1
and rcx, rax
mov rax, qword [rdi + 8]
lea r14, [rcx*8]
cmp qword [r14 + rax], r12
jne 0x14001a61a
mov ecx, 0x10
call fcn.140029408
mov rcx, qword [rdi + 8]
mov qword [r14 + rcx], rax
mov rax, qword [rdi + 8]
mov rax, qword [r14 + rax]
and ebp, 1
mov qword [rax + rbp*8], r15
inc qword [rdi + 0x20]
mov r15, qword [rsp + 0xd60]
mov rbp, qword [rsp + 0xda0]
test esi, esi
jne 0x14001a6e2
cmp qword [rbx + 0x20e8], r12
jbe 0x14001a6e2
nop
mov r8, qword [rbx + 0x20e8]
test r8, r8
jne 0x14001a661
mov rdx, r12
jmp 0x14001a6b4
mov r9, qword [rbx + 0x20e0]
mov rdx, qword [rbx + 0x20d8]
mov rcx, r9
dec rdx
and ecx, 1
mov rax, r9
shr rax, 1
and rdx, rax
mov rax, qword [rbx + 0x20d0]
mov rax, qword [rax + rdx*8]
mov rdx, qword [rax + rcx*8]
lea rax, [r8 - 1]
mov qword [rbx + 0x20e8], rax
test rax, rax
jne 0x14001a6a9
mov qword [rbx + 0x20e0], r12
jmp 0x14001a6b4
lea rax, [r9 + 1]
mov qword [rbx + 0x20e0], rax
lea rcx, [rbx + 0x2130]
call fcn.140017dd0
cmp byte [rbx + 0x1ac15], r12b
je 0x14001a6d5
lea rcx, [rbx + 0x1ac68]
call sub.MSVCP140.dll__Cnd_broadcast
cmp qword [rbx + 0x20e8], r12
ja 0x14001a650
xor eax, eax
mov rsi, qword [rsp + 0xda8]
mov rcx, qword [rsp + 0xd50]
xor rcx, rsp
call fcn.1400297b0
add rsp, 0xd68
pop r14
pop r12
pop rdi
pop rbx
ret