Function at 0x140047ed0
Capabilities:
Capture screenshot
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6b8]
sub rsp, 0x790
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x650], rax
xor edi, edi
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x50], edi
mov eax, dword [0x140068cac]
mov dword [rsp + 0x58], eax
mov eax, dword [0x140068c14]
mov dword [rsp + 0x5c], eax
mov r14d, dword [0x140068c2c]
mov r15d, dword [0x140068c74]
mov ebx, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x5f0], xmm0
movups xmmword [rbp + 0x600], xmm0
movups xmmword [rbp + 0x610], xmm0
movups xmmword [rbp + 0x620], xmm0
movups xmmword [rbp + 0x630], xmm0
movups xmmword [rbp + 0x640], xmm0
xorps xmm6, xmm6
movsd qword [rbp + 0xe8], xmm6
movups xmmword [rbp + 0xf8], xmm6
movsd qword [rbp + 0xf0], xmm6
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [0x140068c24]
mov edx, dword [0x140068bf8]
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int__class_cv::Scalar__double__const____ptr64____ptr64]
nop
mov qword [rbp + 0xe0], rdi
mov dword [rbp + 0xd0], 0x3010000
lea rax, [rbp + 0x5f0]
mov qword [rbp + 0xd8], rax
movsd xmm8, qword [0x14005d100]
movsd qword [rbp + 0x108], xmm8
movups xmmword [rbp + 0x118], xmm6
movsd qword [rbp + 0x110], xmm6
mov eax, dword [0x140068bf8]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [0x140068c24]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0x4d0], eax
mov dword [rbp + 0x4d4], ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rbp + 0x108]
mov r8d, eax
mov rdx, qword [rbp + 0x4d0]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::circle_class_cv::_InputOutputArray_const____ptr64__class_cv::Point__int___int__class_cv::Scalar__double__const____ptr64__int__int__int_]
xorps xmm0, xmm0
movups xmmword [rbp + 0x520], xmm0
movups xmmword [rbp + 0x530], xmm0
movups xmmword [rbp + 0x540], xmm0
movups xmmword [rbp + 0x550], xmm0
movups xmmword [rbp + 0x560], xmm0
movups xmmword [rbp + 0x570], xmm0
lea rcx, [rbp + 0x520]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rcx, qword [0x1400680d8]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rcx
cmp rax, 4
jb 0x140048a4a
lea rax, [0x1400680c8]
cmp qword [0x1400680e0], 0xf
cmova rax, qword [0x1400680c8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str.bin_
lea rcx, [rbp + 0x158]
call fcn.140050670
nop
lea r8d, [rdi + 4]
lea rdx, str..bin
lea rcx, [rbp + 0x158]
call fcn.14004eb40
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea r8, [rbp + 0x520]
lea rdx, [rsp + 0x78]
call fcn.140041c20
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14004817a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048175
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048175
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
movdqa xmm0, xmmword [0x14005d250]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x1400481d0
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400481cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400481cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
mov qword [rbp + 8], rdi
mov dword [rbp - 8], 0x2010000
lea rax, [rbp + 0x520]
mov qword [rbp], rax
mov qword [rbp + 0x20], rdi
mov dword [rbp + 0x10], 0x1010000
lea rax, [rbp + 0x520]
mov qword [rbp + 0x18], rax
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
xor sil, sil
movsd xmm7, qword [0x14005d0d0]
movabs rdi, 0x7ffffffffd050f7f
nop word [rax + rax]
movzx eax, byte [0x140068cf4]
test al, al
jne 0x1400489a9
movzx eax, byte [0x140068be4]
test al, al
je 0x1400489f0
movzx eax, byte [0x140068be5]
test al, al
je 0x140048268
lea rcx, [rbp + 0x150]
call fcn.1400401d0
mov rbx, qword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r13, rax
mov r8d, dword [0x140068c14]
mov edx, dword [0x140068cac]
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov qword [rbp - 0x60], rax
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov ecx, dword [0x140068c74]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140068c2c]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r12
mov ecx, dword [0x140068c14]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x140068cac]
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x470], xmm0
movups xmmword [rbp + 0x480], xmm0
movups xmmword [rbp + 0x490], xmm0
movups xmmword [rbp + 0x4a0], xmm0
movups xmmword [rbp + 0x4b0], xmm0
movups xmmword [rbp + 0x4c0], xmm0
mov r9d, 0x18
mov r8d, dword [0x140068cac]
mov edx, dword [0x140068c14]
lea rcx, [rbp + 0x470]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140068c14]
imul edx, dword [0x140068cac]
shl edx, 2
mov r8, qword [rbp + 0x480]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor edi, edi
mov qword [rbp + 0x38], rdi
mov dword [rbp + 0x28], 0x2010000
lea rax, [rbp + 0x470]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x50], rdi
mov dword [rbp + 0x40], 0x1010000
lea rax, [rbp + 0x470]
mov qword [rbp + 0x48], rax
xor r9d, r9d
lea r8d, [rdi + 6]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
test sil, sil
jne 0x14004854f
xorps xmm0, xmm0
movups xmmword [rbp + 0x590], xmm0
movups xmmword [rbp + 0x5a0], xmm0
movups xmmword [rbp + 0x5b0], xmm0
movups xmmword [rbp + 0x5c0], xmm0
movups xmmword [rbp + 0x5d0], xmm0
movups xmmword [rbp + 0x5e0], xmm0
lea rcx, [rbp + 0x590]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov qword [rbp + 0x68], rdi
mov dword [rbp + 0x58], 0x2010000
lea rax, [rbp + 0x590]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x70], 0x1010000
lea rax, [rbp + 0x520]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x98], rdi
mov dword [rbp + 0x88], 0x1010000
lea rax, [rbp + 0x470]
mov qword [rbp + 0x90], rax
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 5]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x88]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
mov qword [rbp + 0x4d8], rdi
mov qword [rbp + 0x4d0], rdi
mov qword [rbp + 0xb0], rdi
mov dword [rbp + 0xa0], 0x1010000
lea rax, [rbp + 0x590]
mov qword [rbp + 0xa8], rax
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4d8]
lea r8, [rbp + 0x4e0]
lea rdx, [rbp + 0x580]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.opencv_core4.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
movsd xmm0, qword [rbp + 0x4e0]
comisd xmm0, xmm7
jb 0x140048539
mov eax, dword [rbp + 0x52c]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
add r8d, dword [rbp + 0x4d0]
mov eax, dword [rbp + 0x528]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
add r9d, dword [rbp + 0x4d4]
mov eax, dword [0x140068c24]
mov dword [0x140068cac], eax
mov ecx, dword [0x140068bf8]
mov dword [0x140068c14], ecx
cdq
sub eax, edx
sar eax, 1
sub r8d, eax
add r8d, r14d
mov dword [0x140068c2c], r8d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub r9d, eax
add r9d, r15d
mov dword [0x140068c74], r9d
mov eax, 1
xchg byte [0x140068be7], al
mov sil, 1
lea rcx, [rbp + 0x590]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov edi, dword [rsp + 0x50]
jmp 0x14004865d
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.opencv_core4.dll_class_cv::MatExpr___cdecl_cv::operator_class_cv::Mat_const____ptr64_]
nop
mov rdx, rax
lea rcx, [rbp + 0x178]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::_InputArray::constructor_class_cv::MatExpr_const____ptr64____ptr64]
movsd qword [rbp + 0x128], xmm6
movups xmmword [rbp + 0x138], xmm6
movsd qword [rbp + 0x130], xmm6
mov dword [rbp + 0xb8], 0xc1020006
lea rax, [rbp + 0x128]
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], 1
mov dword [rbp + 0xcc], 4
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x470]
call qword [sym.imp.opencv_core4.dll_public:_class_cv::Mat____ptr64___cdecl_cv::Mat::setTo_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x280]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x220]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movaps xmm2, xmm8
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x310]
call qword [sym.imp.opencv_core4.dll_class_cv::MatExpr___cdecl_cv::operator_class_cv::Mat_const____ptr64__double_]
nop
mov rdx, rax
lea rcx, [rbp + 0x190]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::_InputArray::constructor_class_cv::MatExpr_const____ptr64____ptr64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.opencv_core4.dll_int___cdecl_cv::countNonZero_class_cv::_InputArray_const____ptr64_]
mov edi, eax
mov dword [rsp + 0x50], eax
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x380]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x320]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov edx, dword [rsp + 0x54]
mov ecx, edx
sub ecx, dword [0x1400680c0]
cmp edi, ecx
jge 0x140048869
cmp edi, dword [0x140068d00]
jle 0x140048869
mov eax, dword [0x140068ca4]
cmp edi, eax
jge 0x140048869
cmp edx, eax
jge 0x140048869
movsxd rdi, dword [0x140068c04]
lea rcx, [rbp + 0x4f8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rbp + 0x4e8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x4e8]
sub rax, qword [rbp + 0x4f0]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp + 0x4f8]
cmp rax, rdi
jl 0x1400486c0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x43
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x43
call qword [sym.imp.USER32.dll_keybd_event]
movzx eax, byte [0x140068be5]
test al, al
je 0x1400487e4
lea rcx, [rbp + 0x148]
call fcn.1400401d0
mov rcx, qword [rax]
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp - 0x50], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
lea r8d, [rdi + 0x18]
lea rdx, str.Doctor_Deadline_mode___
lea rcx, [rbp - 0x28]
call fcn.14004ff50
nop
lea rax, [0x1400680c0]
mov qword [rsp + 0x28], rax
lea rax, [0x140068c04]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x28]
call fcn.1400415a0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400487e6
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400487dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400489e9
call fcn.140052e10
jmp 0x1400487e6
xor edi, edi
lea rcx, [rbp + 0x510]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp + 0x508]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x500]
sub rax, qword [rbp + 0x508]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp + 0x510]
cmp rax, 0x190
jl 0x140048800
mov eax, dword [rsp + 0x58]
mov dword [0x140068cac], eax
mov eax, dword [rsp + 0x5c]
mov dword [0x140068c14], eax
mov dword [0x140068c2c], r14d
mov dword [0x140068c74], r15d
mov eax, edi
xchg byte [0x140068be7], al
xor sil, sil
mov dword [rsp + 0x50], edi
jmp 0x14004896a
cmp edi, dword [0x140068c00]
jle 0x14004896a
cmp edi, dword [0x140068cec]
jge 0x14004896a
movzx eax, byte [0x140068be5]
xor edi, edi
test al, al
je 0x140048931
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], edi
mov qword [rbp - 0x68], rdi
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x60], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
lea r8d, [rdi + 0x24]
lea rdx, str.Doctor_Deadline_mode____Wiggle_mode
lea rcx, [rbp - 0x48]
call fcn.14004ff50
nop
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.1400415a0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140048931
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004892c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400489e9
call fcn.140052e10
mov eax, dword [rsp + 0x58]
mov dword [0x140068cac], eax
mov eax, dword [rsp + 0x5c]
mov dword [0x140068c14], eax
mov dword [0x140068c2c], r14d
mov dword [0x140068c74], r15d
mov eax, 1
xchg byte [0x140068be7], al
xor sil, sil
mov dword [rsp + 0x50], edi
call fcn.140046cb0
mov dword [rsp + 0x54], edi
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x470]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movabs r12, 0x7fffffffffffffff
jmp 0x14004821c
lea rcx, [rbp - 0x58]
call fcn.1400401d0
mov rax, qword [rbp - 0x58]
cmp rax, rdi
jge 0x1400489d5
add rax, 0x2faf080
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140050970
jmp 0x140048230
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.140050970
jmp 0x140048230
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x520]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.140052b90
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003ffa0
nop
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r12d, r12d
mov edi, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0xb0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rcx, qword [0x1400680f8]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rcx
cmp rax, 4
jae 0x140048aef
call fcn.14003ffa0
int3
lea rax, [0x1400680e8]
cmp qword [0x140068100], 0xf
cmova rax, qword [0x1400680e8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str.bin_
lea rcx, [rbp - 0x68]
call fcn.140050670
nop
mov r8d, 4
lea rdx, str..bin
lea rcx, [rbp - 0x68]
call fcn.14004eb40
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r8, [rbp + 0xb0]
lea rdx, [rsp + 0x58]
call fcn.140041c20
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140048bc3
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048bbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048bbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
movdqa xmm0, xmmword [0x14005d250]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140048c14
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048c0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048c0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x80], 0x2010000
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x68], 0x1010000
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x60], rax
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov r8d, dword [0x140068c88]
mov edx, dword [0x140068c40]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
xor bl, bl
movsd xmm6, qword [0x14005d0d0]
nop dword [rax + rax]
movzx eax, byte [0x140068cf4]
test al, al
jne 0x14004904e
movzx eax, byte [0x140068be1]
test al, al
je 0x14004903f
movzx eax, byte [0x140068be7]
test al, al
jne 0x140049030
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [0x140068cbc]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140068cf8]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov eax, dword [0x140068c88]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x140068c40]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov r9d, 0x18
mov r8d, dword [0x140068c40]
mov edx, dword [0x140068c88]
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140068c40]
imul edx, dword [0x140068c88]
shl edx, 2
mov r8, qword [rbp]
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x68], 0x2010000
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x80], 0x1010000
lea rax, [rbp - 0x10]
mov qword [rbp - 0x78], rax
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x68], 0x2010000
lea rax, [rbp + 0x50]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x80], 0x1010000
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x58], 0x1010000
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rax
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
mov qword [rbp - 0x20], r12
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x58], 0x1010000
lea rax, [rbp + 0x50]
mov qword [rsp + 0x60], rax
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_core4.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
movsxd rcx, dword [rbp - 0x1c]
mov rax, qword [rbp + 0x98]
imul rcx, qword [rax]
movsxd rdx, dword [rbp - 0x20]
add rcx, qword [rbp + 0x60]
movss xmm0, dword [rcx + rdx*4]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm6
jbe 0x140048f24
test bl, bl
jne 0x140048fdd
mov bl, 1
mov edi, dword [0x140068c04]
mov eax, dword [0x140068ccc]
mov dword [0x140068c04], eax
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x48], r12
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x50], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8d, 0x21
lea rdx, str.Hyperfocus_mode____reduced_delay
lea rcx, [rsp + 0x58]
call fcn.14004ff50
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x140068c04]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x48]
lea r8, [rsp + 0x7c]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400415a0
nop
jmp 0x140048fa0
test bl, bl
je 0x140048fdd
xor bl, bl
mov dword [0x140068c04], edi
mov dword [rsp + 0x50], r12d
mov qword [rbp - 0x48], r12
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x78], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8d, 0x2b
lea rdx, str.Hyperfocus_mode____previous_delay_restored
lea rcx, [rsp + 0x58]
call fcn.14004ff50
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x140068c04]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x48]
lea r8, [rsp + 0x7c]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400415a0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140048fdd
inc rdx
mov rcx, qword [rsp + 0x58]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140048fd8
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049098
call fcn.140052e10
lea rcx, [rbp - 0x40]
call fcn.1400401d0
mov rax, qword [rbp - 0x40]
movabs rcx, 0x7ffffffffd050f7f
cmp rax, rcx
jge 0x140049006
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
jmp 0x14004900b
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call fcn.140050970
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
jmp 0x140048ca0
lea rcx, [rbp - 0x38]
call fcn.1400401d0
mov rax, qword [rbp - 0x38]
jmp 0x14004905b
lea rcx, [rbp - 0x30]
call fcn.1400401d0
mov rax, qword [rbp - 0x30]
jmp 0x14004905b
lea rcx, [rbp - 0x28]
call fcn.1400401d0
mov rax, qword [rbp - 0x28]
movabs rcx, 0x7ffffffffd050f7f
cmp rax, rcx
jge 0x140049084
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.140050970
jmp 0x140048ca0
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call fcn.140050970
jmp 0x140048ca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3