Function at 0x140001f70
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x34], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], rax
xor edx, edx
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_enum_Json::ValueType____ptr64]
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x4a0]
call fcn.140007b84
lea r8d, [rsi + 0x20]
lea rdx, str.map.json
lea rcx, [rbp + 0x4a0]
call fcn.1400044f0
nop
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
cmp qword [rbp + 0x530], rsi
je 0x140003460
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::CharReaderBuilder::constructor_void____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], sil
lea r9, [rbp - 0x20]
lea r8, [rbp + 0xe8]
lea rdx, [rbp + 0x4a0]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_bool___cdecl_Json::parseFromStream_class_Json::CharReader::Factory_const____ptr64__class_std::basic_istream_char__struct_std::char_traits_char______ptr64__class_Json::Value____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64_]
test al, al
jne 0x140002124
lea rdx, str.Failed_to_parse_JSON:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005830
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, rax
call fcn.140006690
mov rcx, rax
lea rdx, [0x140005a00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140002102
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000218a
call fcn.14000718c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_public_virtual:_void___cdecl_Json::CharReaderBuilder::destructor_void____ptr64]
jmp 0x140003483
lea rcx, [rbp + 0x4b0]
call fcn.1400053a0
test rax, rax
jne 0x140002158
mov rax, qword [rbp + 0x4a0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x4a0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140002196
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002191
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000718c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_public_virtual:_void___cdecl_Json::CharReaderBuilder::destructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], 9
mov qword [rbp + 0x38], 0xf
movsd xmm0, qword [str.input.jpg]
movsd qword [rbp + 0x20], xmm0
movzx eax, byte [0x140009818]
mov byte [rbp + 0x28], al
mov byte [rbp + 0x29], 0
mov r8d, 1
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.opencv_world480.dll_class_cv::Mat___cdecl_cv::imread_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int_]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140002253
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000224e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000224e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000718c
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.opencv_world480.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x14000342b
movd xmm0, dword [rsp + 0x6c]
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm0
add ecx, 0x7f
and ecx, 0xffffff80
movd xmm0, dword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
add eax, 0x7f
and eax, 0xffffff80
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x40], 0x2010000
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rdx
mov qword [rbp + 0x10], rsi
mov dword [rbp], 0x1010000
lea rdx, [rsp + 0x60]
mov qword [rbp + 8], rdx
mov dword [rbp + 0x60], ecx
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x28], 1
xorps xmm3, xmm3
movsd qword [rsp + 0x20], xmm3
mov r8, qword [rbp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call qword [sym.imp.opencv_world480.dll_void___cdecl_cv::resize_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__class_cv::Size__int___double__double__int_]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov ecx, 0x48
call fcn.140006f10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov ecx, 0x28
call fcn.140006f10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x40], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x290]
call fcn.140007b84
mov r8d, 1
lea rdx, str.palette.txt
lea rcx, [rbp + 0x290]
call fcn.1400044f0
nop
cmp qword [rbp + 0x320], 0
je 0x140003391
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x290]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x290]
call fcn.140006850
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
lea rdi, [0x140000000]
test al, al
je 0x1400027dc
lea r14, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x140009998]
lea r13, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0x5b0]
call fcn.140007b84
lea rax, [rdi + 0x9a88]
mov qword [rbp + 0x5b0], rax
lea rcx, [rbp + 0x640]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 4
mov dword [rsp + 0x34], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x5b0], r14
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x5ac], edx
lea rax, [rbp + 0x5c0]
mov qword [rbp], rax
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp + 0x5c0], r15
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov r9d, 2
mov r8, qword [rbp + 0x50]
lea rcx, [rbp + 0x5c0]
call fcn.1400055d0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x5b0]
call fcn.140005a40
mov rcx, rax
lea rdx, [rbp + 0x20]
call fcn.140005a40
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400026b8
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140005d30
mov rdi, qword [rax]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x3a0]
call fcn.140007b84
lea rax, [0x140000000]
lea rax, [rax + 0x9a90]
mov qword [rbp + 0x3a0], rax
mov qword [rbp + 0x3b0], rbx
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 8
mov dword [rsp + 0x34], r12d
xor r8d, r8d
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x3a0], r13
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x3b8], r15
mov qword [rbp + 0x420], rsi
mov dword [rbp + 0x428], esi
lea rdx, [0x140001440]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
mov rcx, rax
call fcn.140006690
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64____ptr64]
mov ecx, dword [rbp + 0x68]
mov ebx, ecx
shr ebx, 0x10
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x30], cl
mov byte [rsp + 0x31], al
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x3a0], r13
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call fcn.140004ba0
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, word [rsp + 0x30]
mov word [rdi + 0x40], ax
mov byte [rdi + 0x42], bl
lea rbx, [0x140009998]
lea rdi, [0x140000000]
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x5b0], r14
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x5ac], edx
lea rcx, [rbp + 0x5c0]
call fcn.140004ba0
lea rcx, [rbp + 0x5c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x640]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140002745
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002740
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002849
call fcn.14000718c
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140002793
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000278e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002850
call fcn.14000718c
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x290]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x290]
call fcn.140006850
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140002410
lea rcx, [rbp + 0x2a0]
call fcn.1400053a0
test rax, rax
jne 0x140002810
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x290]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000285c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000718c
mov edi, esi
mov rbx, qword [rbp - 0x30]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], sil
jne 0x140002996
movabs r15, 0x666666666666666
nop dword [rax]
mov r14, qword [rbp - 0x40]
mov rax, qword [r14 + 8]
mov qword [rbp], rax
mov dword [rbp + 8], esi
mov rdx, r14
cmp byte [rax + 0x19], 0
jne 0x1400028c5
nop dword [rax + rax]
mov qword [rbp], rax
cmp dword [rax + 0x1c], edi
jge 0x1400028b2
mov dword [rbp + 8], esi
mov rax, qword [rax + 0x10]
jmp 0x1400028bf
mov dword [rbp + 8], 1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400028a0
cmp byte [rdx + 0x19], 0
jne 0x1400028d0
cmp edi, dword [rdx + 0x1c]
jge 0x140002931
cmp qword [rbp - 0x38], r15
je 0x14000358b
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov ecx, 0x28
call fcn.140006f10
nop
mov dword [rax + 0x1c], edi
mov word [rax + 0x20], 0
mov byte [rax + 0x22], 0
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [rbp]
movaps xmmword [rbp], xmm0
mov r8, rax
lea rdx, [rbp]
lea rcx, [rbp - 0x40]
call fcn.1400063d0
mov rdx, rax
movzx ecx, word [rbx + 0x40]
mov word [rdx + 0x20], cx
movzx ecx, byte [rbx + 0x42]
mov byte [rdx + 0x22], cl
inc edi
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14000296e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140002969
cmp rbx, qword [rax + 0x10]
jne 0x140002969
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140002956
mov rbx, rax
jmp 0x14000298c
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14000298c
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140002980
cmp byte [rbx + 0x19], 0
je 0x140002880
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rax
lea edx, [rax + 6]
lea rcx, [rbp + 0x130]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_enum_Json::ValueType____ptr64]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x158], xmm0
movups xmmword [rbp + 0x168], xmm0
mov qword [rbp + 0x178], rax
lea edx, [rax + 6]
lea rcx, [rbp + 0x158]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_enum_Json::ValueType____ptr64]
nop
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
movsxd r13, eax
xorps xmm0, xmm0
mov rdi, r13
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
test eax, eax
je 0x140002aa2
movabs rax, 0xfffffffffffffff
cmp r13, rax
ja 0x140003585
mov rbx, r13
shl rbx, 4
cmp rbx, 0x1000
jb 0x140002a64
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000357f
call fcn.140006f10
mov rcx, rax
test rax, rax
je 0x140002a5d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
add rbx, rax
mov rcx, rax
jmp 0x140002a82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140002a79
mov rcx, rbx
call fcn.140006f10
mov rcx, rax
add rbx, rax
jmp 0x140002a82
mov rax, rsi
mov rcx, rsi
add rbx, rsi
mov rdx, rbx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rbx
shl rdi, 4
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140007b84
mov qword [rbp - 0x18], rbx
call qword [sym.imp.opencv_world480.dll_long_long___int64____cdecl_cv::getTickCount_void_]
mov r14, rax
mov qword [rbp + 0x68], rax
mov edi, esi
test r13d, r13d
jle 0x140002ba3
lea ecx, [r13 - 1]
mov r14, rsi
mov ebx, dword [rsp + 0x68]
mov eax, ebx
cdq
idiv r13d
mov r15d, eax
imul r15d, edi
cmp edi, ecx
je 0x140002adc
lea ebx, [rdi + 1]
imul ebx, eax
inc edi
mov ecx, 0x40
call fcn.140006f10
lea rcx, [rbp + 0x158]
mov qword [rax], rcx
lea rcx, [rbp + 0x130]
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ebx
mov dword [rax + 0x18], r15d
lea rcx, [rbp - 0x40]
mov qword [rax + 0x20], rcx
lea rcx, [rbp - 0x30]
mov qword [rax + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rax + 0x30], rcx
lea rcx, [0x140001750]
mov qword [rax + 0x38], rcx
or r12d, 2
mov qword [rbp], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140006ca0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140002f8e
mov rax, qword [rbp - 0x20]
cmp dword [r14 + rax + 8], 0
jne 0x140002f87
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [r14 + rax], xmm1
cmp dword [rsp + 0x48], 0
jne 0x140002f87
add r14, 0x10
cmp edi, r13d
lea ecx, [r13 - 1]
jl 0x140002ac1
mov r14, qword [rbp + 0x68]
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
cmp rbx, rdi
je 0x140002bf5
cmp dword [rbx + 8], 0
je 0x140002fb6
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x140002faa
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140002f9e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140002bb0
lea rdx, str.tileAmounts
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x130]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator_class_Json::Value____ptr64____ptr64]
lea rdx, str.tileArray
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x158]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator_class_Json::Value____ptr64____ptr64]
lea rdx, str.tileMap
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x130]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator_class_Json::Value____ptr64____ptr64]
mov eax, dword [rsp + 0x6c]
cdq
and edx, 0x3f
add edx, eax
sar edx, 6
lea rcx, [rbp + 0x70]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_int____ptr64]
nop
lea rdx, str.width
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x70]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator_class_Json::Value____ptr64____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
mov eax, dword [rsp + 0x68]
cdq
and edx, 0x3f
add edx, eax
sar edx, 6
lea rcx, [rbp + 0x70]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_int____ptr64]
nop
lea rdx, str.height
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x70]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator_class_Json::Value____ptr64____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::FastWriter::constructor_void____ptr64]
nop
lea r8, [rbp + 0xe8]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_public_virtual:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Json::FastWriter::write_class_Json::Value_const____ptr64____ptr64]
nop
call qword [sym.imp.opencv_world480.dll_long_long___int64____cdecl_cv::getTickCount_void_]
mov rbx, rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x98]
call fcn.140001ce0
nop
call qword [sym.imp.opencv_world480.dll_long_long___int64____cdecl_cv::getTickCount_void_]
sub rax, rbx
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
call qword [sym.imp.opencv_world480.dll_double___cdecl_cv::getTickFrequency_void_]
divsd xmm6, xmm0
lea rdx, str.Compression_took
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005830
mov rcx, rax
movaps xmm1, xmm6
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._seconds.
call fcn.140005830
mov rcx, rax
lea rdx, [0x140005a00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x180]
call fcn.140007b84
lea rax, [0x140000000]
lea rax, [rax + 0x99c8]
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 1
mov dword [rsp + 0x34], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x180], rbx
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x188]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x188], rdi
mov byte [rbp + 0x204], 0
mov byte [rbp + 0x1f9], 0
lea rcx, [rbp + 0x188]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x208], rsi
mov rax, qword [0x14000ece0]
mov qword [rbp + 0x1fc], rax
mov qword [rbp + 0x1f0], rsi
mov r8d, 0x22
lea rdx, str.map.wbox
lea rcx, [rbp + 0x188]
call fcn.140005460
test rax, rax
jne 0x140002ea9
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x180]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 0xf
cmova rdx, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa8]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rbp + 0x10], rsi
mov dword [rbp], 0x1010000
lea rax, [rsp + 0x60]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], 0xa
mov qword [rbp + 0x58], 0xf
movsd xmm0, qword [str.output.png]
movsd qword [rbp + 0x40], xmm0
movzx eax, word [0x1400098c0]
mov word [rbp + 0x48], ax
mov byte [rbp + 0x4a], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
lea r8, [rsp + 0x40]
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world480.dll_bool___cdecl_cv::imwrite_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_cv::_InputArray_const____ptr64__class_std::vector_int__class_std::allocator_int___const____ptr64_]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140002fd5
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.14000718c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140003013
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000300e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000300e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000718c
call qword [sym.imp.opencv_world480.dll_long_long___int64____cdecl_cv::getTickCount_void_]
sub rax, r14
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
call qword [sym.imp.opencv_world480.dll_double___cdecl_cv::getTickFrequency_void_]
divsd xmm6, xmm0
lea rdx, str.Total_processing_time:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005830
mov rcx, rax
movaps xmm1, xmm6
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._seconds.
call fcn.140005830
mov rcx, rax
lea rdx, [0x140005a00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x180], rbx
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x17c], edx
mov qword [rbp + 0x188], rdi
cmp qword [rbp + 0x208], 0
je 0x1400030e2
mov rax, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1f8]
cmp qword [rax], rcx
jne 0x1400030e2
mov rdx, qword [rbp + 0x218]
mov rcx, qword [rbp + 0x210]
mov qword [rax], rcx
mov rax, qword [rbp + 0x1c0]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x1d8]
mov dword [rax], edx
cmp byte [rbp + 0x204], 0
je 0x1400030f7
lea rcx, [rbp + 0x188]
call fcn.1400053a0
lea rcx, [rbp + 0x188]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x140003164
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000315f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000315f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000718c
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x1400031c1
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000718c
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14000321e
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003219
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003219
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000718c
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], 0xf
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.jsoncpp.dll_public_virtual:_void___cdecl_Json::Writer::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.140005220
nop
lea rcx, [rbp + 0x158]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x130]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x290], r14
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x28c], edx
mov qword [rbp + 0x2a0], rdi
cmp qword [rbp + 0x320], 0
je 0x1400032e7
mov rax, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x310]
cmp qword [rax], rcx
jne 0x1400032e7
mov rdx, qword [rbp + 0x330]
mov rcx, qword [rbp + 0x328]
mov qword [rax], rcx
mov rax, qword [rbp + 0x2d8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x2f0]
mov dword [rax], edx
cmp byte [rbp + 0x31c], 0
je 0x1400032fc
lea rcx, [rbp + 0x2a0]
call fcn.1400053a0
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x2a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x340]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x40]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14000335e
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140006c30
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.14000718c
cmp byte [rbx + 0x19], 0
je 0x140003333
mov rcx, qword [rbp - 0x40]
mov edx, 0x28
call fcn.14000718c
nop
mov r8, qword [rbp - 0x30]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140006b70
mov edx, 0x48
mov rcx, qword [rbp - 0x30]
call fcn.14000718c
jmp 0x140003453
lea rdx, str.Failed_to_open_the_palette_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005830
mov rcx, rax
lea rdx, [0x140005a00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x290]
call fcn.1400035a0
nop
mov rcx, qword [rbp - 0x40]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x1400033fb
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140006c30
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.14000718c
cmp byte [rbx + 0x19], 0
je 0x1400033d0
mov rcx, qword [rbp - 0x40]
mov edx, 0x28
call fcn.14000718c
nop
mov r8, qword [rbp - 0x30]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140006b70
mov edx, 0x48
mov rcx, qword [rbp - 0x30]
call fcn.14000718c
jmp 0x14000344e
lea rdx, str.Failed_to_load_image.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005830
mov rcx, rax
lea rdx, [0x140005a00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov esi, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
jmp 0x140003488
lea rdx, str.Failed_to_open_map.json_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005830
mov rcx, rax
lea rdx, [0x140005a00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov esi, 1
mov rax, qword [rbp + 0x4a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x4a0], r14
mov rax, qword [rbp + 0x4a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x49c], edx
mov qword [rbp + 0x4b0], rdi
cmp qword [rbp + 0x530], 0
je 0x1400034fd
mov rax, qword [rbp + 0x4c8]
lea rcx, [rbp + 0x520]
cmp qword [rax], rcx
jne 0x1400034fd
mov rdx, qword [rbp + 0x540]
mov rcx, qword [rbp + 0x538]
mov qword [rax], rcx
mov rax, qword [rbp + 0x4e8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x500]
mov dword [rax], edx
cmp byte [rbp + 0x52c], 0
je 0x140003512
lea rcx, [rbp + 0x4b0]
call fcn.1400053a0
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x4b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x550]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xe8]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
mov eax, esi
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.140006dd0
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140006670
nop
call fcn.140001460
int3