Function at 0x140065eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x408]
sub rsp, 0x508
movaps xmmword [rsp + 0x4f0], xmm6
mov rax, qword [0x14014c010]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov qword [rsp + 0x78], r9
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x50], rcx
xor r13d, r13d
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, r9
call fcn.140008cb0
mov r8d, dword [rbx]
test r8d, r8d
js 0x140067493
mov ecx, dword [rbx + 4]
test ecx, ecx
js 0x140067493
mov eax, dword [rbx + 8]
test eax, eax
jle 0x140067493
mov edx, dword [rbx + 0xc]
test edx, edx
jle 0x140067493
add eax, r8d
cmp eax, dword [rsi + 0xc]
jg 0x140067493
lea eax, [rdx + rcx]
cmp eax, dword [rsi + 8]
jg 0x140067493
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 r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x100]
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
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
xor r9d, r9d
mov r8d, dword [rbp + 0x10c]
mov edx, dword [rbp + 0x108]
lea rcx, [rbp + 0x220]
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_]
xorps xmm6, xmm6
movsd qword [rsp + 0x30], xmm6
mov dword [rbp + 0x1a8], 0xc1020006
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x1b0], rcx
mov dword [rbp + 0x1b8], 1
mov dword [rbp + 0x1bc], 1
mov r8, rax
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x220]
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]
mov r14d, r13d
mov r15d, r13d
mov eax, dword [rbx + 0xc]
test eax, eax
jle 0x140066107
mov r12d, r13d
nop
mov r11d, r13d
mov rdi, r13
cmp dword [rbx + 8], r13d
jle 0x1400660f5
mov ecx, dword [rbx + 4]
add ecx, r15d
movsxd rdx, ecx
mov rax, qword [rsi + 0x48]
imul rdx, qword [rax]
mov eax, dword [rbx]
add eax, r11d
cdqe
lea rcx, [rdx + rax*4]
add rcx, qword [rsi + 0x10]
movzx edx, byte [rcx]
movzx r9d, byte [rcx + 1]
movzx r8d, byte [rcx + 2]
mov r10d, edx
cmp r8b, r9b
jae 0x140066afb
cmp r8b, dl
cmovb r10d, r8d
mov ecx, edx
cmp r9b, dl
cmova ecx, r9d
movzx r9d, cl
test r9b, r9b
je 0x1400660e5
movzx r8d, r9b
movzx eax, r10b
mov ecx, r8d
sub ecx, eax
imul eax, ecx, 0xff
cdq
idiv r8d
cmp al, 0x3c
jae 0x1400660c3
cmp r9b, 0x96
ja 0x1400660c9
cmp r9b, 0xc8
jbe 0x1400660e5
inc r14d
mov rcx, r12
mov rax, qword [rbp + 0x268]
imul rcx, qword [rax]
add rcx, qword [rbp + 0x230]
mov byte [rcx + rdi], 0x64
inc r11d
inc rdi
cmp r11d, dword [rbx + 8]
jl 0x140066050
inc r15d
inc r12
mov eax, dword [rbx + 0xc]
cmp r15d, eax
jl 0x140066040
movd xmm2, r14d
cvtdq2ps xmm2, xmm2
movd xmm0, dword [rbx + 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 0x140067478
lea rcx, [rbp + 0x220]
call fcn.140072f30
mov r11d, r13d
mov edi, r13d
mov r14d, r13d
mov r10d, r13d
mov r15d, r13d
movsxd rax, dword [rbx + 0xc]
test rax, rax
jle 0x140067478
mov rax, r13
mov qword [rsp + 0x30], rax
movsxd r12, dword [rbx + 8]
movsxd rcx, dword [rbx + 0xc]
mov r9d, r13d
mov r8, r13
test r12, r12
jle 0x1400661e7
mov rcx, qword [rbp + 0x268]
imul rax, qword [rcx]
mov r13, qword [rbp + 0x230]
add r13, rax
cmp byte [r8 + r13], 0
ja 0x1400661d0
mov ecx, dword [rbx + 4]
add ecx, r15d
movsxd rdx, ecx
mov rax, qword [rsi + 0x48]
imul rdx, qword [rax]
mov eax, dword [rbx]
add eax, r9d
cdqe
lea rcx, [rdx + rax*4]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rcx]
add r11d, eax
movzx eax, byte [rcx + 1]
add edi, eax
movzx eax, byte [rcx + 2]
add r14d, eax
inc r10d
inc r9d
inc r8
cmp r8, r12
jl 0x140066193
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rbx + 0xc]
xor r13d, r13d
inc r15d
inc rax
mov qword [rsp + 0x30], rax
cmp rax, rcx
jl 0x140066173
test r10d, r10d
jle 0x140067478
mov eax, r11d
cdq
idiv r10d
mov dword [rsp + 0x48], eax
mov eax, edi
cdq
idiv r10d
mov dword [rsp + 0x30], eax
mov eax, r14d
cdq
idiv r10d
mov dword [rsp + 0x44], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x80]
call fcn.1400707d0
nop
mov r15d, r13d
mov dword [rsp + 0x40], r13d
cmp dword [rbx + 0xc], 0
jle 0x1400663db
mov r14, r13
mov edi, 2
nop word [rax + rax]
xor r8d, r8d
mov r12d, r8d
cmp dword [rbx + 8], r8d
jle 0x1400663bc
mov esi, r8d
nop dword [rax]
nop word [rax + rax]
mov r10, r14
mov rax, qword [rbp - 0x38]
imul r10, qword [rax]
add r10, r12
mov rax, qword [rbp - 0x70]
lea rdx, [rax + r10*2]
movzx ecx, byte [r10 + rdx]
sub ecx, dword [rsp + 0x44]
movzx r11d, byte [r10 + rdx + 2]
sub r11d, dword [rsp + 0x48]
movzx r9d, byte [r10 + rdx + 1]
sub r9d, dword [rsp + 0x30]
movzx eax, cl
test ecx, ecx
cmovns r8d, eax
mov byte [r10 + rdx], r8b
lea rcx, [rdi - 1]
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + rsi], r8b
mov rcx, rdi
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + rsi], r8b
xor r10d, r10d
mov r8d, r10d
movzx eax, r9b
test r9d, r9d
cmovns r8d, eax
mov rdx, r14
mov rax, qword [rbp - 0x38]
imul rdx, qword [rax]
add rdx, r12
mov rax, qword [rbp - 0x70]
lea rcx, [rax + rdx*2]
mov byte [rdx + rcx + 1], r8b
lea rcx, [rdi - 1]
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + rsi + 1], r8b
mov rcx, rdi
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + rsi + 1], r8b
mov r8d, r10d
movzx eax, r11b
test r11d, r11d
cmovns r8d, eax
mov rdx, r14
mov rax, qword [rbp - 0x38]
imul rdx, qword [rax]
add rdx, r12
mov rax, qword [rbp - 0x70]
lea rcx, [rax + rdx*2]
mov byte [rdx + rcx + 2], r8b
lea rcx, [rdi - 1]
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + rsi + 2], r8b
mov rcx, rdi
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + rsi + 2], r8b
inc r13d
inc r12
lea rsi, [rsi + 3]
cmp r13d, dword [rbx + 8]
mov r8d, r10d
jl 0x140066290
mov r15d, dword [rsp + 0x40]
inc r15d
mov dword [rsp + 0x40], r15d
inc r14
add rdi, 3
cmp r15d, dword [rbx + 0xc]
mov r13d, 0
jl 0x140066270
xorps xmm0, xmm0
movsxd r10, dword [rbp - 0x78]
mov rbx, r10
movdqu xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r13
test r10d, r10d
je 0x140066443
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x1400674c4
mov rdx, rbx
call fcn.14002bc80
mov qword [rbp + 0x190], rax
lea r8, [rbx*4]
lea rdi, [rax + r8]
mov qword [rbp + 0x1a0], rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x198], rdi
mov r10d, dword [rbp - 0x78]
mov r11d, r13d
test r10d, r10d
jle 0x1400664d6
mov rdx, r13
mov rax, qword [rbp + 0x190]
mov dword [rax + rdx*4], r13d
mov r9d, r13d
mov r10, r13
cmp dword [rbp - 0x74], 0
jle 0x1400664c3
nop dword [rax]
mov rcx, rdx
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
movzx r8d, byte [rcx + r10]
cmp r8b, 0x64
jb 0x140066495
mov rcx, qword [rbp + 0x190]
add dword [rcx + rdx*4], r8d
cmp r8b, 0x82
jb 0x1400664a6
mov rax, qword [rbp + 0x190]
add dword [rax + rdx*4], 0x14
cmp r8b, 0xb4
jb 0x1400664b7
mov rax, qword [rbp + 0x190]
add dword [rax + rdx*4], 0x32
inc r9d
inc r10
cmp r9d, dword [rbp - 0x74]
jl 0x140066470
inc r11d
inc rdx
mov r10d, dword [rbp - 0x78]
cmp r11d, r10d
jl 0x140066452
mov ebx, r13d
mov edi, r13d
mov r11d, r13d
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
lea ecx, [rax + 3]
add eax, 0xfffffffd
movsxd r9, eax
movsxd rsi, ecx
mov r8, qword [rbp + 0x190]
cmp r9, rsi
jge 0x140066574
mov rax, rsi
sub rax, r9
cmp rax, 2
jl 0x140066552
lea r14, [rsi - 1]
nop
mov eax, 0x92492493
imul dword [r8 + r9*4]
add edx, dword [r8 + r9*4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
add ebx, edx
mov eax, 0x92492493
imul dword [r8 + r9*4 + 4]
add edx, dword [r8 + r9*4 + 4]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
add edi, edx
add r9, 2
cmp r9, r14
jl 0x140066510
cmp r9, rsi
jge 0x14006656e
mov ecx, dword [r8 + r9*4]
mov eax, 0x92492493
imul ecx
lea r11d, [rcx + rdx]
sar r11d, 2
mov eax, r11d
shr eax, 0x1f
add r11d, eax
lea eax, [rbx + rdi]
add r11d, eax
movd xmm0, r11d
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1401380d0]
cvttsd2si edx, xmm0
lea ecx, [r10 - 1]
test ecx, ecx
js 0x1400665a2
movsxd rax, ecx
cmp dword [r8 + rax*4], edx
jg 0x1400665a2
dec ecx
sub rax, 1
jns 0x140066594
mov ebx, r13d
test r10d, r10d
jle 0x1400665bf
mov rax, r8
nop dword [rax]
cmp dword [rax], edx
jg 0x1400665bf
inc ebx
add rax, 4
cmp ebx, r10d
jl 0x1400665b0
mov r14d, ecx
sub r14d, ebx
inc r14d
movd xmm1, r14d
cvtdq2pd xmm1, xmm1
movd xmm0, r10d
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [str.333333]
comisd xmm0, xmm1
ja 0x140067410
mov r11d, r13d
test r10d, r10d
jle 0x14006664e
movsxd rdi, ebx
movsxd rsi, ecx
mov r9, r13
nop dword [rax]
cmp r9, rdi
jl 0x14006660a
cmp r9, rsi
jle 0x140066643
mov edx, r13d
mov r8, r13
cmp dword [rbp - 0x74], 0
jle 0x140066643
nop word [rax + rax]
mov rcx, r9
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
mov byte [rcx + r8], 0
inc edx
lea r8, [r8 + 1]
cmp edx, dword [rbp - 0x74]
jl 0x140066620
mov r10d, dword [rbp - 0x78]
inc r11d
inc r9
cmp r11d, r10d
jl 0x140066600
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], 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
mov r8d, dword [rbp - 0x74]
add r8d, 6
lea edx, [r10 + 6]
xor r9d, r9d
lea rcx, [rbp + 0x40]
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 qword [rsp + 0x30], xmm6
mov dword [rbp + 0x1a8], 0xc1020006
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x1b0], rcx
mov dword [rbp + 0x1b8], 1
mov dword [rbp + 0x1bc], 1
mov r8, rax
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x40]
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]
mov r11d, r13d
mov ecx, dword [rbp - 0x78]
test ecx, ecx
jle 0x140066739
mov r10, r13
mov eax, dword [rbp - 0x74]
mov r9d, r13d
mov r8, r13
test eax, eax
jle 0x14006672e
nop dword [rax]
mov rcx, r10
mov rax, qword [rbp - 0x38]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x70]
movzx edx, byte [rcx + r8]
lea rcx, [r10 + 3]
mov rax, qword [rbp + 0x88]
imul rcx, qword [rax]
add rcx, qword [rbp + 0x50]
mov byte [rcx + r8 + 3], dl
inc r9d
lea r8, [r8 + 1]
mov eax, dword [rbp - 0x74]
cmp r9d, eax
jl 0x1400666f0
mov ecx, dword [rbp - 0x78]
inc r11d
inc r10
cmp r11d, ecx
jl 0x1400666e3
lea rcx, [rbp + 0x40]
call fcn.14006ffd0
lea rcx, [rbp + 0x40]
call fcn.14006ffd0
lea rcx, [rbp + 0x40]
call fcn.14006ffd0
mov qword [rbp + 0x2e0], 0
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x2f0], 0
mov dword [rbp + 0x2f8], 0x2010000
mov dword [rbp + 0x2fc], 0x6050403
mov dword [rbp + 0x300], 0xa090807
mov dword [rbp + 0x304], 0xf0e0c0b
mov dword [rbp + 0x308], 0x16151311
mov dword [rbp + 0x30c], 0x1c1b1918
mov dword [rbp + 0x310], 0x22211f1e
mov dword [rbp + 0x314], 0x27262523
mov dword [rbp + 0x318], 0x2d2b2a28
mov dword [rbp + 0x31c], 0x31302f2e
mov dword [rbp + 0x320], 0x37353433
mov dword [rbp + 0x324], 0x3b3a3938
mov dword [rbp + 0x328], 0x403e3d3c
mov dword [rbp + 0x32c], 0x45434241
mov dword [rbp + 0x330], 0x49484746
mov dword [rbp + 0x334], 0x4e4d4c4a
mov dword [rbp + 0x338], 0x53525150
mov dword [rbp + 0x33c], 0x58575655
mov dword [rbp + 0x340], 0x5e5d5b5a
mov dword [rbp + 0x344], 0x64636160
mov dword [rbp + 0x348], 0x6a696766
mov dword [rbp + 0x34c], 0x716f6e6c
mov dword [rbp + 0x350], 0x79777573
mov dword [rbp + 0x354], 0x7f7e7c7a
mov dword [rbp + 0x358], 0x85848281
mov dword [rbp + 0x35c], 0x8b8a8887
mov dword [rbp + 0x360], 0x91908e8d
mov dword [rbp + 0x364], 0x97969493
mov dword [rbp + 0x368], 0x9d9c9a99
mov dword [rbp + 0x36c], 0xa3a1a09f
mov dword [rbp + 0x370], 0xa7a6a5a4
mov dword [rbp + 0x374], 0xacabaaa8
mov dword [rbp + 0x378], 0xb1b0aead
mov dword [rbp + 0x37c], 0xb6b4b3b2
mov dword [rbp + 0x380], 0xbab9b8b7
mov dword [rbp + 0x384], 0xc0bebdbc
mov dword [rbp + 0x388], 0xc4c3c2c1
mov dword [rbp + 0x38c], 0xc9c7c6c5
mov dword [rbp + 0x390], 0xcdcccbca
mov dword [rbp + 0x394], 0xd2d1cfce
mov dword [rbp + 0x398], 0xd6d5d4d3
mov dword [rbp + 0x39c], 0xdbdad9d8
mov dword [rbp + 0x3a0], 0xe0dfdedd
mov dword [rbp + 0x3a4], 0xe5e4e3e2
mov dword [rbp + 0x3a8], 0xe9e8e7e6
mov dword [rbp + 0x3ac], 0xecebebea
mov dword [rbp + 0x3b0], 0xf0efeeed
mov dword [rbp + 0x3b4], 0xf3f2f1f1
mov dword [rbp + 0x3b8], 0xf5f4f4f3
mov dword [rbp + 0x3bc], 0xf7f6f6f5
mov dword [rbp + 0x3c0], 0xf9f8f8f7
mov dword [rbp + 0x3c4], 0xfafafaf9
mov dword [rbp + 0x3c8], 0xfcfbfbfb
mov dword [rbp + 0x3cc], 0xfdfdfdfc
mov dword [rbp + 0x3d0], 0xfefefefd
mov qword [rbp + 0x3d4], 0xfffffffffffffffe
mov dword [rbp + 0x3dc], 0xffffffff
mov rdx, qword [rbp + 0x50]
cmp rdx, qword [rbp + 0x60]
je 0x1400669d6
nop word [rax + rax]
movzx eax, byte [rdx]
movzx ecx, byte [rbp + rax + 0x2e0]
mov byte [rdx], cl
inc rdx
cmp rdx, qword [rbp + 0x60]
jne 0x1400669c0
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
mov dword [rsp + 0x30], r13d
lea eax, [rbx + 3]
mov dword [rsp + 0x34], eax
mov eax, dword [rbp + 0x4c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], r14d
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xa0]
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 + 0xa8]
cvtdq2pd xmm0, xmm0
movsd xmm2, qword [0x140138158]
divsd xmm2, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movd xmm0, dword [rbp + 0xac]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm2
cvttsd2si r8d, xmm0
xor r9d, r9d
lea edx, [r9 + 0x14]
lea rcx, [rbp - 0x20]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xa0]
call fcn.14006f9c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
movsxd rsi, dword [rbp - 0x14]
lea rdi, [rsi + 0x1f]
shr rdi, 5
movdqu xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r13
test rdi, rdi
je 0x140066b1a
mov rdx, rdi
call fcn.14002bc80
mov qword [rbp + 0x1c0], rax
lea r8, [rdi*4]
lea rbx, [r8 + rax]
mov qword [rbp + 0x1d0], rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1c8], rbx
jmp 0x140066b21
cmp r9b, dl
cmovb r10d, r9d
cmp r8b, r9b
jbe 0x140066090
mov r9d, edx
cmp r8b, dl
cmova r9d, r8d
jmp 0x14006609d
mov rbx, qword [rbp + 0x1c8]
mov qword [rbp + 0x1d8], r13
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1400674ca
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
sub rax, rcx
sar rax, 2
cmp rdi, rax
jae 0x140066b63
lea rax, [rcx + rdi*4]
cmp rax, rbx
cmovne rbx, rax
mov qword [rbp + 0x1c8], rbx
mov qword [rbp + 0x1d8], rsi
and esi, 0x1f
jbe 0x140066b85
mov rdx, qword [rbp + 0x1c0]
mov ecx, esi
mov eax, 1
shl eax, cl
dec eax
and dword [rdx + rdi*4 - 4], eax
mov ebx, r13d
mov r8d, dword [rbp - 0x18]
cmp dword [rbp - 0x14], 0
jle 0x140066c60
mov r11, r13
nop dword [rax]
mov dil, 1
mov rdx, r13
mov rax, qword [rbp + 0x28]
mov r9, qword [rax]
mov rcx, qword [rbp - 0x10]
add rcx, r11
cmp byte [rcx], 0x41
ja 0x140066bc7
inc rdx
add rcx, r9
cmp rdx, 0xd
jle 0x140066bb4
jmp 0x140066bca
xor dil, dil
mov edx, r13d
cmp r8d, 0xe
jle 0x140066bf6
imul rcx, r9, 0xe
add rcx, qword [rbp - 0x10]
add rcx, r11
lea r10d, [r8 - 0xe]
lea eax, [rdx + 1]
cmp byte [rcx], 0x41
cmovbe eax, edx
mov edx, eax
add rcx, r9
sub r10, 1
jne 0x140066be2
test dil, dil
je 0x140066c52
cmp edx, 2
jl 0x140066c52
movsxd rax, ebx
mov r9, rax
shr r9, 5
mov r8, qword [rbp + 0x1c0]
and al, 0x1f
mov edx, 1
movzx ecx, al
shl edx, cl
or dword [r8 + r9*4], edx
mov edx, r13d
mov r9, r13
mov r8d, dword [rbp - 0x18]
test r8d, r8d
jle 0x140066c52
mov rcx, r9
mov rax, qword [rbp + 0x28]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x10]
mov byte [rcx + r11], 0
inc edx
inc r9
mov r8d, dword [rbp - 0x18]
cmp edx, r8d
jl 0x140066c30
inc ebx
inc r11
cmp ebx, dword [rbp - 0x14]
jl 0x140066ba0
mov r14d, r13d
cmp dword [rbp - 0x14], 0
jle 0x140066d11
mov rdi, r13
mov r11b, 1
mov r9d, r13d
test r8d, r8d
jle 0x140066cc9
mov rax, qword [rbp + 0x28]
mov rsi, qword [rax]
mov r10, qword [rbp - 0x10]
add r10, rdi
mov ebx, r8d
nop dword [rax]
mov ecx, r13d
movzx eax, r11b
cmp byte [r10], 0x82
cmovbe ecx, eax
movzx r11d, cl
lea eax, [r9 + 1]
cmp byte [r10], 0x5f
cmovbe eax, r9d
mov r9d, eax
add r10, rsi
sub rbx, 1
jne 0x140066c90
mov ecx, r13d
cmp eax, 2
cmovle ecx, r11d
cmp cl, 1
jne 0x140066d01
mov edx, r13d
mov r9, r13
test r8d, r8d
jle 0x140066d01
nop dword [rax]
nop dword [rax + rax]
mov rcx, r9
mov rax, qword [rbp + 0x28]
imul rcx, qword [rax]
add rcx, qword [rbp - 0x10]
mov byte [rcx + rdi], 0
inc edx
inc r9
mov r8d, dword [rbp - 0x18]
cmp edx, r8d
jl 0x140066ce0
inc r14d
inc rdi
cmp r14d, dword [rbp - 0x14]
jl 0x140066c70
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x178], xmm1
mov qword [rbp + 0x188], r13
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x20]
call fcn.14006edc0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], rax
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rsp + 0x58]
call fcn.140002230
nop
mov rdi, qword [rbp + 0x180]
sub rdi, qword [rbp + 0x178]
sar rdi, 4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r13
test rdi, rdi
je 0x140066e21
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x1400674be
mov rdx, rdi
lea rcx, [rbp + 0x1e0]
call fcn.14002eee0
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
mov rbx, qword [rbp + 0x1e0]
mov qword [rbp + 0x1a8], rbx
mov qword [rbp + 0x1b0], rbx
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x1b8], rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140008840
add rbx, 0x20
mov qword [rbp + 0x1b0], rbx
sub rdi, 1
jne 0x140066df1
mov rdx, rbx
mov rcx, rbx
call fcn.140009490
mov qword [rbp + 0x1e8], rbx
lea rcx, [rsp + 0x58]
call fcn.140002da0
mov esi, r13d
mov rax, qword [rbp + 0x180]
mov rdx, qword [rbp + 0x178]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x140066f33
mov r14, r13
mov r15, r13
movsd xmm6, qword [0x140138168]
mov r12, qword [rsp + 0x50]
nop
movups xmm0, xmmword [rdx + r15]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x20], xmm6
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.14006a470
mov rdi, rax
mov rbx, qword [rbp + 0x1e0]
add rbx, r14
cmp rbx, rax
je 0x140066efe
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140066ed2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140066ecd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400672db
mov rcx, r8
call fcn.1400b5f14
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
lea rcx, [rsp + 0x58]
call fcn.140002da0
inc esi
add r15, 0x10
add r14, 0x20
mov rcx, qword [rbp + 0x180]
mov rdx, qword [rbp + 0x178]
sub rcx, rdx
sar rcx, 4
movsxd rax, esi
cmp rax, rcx
jb 0x140066e60
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
mov qword [rbp + 0x170], r13
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x20]
call fcn.1400720a0
mov edi, r13d
mov r8, qword [rbp + 0x168]
mov rax, r8
mov rdx, qword [rbp + 0x160]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x140066fc5
mov rcx, r13
mov rbx, r13
nop dword [rax + rax]
mov rax, qword [rbp + 0x1e0]
cmp qword [rax + rbx + 0x10], 0
jne 0x140066fad
shl rcx, 4
add rdx, rcx
lea rcx, [rbp - 0x20]
call fcn.140071b70
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x160]
inc edi
add rbx, 0x20
mov rax, r8
sub rax, rdx
sar rax, 4
movsxd rcx, edi
cmp rcx, rax
jb 0x140066f80
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x20]
call fcn.14006edc0
mov r8, qword [rbp + 0x168]
mov rdi, r8
mov rcx, qword [rbp + 0x160]
sub rdi, rcx
sar rdi, 4
sub edi, 1
js 0x14006704a
movsxd rbx, edi
shl rbx, 4
mov rsi, rbx
nop dword [rax]
mov eax, dword [rcx + rbx + 8]
cmp eax, 5
jl 0x140067015
cmp dword [rcx + rbx + 0xc], 0xf
jl 0x140067015
cmp eax, 0x28
jle 0x14006703d
add rcx, rsi
lea rdx, [rcx + 0x10]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp + 0x168]
sub r8, 0x10
mov qword [rbp + 0x168], r8
mov rcx, qword [rbp + 0x160]
sub rsi, 0x10
sub rbx, 0x10
sub edi, 1
jns 0x140067000
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f8], xmm0
mov qword [rbp + 0x208], r13
mov qword [rbp + 0x210], r13
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x1f8]
call fcn.140002230
nop
mov r12d, r13d
mov rax, qword [rbp + 0x168]
mov rbx, qword [rbp + 0x160]
sub rax, rbx
sar rax, 4
test rax, rax
je 0x140067257
mov r14, r13
mov rsi, r13
test r12d, r12d
jle 0x140067149
mov eax, r13d
mov r10d, r13d
mov r13d, dword [rbx + rsi - 8]
mov ecx, dword [rbx + rsi - 0x10]
lea r11d, [rcx + r13]
mov edi, dword [rbx + rsi]
cmp r11d, edi
jge 0x140067116
mov r15, qword [rbp + 0x1c0]
xor r13d, r13d
nop
mov r8d, eax
movsxd rax, r11d
mov rdx, rax
shr rdx, 5
and al, 0x1f
mov r9d, 1
movzx ecx, al
shl r9d, cl
and r9d, dword [r15 + rdx*4]
lea eax, [r8 + 1]
cmove eax, r8d
cmp eax, r10d
cmovg r10d, eax
test r9d, r9d
cmove eax, r13d
inc r11d
cmp r11d, edi
jl 0x1400670d0
mov r13d, dword [rbx + rsi - 8]
mov ecx, dword [rbx + rsi - 0x10]
sub edi, r13d
sub edi, ecx
cmp r10d, 3
jl 0x140067146
cmp edi, 5
jl 0x140067146
mov r8d, 1
lea rdx, [0x1400c134c]
lea rcx, [rbp + 0x1f8]
call fcn.140008e10
mov rbx, qword [rbp + 0x160]
xor r13d, r13d
mov r9d, r13d
mov rdx, r13
mov r10, qword [rbp + 0x180]
mov r8, qword [rbp + 0x178]
sub r10, r8
sar r10, 4
test r10, r10
je 0x14006719c
mov r11, qword [rbp + 0x1e0]
mov rcx, r11
cmp qword [rcx + 0x10], 0
je 0x140067186
mov eax, dword [r8]
cmp dword [rbx + rsi], eax
je 0x1400672e2
inc r9d
inc rdx
add rcx, 0x20
add r8, 0x10
movsxd rax, r9d
cmp rax, r10
jb 0x140067173
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm0
movups xmmword [rbp + 0x2b0], xmm0
movups xmmword [rbp + 0x2c0], xmm0
movups xmmword [rbp + 0x2d0], xmm0
add r14, r14
lea r8, [rbx + r14*8]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x280]
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 + 0x280]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140064390
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140067207
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x1f8]
call fcn.140008e10
nop
lea rcx, [rsp + 0x58]
call fcn.140002da0
nop
lea rcx, [rbp + 0x280]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
inc r12d
add rsi, 0x10
mov rax, qword [rbp + 0x168]
mov rbx, qword [rbp + 0x160]
sub rax, rbx
sar rax, 4
movsxd r14, r12d
cmp r14, rax
jb 0x1400670a0
lea rax, [rbp + 0x1f8]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x14006728c
lea rdx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 0x10
cmovae rdx, qword [rbp + 0x1f8]
mov r8, qword [rbp + 0x208]
call fcn.140008cb0
nop
lea rcx, [rbp + 0x1f8]
call fcn.140002da0
nop
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x14006731f
mov rdx, qword [rbp + 0x170]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067308
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067308
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
shl rdx, 5
add rdx, r11
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400672f7
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1f8]
call fcn.140008e10
jmp 0x14006722f
call fcn.1400b5f14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r13
lea rcx, [rbp + 0x1e0]
call fcn.140008580
nop
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140067385
mov rdx, qword [rbp + 0x188]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006736e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006736e
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 + 0x178], xmm0
mov qword [rbp + 0x188], r13
mov rcx, qword [rbp + 0x1c0]
test rcx, rcx
je 0x1400673e6
mov rax, qword [rbp + 0x1d0]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400673cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400673cf
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 + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r13
lea rcx, [rbp - 0x20]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xa0]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov r8, qword [rbp + 0x190]
test r8, r8
je 0x14006746d
mov rax, qword [rbp + 0x1a0]
sub rax, r8
sar rax, 2
lea rdx, [rax*4]
mov rax, r8
cmp rdx, 0x1000
jb 0x140067453
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067453
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400b5f14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r13
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x220]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400b5c60
movaps xmm6, xmmword [rsp + 0x4f0]
add rsp, 0x508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140008ba0
nop
call fcn.140008ba0
nop
call fcn.140036d20
int3