Function at 0x140046cb0
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 - 0x538]
sub rsp, 0x610
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
xor esi, esi
mov dword [rsp + 0x50], esi
mov ebx, esi
xorps xmm0, 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
movups xmmword [rbp + 0x4d0], xmm0
xorps xmm6, xmm6
movsd qword [rbp + 0x70], xmm6
movups xmmword [rbp + 0x80], xmm6
movsd qword [rbp + 0x78], xmm6
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [0x140068c24]
mov edx, dword [0x140068bf8]
lea rcx, [rbp + 0x480]
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 - 0x18], rsi
mov dword [rbp - 0x28], 0x3010000
lea rax, [rbp + 0x480]
mov qword [rbp - 0x20], rax
mov eax, dword [0x140068cfc]
mov dword [rbp - 0x70], eax
mov eax, dword [0x140068c0c]
mov dword [rbp - 0x6c], eax
mov eax, dword [0x140068c6c]
mov dword [rbp - 0x68], eax
mov eax, dword [0x140068cc0]
mov dword [rbp - 0x64], eax
movsd xmm7, qword [0x14005d100]
movsd qword [rbp + 0x90], xmm7
movups xmmword [rbp + 0xa0], xmm6
movsd qword [rbp + 0x98], xmm6
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 8
lea r9d, [rsi - 1]
lea r8, [rbp + 0x90]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x28]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::rectangle_class_cv::_InputOutputArray_const____ptr64__class_cv::Rect__int___class_cv::Scalar__double__const____ptr64__int__int__int_]
mov qword [rbp], rsi
mov dword [rbp - 0x10], 0x3010000
lea rax, [rbp + 0x480]
mov qword [rbp - 8], rax
mov eax, dword [0x140068c84]
mov dword [rbp - 0x80], eax
mov eax, dword [0x140068c60]
mov dword [rbp - 0x7c], eax
mov eax, dword [0x140068c8c]
mov dword [rbp - 0x78], eax
mov eax, dword [0x140068c3c]
mov dword [rbp - 0x74], eax
movsd qword [rbp + 0xb0], xmm7
movups xmmword [rbp + 0xc0], xmm6
movsd qword [rbp + 0xb8], xmm6
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 8
lea r9d, [rsi - 1]
lea r8, [rbp + 0xb0]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::rectangle_class_cv::_InputOutputArray_const____ptr64__class_cv::Rect__int___class_cv::Scalar__double__const____ptr64__int__int__int_]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov r8d, dword [0x140068bf8]
mov edx, dword [0x140068c24]
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
movabs r13, 0x7fffffffffffffff
movabs rdi, 0x7ffffffffd050f7f
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [0x140068cf4]
test al, al
jne 0x140047291
movzx eax, byte [0x140068be5]
test al, al
je 0x140046ed9
lea rcx, [rbp + 0xf0]
call fcn.1400401d0
mov rbx, qword [rax]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [0x140068c34]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140068bfc]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov eax, dword [0x140068bf8]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x140068c24]
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
movups xmmword [rbp + 0x400], xmm0
movups xmmword [rbp + 0x410], xmm0
movups xmmword [rbp + 0x420], xmm0
movups xmmword [rbp + 0x430], xmm0
movups xmmword [rbp + 0x440], xmm0
mov r9d, 0x18
mov r8d, dword [0x140068c24]
mov edx, dword [0x140068bf8]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140068bf8]
imul edx, dword [0x140068c24]
shl edx, 2
mov r8, qword [rbp + 0x400]
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov qword [rbp + 0x18], rsi
mov dword [rbp + 8], 0x2010000
lea rax, [rbp + 0x3f0]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x30], rsi
mov dword [rbp + 0x20], 0x1010000
lea rax, [rbp + 0x3f0]
mov qword [rbp + 0x28], rax
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x130]
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 + 0x100]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::_InputArray::constructor_class_cv::MatExpr_const____ptr64____ptr64]
movsd qword [rbp + 0xd0], xmm6
movups xmmword [rbp + 0xe0], xmm6
movsd qword [rbp + 0xd8], xmm6
mov dword [rbp + 0x38], 0xc1020006
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x4c], 4
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x3f0]
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 + 0x200]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movaps xmm2, xmm7
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x290]
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 + 0x118]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::_InputArray::constructor_class_cv::MatExpr_const____ptr64____ptr64]
lea rcx, [rbp + 0x118]
call qword [sym.imp.opencv_core4.dll_int___cdecl_cv::countNonZero_class_cv::_InputArray_const____ptr64_]
mov edi, eax
mov dword [rsp + 0x54], eax
lea rcx, [rbp + 0x360]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x300]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
cmp edi, dword [rsp + 0x50]
jge 0x140047277
test edi, edi
jle 0x140047279
movsxd rdi, dword [0x1400680c4]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp + 0x458]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x450]
sub rax, qword [rbp + 0x458]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp + 0x460]
cmp rax, rdi
jl 0x140047100
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 0x140047224
lea rcx, [rbp + 0xf8]
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 - 0x60], rdx
mov dword [rsp + 0x58], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov r8d, 0xf
lea rdx, str.Wiggle_mode___
lea rcx, [rbp - 0x48]
call fcn.14004ff50
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [0x1400680c4]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.1400415a0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140047224
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004721f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047378
call fcn.140052e10
lea rcx, [rbp + 0x478]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp + 0x470]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rcx, [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x468]
sub rax, qword [rbp + 0x470]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp + 0x478]
cmp rax, 0x1f4
jl 0x140047240
mov edi, dword [rsp + 0x54]
test edi, edi
je 0x1400472d1
mov dword [rsp + 0x50], edi
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
jmp 0x140046e99
lea rcx, [rbp - 0x58]
call fcn.1400401d0
mov rax, qword [rbp - 0x58]
cmp rax, rdi
jge 0x1400472bd
add rax, 0x2faf080
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140050970
jmp 0x140046eb0
mov qword [rsp + 0x70], r13
lea rcx, [rsp + 0x70]
call fcn.140050970
jmp 0x140046eb0
movzx eax, byte [0x140068be5]
test al, al
je 0x140047384
mov dword [rsp + 0x5c], esi
mov dword [rsp + 0x60], esi
mov qword [rbp - 0x50], rsi
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x68], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov r8d, 0x2c
lea rdx, str.Wiggle_mode____Default_Doctor_Deadline_mode
lea rcx, [rbp + 0x50]
call fcn.14004ff50
nop
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x50]
call fcn.1400415a0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140047384
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004737f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004737f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
xchg byte [0x140068be7], sil
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x480]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140052b90
lea r11, [rsp + 0x610]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret