Function at 0x1400674d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x418]
sub rsp, 0x518
movaps xmmword [rsp + 0x500], xmm6
mov rax, qword [0x14014c010]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov qword [rbp - 0x78], r9
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x60], rcx
xor r13d, r13d
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, r9
call fcn.140008cb0
mov r8d, dword [rbx]
test r8d, r8d
js 0x140068d11
mov ecx, dword [rbx + 4]
test ecx, ecx
js 0x140068d11
mov eax, dword [rbx + 8]
test eax, eax
jle 0x140068d11
mov edx, dword [rbx + 0xc]
test edx, edx
jle 0x140068d11
add eax, r8d
cmp eax, dword [rsi + 0xc]
jg 0x140068d11
lea eax, [rdx + rcx]
cmp eax, dword [rsi + 8]
jg 0x140068d11
xorps xmm0, 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
movups xmmword [rbp + 0x160], xmm0
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x110]
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 + 0x230], 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
xor r9d, r9d
mov r8d, dword [rbp + 0x11c]
mov edx, dword [rbp + 0x118]
lea rcx, [rbp + 0x230]
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 + 0x48], xmm6
mov dword [rbp + 0x1b8], 0xc1020006
lea rcx, [rsp + 0x48]
mov qword [rbp + 0x1c0], rcx
mov dword [rbp + 0x1c8], 1
mov dword [rbp + 0x1cc], 1
mov r8, rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x230]
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 0x14006772a
mov r12d, r13d
nop
mov r11d, r13d
mov rdi, r13
cmp dword [rbx + 8], r13d
jle 0x140067718
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 0x1400682dc
cmp r8b, dl
cmovb r10d, r8d
mov ecx, edx
cmp r9b, dl
cmova ecx, r9d
movzx r9d, cl
test r9b, r9b
je 0x140067708
movzx r8d, r9b
movzx eax, r10b
mov ecx, r8d
sub ecx, eax
imul eax, ecx, 0xff
cdq
idiv r8d
cmp al, 0x3c
jae 0x1400676e3
cmp r9b, 0x96
ja 0x1400676e9
cmp r9b, 0xc8
jbe 0x140067708
inc r14d
mov rcx, r12
mov rax, qword [rbp + 0x278]
imul rcx, qword [rax]
add rcx, rdi
mov rax, qword [rbp + 0x240]
mov byte [rcx + rax], 0x64
inc r11d
inc rdi
cmp r11d, dword [rbx + 8]
jl 0x140067670
inc r15d
inc r12
mov eax, dword [rbx + 0xc]
cmp r15d, eax
jl 0x140067660
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 0x140068cf6
lea rcx, [rbp + 0x230]
call fcn.140072f30
mov edi, r13d
mov r14d, r13d
mov r15d, r13d
mov r11d, r13d
mov r12d, r13d
movsxd rax, dword [rbx + 0xc]
test rax, rax
jle 0x140068cf6
movsxd rax, dword [rbx + 8]
movsxd rcx, dword [rbx + 0xc]
nop
xor r9d, r9d
test rax, rax
jle 0x140067800
mov r8, r13
mov rcx, qword [rbp + 0x278]
imul r8, qword [rcx]
add r8, qword [rbp + 0x240]
mov r10, rax
cmp byte [r8], 0
ja 0x1400677ec
mov ecx, dword [rbx + 4]
add ecx, r12d
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 edi, eax
movzx eax, byte [rcx + 1]
add r14d, eax
movzx eax, byte [rcx + 2]
add r15d, eax
inc r11d
inc r9d
inc r8
sub r10, 1
jne 0x1400677b0
movsxd rax, dword [rbx + 8]
movsxd rcx, dword [rbx + 0xc]
inc r12d
inc r13
cmp r13, rcx
jl 0x140067790
test r11d, r11d
jle 0x140068cf6
mov eax, edi
cdq
idiv r11d
mov dword [rsp + 0x3c], eax
mov eax, r14d
cdq
idiv r11d
mov dword [rsp + 0x38], eax
mov eax, r15d
cdq
idiv r11d
mov dword [rsp + 0x30], eax
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
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x10]
call fcn.1400707d0
nop
xor r8d, r8d
mov r15d, r8d
mov dword [rsp + 0x34], r8d
cmp dword [rbx + 0xc], r8d
jle 0x1400679f7
mov esi, r8d
lea edi, [r8 + 2]
nop dword [rax]
mov r13d, r8d
mov r12, r8
cmp dword [rbx + 8], 0
jle 0x1400679de
mov r14, r8
nop dword [rax]
nop word [rax + rax]
mov r9, rsi
mov rax, qword [rbp + 0x38]
imul r9, qword [rax]
add r9, r12
mov rax, qword [rbp]
lea rdx, [rax + r9*2]
movzx ecx, byte [r9 + rdx]
sub ecx, dword [rsp + 0x30]
movzx r11d, byte [r9 + rdx + 2]
sub r11d, dword [rsp + 0x3c]
movzx r10d, byte [r9 + rdx + 1]
sub r10d, dword [rsp + 0x38]
movzx eax, cl
test ecx, ecx
cmovns r8d, eax
mov byte [r9 + rdx], r8b
lea rcx, [rdi - 1]
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r14
mov rax, qword [rbp]
mov byte [rcx + rax], r8b
mov rcx, rdi
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r14
mov rax, qword [rbp]
mov byte [rcx + rax], r8b
xor r9d, r9d
mov r8d, r9d
movzx eax, r10b
test r10d, r10d
cmovns r8d, eax
mov rdx, rsi
mov rax, qword [rbp + 0x38]
imul rdx, qword [rax]
add rdx, r12
mov rax, qword [rbp]
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, r14
mov rax, qword [rbp]
mov byte [rcx + rax + 1], r8b
mov rcx, rdi
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r14
mov rax, qword [rbp]
mov byte [rcx + rax + 1], r8b
mov r8d, r9d
movzx eax, r11b
test r11d, r11d
cmovns r8d, eax
mov rdx, rsi
mov rax, qword [rbp + 0x38]
imul rdx, qword [rax]
add rdx, r12
mov rax, qword [rbp]
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, r14
mov rax, qword [rbp]
mov byte [rcx + rax + 2], r8b
mov rcx, rdi
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r14
mov rax, qword [rbp]
mov byte [rcx + rax + 2], r8b
inc r13d
inc r12
add r14, 3
cmp r13d, dword [rbx + 8]
mov r8d, r9d
jl 0x1400678a0
mov r15d, dword [rsp + 0x34]
inc r15d
mov dword [rsp + 0x34], r15d
inc rsi
add rdi, 3
cmp r15d, dword [rbx + 0xc]
jl 0x140067880
xorps xmm0, xmm0
movsxd r10, dword [rbp - 8]
mov rbx, r10
movdqu xmmword [rbp + 0x1a0], xmm0
xor r15d, r15d
mov qword [rbp + 0x1b0], r15
test r10d, r10d
je 0x140067a62
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x140068d42
mov rdx, rbx
call fcn.14002bc80
mov qword [rbp + 0x1a0], rax
lea r8, [rbx*4]
lea rdi, [rax + r8]
mov qword [rbp + 0x1b0], rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1a8], rdi
mov r10d, dword [rbp - 8]
mov r11d, r15d
test r10d, r10d
jle 0x140067af9
mov rdx, r15
mov rax, qword [rbp + 0x1a0]
mov dword [rax + rdx*4], r15d
mov r9d, r15d
mov r10, r15
cmp dword [rbp - 4], r15d
jle 0x140067ae6
nop dword [rax + rax]
mov rcx, rdx
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r10
mov rax, qword [rbp]
movzx r8d, byte [rcx + rax]
cmp r8b, 0x64
jb 0x140067ab8
mov rcx, qword [rbp + 0x1a0]
add dword [rcx + rdx*4], r8d
cmp r8b, 0x82
jb 0x140067ac9
mov rax, qword [rbp + 0x1a0]
add dword [rax + rdx*4], 0x14
cmp r8b, 0xb4
jb 0x140067ada
mov rax, qword [rbp + 0x1a0]
add dword [rax + rdx*4], 0x32
inc r9d
inc r10
cmp r9d, dword [rbp - 4]
jl 0x140067a90
inc r11d
inc rdx
mov r10d, dword [rbp - 8]
cmp r11d, r10d
jl 0x140067a71
mov ebx, r15d
mov edi, r15d
mov r11d, r15d
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 + 0x1a0]
cmp r9, rsi
jge 0x140067ba4
mov rax, rsi
sub rax, r9
cmp rax, 2
jl 0x140067b82
lea r14, [rsi - 1]
nop word [rax + rax]
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 0x140067b40
cmp r9, rsi
jge 0x140067b9e
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 0x140067bd2
movsxd rax, ecx
cmp dword [r8 + rax*4], edx
jg 0x140067bd2
dec ecx
sub rax, 1
jns 0x140067bc4
mov ebx, r15d
test r10d, r10d
jle 0x140067bef
mov rax, r8
nop dword [rax]
cmp dword [rax], edx
jg 0x140067bef
inc ebx
add rax, 4
cmp ebx, r10d
jl 0x140067be0
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 0x140068c8e
mov r11d, r15d
test r10d, r10d
jle 0x140067c7f
movsxd rdi, ebx
movsxd rsi, ecx
mov r9, r15
nop dword [rax]
cmp r9, rdi
jl 0x140067c3a
cmp r9, rsi
jle 0x140067c74
mov edx, r15d
mov r8, r15
cmp dword [rbp - 4], r15d
jle 0x140067c74
nop word [rax + rax]
mov rcx, r9
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r8
mov rax, qword [rbp]
mov byte [rcx + rax], 0
inc edx
inc r8
cmp edx, dword [rbp - 4]
jl 0x140067c50
mov r10d, dword [rbp - 8]
inc r11d
inc r9
cmp r11d, r10d
jl 0x140067c30
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
mov r8d, dword [rbp - 4]
add r8d, 6
lea edx, [r10 + 6]
xor r9d, r9d
lea rcx, [rbp + 0x50]
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 + 0x48], xmm6
mov dword [rbp + 0x1b8], 0xc1020006
lea rcx, [rsp + 0x48]
mov qword [rbp + 0x1c0], rcx
mov dword [rbp + 0x1c8], 1
mov dword [rbp + 0x1cc], 1
mov r8, rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x50]
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, r15d
mov ecx, dword [rbp - 8]
test ecx, ecx
jle 0x140067d7c
mov r10, r15
mov eax, dword [rbp - 4]
nop word [rax + rax]
mov r9d, r15d
mov r8, r15
test eax, eax
jle 0x140067d71
nop word [rax + rax]
mov rcx, r10
mov rax, qword [rbp + 0x38]
imul rcx, qword [rax]
add rcx, r8
mov rax, qword [rbp]
movzx edx, byte [rcx + rax]
lea rcx, [r10 + 3]
mov rax, qword [rbp + 0x98]
imul rcx, qword [rax]
add rcx, r8
mov rax, qword [rbp + 0x60]
mov byte [rcx + rax + 3], dl
inc r9d
inc r8
mov eax, dword [rbp - 4]
cmp r9d, eax
jl 0x140067d30
mov ecx, dword [rbp - 8]
inc r11d
inc r10
cmp r11d, ecx
jl 0x140067d20
lea rcx, [rbp + 0x50]
call fcn.14006ffd0
lea rcx, [rbp + 0x50]
call fcn.14006ffd0
lea rcx, [rbp + 0x50]
call fcn.14006ffd0
mov qword [rbp + 0x2f0], 0
mov qword [rbp + 0x2f8], 0
mov qword [rbp + 0x300], 0
mov dword [rbp + 0x308], 0x2010000
mov dword [rbp + 0x30c], 0x6050403
mov dword [rbp + 0x310], 0xa090807
mov dword [rbp + 0x314], 0xf0e0c0b
mov dword [rbp + 0x318], 0x16151311
mov dword [rbp + 0x31c], 0x1c1b1918
mov dword [rbp + 0x320], 0x22211f1e
mov dword [rbp + 0x324], 0x27262523
mov dword [rbp + 0x328], 0x2d2b2a28
mov dword [rbp + 0x32c], 0x31302f2e
mov dword [rbp + 0x330], 0x37353433
mov dword [rbp + 0x334], 0x3b3a3938
mov dword [rbp + 0x338], 0x403e3d3c
mov dword [rbp + 0x33c], 0x45434241
mov dword [rbp + 0x340], 0x49484746
mov dword [rbp + 0x344], 0x4e4d4c4a
mov dword [rbp + 0x348], 0x53525150
mov dword [rbp + 0x34c], 0x58575655
mov dword [rbp + 0x350], 0x5e5d5b5a
mov dword [rbp + 0x354], 0x64636160
mov dword [rbp + 0x358], 0x6a696766
mov dword [rbp + 0x35c], 0x716f6e6c
mov dword [rbp + 0x360], 0x79777573
mov dword [rbp + 0x364], 0x7f7e7c7a
mov dword [rbp + 0x368], 0x85848281
mov dword [rbp + 0x36c], 0x8b8a8887
mov dword [rbp + 0x370], 0x91908e8d
mov dword [rbp + 0x374], 0x97969493
mov dword [rbp + 0x378], 0x9d9c9a99
mov dword [rbp + 0x37c], 0xa3a1a09f
mov dword [rbp + 0x380], 0xa7a6a5a4
mov dword [rbp + 0x384], 0xacabaaa8
mov dword [rbp + 0x388], 0xb1b0aead
mov dword [rbp + 0x38c], 0xb6b4b3b2
mov dword [rbp + 0x390], 0xbab9b8b7
mov dword [rbp + 0x394], 0xc0bebdbc
mov dword [rbp + 0x398], 0xc4c3c2c1
mov dword [rbp + 0x39c], 0xc9c7c6c5
mov dword [rbp + 0x3a0], 0xcdcccbca
mov dword [rbp + 0x3a4], 0xd2d1cfce
mov dword [rbp + 0x3a8], 0xd6d5d4d3
mov dword [rbp + 0x3ac], 0xdbdad9d8
mov dword [rbp + 0x3b0], 0xe0dfdedd
mov dword [rbp + 0x3b4], 0xe5e4e3e2
mov dword [rbp + 0x3b8], 0xe9e8e7e6
mov dword [rbp + 0x3bc], 0xecebebea
mov dword [rbp + 0x3c0], 0xf0efeeed
mov dword [rbp + 0x3c4], 0xf3f2f1f1
mov dword [rbp + 0x3c8], 0xf5f4f4f3
mov dword [rbp + 0x3cc], 0xf7f6f6f5
mov dword [rbp + 0x3d0], 0xf9f8f8f7
mov dword [rbp + 0x3d4], 0xfafafaf9
mov dword [rbp + 0x3d8], 0xfcfbfbfb
mov dword [rbp + 0x3dc], 0xfdfdfdfc
mov dword [rbp + 0x3e0], 0xfefefefd
mov qword [rbp + 0x3e4], 0xfffffffffffffffe
mov dword [rbp + 0x3ec], 0xffffffff
mov rdx, qword [rbp + 0x60]
cmp rdx, qword [rbp + 0x70]
je 0x140068016
nop dword [rax]
movzx eax, byte [rdx]
movzx ecx, byte [rbp + rax + 0x2f0]
mov byte [rdx], cl
inc rdx
cmp rdx, qword [rbp + 0x70]
jne 0x140068000
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 + 0x50], r15d
lea eax, [rbx + 3]
mov dword [rsp + 0x54], eax
mov eax, dword [rbp + 0x5c]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], r14d
lea r8, [rsp + 0x50]
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
mov r10d, 0xffffffff
mov dword [rsp + 0x40], r10d
mov r9d, 0x7fffffff
mov dword [rsp + 0x38], r9d
mov ebx, r10d
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], r15d
mov r13, qword [rsp + 0x60]
mov r8, qword [r13 + 0x68]
mov rcx, qword [r13 + 0x70]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov rcx, rdx
sar rcx, 4
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov qword [rsp + 0x50], rcx
mov r14, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x60]
je 0x1400682fb
lea r13, [r8 + 0x48]
nop dword [rax]
nop word [rax + rax]
mov r12d, dword [r13 - 0x3c]
mov r8d, dword [rbp - 0x64]
sub r8d, r12d
mov dword [rsp + 0x3c], r8d
js 0x140068253
movsxd r11, r8d
mov qword [rsp + 0x48], r11
nop
xor ecx, ecx
mov ebx, ecx
mov edi, ecx
mov eax, dword [r13 - 0x40]
test eax, eax
jle 0x1400681f4
mov r15d, eax
mov r9, rcx
test r12d, r12d
jle 0x1400681d7
mov rax, qword [r13]
mov r10, rdi
imul r10, qword [rax]
add r10, qword [r13 - 0x38]
mov r8, rdi
imul r8, qword [r14]
add r8, r11
add r8, rsi
mov r11, r12
nop dword [rax + rax]
movzx eax, byte [r9 + r10]
movzx ecx, byte [r8]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebx, eax
lea r9, [r9 + 1]
lea r8, [r8 + 1]
sub r11, 1
jne 0x1400681b0
mov r11, qword [rsp + 0x48]
xor ecx, ecx
inc rdi
sub r15, 1
jne 0x140068181
mov r8d, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x30]
mov eax, ebx
cdq
idiv dword [r13 - 0x40]
cdq
idiv r12d
mov ebx, r8d
cmp eax, r9d
cmovge ebx, dword [rsp + 0x34]
mov dword [rsp + 0x34], ebx
mov edx, eax
cmovge edx, r9d
mov ecx, r15d
cmovge ecx, r10d
mov r10d, ecx
mov dword [rsp + 0x40], ecx
dec r8d
mov dword [rsp + 0x3c], r8d
dec r11
mov qword [rsp + 0x48], r11
mov r9d, edx
mov dword [rsp + 0x38], edx
test r8d, r8d
jns 0x140068170
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x34], ebx
mov rcx, qword [rsp + 0x50]
inc r15d
mov dword [rsp + 0x30], r15d
add r13, 0x60
movsxd rax, r15d
cmp rax, rcx
jb 0x140068150
mov r13, qword [rsp + 0x60]
cmp r9d, 0xc
jg 0x1400682fb
movsxd rax, r10d
lea rcx, [rax + rax*2]
shl rcx, 5
add rcx, qword [r13 + 0x68]
mov ecx, dword [rcx + 0xc]
add ecx, ebx
movsxd r9, ecx
js 0x1400682fb
mov r8d, dword [rbp - 0x68]
xor r12d, r12d
nop word [rax + rax]
mov ecx, r12d
mov rdx, r12
test r8d, r8d
jle 0x1400682d4
nop dword [rax + rax]
mov rax, rdx
imul rax, qword [r14]
add rax, r9
mov byte [rax + rsi], r12b
inc ecx
inc rdx
mov r8d, dword [rbp - 0x68]
mov r14, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x60]
cmp ecx, r8d
jl 0x1400682b0
sub r9, 1
jns 0x1400682a0
jmp 0x140068302
cmp r9b, dl
cmovb r10d, r9d
cmp r8b, r9b
jbe 0x1400676b0
mov r9d, edx
cmp r8b, dl
cmova r9d, r8d
jmp 0x1400676bd
xor r12d, r12d
mov r8d, dword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
movsxd r15, dword [rbp - 0x64]
lea rdi, [r15 + 0x1f]
shr rdi, 5
movdqu xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r12
test rdi, rdi
je 0x14006836d
mov rdx, rdi
call fcn.14002bc80
mov qword [rbp + 0x1d0], rax
lea r8, [rdi*4]
lea rbx, [rax + r8]
mov qword [rbp + 0x1e0], rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1d8], rbx
mov r14, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x68]
jmp 0x140068374
mov rbx, qword [rbp + 0x1d8]
mov qword [rbp + 0x1e8], r12
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x140068d48
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
sub rax, rcx
sar rax, 2
cmp rdi, rax
jae 0x1400683b6
lea rax, [rcx + rdi*4]
cmp rax, rbx
cmovne rbx, rax
mov qword [rbp + 0x1d8], rbx
mov qword [rbp + 0x1e8], r15
and r15d, 0x1f
jbe 0x1400683e6
mov rdx, qword [rbp + 0x1d0]
mov ecx, r15d
mov eax, 1
shl eax, cl
dec eax
and dword [rdx + rdi*4 - 4], eax
mov r14, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x68]
xor r15d, r15d
mov ebx, r15d
cmp dword [rbp - 0x64], r15d
jle 0x1400684ca
mov r11d, r15d
nop dword [rax]
mov dil, 1
mov rcx, r15
mov r9, qword [r14]
lea rax, [r11 + rsi]
nop dword [rax]
cmp byte [rax], 0x41
ja 0x140068423
inc rcx
add rax, r9
cmp rcx, 0xd
jle 0x140068410
jmp 0x140068426
xor dil, dil
mov edx, r15d
cmp r8d, 0xe
jle 0x140068454
imul rcx, r9, 0xe
add rcx, r11
add rcx, rsi
lea r10d, [r8 - 0xe]
nop dword [rax]
lea eax, [rdx + 1]
cmp byte [rcx], 0x41
cmovbe eax, edx
mov edx, eax
add rcx, r9
sub r10, 1
jne 0x140068440
test dil, dil
je 0x1400684bc
cmp edx, 2
jl 0x1400684bc
movsxd rax, ebx
mov r9, rax
shr r9, 5
mov r8, qword [rbp + 0x1d0]
and al, 0x1f
mov edx, 1
movzx ecx, al
shl edx, cl
or dword [r8 + r9*4], edx
mov edx, r15d
mov r9, r15
mov r8d, dword [rbp - 0x68]
test r8d, r8d
jle 0x1400684b4
nop
mov rcx, r9
mov rax, qword [rbp - 0x28]
imul rcx, qword [rax]
add rcx, r11
mov rax, qword [rbp - 0x60]
mov byte [rcx + rax], r15b
inc edx
inc r9
mov r8d, dword [rbp - 0x68]
cmp edx, r8d
jl 0x140068490
mov rsi, qword [rbp - 0x60]
mov r14, qword [rbp - 0x28]
inc ebx
inc r11
cmp ebx, dword [rbp - 0x64]
jl 0x140068400
mov r12d, r15d
cmp dword [rbp - 0x64], r15d
jle 0x140068589
mov rdi, r15
nop word [rax + rax]
mov r11b, 1
mov r9d, r15d
test r8d, r8d
jle 0x14006853c
mov r15, qword [r14]
lea r10, [rdi + rsi]
mov ebx, r8d
xor r13d, r13d
nop dword [rax + 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, r15
sub rbx, 1
jne 0x140068500
xor r15d, r15d
mov ecx, r15d
cmp eax, 2
cmovle ecx, r11d
cmp cl, 1
jne 0x140068574
mov ecx, r15d
mov rdx, r15
test r8d, r8d
jle 0x140068574
nop word [rax + rax]
mov rax, rdx
imul rax, qword [r14]
add rax, rdi
mov byte [rax + rsi], 0
inc ecx
inc rdx
mov r8d, dword [rbp - 0x68]
mov r14, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x60]
cmp ecx, r8d
jl 0x140068550
inc r12d
inc rdi
cmp r12d, dword [rbp - 0x64]
jl 0x1400684e0
mov r13, qword [rsp + 0x60]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x188], xmm1
mov qword [rbp + 0x198], r15
lea rdx, [rbp + 0x188]
lea rcx, [rbp - 0x70]
call fcn.14006edc0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], rax
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rsp + 0x68]
call fcn.140002230
nop
mov rdi, qword [rbp + 0x190]
sub rdi, qword [rbp + 0x188]
sar rdi, 4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], r15
test rdi, rdi
je 0x1400686a0
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x140068d3c
mov rdx, rdi
lea rcx, [rbp + 0x1f0]
call fcn.14002eee0
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
mov rbx, qword [rbp + 0x1f0]
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0x1c0], rbx
lea rax, [rbp + 0x1f0]
mov qword [rbp + 0x1c8], rax
nop dword [rax]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140008840
add rbx, 0x20
mov qword [rbp + 0x1c0], rbx
sub rdi, 1
jne 0x140068670
mov rdx, rbx
mov rcx, rbx
call fcn.140009490
mov qword [rbp + 0x1f8], rbx
lea rcx, [rsp + 0x68]
call fcn.140002da0
mov esi, r15d
mov rax, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x188]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x1400687b6
mov r14, r15
movsd xmm6, qword [0x140138168]
nop word [rax + rax]
movups xmm0, xmmword [r15 + rdx]
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x20], xmm6
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.14006a470
mov rdi, rax
mov rbx, qword [rbp + 0x1f0]
add rbx, r14
cmp rbx, rax
je 0x14006877e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140068752
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14006874d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140068b59
mov rcx, r8
call fcn.1400b5f14
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], recv
mov byte [rbx], al
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], recv
mov byte [rdi], al
lea rcx, [rsp + 0x68]
call fcn.140002da0
inc esi
add r15, 0x10
add r14, 0x20
mov rcx, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x188]
sub rcx, rdx
sar rcx, 4
movsxd rax, esi
cmp rax, rcx
jb 0x1400686e0
xor r15d, r15d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
mov qword [rbp + 0x180], r15
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x70]
call fcn.1400720a0
mov edi, r15d
mov r8, qword [rbp + 0x178]
mov rax, r8
mov rdx, qword [rbp + 0x170]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x140068845
mov rcx, r15
mov rbx, r15
nop
mov rax, qword [rbp + 0x1f0]
cmp qword [rax + rbx + 0x10], 0
jne 0x14006882d
shl rcx, 4
add rdx, rcx
lea rcx, [rbp - 0x70]
call fcn.140071b70
mov r8, qword [rbp + 0x178]
mov rdx, qword [rbp + 0x170]
inc edi
add rbx, 0x20
mov rax, r8
sub rax, rdx
sar rax, 4
movsxd rcx, edi
cmp rcx, rax
jb 0x140068800
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x70]
call fcn.14006edc0
mov r8, qword [rbp + 0x178]
mov rdi, r8
mov rcx, qword [rbp + 0x170]
sub rdi, rcx
sar rdi, 4
sub edi, 1
js 0x1400688ca
movsxd rbx, edi
shl rbx, 4
mov rsi, rbx
nop dword [rax]
mov eax, dword [rbx + rcx + 8]
cmp eax, 5
jl 0x140068895
cmp dword [rbx + rcx + 0xc], 0xf
jl 0x140068895
cmp eax, 0x28
jle 0x1400688bd
add rcx, rsi
lea rdx, [rcx + 0x10]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp + 0x178]
sub r8, 0x10
mov qword [rbp + 0x178], r8
mov rcx, qword [rbp + 0x170]
sub rsi, 0x10
sub rbx, 0x10
sub edi, 1
jns 0x140068880
xorps xmm0, xmm0
movups xmmword [rbp + 0x208], xmm0
mov qword [rbp + 0x218], r15
mov qword [rbp + 0x220], r15
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x208]
call fcn.140002230
nop
mov r12d, r15d
mov rax, qword [rbp + 0x178]
mov rbx, qword [rbp + 0x170]
sub rax, rbx
sar rax, 4
test rax, rax
je 0x140068ad6
mov r14, r15
mov rsi, r15
test r12d, r12d
jle 0x1400689c8
mov ecx, r15d
mov r10d, r15d
mov r13d, dword [rsi + rbx - 8]
mov eax, dword [rsi + rbx - 0x10]
lea r11d, [rax + r13]
mov edi, dword [rsi + rbx]
cmp r11d, edi
jge 0x140068998
mov r15, qword [rbp + 0x1d0]
xor r13d, r13d
nop
mov r9d, ecx
movsxd rax, r11d
mov r8, rax
shr r8, 5
and al, 0x1f
mov edx, 1
movzx ecx, al
shl edx, cl
test dword [r15 + r8*4], edx
lea ecx, [r9 + 1]
cmove ecx, r9d
cmp ecx, r10d
cmovg r10d, ecx
test dword [r15 + r8*4], edx
cmove ecx, r13d
inc r11d
cmp r11d, edi
jl 0x140068950
mov r13d, dword [rsi + rbx - 8]
mov eax, dword [rsi + rbx - 0x10]
xor r15d, r15d
sub edi, eax
sub edi, r13d
cmp r10d, 3
jl 0x1400689c8
cmp edi, 5
jl 0x1400689c8
mov r8d, 1
lea rdx, [0x1400c134c]
lea rcx, [rbp + 0x208]
call fcn.140008e10
mov rbx, qword [rbp + 0x170]
mov r9d, r15d
mov rdx, r15
mov r10, qword [rbp + 0x190]
mov r8, qword [rbp + 0x188]
sub r10, r8
sar r10, 4
test r10, r10
je 0x140068a1b
mov r11, qword [rbp + 0x1f0]
mov rcx, r11
cmp qword [rcx + 0x10], 0
je 0x140068a05
mov eax, dword [r8]
cmp dword [rsi + rbx], eax
je 0x140068b60
inc r9d
inc rdx
add rcx, 0x20
add r8, 0x10
movsxd rax, r9d
cmp rax, r10
jb 0x1400689f2
xorps xmm0, 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
movups xmmword [rbp + 0x2e0], xmm0
add r14, r14
lea r8, [rbx + r14*8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x290]
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 + 0x290]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140064390
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140068a86
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x208]
call fcn.140008e10
nop
lea rcx, [rsp + 0x68]
call fcn.140002da0
nop
lea rcx, [rbp + 0x290]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
inc r12d
add rsi, 0x10
mov rax, qword [rbp + 0x178]
mov rbx, qword [rbp + 0x170]
sub rax, rbx
sar rax, 4
movsxd r14, r12d
cmp r14, rax
jb 0x140068920
lea rax, [rbp + 0x208]
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x140068b0a
lea rdx, [rbp + 0x208]
cmp qword [rbp + 0x220], 0x10
cmovae rdx, qword [rbp + 0x208]
mov r8, qword [rbp + 0x218]
call fcn.140008cb0
nop
lea rcx, [rbp + 0x208]
call fcn.140002da0
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x140068b9d
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068b86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068b86
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 0x140068b75
mov rdx, qword [rdx]
lea rcx, [rbp + 0x208]
call fcn.140008e10
jmp 0x140068aae
call fcn.1400b5f14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r15
lea rcx, [rbp + 0x1f0]
call fcn.140008580
nop
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x140068c03
mov rdx, qword [rbp + 0x198]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068bec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068bec
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 + 0x188], xmm0
mov qword [rbp + 0x198], r15
mov rcx, qword [rbp + 0x1d0]
test rcx, rcx
je 0x140068c64
mov rax, qword [rbp + 0x1e0]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068c4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068c4d
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 + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r15
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 r8, qword [rbp + 0x1a0]
test r8, r8
je 0x140068ceb
mov rax, qword [rbp + 0x1b0]
sub rax, r8
sar rax, 2
lea rdx, [rax*4]
mov rax, r8
cmp rdx, 0x1000
jb 0x140068cd1
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068cd1
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 + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x230]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x110]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400b5c60
movaps xmm6, xmmword [rsp + 0x500]
add rsp, 0x518
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