Function at 0x1001aaa0
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022434d
mov eax, dword fs:[0]
push eax
sub esp, 0x720
push esi
push edi
lea edi, [ebp - 0x72c]
mov ecx, 0x1c8
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10363590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, esp
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call sym.opencv_highgui249d.dll_public:_int___thiscall_cv::Mat::channels_void_const
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
je 0x1001ab1e
cmp dword [ebp - 0x54], 3
je 0x1001ab1e
cmp dword [ebp - 0x54], 4
jne 0x1001ab23
jmp 0x1001abea
push 0x10242a88
lea ecx, [ebp - 0xf4]
call fcn.10002991
mov byte [ebp - 4], 1
push 0x10242adc
lea ecx, [ebp - 0x110]
call fcn.10002991
mov byte [ebp - 4], 2
push str.channels__1__channels__3__channels__4
lea ecx, [ebp - 0x12c]
call fcn.10002991
mov byte [ebp - 4], 3
push 0x19b
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x12c]
push eax
push 0xffffff29
lea ecx, [ebp - 0xd8]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x6d8], eax
mov ecx, dword [ebp - 0x6d8]
mov dword [ebp - 0x6dc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x6dc]
push edx
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.1000321f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.1000321f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.1000321f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.10019880
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.100017da
movzx edx, al
test edx, edx
je 0x1001acdb
push 0x10242af0
lea ecx, [ebp - 0x1dc]
call fcn.10002991
mov byte [ebp - 4], 6
push 0x10242b44
lea ecx, [ebp - 0x1f8]
call fcn.10002991
mov byte [ebp - 4], 7
push str.could_not_find_encoder_for_the_specified_extension
lea ecx, [ebp - 0x214]
call fcn.10002991
mov byte [ebp - 4], 8
push 0x19f
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1f8]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0xfffffffffffffffe
lea ecx, [ebp - 0x1c0]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x6e0], eax
mov eax, dword [ebp - 0x6e0]
mov dword [ebp - 0x6e4], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6e4]
push ecx
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c0]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x214]
call fcn.1000321f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1f8]
call fcn.1000321f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1dc]
call fcn.1000321f
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x6e8], eax
lea ecx, [ebp - 0x4c]
call sym.opencv_highgui249d.dll_public:_int___thiscall_cv::Mat::depth_void_const
mov esi, esp
push eax
mov edx, dword [ebp - 0x6e8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6e8]
mov edx, dword [eax + 4]
call edx
cmp esi, esp
call fcn.101b9ab0
movzx eax, al
test eax, eax
jne 0x1001ae8e
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x6ec], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x6ec]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x6ec]
mov eax, dword [edx + 4]
call eax
cmp esi, esp
call fcn.101b9ab0
movzx ecx, al
test ecx, ecx
je 0x1001ad57
jmp 0x1001ae1e
push 0x10242b60
lea ecx, [ebp - 0x2b4]
call fcn.10002991
mov byte [ebp - 4], 0xa
push 0x10242bb4
lea ecx, [ebp - 0x2d0]
call fcn.10002991
mov byte [ebp - 4], 0xb
push str.encoder__isFormatSupported_CV_8U_
lea ecx, [ebp - 0x2ec]
call fcn.10002991
mov byte [ebp - 4], 0xc
push 0x1a3
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2ec]
push ecx
push 0xffffff29
lea ecx, [ebp - 0x298]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x6f0], eax
mov edx, dword [ebp - 0x6f0]
mov dword [ebp - 0x6f4], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x6f4]
push eax
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x298]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2ec]
call fcn.1000321f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2d0]
call fcn.1000321f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b4]
call fcn.1000321f
lea ecx, [ebp - 0x328]
call sym.opencv_highgui249d.dll_public:_void___thiscall_cv::Mat::constructor_void_
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x328]
push ecx
lea ecx, [ebp - 0x6d0]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::_OutputArray::constructor_class_cv::Mat__
sub esp, 8
movsd xmm0, qword [0x10241b98]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [0x10242208]
movsd qword [esp], xmm0
push 0
lea edx, [ebp - 0x6d0]
push edx
lea ecx, [ebp - 0x4c]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Mat::convertTo_class_cv::_OutputArray_const___int__double__double_const
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x4c]
call sym.opencv_highgui249d.dll_public:_class_cv::Mat____thiscall_cv::Mat::operator_class_cv::Mat_const__
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x328]
call sym.opencv_highgui249d.dll_public:_void___thiscall_cv::Mat::destructor_void_
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x6f8], eax
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x6f8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6f8]
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.101b9ab0
movzx eax, al
test eax, eax
je 0x1001b00e
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x6fc], eax
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x6fc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6fc]
mov eax, dword [edx + 0x10]
call eax
cmp esi, esp
call fcn.101b9ab0
mov byte [ebp - 0x32d], al
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x700], eax
mov ecx, dword [ebp - 0x700]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp - 0x700]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.101b9ab0
movzx ecx, byte [ebp - 0x32d]
test ecx, ecx
je 0x1001af42
jmp 0x1001b009
push 0x10242bc8
lea ecx, [ebp - 0x3d0]
call fcn.10002991
mov byte [ebp - 4], 0xf
push 0x10242c1c
lea ecx, [ebp - 0x3ec]
call fcn.10002991
mov byte [ebp - 4], 0x10
push 0x10242c2c
lea ecx, [ebp - 0x408]
call fcn.10002991
mov byte [ebp - 4], 0x11
push 0x1ae
lea edx, [ebp - 0x3d0]
push edx
lea eax, [ebp - 0x3ec]
push eax
lea ecx, [ebp - 0x408]
push ecx
push 0xffffff29
lea ecx, [ebp - 0x3b4]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x704], eax
mov edx, dword [ebp - 0x704]
mov dword [ebp - 0x708], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x708]
push eax
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3b4]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x408]
call fcn.1000321f
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3ec]
call fcn.1000321f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3d0]
call fcn.1000321f
jmp 0x1001b457
push 0
lea ecx, [ebp - 0x428]
push ecx
call sub.opencv_core249d.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_cv::tempfile_char_const__
add esp, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x70c], eax
mov esi, esp
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x70c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x70c]
mov eax, dword [edx + 0xc]
call eax
cmp esi, esp
call fcn.101b9ab0
mov byte [ebp - 0x32d], al
movzx ecx, byte [ebp - 0x32d]
test ecx, ecx
je 0x1001b06d
jmp 0x1001b134
push 0x10242c38
lea ecx, [ebp - 0x4cc]
call fcn.10002991
mov byte [ebp - 4], 0x14
push 0x10242c8c
lea ecx, [ebp - 0x4e8]
call fcn.10002991
mov byte [ebp - 4], 0x15
push 0x10242c9c
lea ecx, [ebp - 0x504]
call fcn.10002991
mov byte [ebp - 4], 0x16
push 0x1b4
lea edx, [ebp - 0x4cc]
push edx
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x504]
push ecx
push 0xffffff29
lea ecx, [ebp - 0x4b0]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x710], eax
mov edx, dword [ebp - 0x710]
mov dword [ebp - 0x714], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x714]
push eax
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4b0]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x504]
call fcn.1000321f
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4e8]
call fcn.1000321f
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4cc]
call fcn.1000321f
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x718], eax
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x718]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x718]
mov eax, dword [edx + 0x10]
call eax
cmp esi, esp
call fcn.101b9ab0
mov byte [ebp - 0x32d], al
lea ecx, [ebp - 0x138]
call fcn.100019d8
mov dword [ebp - 0x71c], eax
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp - 0x71c]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.101b9ab0
movzx ecx, byte [ebp - 0x32d]
test ecx, ecx
je 0x1001b1ac
jmp 0x1001b273
push 0x10242ca8
lea ecx, [ebp - 0x5a4]
call fcn.10002991
mov byte [ebp - 4], 0x18
push 0x10242cfc
lea ecx, [ebp - 0x5c0]
call fcn.10002991
mov byte [ebp - 4], 0x19
push str.code
lea ecx, [ebp - 0x5dc]
call fcn.10002991
mov byte [ebp - 4], 0x1a
push 0x1b8
lea edx, [ebp - 0x5a4]
push edx
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x5dc]
push ecx
push 0xffffff29
lea ecx, [ebp - 0x588]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x720], eax
mov edx, dword [ebp - 0x720]
mov dword [ebp - 0x724], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x724]
push eax
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x588]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x5dc]
call fcn.1000321f
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x5c0]
call fcn.1000321f
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5a4]
call fcn.1000321f
mov esi, esp
push 0x10242aec
lea ecx, [ebp - 0x428]
call fcn.100030d0
push eax
call dword [sym.imp.MSVCR120D.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x5e0], eax
cmp dword [ebp - 0x5e0], 0
je 0x1001b2aa
jmp 0x1001b371
push str.C:_builds2_4_PackSlave_win32_vc12_sharedopencvmoduleshighgui_srcloadsave.cpp
lea ecx, [ebp - 0x680]
call fcn.10002991
mov byte [ebp - 4], 0x1c
push str.cv::imencode
lea ecx, [ebp - 0x69c]
call fcn.10002991
mov byte [ebp - 4], 0x1d
push str.f___0
lea ecx, [ebp - 0x6b8]
call fcn.10002991
mov byte [ebp - 4], 0x1e
push 0x1bb
lea ecx, [ebp - 0x680]
push ecx
lea edx, [ebp - 0x69c]
push edx
lea eax, [ebp - 0x6b8]
push eax
push 0xffffff29
lea ecx, [ebp - 0x664]
call sub.opencv_core249d.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x728], eax
mov ecx, dword [ebp - 0x728]
mov dword [ebp - 0x72c], ecx
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x72c]
push edx
call sub.opencv_core249d.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x664]
call sub.opencv_core249d.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x6b8]
call fcn.1000321f
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x69c]
call fcn.1000321f
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x680]
call fcn.1000321f
mov esi, esp
push 2
push 0
mov eax, dword [ebp - 0x5e0]
push eax
call dword [sym.imp.MSVCR120D.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov ecx, dword [ebp - 0x5e0]
push ecx
call dword [sym.imp.MSVCR120D.dll_ftell]
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x6bc], eax
mov edx, dword [ebp - 0x6bc]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.100024af
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x5e0]
push eax
call dword [sym.imp.MSVCR120D.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov ecx, dword [ebp - 0x5e0]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10001d16
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
call fcn.10002923
push eax
call dword [sym.imp.MSVCR120D.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.101b9ab0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.100024af
mov esi, esp
mov edx, dword [ebp - 0x5e0]
push edx
call dword [sym.imp.MSVCR120D.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.101b9ab0
lea ecx, [ebp - 0x428]
call fcn.100030d0
mov esi, esp
push eax
call dword [sym.imp.MSVCR120D.dll_remove]
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x428]
call fcn.1000321f
mov al, byte [ebp - 0x32d]
mov byte [ebp - 0x6d1], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.10001703
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sym.opencv_highgui249d.dll_public:_void___thiscall_cv::Mat::destructor_void_
mov al, byte [ebp - 0x6d1]
push edx
mov ecx, ebp
push eax
lea edx, [0x1001b4c0]
call fcn.101b9a50
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b9ae0
add esp, 0x72c
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret