Function at 0x10117050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101908a3
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x101fc010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 2
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
jg 0x1011709e
mov eax, dword [edi + 0x2c]
cmp dword [eax], 0
ja 0x101171ef
push 0x2b
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push str.E:opencv_2.4.9modulescore_srcmatrix.cpp
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.1000a180
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x12
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push str.cv::Mat::locateROI
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.1000a180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.dims___2__step_0____0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1000a180
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push 0x2c0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
push 0xffffff29
lea ecx, [ebp - 0xcc]
call sym.opencv_core249.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 byte [ebp - 4], 3
push eax
call sym.opencv_core249.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call sym.opencv_core249.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x1011718c
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 0x10
jb 0x101171b3
push dword [ebp - 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x101171dd
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jle 0x10117205
mov eax, dword [edi + 0x2c]
mov edx, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xd0], edx
jmp 0x1011720f
mov dword [ebp - 0xd0], 0
mov ecx, dword [edi + 0x1c]
mov esi, dword [edi + 0x10]
sub ecx, dword [edi + 0x18]
mov dword [ebp - 0xdc], ecx
sub esi, dword [edi + 0x18]
jne 0x1011722a
mov dword [ebx + 4], esi
mov dword [ebx], esi
jmp 0x1011724c
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov eax, esi
div dword [ecx]
xor edx, edx
mov dword [ebx + 4], eax
mov ecx, dword [edi + 0x2c]
mov ecx, dword [ecx]
imul ecx, eax
sub esi, ecx
mov eax, esi
div dword [ebp - 0xd0]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
xor edx, edx
add ecx, dword [ebx]
imul ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xd8]
add esi, 4
sub eax, ecx
mov ecx, dword [edi + 0x2c]
div dword [ecx]
lea ecx, [ebp - 0xd4]
inc eax
mov dword [esi], eax
mov edx, dword [edi + 8]
add edx, dword [ebx + 4]
cmp eax, edx
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xdc]
cmovge ecx, esi
xor edx, edx
mov ecx, dword [ecx]
mov dword [esi], ecx
dec ecx
imul ecx, dword [edi + 0x30]
mov esi, dword [ebp - 0xd8]
sub eax, ecx
div dword [ebp - 0xd0]
mov edx, eax
lea eax, [ebp - 0xd4]
mov dword [esi], edx
mov ecx, dword [edi + 0xc]
add ecx, dword [ebx]
cmp edx, ecx
mov dword [ebp - 0xd4], ecx
cmovge eax, esi
mov eax, dword [eax]
mov dword [esi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10176850
mov esp, ebp
pop ebp
ret 8