Function at 0x14009dbf0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.14014ffe0
sub rsp, rax
movaps xmmword [rsp + 0x1270], xmm6
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x1160], rax
mov qword [rsp + 0x48], rdx
mov r14, rcx
mov edi, 8
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
cmp byte [rdi + rbx], 0
jne 0x14009dc67
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, str.Pipelines::ColorSpaceConversion::QueryOutput
call qword [sym.imp.KERNEL32.dll_SetThreadDescription]
mov byte [rdi + rbx], 1
lea rcx, [rbp + 0x938]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x940]
call fcn.140152140
lea r8, str.ColorSpaceConversion::QueryOutput
mov edx, 0x400
lea rcx, [rbp + 0x940]
call fcn.140155cf8
mov dword [rbp + 0x930], 7
mov byte [rbp + 0x1140], 0
movsd xmm6, qword [0x1401f9c90]
movsd qword [rbp + 0x1148], xmm6
mov byte [rbp + 0x1150], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
lea rcx, [r14 + 0x28]
lea rdx, [rbp + 0x70]
call fcn.1400d4c30
nop
mov r15d, 0xffffffff
cmp byte [r14 + 0x60], 0
je 0x14009e485
cmp byte [r14 + 0xc0], 0
jne 0x14009e485
xor esi, esi
mov ebx, esi
mov qword [rbp + 0x50], rbx
mov rdi, qword [r14 + 0x68]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
lea r13d, [r15 + 2]
test rdi, rdi
je 0x14009dd63
mov qword [rsp + 0x28], rdi
mov eax, r13d
lock xadd dword [rdi], eax
inc eax
cmp eax, r13d
jle 0x14009dd4d
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rdi + 4], ecx
je 0x14009dd5c
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rdi + 4], ecx
inc dword [rdi + 8]
mov rbx, qword [rbp + 0x50]
cmp qword [r14 + 0xb8], 0
je 0x14009de00
mov rdx, qword [r14 + 0xb0]
mov rcx, qword [r14 + 0xa8]
dec rcx
mov rax, rdx
shr rax, 1
and rcx, rax
and edx, 1
mov rax, qword [r14 + 0xa0]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x14009ddae
mov rbx, rcx
mov qword [rbp + 0x50], rcx
mov rax, qword [rcx]
call qword [rax]
mov rdx, qword [r14 + 0xb0]
mov rcx, qword [r14 + 0xa8]
dec rcx
mov rax, rdx
shr rax, 1
and rcx, rax
mov rax, qword [r14 + 0xa0]
and edx, 1
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x14009dde6
mov rax, qword [rcx]
call qword [rax + 8]
nop
sub qword [r14 + 0xb8], 1
jne 0x14009ddf9
mov qword [r14 + 0xb0], rsi
jmp 0x14009de00
inc qword [r14 + 0xb0]
mov r12, rbx
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14009de42
add dword [rcx + 8], 0xffffffff
mov edx, dword [rcx + 8]
jne 0x14009de19
mov dword [rcx + 4], esi
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
je 0x14009de3e
test edx, edx
jne 0x14009de3e
xor r8d, r8d
mov edx, r13d
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rbx, qword [rbp + 0x50]
test rbx, rbx
jne 0x14009de4f
lea edi, [rbx + 0x2c]
jmp 0x14009e474
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xa0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0xb0]
mov qword [rsp + 0x40], rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
cmp eax, 4
jne 0x14009de94
mov rcx, qword [r14 + 0x80]
call fcn.14007f270
mov rcx, rax
call qword [sym.imp.OpenCL.dll_clFinish]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
cmp eax, 0xb
jne 0x14009dfbc
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 7
lea r8d, [rax + 0x21]
lea rdx, str.Pipelines::ColorSpaceConversion::QueryOutput
lea rcx, [rbp - 0x50]
call fcn.140005060
mov r8d, Ordinal_102
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x18]
call fcn.14007ac50
mov rsi, qword [rax]
mov rcx, qword [rax + 8]
xor edx, edx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rcx
mov rdi, qword [rbp - 0x10]
test rdi, rdi
je 0x14009df35
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14009df31
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r15d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14009df31
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rbx, qword [rbp + 0x50]
cmp byte [rsi + 8], 0
jne 0x14009df45
mov edi, 0x18
jmp 0x14009e437
mov rax, qword [r14 + 0x70]
cmp qword [r14 + 0x78], rax
je 0x14009df70
mov rcx, qword [rsi]
test rcx, rcx
je 0x14009df70
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rsi + 8], 0
je 0x14009df6b
test al, al
jne 0x14009df6b
mov al, 1
jmp 0x14009df6d
xor al, al
mov byte [rsi + 8], al
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0xc8]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rdi, rax
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x14009dfa0
mov rax, qword [rax]
mov rcx, rdi
call qword [rax + 8]
nop
mov rax, qword [rdi]
lea rdx, str.video_pipeline_csc_input_surface
mov rcx, rdi
call qword [rax + 0x30]
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
xor esi, esi
mov dword [rbp - 0x68], esi
mov dword [rbp + 0xe0], esi
mov rax, qword [rbx]
lea r8, [rbp + 0xe0]
lea rdx, str.RepeatFrame
mov rcx, rbx
call qword [rax + 0x20]
test eax, eax
jne 0x14009e015
mov dword [rbp - 0x30], esi
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x30]
call fcn.14000ba30
nop
lea rcx, [rbp - 0x68]
call fcn.14000b9c0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x68]
call fcn.14000ba30
nop
lea rcx, [rbp - 0x30]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0xe0]
call fcn.14000b9c0
nop
cmp byte [rbp - 0x60], 0
jne 0x14009e059
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xa0]
mov rdi, rax
call fcn.14000c950
mov rsi, rax
sub rsi, rdi
call fcn.140062580
mov rcx, rax
mov r8, rsi
mov edx, 4
call fcn.14010d7f0
xor esi, esi
mov qword [rbp + 0x58], rsi
mov dword [rbp - 0x80], 2
mov qword [rbp - 0x78], 2
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp + 0x10], xmm1
mov rax, qword [rbx]
lea r8, [rbp]
lea rdx, str.ColorRange
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rbp - 0x80]
call fcn.14000b9c0
nop
xor edi, edi
mov dword [rbp + 0x80], edi
mov rax, qword [rbx]
lea r8, [rbp + 0x80]
lea rdx, str.ColorPrimaries
mov rcx, rbx
call qword [rax + 0x20]
test eax, eax
jne 0x14009e115
mov eax, dword [rbp + 0x80]
mov esi, edi
test eax, eax
je 0x14009e115
cmp eax, 2
jne 0x14009e0da
mov rsi, qword [rbp + 0x88]
jmp 0x14009e115
mov dword [rbp + 0xb0], edi
mov r8d, 2
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xb0]
call fcn.14000d3d0
cmp dword [rbp + 0xb0], 0
cmovne rsi, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0x80]
call fcn.14000b9c0
nop
movzx edi, byte [r14 + 0x180]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb8]
mov dword [rsp + 0x20], eax
test dil, dil
je 0x14009e16e
call fcn.140061f60
mov rcx, rax
call fcn.140064f50
test al, al
je 0x14009e16e
mov eax, dword [rsp + 0x20]
cmp eax, 0xb
je 0x14009e168
cmp eax, 0xd
jne 0x14009e16e
cmp esi, 9
jne 0x14009e16e
mov r13d, eax
jmp 0x14009e16e
mov r13d, SHCreateMemStream
xor edi, edi
mov dword [rbp + 0x98], edi
mov rax, qword [rbx]
lea r8, [rbp + 0x98]
lea rdx, str.ColorTransferChar
mov rcx, rbx
call qword [rax + 0x20]
test eax, eax
jne 0x14009e1e4
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x14009e1e4
cmp eax, 2
jne 0x14009e1a9
mov rdi, qword [rbp + 0xa0]
jmp 0x14009e1e4
mov dword [rbp + 0xc8], edi
mov r8d, 2
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xc8]
call fcn.14000d3d0
cmp dword [rbp + 0xc8], 0
cmovne rdi, qword [rbp + 0xd0]
lea rcx, [rbp + 0xc8]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0x98]
call fcn.14000b9c0
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb8]
mov dword [rsp + 0x50], eax
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0xc8]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x40]
mov dword [rsp + 0x54], eax
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0xc8]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], r13d
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0xc8]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x40]
mov dword [rsp + 0x74], eax
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0xc8]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
mov dword [rsp + 0x78], eax
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x40], xmm0
lea r8, [rbp + 0x20]
mov rdx, qword [r14 + 0x78]
mov rcx, r14
call fcn.14009e8e0
cmp qword [r14 + 0xc8], 0
je 0x14009e3a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb8]
cmp eax, r13d
je 0x14009e3a9
mov rcx, qword [r14 + 0xc8]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xb0]
test eax, eax
jne 0x14009e393
lea rcx, [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x110]
call fcn.140152140
lea r8, str.ColorSpaceConversion::SubmitInput_converter
mov edx, 0x400
lea rcx, [rbp + 0x110]
call fcn.140155cf8
mov dword [rbp + 0x100], 7
mov byte [rbp + 0x910], 0
movsd qword [rbp + 0x918], xmm6
mov byte [rbp + 0x920], 1
mov rbx, qword [r14 + 0xc8]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14009e354
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp + 0x58], 0
mov rax, qword [rbx]
lea rdx, [rbp + 0x58]
mov rcx, rbx
call qword [rax + 0xb8]
test eax, eax
je 0x14009e385
mov r8d, eax
lea rdx, str.Failed_to_get_output_from_converter___d
mov ecx, 7
call fcn.1400838f0
nop
lea rcx, [rbp + 0x100]
call fcn.140083fb0
jmp 0x14009e3d1
mov r8d, eax
lea rdx, str.Failed_to_submit_to_converter___d
mov ecx, 7
call fcn.1400838f0
jmp 0x14009e3d1
mov rdi, qword [rbp + 0x58]
cmp rdi, rbx
je 0x14009e3ce
mov qword [rbp + 0x58], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test rdi, rdi
je 0x14009e3ce
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x14009e3d1
mov r12, rbx
xor ebx, ebx
mov qword [rbp + 0x50], rbx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14009e41f
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x98]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x40]
call qword [rax + 0xa8]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rbp + 0x58]
xor edi, edi
test rcx, rcx
je 0x14009e42d
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp - 0x68]
call fcn.14000b9c0
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14009e474
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009e470
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14009e470
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x14009e483
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
jmp 0x14009e48a
mov edi, 0x17
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14009e4c3
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009e4c3
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x14009e4c3
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x930]
call fcn.140083fb0
mov eax, edi
mov rcx, qword [rbp + 0x1160]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x12d0]
movaps xmm6, xmmword [rsp + 0x1270]
add rsp, 0x1280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret