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

Disassembly:
push rbx
push rdi
push r12
push r14
sub rsp, 0xd68
mov rax, qword [0x14004e3b8]
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 0x140026bf8
cmp qword [rbx + 0x2030], r12
je 0x140026c01
cmp qword [rbx + 0xf0], r12
jne 0x140026c0b
mov eax, 0xffffffea
jmp 0x140026f9c
mov qword [rsp + 0xda8], rsi
test rdi, rdi
je 0x140026d63
cmp qword [rdi + 0x120], r12
je 0x140026d63
mov r8, qword [rbx + 0x2080]
test r8, r8
je 0x140026d59
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 0x140026c81
mov qword [rbx + 0x2078], r12
jmp 0x140026c8c
lea rax, [r9 + 1]
mov qword [rbx + 0x2078], rax
test r14, r14
je 0x140026d59
mov rcx, rbx
call fcn.140027a50
test eax, eax
js 0x140026f94
mov rcx, rbx
call fcn.140027a90
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.140028f40
mov rcx, rbx
mov esi, eax
call fcn.140027670
test eax, eax
js 0x140026f94
test esi, esi
je 0x140026cd8
mov eax, esi
jmp 0x140026f94
mov rax, qword [r14]
mov ecx, dword [rbx + 0x9c]
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 0x140026d46
cmp dword [rdi + 0x7c], 1
jne 0x140026d46
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 0x140026d6b
mov rax, qword [rdi + 0x88]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r12d
jmp 0x140026d6b
mov eax, 0xfffffff5
jmp 0x140026f94
mov dword [rsp + 0x40], 8
cmp qword [rbx + 0x2030], r12
jne 0x140026d92
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 0x140026dd3
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 0x140026dda
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 0x140026dda
mov eax, edx
jmp 0x140026f94
test esi, esi
je 0x140026e07
cmp esi, 0x11
je 0x140026e07
cmp dword [rsp + 0x40], 8
je 0x140026e04
mov edx, esi
lea rcx, str.nvEncEncodePicture_failed:__d
call fcn.140008850
mov ecx, esi
call fcn.140025d00
jmp 0x140026f94
mov esi, r12d
test rdi, rdi
je 0x140026ee9
cmp qword [rdi + 0x120], r12
je 0x140026ee9
mov qword [rsp + 0xda0], rbp
lea rcx, [rbx + 0x20c8]
mov rdx, r14
mov qword [rsp + 0xd60], r15
call fcn.140024810
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 0x140026e7f
lea rax, [rcx + 2]
shr rax, 1
cmp qword [rdi + 0x10], rax
ja 0x140026e7f
mov edx, 1
mov rcx, rdi
call fcn.140022e30
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 0x140026eca
mov ecx, 0x10
call fcn.140035c18
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 0x140026f92
cmp qword [rbx + 0x20e8], r12
jbe 0x140026f92
nop
mov r8, qword [rbx + 0x20e8]
test r8, r8
jne 0x140026f11
mov rdx, r12
jmp 0x140026f64
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 0x140026f59
mov qword [rbx + 0x20e0], r12
jmp 0x140026f64
lea rax, [r9 + 1]
mov qword [rbx + 0x20e0], rax
lea rcx, [rbx + 0x2130]
call fcn.140024810
cmp byte [rbx + 0x1ac18], r12b
je 0x140026f85
lea rcx, [rbx + 0x1ac70]
call sub.MSVCP140.dll__Cnd_broadcast
cmp qword [rbx + 0x20e8], r12
ja 0x140026f00
xor eax, eax
mov rsi, qword [rsp + 0xda8]
mov rcx, qword [rsp + 0xd50]
xor rcx, rsp
call fcn.140035fc0
add rsp, 0xd68
pop r14
pop r12
pop rdi
pop rbx
ret