Function at 0x1400031c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14010d080]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, r8
mov qword [rbp - 0x68], r8
mov r15, rdx
mov qword [rsp + 0x60], rdx
mov qword [rbp - 0x60], rcx
xor r12d, r12d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
mov edi, r12d
mov qword [rsp + 0x70], r12
mov qword [rbp + 0xb0], r12
movdqu xmmword [rbp + 0x68], xmm1
mov qword [rbp + 0x78], r12
movdqu xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], r12
mov r9d, r12d
mov qword [rsp + 0x58], r12
mov r8, qword [r8]
mov rcx, qword [r14 + 8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
movsd xmm6, qword [0x1400fab70]
add rdx, rax
je 0x140003530
mov esi, r12d
mov rbx, qword [rbp + 0xa8]
mov rdi, qword [r8 + rsi + 0x10]
mov r13d, r12d
cmp dword [r8 + rsi + 8], 0
jle 0x1400034f4
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
lea rdx, [r8 + rsi]
mov dword [rsp + 0x78], 0x80000000
mov dword [rsp + 0x7c], 0x7fffffff
mov dword [rbp - 0x80], r13d
lea eax, [r13 + 1]
mov r13d, eax
mov dword [rbp - 0x7c], eax
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64__class_cv::Range_const____ptr64__class_cv::Range_const____ptr64____ptr64]
nop
mov rax, qword [r14]
mov ecx, dword [rsi + rax + 0xc]
mov dword [rbp - 0x78], 5
mov dword [rbp - 0x74], ecx
mov dword [rbp - 0x70], 0x80000000
mov dword [rbp - 0x6c], 0x7fffffff
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64__class_cv::Range_const____ptr64__class_cv::Range_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov qword [rbp + 0x48], 0
call qword [sym.imp.opencv_world470.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rbp + 0x40], 0
mov dword [rbp + 0x30], 0x1010000
lea rcx, [rbp + 0xe0]
mov qword [rbp + 0x38], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x80]
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.opencv_world470.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_]
movss xmm0, dword [0x14010d0b4]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm6
subsd xmm1, xmm0
movsd xmm0, qword [rbp + 0x80]
comisd xmm0, xmm1
jbe 0x1400034cb
movd xmm3, dword [r15 + 0xc]
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
mulss xmm0, dword [rdi]
cvttss2si r14d, xmm0
movd xmm2, dword [r15 + 8]
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
mulss xmm1, dword [rdi + 4]
cvttss2si r15d, xmm1
mulss xmm3, dword [rdi + 8]
cvttss2si r12d, xmm3
mulss xmm2, dword [rdi + 0xc]
cvttss2si ecx, xmm2
mov dword [rsp + 0x54], ecx
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
sub r14d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub r15d, eax
cmp rbx, qword [rsp + 0x70]
je 0x14000341a
mov eax, dword [rbp + 0x48]
mov dword [rbx], eax
add rbx, 4
mov qword [rbp + 0xa8], rbx
jmp 0x140003440
lea r8, [rbp + 0x48]
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.140006090
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x70], rax
mov rbx, qword [rbp + 0xa8]
movsd xmm0, qword [rbp + 0x80]
cvtpd2ps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
mov rdx, qword [rbp + 0x70]
cmp rdx, qword [rbp + 0x78]
je 0x140003467
movss dword [rdx], xmm0
add qword [rbp + 0x70], 4
jmp 0x140003475
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0x68]
call fcn.140006090
mov dword [rbp + 0xb8], r14d
mov dword [rbp + 0xbc], r15d
mov dword [rbp + 0xc0], r12d
mov eax, dword [rsp + 0x54]
mov dword [rbp + 0xc4], eax
mov rdx, qword [rbp + 0x58]
cmp rdx, qword [rbp + 0x60]
je 0x1400034af
movups xmm0, xmmword [rbp + 0xb8]
movups xmmword [rdx], xmm0
add qword [rbp + 0x58], 0x10
jmp 0x1400034bf
lea r8, [rbp + 0xb8]
lea rcx, [rbp + 0x50]
call fcn.140005f00
xor r12d, r12d
mov r15, qword [rsp + 0x60]
mov r14, qword [rbp - 0x68]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov r8, qword [r14]
movsxd rax, dword [r8 + rsi + 0xc]
lea rdi, [rdi + rax*4]
cmp r13d, dword [r8 + rsi + 8]
jl 0x140003294
mov r9, qword [rsp + 0x58]
inc r9
mov qword [rsp + 0x58], r9
add rsi, 0x60
mov rcx, qword [r14 + 8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jb 0x140003280
mov rdi, qword [rsp + 0x70]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov qword [rbp + 0x98], r12
movss xmm0, dword [0x14010d0b4]
cvtps2pd xmm0, xmm0
subsd xmm6, xmm0
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm6
mov dword [rsp + 0x30], r12d
movss xmm0, dword [0x1400fab24]
movss dword [rsp + 0x28], xmm0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x60]
movss xmm3, dword [rax + 0x14]
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x50]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::dnn::dnn4_v20221220::NMSBoxes_class_std::vector_class_cv::Rect__int___class_std::allocator_class_cv::Rect__int____const____ptr64__class_std::vector_float__class_std::allocator_float___const____ptr64__float__float__class_std::vector_int__class_std::allocator_int______ptr64__float__int_]
mov rdx, r12
mov qword [rsp + 0x58], rdx
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x88]
sub rax, rcx
sar rax, 2
test rax, rax
je 0x1400038da
movsd xmm7, qword [0x1400fab60]
movzx r13d, byte [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movsxd rcx, dword [rcx + rdx*4]
mov rax, rcx
shl rax, 4
add rax, qword [rbp + 0x50]
movups xmm2, xmmword [rax]
mov rax, qword [rbp + 0x68]
movss xmm6, dword [rax + rcx*4]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movaps xmm1, xmmword [0x1400fad40]
movups xmmword [rbp - 0x48], xmm1
movdqa xmm0, xmm2
psrldq xmm0, 4
movd esi, xmm0
mov ebx, esi
shl rbx, 0x20
movd r14d, xmm2
mov eax, r14d
or rbx, rax
mov qword [rbp + 0x40], 0
mov dword [rbp + 0x30], 0x3010000
mov qword [rbp + 0x38], r15
movdqa xmm0, xmm2
psrldq xmm0, 0xc
movd r15d, xmm0
lea r8d, [r15 + rsi]
shl r8, 0x20
psrldq xmm2, 8
movd r12d, xmm2
lea ecx, [r12 + r14]
or r8, rcx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x58]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::rectangle_class_cv::_InputOutputArray_const____ptr64__class_cv::Point__int___class_cv::Point__int___class_cv::Scalar__double__const____ptr64__int__int__int_]
cvtps2pd xmm2, xmm6
movq r8, xmm2
lea rdx, str._.2f
lea rcx, [rbp + 0xb8]
call qword [sym.imp.opencv_world470.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_cv::format_char_const____ptr64_]
nop
movaps xmm0, xmmword [0x1400fafa0]
movups xmmword [rbp - 0x58], xmm0
movaps xmm1, xmmword [0x1400fad50]
movups xmmword [rbp - 0x48], xmm1
xor eax, eax
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x30], 0x3010000
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x38], rax
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], 1
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
movsd qword [rsp + 0x20], xmm7
xor r9d, r9d
mov r8, rbx
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x30]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::putText_class_cv::_InputOutputArray_const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_cv::Point__int___int__double__class_cv::Scalar__double___int__int__bool_]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x140003744
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000373f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400038d0
call fcn.1400c0254
mov dword [rbp + 0x30], Ordinal_26
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x34], xmm0
mov dword [rbp + 0x44], eax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x1400037db
xor edx, edx
cmp dword [rbp + 0x38], 0x186a0
setl dl
xor ecx, ecx
cmp dword [rbp + 0x38], 0xc350
setg cl
test ecx, edx
je 0x1400037d4
mov byte [rsp + 0x50], 1
mov ebx, 0x8000
mov dword [rbp + 0x30], Ordinal_26
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x34], xmm0
mov dword [rbp + 0x44], eax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x14000384c
xor edx, edx
cmp dword [rbp + 0x38], 0x186a0
setl dl
xor ecx, ecx
cmp dword [rbp + 0x38], 0xc350
setg cl
test ecx, edx
je 0x140003847
mov r13b, 1
jmp 0x14000388e
mov byte [rsp + 0x50], 0
jmp 0x1400037e2
cmp byte [rsp + 0x50], 0
jne 0x140003786
cmp byte [0x14010e271], 0
je 0x140003786
cmp byte [0x14010e280], 0
je 0x14000380a
lea r9d, [r15 + 0xa]
mov r8d, r12d
mov edx, esi
mov ecx, r14d
call fcn.140002c60
jmp 0x140003786
cmp byte [0x14010e270], 0
je 0x140003786
mov ecx, dword [0x14010e27c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, 0x8000
test bx, ax
je 0x14000378b
lea r9d, [r15 + 0xa]
mov r8d, r12d
mov edx, esi
mov ecx, r14d
call fcn.140002c60
jmp 0x14000378b
xor r13b, r13b
jmp 0x140003851
test r13b, r13b
jne 0x14000388e
cmp byte [0x14010e281], 0
je 0x14000388e
cmp byte [0x14010e282], 0
je 0x140003874
mov ecx, dword [0x14010e274]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
jmp 0x14000387b
cmp byte [0x14010e278], 0
je 0x14000388e
lea r9d, [r15 + 0xa]
mov r8d, r12d
mov edx, esi
mov ecx, r14d
call fcn.140002b60
mov ecx, 0x64
sub ecx, dword [0x14010d0b8]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rsp + 0x58]
inc rdx
mov qword [rsp + 0x58], rdx
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x88]
sub rax, rcx
sar rax, 2
cmp rdx, rax
jae 0x1400038d7
mov r15, qword [rsp + 0x60]
jmp 0x1400035d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r12d, r12d
test rcx, rcx
je 0x140003934
mov rax, qword [rbp + 0x98]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000391d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000391d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0254
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r12
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140003981
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003970
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003970
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0254
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400039d6
mov rax, qword [rbp + 0x78]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0254
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r12
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x140003a19
sub rdi, rcx
and rdi, 0xfffffffffffffffc
mov rax, rcx
cmp rdi, 0x1000
jb 0x140003a11
add rdi, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
call fcn.1400c0254
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400bfd10
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret