Function at 0x140006ea0
Capabilities:
Capture screenshot
Log keystrokes via polling

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 - 0x1e8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x14019b080]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r14, rcx
xor r12d, r12d
mov r15d, 1
cmp byte [0x1405afeb0], r12b
jne 0x14000702b
mov edi, dword [reloc.WLDAP32.dll_Ordinal_30]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov qword [0x1405aff88], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [0x1405aff90], rax
mov edx, 3
mov rcx, rax
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp + 0x4c]
mov dword [0x1405aff84], ecx
mov eax, dword [rbp + 0x48]
mov dword [0x1405aff80], eax
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, r9d
sub ecx, r8d
mov dword [0x1405aff98], ecx
mov ecx, eax
sub ecx, r8d
mov dword [0x1405aff9c], ecx
lea ecx, [r9 + r8]
mov dword [0x1405affa0], ecx
add eax, r8d
mov dword [0x1405affa4], eax
lea rcx, [0x1405affb8]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::release_void____ptr64]
mov r9d, Ordinal_26
mov r8d, edi
mov edx, edi
lea rcx, [0x1405affb8]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::create_int__int__int____ptr64]
mov r8d, edi
mov edx, edi
mov rcx, qword [0x1405aff88]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [0x1405affb0], rax
mov dword [0x1405b0018], 0x28
mov dword [0x1405b001c], edi
mov eax, edi
neg eax
mov dword [0x1405b0020], eax
mov qword [0x1405b0024], 0x200001
mov qword [0x1405b002c], r12
mov qword [0x1405b0034], r12
mov dword [0x1405b003c], r12d
mov dword [0x1405affa8], edi
mov byte [0x1405afeb0], r15b
mov ebx, dword [reloc.WLDAP32.dll_Ordinal_30]
cmp dword [reloc.WLDAP32.dll_Ordinal_30], ebx
je 0x140007111
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [0x1405aff80]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [0x1405aff84]
cdq
sub eax, edx
sar eax, 1
mov ecx, r8d
sub ecx, r10d
mov dword [0x1405aff98], ecx
mov ecx, eax
sub ecx, r10d
mov dword [0x1405aff9c], ecx
lea edx, [r10 + r8]
mov dword [0x1405affa0], edx
lea r8d, [r10 + rax]
mov dword [0x1405affa4], r8d
mov rcx, qword [0x1405aff88]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [0x1405affb0], rax
lea rcx, [0x1405affb8]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::release_void____ptr64]
mov r9d, Ordinal_26
mov r8d, ebx
mov edx, ebx
lea rcx, [0x1405affb8]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::create_int__int__int____ptr64]
mov dword [0x1405b0018], 0x28
mov dword [0x1405b001c], ebx
mov eax, ebx
neg eax
mov dword [0x1405b0020], eax
mov qword [0x1405b0024], 0x200001
mov qword [0x1405b002c], r12
mov qword [0x1405b0034], r12
mov dword [0x1405b003c], r12d
mov dword [0x1405affa8], ebx
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
mov dword [reloc.WLDAP32.dll_Ordinal_30], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
mov rdx, qword [0x1405affb0]
mov rcx, qword [0x1405aff90]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [0x1405aff9c]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1405aff98]
mov dword [rsp + 0x30], eax
mov rax, qword [0x1405aff88]
mov qword [rsp + 0x28], rax
mov r9d, dword [0x1405affa8]
mov dword [rsp + 0x20], r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1405aff90]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x30], r12d
lea rax, [0x1405b0018]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1405affc8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x1405affa8]
xor r8d, r8d
mov rdx, qword [0x1405affb0]
mov rcx, qword [0x1405aff90]
call qword [sym.imp.GDI32.dll_GetDIBits]
lea rdx, [0x1405affb8]
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], 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
lea rcx, [rbp + 0xa0]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x40], 0x2010000
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x100]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, Ordinal_41
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x2010000
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [0x140188100]
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401878e0]
movups xmmword [rbp - 0x30], xmm1
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x44], 4
mov dword [rsp + 0x68], 0xc1020006
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [0x1401880f0]
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1401878d0]
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x44], 4
mov dword [rbp - 0x80], 0xc1020006
lea rax, [rbp - 0x60]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x40], 0x1010000
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x48], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::inRange_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64_]
movdqa xmm0, xmmword [0x140188120]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movabs r9, 0x100000001
movabs r8, 0x200000002
mov edx, r15d
lea rcx, [rbp - 0x20]
call qword [sym.imp.opencv_world470.dll_class_cv::Mat___cdecl_cv::getStructuringElement_int__class_cv::Size__int___class_cv::Point__int__]
nop
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x1010000
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x40], 0x2010000
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x68], 0x1010000
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x70], rax
mov r9, 0xffffffffffffffff
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 5
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x68]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::dilate_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::Point__int___int__int__class_cv::Scalar__double__const____ptr64_]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x68], 0x2010000
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 8
movsd xmm3, qword [0x140187768]
xorps xmm10, xmm10
xorps xmm2, xmm2
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world470.dll_double___cdecl_cv::threshold_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__double__double__int_]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x80], r12
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x68], 0x8204000c
lea rax, [rbp + 0x70]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], r12
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world470.dll_void___cdecl_cv::findContours_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int__class_cv::Point__int__]
xorps xmm0, xmm0
mov rcx, qword [rbp + 0x78]
sub rcx, qword [rbp + 0x70]
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r12
je 0x140007558
movabs rax, 0xfffffffffffffff
cmp rbx, rax
ja 0x140007dac
mov rdi, rbx
shl rdi, 4
test rdi, rdi
jne 0x1400074f2
mov r8, r12
lea rax, [rdi + r12]
mov rcx, r12
jmp 0x140007539
cmp rdi, 0x1000
jb 0x140007528
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140007db2
call fcn.1400c8250
test rax, rax
je 0x140007c53
lea r8, [rax + 0x27]
and r8, 0xffffffffffffffe0
mov qword [r8 - 8], rax
lea rax, [r8 + rdi]
jmp 0x140007536
mov rcx, rdi
call fcn.1400c8250
mov r8, rax
add rax, rdi
mov rcx, r8
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x68], rax
mov qword [r8], r12
mov qword [r8 + 8], r12
add r8, 0x10
sub rbx, 1
jne 0x140007541
mov qword [rbp + 0x60], r8
jmp 0x14000755c
mov r8, qword [rbp + 0x60]
mov rsi, r12
mov rcx, qword [rbp + 0x78]
sub rcx, qword [rbp + 0x70]
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400075e6
mov rbx, r12
mov rdi, r12
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x68], 0x8103000c
mov rcx, qword [rbp + 0x70]
add rcx, rdi
mov qword [rsp + 0x70], rcx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world470.dll_class_cv::Rect__int____cdecl_cv::boundingRect_class_cv::_InputArray_const____ptr64_]
movups xmm0, xmmword [rax]
mov rax, qword [rbp + 0x58]
movups xmmword [rbx + rax], xmm0
inc rsi
add rdi, 0x18
lea rbx, [rbx + 0x10]
mov rcx, qword [rbp + 0x78]
sub rcx, qword [rbp + 0x70]
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x140007583
mov r8, qword [rbp + 0x60]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov qword [rbp + 0x98], r12
mov rsi, r12
mov rax, r8
mov r9, qword [rbp + 0x58]
sub rax, r9
sar rax, 4
mov rbx, qword [rbp + 0x90]
test rax, rax
je 0x140007723
mov rdi, r12
movsd xmm6, qword [0x140187708]
nop dword [rax]
nop dword [rax + rax]
sub r8, r9
sar r8, 4
cmp r8, rsi
jbe 0x140007da6
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
cdq
sub eax, edx
sar eax, 1
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + r9 + 8]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + r9]
addsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm3, xmm4
subss xmm3, xmm1
xorps xmm2, xmm2
cvtsi2sd xmm2, dword [rdi + r9 + 0xc]
mulsd xmm2, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + r9 + 4]
addsd xmm2, xmm0
cvtpd2ps xmm1, xmm2
subss xmm4, xmm1
mulss xmm4, xmm4
mulss xmm3, xmm3
addss xmm4, xmm3
xorps xmm0, xmm0
ucomiss xmm0, xmm4
ja 0x1400076b9
xorps xmm0, xmm0
sqrtss xmm0, xmm4
jmp 0x1400076c1
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rbp + 0x40], xmm0
cmp rbx, qword [rbp + 0x98]
je 0x1400076e7
movss dword [rbx], xmm0
mov rbx, qword [rbp + 0x90]
add rbx, 4
mov qword [rbp + 0x90], rbx
jmp 0x140007701
lea r8, [rbp + 0x40]
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.140007fc0
mov rbx, qword [rbp + 0x90]
inc rsi
add rdi, 0x10
mov r8, qword [rbp + 0x60]
mov rax, r8
mov r9, qword [rbp + 0x58]
sub rax, r9
sar rax, 4
cmp rsi, rax
jb 0x140007630
mov r10d, r12d
movss xmm1, dword [0x140187878]
mov edx, r12d
mov rcx, qword [rbp + 0x88]
sub rbx, rcx
sar rbx, 2
test rbx, rbx
je 0x140007780
movss xmm3, dword [0x140188130]
xorps xmm4, xmm4
nop
movaps xmm2, xmm1
movss xmm0, dword [rcx]
subss xmm0, xmm4
andps xmm0, xmm3
comiss xmm1, xmm0
jbe 0x140007766
movaps xmm1, xmm0
mov eax, edx
comiss xmm2, xmm0
cmovbe eax, r10d
mov r10d, eax
inc edx
add rcx, 4
movsxd rax, edx
cmp rax, rbx
jb 0x140007750
sub r8, r9
sar r8, 4
test r8, r8
je 0x140007bb2
movsxd rdi, r10d
cmp r8, rdi
jbe 0x140007da6
mov rbx, rdi
add rbx, rbx
mov eax, dword [r9 + rbx*8 + 8]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
add r8d, dword [r9 + rbx*8]
movd xmm1, dword [r9 + rbx*8 + 4]
cvtdq2ps xmm1, xmm1
mov eax, 0x2aaaaaab
imul dword [r9 + rbx*8 + 0xc]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
movd xmm7, edx
cvtdq2ps xmm7, xmm7
addss xmm7, xmm1
movss xmm0, dword [0x140187738]
addss xmm7, xmm0
movd xmm6, r8d
cvtdq2ps xmm6, xmm6
lea eax, [rdx + rdx]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
addss xmm8, xmm1
addss xmm8, xmm0
lea eax, [rdx + rdx*2]
movd xmm9, eax
cvtdq2ps xmm9, xmm9
addss xmm9, xmm1
addss xmm9, xmm0
cmp byte [0x1405aea24], 0
je 0x140007955
mov ecx, dword [0x1405aea4c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140007951
mov ecx, dword [0x1405aea1c]
test ecx, ecx
je 0x14000788f
sub ecx, 1
je 0x140007871
cmp ecx, 1
jne 0x140007951
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm9, xmm0
cvttss2si ecx, xmm9
jmp 0x1400078a9
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm8, xmm0
cvttss2si ecx, xmm8
jmp 0x1400078a9
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
cvttss2si ecx, xmm7
movups xmm4, xmmword [r14]
subss xmm6, xmm0
cvttss2si eax, xmm6
movd xmm0, dword [0x1405aea30]
movd xmm2, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
addss xmm2, xmm0
movd xmm1, dword [0x1405aea34]
movd xmm3, ecx
movd xmm0, dword [0x1405aea18]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
mov rcx, qword [r14 + 8]
divss xmm0, dword [0x1401877fc]
movss xmm1, dword [0x1401876c4]
lea rax, [rcx - 1]
subss xmm1, xmm0
cmp rax, 0xfffffffffffffffd
mulss xmm3, xmm1
mulss xmm2, xmm1
ja 0x140007951
mov qword [rsp + 0x38], r12
cvttss2si eax, xmm2
mov qword [rsp + 0x30], r12
mov dword [rbp + 0x40], eax
mov dword [rsp + 0x28], r12d
cvttss2si eax, xmm3
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x44], eax
mov word [rbp + 0x48], r12w
mov r9d, recv
lea r8, [rbp + 0x40]
movd edx, xmm4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r9, qword [rbp + 0x58]
cmp byte [0x1405aea26], 0
je 0x14000796e
mov ecx, dword [0x1405aea54]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r9, qword [rbp + 0x58]
cmp byte [0x1405aea25], 0
je 0x140007b69
mov ecx, dword [0x1405aea50]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140007b65
mov rax, qword [rbp + 0x60]
mov r9, qword [rbp + 0x58]
sub rax, r9
sar rax, 4
cmp rax, rdi
jbe 0x140007da6
mov ecx, dword [r9 + rbx*8]
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1405aea58]
comiss xmm1, xmm0
jb 0x140007b69
mov eax, dword [r9 + rbx*8 + 8]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1405aea5c]
comiss xmm0, xmm1
jb 0x140007b69
mov ecx, dword [r9 + rbx*8 + 4]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1405aea60]
comiss xmm1, xmm0
jb 0x140007b69
mov eax, dword [r9 + rbx*8 + 0xc]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1405aea64]
comiss xmm0, xmm1
jb 0x140007b69
movsxd rbx, dword [0x1405aea2c]
lea rcx, [rbp + 0x40]
call fcn.140002ba0
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
movabs rdi, 0x7fffffffffffffff
mov esi, 0xff
test rbx, rbx
je 0x140007a8b
js 0x140007a8b
imul rdx, rbx, 0xf4240
mov rcx, rdi
sub rcx, rdx
cmp rax, rcx
je 0x140007a87
mov r8d, r15d
cmovl r8d, esi
test r8b, r8b
jns 0x140007a87
lea rcx, [rax + rdx]
mov qword [rbp + 0x40], rcx
jmp 0x140007a8b
mov qword [rbp + 0x40], rdi
lea rcx, [rbp + 0x40]
call fcn.140006de0
mov rcx, qword [r14 + 8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007ae1
mov qword [rbp + 0x40], r12
mov word [rbp + 0x48], r15w
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, recv
lea r8, [rbp + 0x40]
mov edx, dword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp + 0x40]
call fcn.140002ba0
mov rax, qword [rbp + 0x40]
jmp 0x140007af2
lea rcx, [rbp + 0x40]
call fcn.140002ba0
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
movabs rcx, 0x7fffffffff67697f
cmp rax, rcx
je 0x140007b16
cmovl r15d, esi
test r15b, r15b
jns 0x140007b16
add rax, 0x989680
mov qword [rbp + 0x40], rax
jmp 0x140007b1a
mov qword [rbp + 0x40], rdi
lea rcx, [rbp + 0x40]
call fcn.140006de0
mov rcx, qword [r14 + 8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007b65
mov qword [rbp + 0x40], r12
mov eax, 2
mov word [rbp + 0x48], ax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, recv
lea r8, [rbp + 0x40]
mov edx, dword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r9, qword [rbp + 0x58]
cmp byte [0x1405aea26], 0
je 0x140007bfc
mov ecx, dword [0x1405aea54]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r9, qword [rbp + 0x58]
test ax, ax
je 0x140007bfc
movss xmm0, dword [0x1405aea3c]
divss xmm0, dword [0x14018786c]
cvtps2pd xmm1, xmm0
movsd xmm2, qword [0x1405afeb8]
addsd xmm2, xmm1
movsd qword [0x1405afeb8], xmm2
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140007c22
mov rax, qword [rbp + 0x98]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007c07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movsd qword [0x1405afeb8], xmm10
jmp 0x140007bb2
call fcn.1400c7fa8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r12
mov r9, qword [rbp + 0x58]
test r9, r9
je 0x140007c6e
mov rdx, qword [rbp + 0x68]
sub rdx, r9
and rdx, 0xfffffffffffffff0
mov rax, r9
cmp rdx, 0x1000
jb 0x140007c5a
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007c5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400c7fa8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r12
mov rbx, qword [rbp + 0x70]
test rbx, rbx
je 0x140007d42
mov rdi, qword [rbp + 0x78]
cmp rbx, rdi
je 0x140007cd9
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007cd0
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140007cc0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007d24
mov rcx, r8
call fcn.1400c7fa8
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
add rbx, 0x18
cmp rbx, rdi
jne 0x140007c84
mov rcx, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x70]
sub rcx, rbx
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x140007d2b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400c7fa8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
lea rcx, [rbp + 0xa0]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400c7f80
lea r11, [rsp + 0x2c0]
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]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140007f80
nop
call fcn.140007fa0
int3
call fcn.140002370
int3