Function at 0x562830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637783
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6e4770]
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 0x56287e
mov eax, dword [edi + 0x2c]
cmp dword [eax], 0
ja 0x5629cf
push 0x4c
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push str.C:_builds2_4_PackSlave_win32_vc12_staticopencvmodulescore_srcmatrix.cpp
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0046b100
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.0046b100
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.0046b100
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 fcn.00567480
mov byte [ebp - 4], 3
push eax
call fcn.00567720
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.005675d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x56296c
push dword [ebp - 0x28]
call fcn.0052d900
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 0x562993
push dword [ebp - 0x58]
call fcn.0052d900
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 0x5629bd
push dword [ebp - 0x40]
call fcn.0052d900
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 0x5629e5
mov eax, dword [edi + 0x2c]
mov edx, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xd0], edx
jmp 0x5629ef
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 0x562a0a
mov dword [ebx + 4], esi
mov dword [ebx], esi
jmp 0x562a2c
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.0052dfa4
mov esp, ebp
pop ebp
ret 8