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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov edx, dword [rcx + 0x98]
mov rbx, rcx
mov edi, dword [rcx + 0x30]
mov ecx, edi
sub ecx, 0x1b
je 0x14002f330
sub ecx, 0x92
je 0x14002f329
cmp ecx, 0x34
jne 0x14002f330
mov eax, 0x20315641
jmp 0x14002f335
mov eax, 0x43564548
jmp 0x14002f335
mov eax, 0x20435641
movdqa xmm0, xmmword [0x140048a80]
mov esi, 0x10
mov dword [rbx + 0x18c], eax
mov r10d, 3
movsxd rax, dword [rbx + 0x2c]
mov r11d, 2
mov word [rbx + 0x144], si
mov r12d, 1
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x40], r12d
movdqu xmmword [rsp + 0x28], xmm0
test eax, eax
jle 0x14002f389
cmp eax, 7
ja 0x14002f389
mov ecx, dword [rsp + rax*4 + 0x24]
jmp 0x14002f38e
mov ecx, 4
movzx eax, word [rbx + 0x88]
lea r14, [rbx + 0x480]
mov word [rbx + 0x198], ax
xor r15d, r15d
movzx eax, word [rbx + 0x90]
xorps xmm0, xmm0
inc ax
mov word [rbx + 0x196], cx
mov word [rbx + 0x19a], ax
cmp edi, 0xad
mov word [rbx + 0x19c], r12w
mov eax, r15d
mov word [rbx + 0x1aa], r15w
sete al
mov word [rbx + 0x19e], ax
xor eax, eax
mov word [rbx + 0x1ae], r15w
mov word [rbx + 0x1a4], r15w
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14 + 0x20], xmm0
mov dword [r14 + 0x30], eax
mov r8d, dword [rbx + 0x69c]
test r8d, r8d
je 0x14002f46b
movzx eax, word [rbx + 0x198]
mov ecx, 0x3c
cmp cx, ax
mov dword [rsp + 0x20], 0x1e
cmovb ax, cx
lea rcx, [rsp + 0x20]
mov word [rbx + 0x198], ax
lea rax, [rbx + 0x698]
cmp dword [rax], 0x1e
cmovg rcx, rax
movzx eax, word [rcx]
mov word [rbx + 0x126], ax
mov dword [r14], 0x4d505948
mov dword [rbx + 0x484], 0x34
mov dword [rbx + 0x488], r8d
mov ecx, edx
test edx, edx
je 0x14002f48c
sub ecx, 0x17
je 0x14002f48c
sub ecx, 0x27
je 0x14002f480
cmp ecx, 0x60
jne 0x14002f496
mov dword [rbx + 0x168], 0x30313050
jmp 0x14002f496
mov dword [rbx + 0x168], 0x3231564e
movzx eax, word [rbx + 0x64]
mov ecx, 8
movzx r8d, word [rbx + 0x54]
movzx r9d, word [rbx + 0x58]
mov word [rbx + 0x182], ax
movzx eax, word [rbx + 0x68]
mov word [rbx + 0x184], ax
mov dword [rbx + 0x170], r15d
mov word [rbx + 0x174], r8w
mov word [rbx + 0x176], r9w
mov word [rbx + 0x188], r12w
cmp edx, 0x3e
je 0x14002f4fa
cmp edx, 0x9e
je 0x14002f4fa
mov word [rbx + 0x15a], cx
mov eax, r15d
mov word [rbx + 0x15c], cx
jmp 0x14002f53b
mov eax, 0xa
mov word [rbx + 0x15a], ax
cmp edx, 0x3e
je 0x14002f51f
cmp edx, 0x9e
je 0x14002f51f
mov word [rbx + 0x15c], cx
mov eax, r15d
jmp 0x14002f53b
mov word [rbx + 0x15c], ax
cmp edx, 0x3e
je 0x14002f538
cmp edx, 0x9e
je 0x14002f538
mov eax, r15d
jmp 0x14002f53b
mov eax, r12d
cmp dword [rbx + 0x30], 0x1b
mov r13d, 0x20
mov word [rbx + 0x15e], ax
mov edx, r13d
cmove edx, esi
mov word [rbx + 0x186], r12w
mov dword [rbx + 0x6a4], edx
lea ecx, [rdx - 1]
lea eax, [rdx - 1]
not cx
add ax, r8w
dec dx
and ax, cx
add dx, r9w
and dx, cx
mov word [rbx + 0x16c], ax
mov eax, dword [rbx + 0x5c]
mov ecx, dword [rbx + 0x74]
mov dword [rbx + 0x178], eax
mov eax, dword [rbx + 0x60]
mov dword [rbx + 0x17c], eax
mov word [rbx + 0x16e], dx
test ecx, ecx
je 0x14002f5c3
sub ecx, r12d
je 0x14002f5ab
cmp ecx, r12d
je 0x14002f5b9
mov word [rbx + 0x1a0], r12w
movzx r10d, r12w
jmp 0x14002f5cf
mov word [rbx + 0x1a0], r10w
jmp 0x14002f5cf
mov word [rbx + 0x1a0], r11w
movzx r10d, r11w
mov eax, 0x10624dd3
mov dword [rbx + 0x1a2], r15d
imul dword [rbx + 0x6c]
mov eax, 0x10624dd3
mov r9d, edx
imul dword [rbx + 0x70]
sar r9d, 6
mov r8d, edx
mov ecx, r9d
shr ecx, 0x1f
add r9d, ecx
sar r8d, 6
mov eax, r8d
mov ecx, 0xffff
shr eax, 0x1f
add r8d, eax
mov eax, r9d
cmp r9d, r8d
cmovl eax, r8d
add eax, 0x10000
cdq
and ecx, edx
add ecx, eax
mov eax, r9d
cdq
sar ecx, 0x10
idiv ecx
mov word [rbx + 0x146], cx
mov word [rbx + 0x1a6], ax
mov eax, r8d
cdq
idiv ecx
mov word [rbx + 0x1a8], ax
cmp r10w, 3
jne 0x14002f6e9
movss xmm1, dword [rbx + 0x7c]
mov ecx, 0x33
divss xmm1, dword [0x140048a00]
mov word [rbx + 0x146], r15w
movss xmm0, dword [rbx + 0xc8]
movss xmm2, dword [0x140048c10]
andps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [rbx + 0xcc]
cvttss2si eax, xmm0
test eax, eax
jns 0x14002f694
mov eax, r15d
jmp 0x14002f699
cmp eax, ecx
cmovg eax, ecx
mov word [rbx + 0x1a2], ax
cvttss2si eax, xmm1
test eax, eax
jns 0x14002f6ad
mov eax, r15d
jmp 0x14002f6b2
cmp eax, ecx
cmovg eax, ecx
movss xmm0, dword [rbx + 0xd0]
andps xmm0, xmm2
mov word [rbx + 0x1a6], ax
mulss xmm0, xmm1
addss xmm0, dword [rbx + 0xd4]
cvttss2si eax, xmm0
test eax, eax
jns 0x14002f6dd
mov eax, r15d
jmp 0x14002f6e2
cmp eax, ecx
cmovg eax, ecx
mov word [rbx + 0x1a8], ax
lea rcx, [rbx + 0x1e8]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], 0x504f4443
mov dword [rbx + 0x1ec], 0x40
cmp edi, 0x1b
jne 0x14002f71f
mov word [rbx + 0x220], r13w
movsxd rax, dword [rbx + 0x608]
mov qword [rbx + rax*8 + 0x5b8], rcx
lea rcx, [rbx + 0x228]
inc dword [rbx + 0x608]
mov qword [rbx + 0x230], r15
mov qword [rbx + 0x238], r15
mov qword [rbx + 0x240], r15
mov qword [rbx + 0x248], r15
mov qword [rbx + 0x250], r15
mov qword [rbx + 0x258], r15
mov qword [rbx + 0x260], r15
mov dword [rbx + 0x268], r15d
mov dword [rcx], 0x324f4443
mov dword [rbx + 0x22c], 0x44
cmp edi, 0x1b
jne 0x14002f79c
mov word [rbx + 0x24a], r13w
mov dword [rbx + 0x24e], 0x200020
jmp 0x14002f7ac
cmp edi, 0xad
je 0x14002f7ac
cmp edi, 0xe1
jne 0x14002f811
mov eax, dword [rbx + 0x80]
mov word [rbx + 0x244], r13w
test eax, eax
js 0x14002f7d0
mov byte [rbx + 0x258], al
mov byte [rbx + 0x25c], al
mov byte [rbx + 0x25a], al
mov eax, dword [rbx + 0x84]
test eax, eax
js 0x14002f7ec
mov byte [rbx + 0x259], al
mov byte [rbx + 0x25d], al
mov byte [rbx + 0x25b], al
cmp edi, 0xe1
jne 0x14002f7fc
mov word [rbx + 0x24c], r12w
movsxd rax, dword [rbx + 0x608]
mov qword [rbx + rax*8 + 0x5b8], rcx
inc dword [rbx + 0x608]
lea rcx, [rbx + 0x274]
xor edx, edx
mov r8d, 0x1f8
lea rsi, [rbx + 0x26c]
call sub.VCRUNTIME140.dll_memset
mov dword [rsi], 0x334f4443
mov dword [rbx + 0x270], 0x200
cmp edi, 0xad
jne 0x14002f850
mov eax, 0x10
mov word [rbx + 0x2ae], ax
movsxd rax, dword [rbx + 0x608]
mov qword [rbx + rax*8 + 0x5b8], rsi
inc dword [rbx + 0x608]
cmp edi, 0xad
jne 0x14002f8d1
xorps xmm0, xmm0
lea rcx, [rbx + 0x4b4]
movups xmmword [rbx + 0x4bc], xmm0
xor eax, eax
movups xmmword [rbx + 0x4cc], xmm0
movups xmmword [rbx + 0x4dc], xmm0
movups xmmword [rbx + 0x4ec], xmm0
movups xmmword [rbx + 0x4fc], xmm0
movups xmmword [rbx + 0x50c], xmm0
movups xmmword [rbx + 0x51c], xmm0
movups xmmword [rbx + 0x52c], xmm0
movups xmmword [rbx + 0x53c], xmm0
mov qword [rbx + 0x54c], rax
mov dword [rcx], 0x54353632
mov dword [rbx + 0x4b8], 0xa0
jmp 0x14002f94e
cmp edi, 0xe1
jne 0x14002f963
mov qword [rbx + 0x55c], r15
lea rcx, [rbx + 0x554]
mov qword [rbx + 0x564], r15
xorps xmm0, xmm0
movsxd rax, dword [rbx + 0x608]
mov dword [rcx], 0x4c543141
mov dword [rbx + 0x558], 0x18
mov qword [rbx + rax*8 + 0x5b8], rcx
lea rcx, [rbx + 0x56c]
inc dword [rbx + 0x608]
movups xmmword [rcx], xmm0
xor eax, eax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], rax
mov dword [rcx], 0x53423141
mov dword [rbx + 0x570], 0x48
mov word [rbx + 0x574], r13w
movsxd rax, dword [rbx + 0x608]
mov qword [rbx + rax*8 + 0x5b8], rcx
inc dword [rbx + 0x608]
mov word [rbx + 0x474], r15w
lea rcx, [rbx + 0x46c]
cmp dword [rbx + 0x50], 2
mov eax, r15d
mov word [rbx + 0x478], r12w
sete al
mov word [rbx + 0x476], ax
movzx eax, word [rbx + 0x44]
mov word [rbx + 0x47a], ax
movzx eax, word [rbx + 0x48]
mov word [rbx + 0x47c], ax
movzx eax, word [rbx + 0x4c]
mov word [rbx + 0x47e], ax
mov dword [rcx], 0x4e495356
mov dword [rbx + 0x470], 0x14
movsxd rax, dword [rbx + 0x608]
mov qword [rbx + rax*8 + 0x5b8], rcx
movsxd rcx, dword [rbx + 0x608]
lea eax, [rcx + 1]
mov dword [rbx + 0x608], eax
cmp dword [rbx + 0x69c], r15d
je 0x14002f9f2
mov qword [rbx + rcx*8 + 0x5c0], r14
inc dword [rbx + 0x608]
mov rcx, qword [rbx + 0x108]
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
lea rdx, [rbx + 0x118]
xor eax, eax
mov dword [rbp - 0x40], eax
mov qword [rbp + 0x18], rax
mov eax, dword [rbx + 0x18c]
mov dword [rbp - 0x3c], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
call qword [sym.imp.libvpl.dll_MFXVideoENCODE_Query]
test eax, eax
jns 0x14002fbab
mov edi, 0xffffffff
cmp dword [rbx + 0x69c], r15d
je 0x14002face
mov ecx, dword [rbx + 0x608]
test ecx, ecx
je 0x14002face
movzx eax, word [rbx + 0x88]
lea r8, [rsp + 0x50]
mov word [rbx + 0x198], ax
lea rdx, [rbx + 0x118]
mov dword [rbx + 0x69c], r15d
movzx eax, word [rbx + 0x698]
mov word [rbx + 0x126], ax
mov eax, 0xffff
add word [rbx + 0x1e0], ax
lea eax, [rcx - 1]
mov dword [rbx + 0x608], eax
mov rcx, qword [rbx + 0x108]
call qword [sym.imp.libvpl.dll_MFXVideoENCODE_Query]
mov edi, eax
test eax, eax
jns 0x14002fbab
cmp word [rbx + 0x19a], r12w
jbe 0x14002fafb
mov word [rbx + 0x19a], r12w
lea r8, [rsp + 0x50]
mov rcx, qword [rbx + 0x108]
lea rdx, [rbx + 0x118]
call qword [sym.imp.libvpl.dll_MFXVideoENCODE_Query]
mov edi, eax
test edi, edi
jns 0x14002fbab
movzx r8d, word [rbx + 0x1e0]
test r8w, r8w
je 0x14002fb63
mov edx, dword [rbx + 0x608]
test edx, edx
jle 0x14002fb63
mov rax, qword [rbx + 0x1d8]
mov rcx, qword [rax + r8*8 - 8]
cmp dword [rcx], 0x4e495356
jne 0x14002fb63
dec r8w
lea eax, [rdx - 1]
mov word [rbx + 0x1e0], r8w
lea rdx, [rbx + 0x118]
mov dword [rbx + 0x608], eax
lea r8, [rsp + 0x50]
mov rcx, qword [rbx + 0x108]
call qword [sym.imp.libvpl.dll_MFXVideoENCODE_Query]
mov edi, eax
test eax, eax
jns 0x14002fbab
cmp word [rbx + 0x144], 0x10
jne 0x14002fb94
mov word [rbx + 0x144], r13w
lea rdx, [rbx + 0x118]
mov rcx, qword [rbx + 0x108]
lea r8, [rsp + 0x50]
call qword [sym.imp.libvpl.dll_MFXVideoENCODE_Query]
mov edi, eax
test eax, eax
jns 0x14002fbab
mov edx, edi
lea rcx, str.error_while_MFXVideoENCODE_Query:__d_n
call fcn.140002630
mov ecx, edi
call fcn.14002d190
jmp 0x14002fbad
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140037fe0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret