Function at 0x5ab180
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0x5ab41c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5ab41c
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x5ab3ff
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x5ab3ff
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
sub edi, esi
cmp ecx, edi
jl 0x5ab3e2
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
sub esi, edx
cmp eax, esi
jl 0x5ab3e2
cmp edi, 5
jl 0x5ab3d3
cmp esi, 5
jl 0x5ab3d3
mov al, byte [esp + 0x50]
test al, al
jne 0x5ab214
push 0
push 0
push str.siplProcess___CannyEdgeDetect___Currently_only_gray_images_are_supported
call fcn.0062dd90
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x28
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x18]
fcomp dword [0x68e4e0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
fnstsw ax
test ah, 1
jne 0x5ab3c5
fld dword [esp + 0x20]
fcomp dword [0x68e4e0]
fnstsw ax
test ah, 1
jne 0x5ab3c5
fld dword [esp + 0x1c]
fcomp dword [0x68e4e0]
fnstsw ax
test ah, 1
jne 0x5ab3c5
mov ebx, edi
push 0
imul ebx, esi
lea ecx, [esp + 0x54]
push ebx
push ecx
mov dword [esp + 0x5c], 0
call fcn.00401c99
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
add esp, 0xc
push 8
push edx
push eax
lea edx, [esp + 0x48]
sub esp, 0x10
mov ecx, esp
push edx
call fcn.00404859
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
push eax
push esi
push edi
xor eax, eax
sub esp, 0x10
mov ecx, esp
push edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
mov ecx, ebp
call fcn.005a9da0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x24]
push eax
push ecx
push edi
push esi
push edx
mov ecx, ebp
call fcn.005ab440
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edi
push esi
push edx
mov ecx, ebp
call fcn.005ab7b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
push edi
push esi
push ecx
push edx
mov ecx, ebp
call fcn.005ab9c0
push 1
push ebx
call fcn.005e3b9a
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5ab33a
push str.Error_allocating_the_nms_image._n
push 0x6eeca0
call fcn.005e35cf
add esp, 8
push 1
call fcn.005e246f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push ebx
push edi
push esi
push eax
push ecx
push edx
mov ecx, ebp
call fcn.005abca0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push edi
push esi
push ebx
push eax
mov ecx, ebp
call fcn.005ac180
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e2ecd
mov edx, dword [esp + 0x50]
push edx
call fcn.005e2ecd
mov eax, dword [esp + 0x18]
push eax
call fcn.005e2ecd
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005e2ecd
push ebx
call fcn.005e2ecd
mov edx, dword [esp + 0x64]
add esp, 0x14
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x28
push 0
push 0
push str.Canny_edge_parameters_are_not_correct
call fcn.0062dd90
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x28
push 0
push 0
push str.SiplProcess___CannyEdgeDetect:_RECT_parameter_is_not_correct
call fcn.0062dd90
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x28
push 0
push 0
push str.SiplProcess___CannyEdgeDetect:_Width_Height_parameter_is_less_thanor__0
call fcn.0062dd90
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x28
push 0
push 0
push str.SiplProcess___CannyEdgeDetect:_Data_pointer_is_NULL
call fcn.0062dd90
pop edi
pop esi
pop ebp
mov eax, 0xfffffff4
pop ebx
add esp, 0x18
ret 0x28