Function at 0x1400788c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov rax, qword [0x14014c010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov qword [rsp + 0x60], r9
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, r9
call fcn.140008cb0
mov eax, dword [r12]
test eax, eax
js 0x1400799cc
mov ecx, dword [r12 + 4]
test ecx, ecx
js 0x1400799cc
mov r8d, dword [r12 + 8]
test r8d, r8d
jle 0x1400799cc
mov edx, dword [r12 + 0xc]
test edx, edx
jle 0x1400799cc
add eax, r8d
cmp eax, dword [rsi + 0xc]
jg 0x1400799cc
lea eax, [rdx + rcx]
cmp eax, dword [rsi + 8]
jg 0x1400799cc
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
add r8d, 2
add edx, 2
xor r9d, r9d
lea rcx, [rbp + 0x180]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
call qword [sym.imp.opencv_world480.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
movsd xmm0, qword [0x140138150]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x68], 0xc1020006
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], 1
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x180]
call qword [sym.imp.opencv_world480.dll_public:_class_cv::Mat____ptr64___cdecl_cv::Mat::setTo_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x280], xmm0
movups xmmword [rbp + 0x290], xmm0
mov r8, r12
mov rdx, rsi
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64__class_cv::Rect__int__const____ptr64____ptr64]
nop
mov r13d, r14d
mov ebx, r14d
mov dword [rsp + 0x40], ebx
mov eax, dword [r12 + 0xc]
test eax, eax
jle 0x140078b51
lea r15d, [r14 + 1]
nop
xor edi, edi
cmp dword [r12 + 8], edi
jle 0x140078b35
nop dword [rax]
mov eax, dword [r12 + 4]
add eax, ebx
movsxd rcx, eax
mov rax, qword [rsi + 0x48]
imul rcx, qword [rax]
mov eax, dword [r12]
add eax, r14d
cdqe
lea rdx, [rcx + rax*4]
add rdx, qword [rsi + 0x10]
movzx r9d, byte [rdx]
movzx r11d, byte [rdx + 1]
movzx r10d, byte [rdx + 2]
mov edx, r9d
cmp r10b, r11b
jae 0x140078acb
cmp r10b, r9b
cmovb edx, r10d
mov r8d, r9d
cmp r11b, r9b
cmova r8d, r11d
test r8b, r8b
jne 0x140078ae3
mov rcx, r15
mov rax, qword [rbp + 0x1c8]
imul rcx, qword [rax]
add rcx, qword [rbp + 0x190]
mov byte [rcx + rdi + 1], r8b
jmp 0x140078b24
cmp r11b, r9b
cmovb edx, r11d
cmp r10b, r11b
jbe 0x140078aa0
mov r8d, r9d
cmp r10b, r9b
cmova r8d, r10d
jmp 0x140078aaa
movzx ecx, r8b
movzx eax, dl
mov ebx, ecx
sub ebx, eax
imul eax, ebx, 0xff
cdq
idiv ecx
mov esi, eax
test al, al
jne 0x14007914a
mov rcx, r15
mov rax, qword [rbp + 0x1c8]
imul rcx, qword [rax]
add rcx, qword [rbp + 0x190]
mov byte [rcx + rdi + 1], r8b
mov ebx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
inc r14d
inc rdi
cmp r14d, dword [r12 + 8]
jl 0x140078a60
inc ebx
mov dword [rsp + 0x40], ebx
inc r15
mov eax, dword [r12 + 0xc]
cmp ebx, eax
mov r14d, 0
jl 0x140078a50
movd xmm2, r13d
cvtdq2ps xmm2, xmm2
movd xmm0, dword [r12 + 8]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm2, xmm1
cvtps2pd xmm2, xmm2
movsd xmm0, qword [0x140138038]
comisd xmm0, xmm2
ja 0x1400799b1
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 dword [rsp + 0x28], 0x32
mov r9d, setsockopt
lea r8, [rbp + 0x180]
lea rdx, [rbp - 0x10]
call fcn.14007cc70
nop
xorps xmm0, xmm0
movsxd r10, dword [rbp - 8]
mov rbx, r10
movdqu xmmword [rbp + 0x148], xmm0
mov qword [rbp + 0x158], r14
test r10d, r10d
je 0x140078c29
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x1400799f5
mov rdx, rbx
call fcn.14002bc80
mov qword [rbp + 0x148], rax
lea r8, [rbx*4]
lea rdi, [r8 + rax]
mov qword [rbp + 0x158], rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x150], rdi
mov r10d, dword [rbp - 8]
mov ebx, r14d
test r10d, r10d
jle 0x140078ca2
mov rdx, r14
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + 0x148]
mov dword [rax + rdx*4], r14d
mov r8d, r14d
mov r9, r14
mov r11d, dword [rbp - 4]
test r11d, r11d
jle 0x140078c94
nop word [rax + rax]
mov rcx, rdx
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp]
movzx r10d, byte [rcx + r9]
cmp r10d, 0x78
jb 0x140078c89
mov rax, qword [rbp + 0x148]
add dword [rax + rdx*4], r10d
mov r11d, dword [rbp - 4]
inc r8d
inc r9
cmp r8d, r11d
jl 0x140078c60
inc ebx
inc rdx
mov r10d, dword [rbp - 8]
cmp ebx, r10d
jl 0x140078c40
mov r11d, r14d
mov ebx, r14d
mov esi, r14d
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
movsxd rdi, eax
lea edx, [rdi + 4]
lea ecx, [rdi - 4]
movsxd r8, ecx
movsxd rdx, edx
mov r9, qword [rbp + 0x148]
cmp r8, rdx
jg 0x140078d11
mov rcx, rdx
sub rcx, r8
inc rcx
cmp rcx, 2
jl 0x140078d07
lea rax, [rdx - 1]
nop dword [rax]
nop word [rax + rax]
add r11d, dword [r9 + r8*4]
add ebx, dword [r9 + r8*4 + 4]
add r8, 2
cmp r8, rax
jle 0x140078cf0
cmp r8, rdx
jg 0x140078d0b
mov esi, dword [r9 + r8*4]
lea eax, [r11 + rbx]
add esi, eax
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1401380a8]
cvttsd2si edx, xmm0
mov rbx, rdi
cmp edi, r10d
jge 0x140078d50
lea rcx, [r9 + rdi*4]
cmp dword [rcx], edx
jl 0x140078d50
inc ebx
add rcx, 4
cmp ebx, r10d
jl 0x140078d41
test edi, edi
js 0x140078d65
mov rax, rdi
cmp dword [r9 + rax*4], edx
jl 0x140078d65
dec edi
sub rax, 1
jns 0x140078d57
inc edi
dec ebx
cmp ebx, edi
jle 0x140079949
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 rdx, [rbp - 0x10]
lea rcx, [rbp + 0x50]
call fcn.14006f4b0
nop
lea rcx, [rbp + 0x50]
call fcn.14006ffd0
lea rcx, [rbp + 0x50]
call fcn.14006ffd0
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x2a8], 0
mov qword [rbp + 0x2b0], 0
mov qword [rbp + 0x2b8], 0
mov qword [rbp + 0x2c0], 0
mov qword [rbp + 0x2c8], 0
mov dword [rbp + 0x2d0], 0
mov dword [rbp + 0x2d4], 0xa060301
mov dword [rbp + 0x2d8], 0x1814110d
mov dword [rbp + 0x2dc], 0x23211e1b
mov dword [rbp + 0x2e0], 0x2c292725
mov dword [rbp + 0x2e4], 0x3d39342f
mov dword [rbp + 0x2e8], 0x4b484441
mov dword [rbp + 0x2ec], 0x5855524f
mov dword [rbp + 0x2f0], 0x63615e5c
mov dword [rbp + 0x2f4], 0x6d6b6866
mov dword [rbp + 0x2f8], 0x75737170
mov dword [rbp + 0x2fc], 0x7c7b7977
mov dword [rbp + 0x300], 0x83817f7e
mov dword [rbp + 0x304], 0x8b898785
mov dword [rbp + 0x308], 0x93918f8d
mov dword [rbp + 0x30c], 0x9c9a9896
mov dword [rbp + 0x310], 0xa4a2a09e
mov dword [rbp + 0x314], 0xacaaa8a6
mov dword [rbp + 0x318], 0xb4b2b0ae
mov dword [rbp + 0x31c], 0xbab9b7b6
mov dword [rbp + 0x320], 0xc0bfbdbc
mov dword [rbp + 0x324], 0xc6c5c3c2
mov dword [rbp + 0x328], 0xcbcac9c7
mov dword [rbp + 0x32c], 0xd0cfcdcc
mov dword [rbp + 0x330], 0xd2d1d1d0
mov dword [rbp + 0x334], 0xd6d5d4d3
mov dword [rbp + 0x338], 0xd8d7d7d6
mov dword [rbp + 0x33c], 0xdbdad9d9
mov dword [rbp + 0x340], 0xdddcdcdb
mov dword [rbp + 0x344], 0xe0dfdfde
mov dword [rbp + 0x348], 0xe2e1e1e0
mov dword [rbp + 0x34c], 0xe4e3e3e2
mov dword [rbp + 0x350], 0xe6e5e5e4
mov dword [rbp + 0x354], 0xe8e8e7e6
mov dword [rbp + 0x358], 0xeaeae9e9
mov dword [rbp + 0x35c], 0xececebeb
mov dword [rbp + 0x360], 0xefeeeded
mov dword [rbp + 0x364], 0xf1f0f0ef
mov dword [rbp + 0x368], 0xf3f2f2f1
mov dword [rbp + 0x36c], 0xf5f4f4f3
mov dword [rbp + 0x370], 0xf6f6f5f5
mov dword [rbp + 0x374], 0xf8f8f7f7
mov dword [rbp + 0x378], 0xf9f9f9f9
mov dword [rbp + 0x37c], 0xfbfafafa
mov dword [rbp + 0x380], 0xfbfbfbfb
mov dword [rbp + 0x384], 0xfdfdfcfc
mov dword [rbp + 0x388], 0xfefdfdfd
mov dword [rbp + 0x38c], 0xfefefefe
mov qword [rbp + 0x390], 0xfffffffffffffffe
mov qword [rbp + 0x398], 0xffffffffffffffff
mov rdx, qword [rbp + 0x60]
cmp rdx, qword [rbp + 0x70]
je 0x140079016
nop word [rax + rax]
movzx eax, byte [rdx]
movzx ecx, byte [rbp + rax + 0x2a0]
mov byte [rdx], cl
inc rdx
cmp rdx, qword [rbp + 0x70]
jne 0x140079000
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
mov dword [rsp + 0x48], r14d
lea eax, [rdi + rdi]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp + 0x5c]
mov dword [rsp + 0x50], eax
sub ebx, edi
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x54], eax
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64__class_cv::Rect__int__const____ptr64____ptr64]
nop
movd xmm0, dword [rbp + 0xb8]
cvtdq2pd xmm0, xmm0
movsd xmm2, qword [0x140138158]
divsd xmm2, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movd xmm0, dword [rbp + 0xbc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm2
cvttsd2si r8d, xmm0
xor r9d, r9d
lea edx, [r9 + 0x14]
lea rcx, [rbp - 0x70]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xb0]
call fcn.14006f9c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
movsxd rsi, dword [rbp - 0x64]
lea rdi, [rsi + 0x1f]
shr rdi, 5
movdqu xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r14
test rdi, rdi
je 0x1400791d7
mov rdx, rdi
call fcn.14002bc80
mov qword [rbp + 0x128], rax
lea r8, [rdi*4]
lea rbx, [r8 + rax]
mov qword [rbp + 0x138], rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x130], rbx
jmp 0x1400791de
cmp r8b, r10b
jne 0x140079160
mov ecx, r11d
sub ecx, r9d
imul eax, ecx, 0x2b
cdq
idiv ebx
mov r9d, eax
jmp 0x140079186
mov ecx, r10d
cmp r8b, r11b
jne 0x140079179
mov eax, r9d
sub eax, ecx
imul eax, eax, 0x2b
cdq
idiv ebx
lea r9d, [rax + 0x55]
jmp 0x140079186
sub ecx, r11d
imul eax, ecx, 0x2b
cdq
idiv ebx
lea r9d, [rax - 0x55]
mov rcx, r15
mov rax, qword [rbp + 0x1c8]
imul rcx, qword [rax]
add rcx, qword [rbp + 0x190]
mov byte [rcx + rdi + 1], r8b
sub r9b, 0x46
cmp r9b, 0x14
ja 0x140078b1b
sub sil, 0x29
cmp sil, 0x3a
ja 0x140078b1b
mov ebx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmp r8b, 0xa0
jbe 0x140078b24
inc r13d
jmp 0x140078b24
mov rbx, qword [rbp + 0x130]
mov qword [rbp + 0x140], r14
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1400799ef
mov rax, rbx
mov rcx, qword [rbp + 0x128]
sub rax, rcx
sar rax, 2
cmp rdi, rax
jae 0x140079220
lea rax, [rcx + rdi*4]
cmp rax, rbx
cmovne rbx, rax
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x140], rsi
and esi, 0x1f
jbe 0x140079242
mov rdx, qword [rbp + 0x128]
mov ecx, esi
mov eax, 1
shl eax, cl
dec eax
and dword [rdx + rdi*4 - 4], eax
mov ebx, r14d
cmp dword [rbp - 0x64], 0
jle 0x140079320
mov r11, r14
mov r9d, dword [rbp - 0x68]
nop word [rax + rax]
mov dil, 1
mov rdx, r14
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
mov rcx, qword [rbp - 0x60]
add rcx, r11
cmp byte [rcx], 0x32
ja 0x140079287
inc rdx
add rcx, r8
cmp rdx, 0xc
jle 0x140079274
jmp 0x14007928a
xor dil, dil
mov edx, r14d
cmp r9d, 0xf
jle 0x1400792b6
imul rcx, r8, 0xf
add rcx, qword [rbp - 0x60]
add rcx, r11
lea r10d, [r9 - 0xf]
lea eax, [rdx + 1]
cmp byte [rcx], 0x64
cmovb eax, edx
mov edx, eax
add rcx, r8
sub r10, 1
jne 0x1400792a2
test dil, dil
je 0x140079312
cmp edx, 2
jl 0x140079312
movsxd rax, ebx
mov r9, rax
shr r9, 5
mov r8, qword [rbp + 0x128]
and al, 0x1f
mov edx, 1
movzx ecx, al
shl edx, cl
or dword [r8 + r9*4], edx
mov edx, r14d
mov r8, r14
mov r9d, dword [rbp - 0x68]
test r9d, r9d
jle 0x140079312
mov rcx, r8
mov rax, qword [rbp - 0x28]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x60]
mov byte [rcx + r11], 0
inc edx
inc r8
mov r9d, dword [rbp - 0x68]
cmp edx, r9d
jl 0x1400792f0
inc ebx
inc r11
cmp ebx, dword [rbp - 0x64]
jl 0x140079260
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x2a8], 0
mov qword [rbp + 0x2b0], 0
mov qword [rbp + 0x2b8], 0
mov dword [rbp + 0x2c0], 0x1000000
mov dword [rbp + 0x2c4], 0x4030201
mov dword [rbp + 0x2c8], 0x9070605
mov dword [rbp + 0x2cc], 0xe0c0b0a
mov dword [rbp + 0x2d0], 0x1211100f
mov dword [rbp + 0x2d4], 0x19171514
mov dword [rbp + 0x2d8], 0x1f1d1c1a
mov dword [rbp + 0x2dc], 0x25242220
mov dword [rbp + 0x2e0], 0x2c2a2827
mov dword [rbp + 0x2e4], 0x31302f2d
mov dword [rbp + 0x2e8], 0x36353432
mov dword [rbp + 0x2ec], 0x3b393837
mov dword [rbp + 0x2f0], 0x403e3d3c
mov dword [rbp + 0x2f4], 0x44434241
mov dword [rbp + 0x2f8], 0x49484746
mov dword [rbp + 0x2fc], 0x4f4d4c4b
mov dword [rbp + 0x300], 0x53525150
mov dword [rbp + 0x304], 0x59575655
mov dword [rbp + 0x308], 0x5d5b5a59
mov dword [rbp + 0x30c], 0x62605f5e
mov dword [rbp + 0x310], 0x66656463
mov dword [rbp + 0x314], 0x6b6a6867
mov dword [rbp + 0x318], 0x6f6e6d6c
mov dword [rbp + 0x31c], 0x73727170
mov dword [rbp + 0x320], 0x76757574
mov dword [rbp + 0x324], 0x7a797877
mov dword [rbp + 0x328], 0x7d7c7b7a
mov dword [rbp + 0x32c], 0x81807f7e
mov dword [rbp + 0x330], 0x86848382
mov dword [rbp + 0x334], 0x8b898887
mov dword [rbp + 0x338], 0x908f8e8c
mov dword [rbp + 0x33c], 0x94939291
mov dword [rbp + 0x340], 0x99989795
mov dword [rbp + 0x344], 0x9e9d9c9b
mov dword [rbp + 0x348], 0xa2a1a09f
mov dword [rbp + 0x34c], 0xa8a7a5a4
mov dword [rbp + 0x350], 0xadacaaa9
mov dword [rbp + 0x354], 0xb1b0afae
mov dword [rbp + 0x358], 0xb6b4b3b2
mov dword [rbp + 0x35c], 0xbbbab9b7
mov dword [rbp + 0x360], 0xc0bebdbc
mov dword [rbp + 0x364], 0xc4c3c2c1
mov dword [rbp + 0x368], 0xc9c8c7c5
mov dword [rbp + 0x36c], 0xcecdccca
mov dword [rbp + 0x370], 0xd3d2d0cf
mov dword [rbp + 0x374], 0xd8d7d6d4
mov dword [rbp + 0x378], 0xdddcdad9
mov dword [rbp + 0x37c], 0xe2e1dfde
mov dword [rbp + 0x380], 0xe7e6e4e3
mov dword [rbp + 0x384], 0xebeae9e8
mov dword [rbp + 0x388], 0xefeeedec
mov dword [rbp + 0x38c], 0xf3f2f1f0
mov dword [rbp + 0x390], 0xf6f5f5f4
mov dword [rbp + 0x394], 0xfaf9f8f7
mov dword [rbp + 0x398], 0xfefdfcfb
mov dword [rbp + 0x39c], 0xfffffffe
mov rdx, qword [rbp - 0x60]
cmp rdx, qword [rbp - 0x50]
je 0x1400795a6
nop word [rax + rax]
movzx eax, byte [rdx]
movzx ecx, byte [rbp + rax + 0x2a0]
mov byte [rdx], cl
inc rdx
cmp rdx, qword [rbp - 0x50]
jne 0x140079590
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
mov qword [rbp + 0x120], r14
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x70]
call fcn.1400720a0
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x70]
call fcn.1400714c0
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x70]
call fcn.14006edc0
mov r8, qword [rbp + 0x118]
mov rdi, r8
mov rcx, qword [rbp + 0x110]
sub rdi, rcx
sar rdi, 4
sub edi, 1
js 0x140079653
movsxd rbx, edi
shl rbx, 4
mov rsi, rbx
nop
cmp dword [rbx + rcx + 8], 4
jle 0x14007961e
cmp dword [rbx + rcx + 0xc], 0xf
jge 0x140079646
add rcx, rsi
lea rdx, [rcx + 0x10]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp + 0x118]
sub r8, 0x10
mov qword [rbp + 0x118], r8
mov rcx, qword [rbp + 0x110]
sub rsi, 0x10
sub rbx, 0x10
sub edi, 1
jns 0x140079610
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r14
mov qword [rbp + 0x178], r14
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x160]
call fcn.140002230
nop
mov r12d, r14d
mov rax, qword [rbp + 0x118]
mov rbx, qword [rbp + 0x110]
sub rax, rbx
sar rax, 4
test rax, rax
je 0x140079823
mov rdi, r14
test r12d, r12d
jle 0x140079765
xor eax, eax
mov r15d, eax
mov r11d, eax
mov r13d, dword [r14 + rbx - 8]
mov eax, dword [r14 + rbx - 0x10]
lea esi, [rax + r13]
mov r10d, dword [r14 + rbx]
cmp esi, r10d
jge 0x140079733
mov r13, qword [rbp + 0x128]
xor ebx, ebx
nop word [rax + rax]
movsxd rax, esi
mov r8, rax
shr r8, 5
and al, 0x1f
mov edx, 1
movzx ecx, al
shl edx, cl
test dword [r13 + r8*4], edx
lea ecx, [r15 + 1]
cmove ecx, r15d
mov eax, ecx
cmp ecx, r11d
cmovle eax, r11d
mov r11d, eax
inc esi
mov r15d, ebx
test dword [r13 + r8*4], edx
cmovne r15d, ecx
cmp esi, r10d
jl 0x1400796e0
mov rbx, qword [rbp + 0x110]
mov r13d, dword [r14 + rbx - 8]
mov eax, dword [r14 + rbx - 0x10]
sub r10d, eax
sub r10d, r13d
cmp r11d, 2
jl 0x140079765
cmp r10d, 4
jl 0x140079765
mov r8d, 1
lea rdx, [0x1400c134c]
lea rcx, [rbp + 0x160]
call fcn.140008e10
mov rbx, qword [rbp + 0x110]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
add rdi, rdi
lea r8, [rbx + rdi*8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64__class_cv::Rect__int__const____ptr64____ptr64]
nop
lea r8, [rbp + 0x1e0]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.140079a00
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400797d0
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.140008e10
nop
lea rcx, [rsp + 0x68]
call fcn.140002da0
nop
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
inc r12d
add r14, 0x10
mov rax, qword [rbp + 0x118]
mov rbx, qword [rbp + 0x110]
sub rax, rbx
sar rax, 4
movsxd rdi, r12d
cmp rdi, rax
jb 0x1400796a6
xor r14d, r14d
lea rax, [rbp + 0x160]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140079858
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0x10
cmovae rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x170]
call fcn.140008cb0
nop
lea rcx, [rbp + 0x160]
call fcn.140002da0
nop
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x1400798be
mov rdx, qword [rbp + 0x120]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400798a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400798a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5f14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r14
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x14007991f
mov rax, qword [rbp + 0x138]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079908
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140079908
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5f14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r14
lea rcx, [rbp - 0x70]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xb0]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov r9, qword [rbp + 0x148]
test r9, r9
je 0x1400799a6
mov rax, qword [rbp + 0x158]
sub rax, r9
sar rax, 2
lea rdx, [rax*4]
mov rax, r9
cmp rdx, 0x1000
jb 0x14007998c
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007998c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400b5f14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x148], xmm0
mov qword [rbp + 0x158], r14
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x180]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400b5c60
add rsp, 0x4b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140036d20
nop
call fcn.140008ba0
int3