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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x14016f898]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp + 0x90], r12
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], r12b
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x40]
call fcn.1400b08d0
nop
lea r13, [0x1400fb69c]
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], r12d
mov qword [rbp - 0x70], r13
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x50], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp + 0x60], xmm1
lea rcx, str._start_
mov qword [rsp + 0x28], rcx
lea rdi, str.Render
mov qword [rsp + 0x20], rdi
lea r9, str._
lea r8d, [r12 + 2]
lea rdx, [rbp + 0x50]
mov rcx, qword [rax]
call fcn.140091d10
nop
lea rsi, [r12 - 1]
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x1400a0f23
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a0f23
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a0f23
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400a0f67
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0f62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a0f62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2d28
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_eb4126ad02dd6413a0108719d9cb1f9f___void___.0
mov qword [rbp], rax
mov qword [rbp + 8], rdi
lea rax, [rbp]
mov qword [rbp + 0x38], rax
lea rax, [rbp]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x148], r12
lea rdx, [rbp + 0x110]
lea rcx, [rbp]
call qword [vtable.std::_Func_impl_no_alloc_class__lambda_eb4126ad02dd6413a0108719d9cb1f9f___void___.0]
mov rcx, rax
mov qword [rbp + 0x148], rax
mov r8, qword [rbp + 0x38]
test r8, r8
je 0x1400a0fdc
mov rax, qword [r8]
lea rcx, [rbp]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov qword [rbp + 0x38], r12
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1400a17a7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1400a100b
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [r14 + 0x790]
call fcn.1400c2430
lea rax, [r14 + 0x630]
lea rdx, [r14 + 0x5f0]
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
mov r9d, dword [r14 + 0x59c]
mov r8d, dword [r14 + 0x598]
movzx ecx, byte [r14 + 0x800]
call fcn.1400bc1b0
mov ecx, dword [0x14017fb00]
mov rax, qword gs:[0x58]
mov edi, 0x14
mov rbx, qword [rax + rcx*8]
movsd xmm8, qword [0x140111a58]
mov eax, dword [rbx + rdi]
cmp dword [0x140177260], eax
jg 0x1400a17ad
mov eax, dword [rbx + rdi]
cmp dword [0x140177280], eax
jg 0x1400a1834
mov eax, dword [rbx + rdi]
cmp dword [0x1401772a0], eax
jg 0x1400a18bb
mov r15, r12
mov rcx, qword [r14 + 0x790]
call fcn.1400e7730
test eax, eax
jne 0x1400a170a
movsd xmm7, qword [0x140111a50]
movsd xmm9, qword [0x1401143e0]
nop word [rax + rax]
lea rcx, [0x140177248]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [0x140177248]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1401772b0]
divsd xmm1, xmm0
movaps xmm6, xmm1
subsd xmm6, qword [0x140177258]
movsd qword [0x140177258], xmm1
divsd xmm6, xmm7
xor edx, edx
mov rcx, r14
call fcn.14009b840
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], r12
mov byte [rbp + 0xb0], 0
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
mov r9d, 0x2d0
mov r8d, 0x500
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call fcn.1400bc1b0
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1400bb9c0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400a11bb
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a11b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a1625
call fcn.1400f2d28
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400a11cc
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rbx
cmp byte [r14 + 0x714], 0
jne 0x1400a1342
test rcx, rcx
je 0x1400a125a
call sub.opencv_world4100.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64
test al, al
jne 0x1400a125a
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xe8], 0xf
mov qword [rbp + 0xe0], r12
mov byte [rbp + 0xd0], al
or dword [rsp + 0x40], 1
mov byte [rsp + 0x38], al
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
mov r9d, 0x2d0
mov r8d, 0x500
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call fcn.1400bc1b0
mov ecx, dword [rax + 0x158]
cmp dword [rax + 0x15c], ecx
jg 0x1400a125a
mov dil, 1
jmp 0x1400a125d
xor dil, dil
test byte [rsp + 0x40], 1
je 0x1400a12aa
and dword [rsp + 0x40], 0xfffffffe
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1400a12aa
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a12a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a162c
call fcn.1400f2d28
test dil, dil
je 0x1400a1342
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
test rbx, rbx
je 0x1400a12ca
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
movdqa xmmword [rbp - 0x50], xmm0
test rbx, rbx
je 0x1400a12f8
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
movdqa xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm1
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140098e40
nop
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400a1342
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400a133d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400a133d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x58]
call fcn.1400c3e90
mov rcx, rax
mov rdx, qword [r14 + 0x7f8]
call fcn.1400c3fe0
mov ecx, dword [r14 + 0x5b8]
test ecx, ecx
je 0x1400a137b
cmp ecx, 1
jne 0x1400a16a4
movaps xmm2, xmm6
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1400a1900
jmp 0x1400a138a
movaps xmm2, xmm6
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1400a1c10
test al, al
je 0x1400a16a4
call fcn.1400e72b0
mov rcx, r14
call fcn.1400a09d0
cmp byte [r14], 0
jne 0x1400a163a
lea rcx, [0x140177248]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [0x140177248]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1401772b0]
divsd xmm1, xmm0
movaps xmm2, xmm1
subsd xmm2, qword [0x140177258]
movsd qword [0x140177258], xmm1
divsd xmm2, xmm7
movsd xmm0, qword [r14 + 0x7e0]
comisd xmm0, xmm2
jbe 0x1400a1457
subsd xmm0, xmm2
mulsd xmm0, xmm7
cvttsd2si edi, xmm0
cmp qword [0x1401771a8], 0
jne 0x1400a1420
lea rcx, [0x1401771a8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsxd rdi, edi
nop dword [rax]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x68]
sub rax, qword [rbp - 0x60]
imul rax, rax, 0xf4240
cqo
idiv qword [0x1401771a8]
cmp rax, rdi
jl 0x1400a1430
cmp r15, 0x3b
jne 0x1400a15a1
lea rcx, [0x140177288]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [0x140177288]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1401772b0]
divsd xmm1, xmm0
movaps xmm2, xmm1
subsd xmm2, qword [0x140177298]
movsd qword [0x140177298], xmm1
divsd xmm2, xmm7
movaps xmm0, xmm9
divsd xmm0, xmm2
movsd qword [rbp - 0x58], xmm0
mov qword [rbp + 0xf0], r12
mov qword [rbp + 0x108], 0xf
mov qword [rbp + 0x100], r12
mov byte [rbp + 0xf0], 0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x80]
call fcn.1400b08d0
nop
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], r12d
mov qword [rbp - 8], r13
movups xmm0, xmmword [rbp - 0x18]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm1, qword [rbp - 8]
movsd qword [rbp + 0x80], xmm1
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
lea r9, str.fps:_
lea r8d, [r15 - 0x39]
lea rdx, [rbp + 0x70]
mov rcx, qword [rax]
call fcn.1400924e0
nop
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400a155d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400a1558
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400a1558
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1400a159e
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a1633
call fcn.1400f2d28
mov r15, rsi
inc r15
test rbx, rbx
je 0x1400a15da
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a15da
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a15da
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400a160c
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a160c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a160c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r14 + 0x790]
call fcn.1400e7730
test eax, eax
jne 0x1400a170a
jmp 0x1400a10d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rbx, rbx
je 0x1400a1670
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a1670
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a1670
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400a16a0
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a16a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400a16a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x1400a170c
test rbx, rbx
je 0x1400a16da
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a16da
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a16da
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400a170a
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a170a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400a170a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400f2dc0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x140177288]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [0x140177288]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1401772b0]
divsd xmm1, xmm0
cvttsd2si rax, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
unpcklpd xmm1, xmm1
movups xmmword [0x140177290], xmm1
lea rcx, [0x1401772a0]
call fcn.1400f3158
jmp 0x1400a10a2
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
lea rcx, [0x140177260]
call fcn.1400f31b8
cmp dword [0x140177260], 0xffffffff
jne 0x1400a1084
cmp qword [0x1401772b0], 0
jne 0x1400a17dd
lea rcx, [0x1401772b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [0x140177248]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [0x140177248]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1401772b0]
divsd xmm1, xmm0
cvttsd2si rax, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
unpcklpd xmm1, xmm1
movups xmmword [0x140177250], xmm1
lea rcx, [0x140177260]
call fcn.1400f3158
jmp 0x1400a1084
lea rcx, [0x140177280]
call fcn.1400f31b8
cmp dword [0x140177280], 0xffffffff
jne 0x1400a1093
cmp qword [0x1401772b0], 0
jne 0x1400a1864
lea rcx, [0x1401772b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [0x140177268]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [0x140177268]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1401772b0]
divsd xmm1, xmm0
cvttsd2si rax, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
unpcklpd xmm1, xmm1
movups xmmword [0x140177270], xmm1
lea rcx, [0x140177280]
call fcn.1400f3158
jmp 0x1400a1093
lea rcx, [0x1401772a0]
call fcn.1400f31b8
cmp dword [0x1401772a0], 0xffffffff
jne 0x1400a10a2
cmp qword [0x1401772b0], 0
jne 0x1400a1750
lea rcx, [0x1401772b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
nop
jmp 0x1400a1750