Function at 0x100700d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
xor edi, edi
mov eax, ebx
and eax, 1
cmp dword [0x100dfe88], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], eax
jne 0x100701ff
mov dword [0x100dfe48], 0x10057e40
mov dword [0x100dfe4c], edi
mov dword [0x100dfe50], 0x100582a0
mov dword [0x100dfe54], 0x10058780
mov dword [0x100dfe58], edi
mov dword [0x100dfe5c], 0x10058c60
mov dword [0x100dfe60], edi
mov dword [0x100dfe68], 0x10058070
mov dword [0x100dfe6c], edi
mov dword [0x100dfe70], 0x10058510
mov dword [0x100dfe74], 0x100589f0
mov dword [0x100dfe78], edi
mov dword [0x100dfe7c], 0x10058e10
mov dword [0x100dfe80], 0x10058fc0
mov dword [0x100dfe08], 0x100591d0
mov dword [0x100dfe0c], edi
mov dword [0x100dfe10], 0x10059610
mov dword [0x100dfe14], 0x10059ab0
mov dword [0x100dfe18], edi
mov dword [0x100dfe1c], 0x10059f50
mov dword [0x100dfe20], edi
mov dword [0x100dfe28], 0x100593f0
mov dword [0x100dfe2c], edi
mov dword [0x100dfe30], 0x10059860
mov dword [0x100dfe34], 0x10059d00
mov dword [0x100dfe38], edi
mov dword [0x100dfe3c], 0x1005a180
mov dword [0x100dfe40], 0x1005a3a0
mov dword [0x100dfe88], 1
cmp dword [ebp + 8], edi
jne 0x10070227
push 0x9b4
push str..cxmatmul.cpp
push str.NULL_vec_pointer
push str.cvCalcCovarMalqae
push 0xffffffffffffffe5
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov ecx, dword [ebp + 0x10]
push edi
push edi
lea eax, [esp + 0xd0]
push eax
push ecx
call sym.cxcore099.dll_cvGetMat
mov esi, eax
add esp, 0x10
mov dword [esp + 0x48], esi
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jge 0x10070253
push 0x9b6
jmp 0x1007027d
mov eax, dword [ebp + 0x14]
push edi
push edi
lea edx, [esp + 0x98]
push edx
push eax
call sym.cxcore099.dll_cvGetMat
mov edi, eax
add esp, 0x10
mov dword [esp + 0x40], edi
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jge 0x1007029b
push 0x9b7
push str..cxmatmul.cpp
push str.Inner_function_failed.
push str.cvCalcCovarMalqae
push 0xffffffffffffffff
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov eax, dword [esi]
mov edx, dword [edi]
mov ecx, eax
xor ecx, edx
test ecx, 0x1ff
je 0x100702d1
push 0x9bb
push str..cxmatmul.cpp
push str.Covariation_matrix_and_average_vector_should_have_the_same_types
push str.cvCalcCovarMalqae
push 0xffffff33
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
and eax, 0x1ff
cmp eax, 5
mov dword [esp + 0x3c], eax
je 0x100702f8
cmp eax, 6
je 0x100702f8
push 0x9bf
push str..cxmatmul.cpp
push str.Covariation_matrix_must_be_32fC1_or_64fC1
jmp 0x10070949
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
je 0x10070326
push 0x9c2
push str..cxmatmul.cpp
push str.Covariation_matrix_must_be_square
push str.cvCalcCovarMalqae
push 0xffffff37
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov esi, ecx
imul esi, eax
test bl, 0x18
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x44], edx
je 0x10070452
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0xb4]
push edx
push ecx
call sym.cxcore099.dll_cvGetMat
add esp, 0x10
mov esi, eax
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jge 0x1007037c
push 0x9cb
jmp 0x10070778
test bl, 0x10
je 0x100703bb
cmp dword [edi + 0x18], 1
mov edx, dword [esi + 0x18]
mov dword [ebp + 0xc], edx
jne 0x10070395
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
je 0x100703cf
push 0x9d2
push str..cxmatmul.cpp
push str.The_number_of_input_vectors_does_not_match_to_avg_vector_size
push str.cvCalcCovarMalqae
push 0xffffff2f
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
cmp dword [edi + 0x14], 1
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0xc], ecx
jne 0x1007042c
mov edx, dword [edi + 0x18]
cmp edx, dword [esi + 0x18]
jne 0x1007042c
test bl, 2
jne 0x100703f5
push 1
push 0xffffffffffffffff
push edi
push esi
call sym.cxcore099.dll_cvReduce
add esp, 0x10
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jge 0x100703f5
push 0x9e2
jmp 0x10070778
test bl, 4
jne 0x100703fe
fld1
jmp 0x10070405
fild dword [ebp + 0xc]
fld1
fdivrp st(1)
mov ecx, dword [esp + 0x48]
mov eax, ebx
shr eax, 3
sub esp, 8
not eax
fstp qword [esp]
xor eax, ebx
push edi
and eax, 1
push eax
push ecx
push esi
call sym.cxcore099.dll_cvMulTransposed
add esp, 0x18
jmp 0x10070cba
push 0x9dc
push str..cxmatmul.cpp
push str.The_number_of_input_vectors_does_not_match_to_avg_vector_size
push str.cvCalcCovarMalqae
push 0xffffff2f
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov edx, ebx
and edx, 4
mov dword [esp + 0x80], edx
jne 0x10070464
fld1
jmp 0x1007046b
fild dword [ebp + 0xc]
fld1
fdivrp st(1)
cmp dword [esp + 0x4c], 0
fstp qword [esp + 0x70]
je 0x10070502
cmp dword [ebp + 0xc], 0
jg 0x100704a6
push 0x9f0
push str..cxmatmul.cpp
push str.The_number_of_vectors_is_zero_or_negative
push str.cvCalcCovarMalqae
push 0xffffff37
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 0x14]
cmp edx, dword [esp + 0x88]
je 0x100704dc
push 0x9f3
push str..cxmatmul.cpp
push str.The_size_of_input_vectors_does_not_match_with_the_size_of_covariation_matrix
push str.cvCalcCovarMalqae
push 0xffffff2f
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
call sym.cxcore099.dll_cvCreateMat
add esp, 0xc
mov dword [esp + 0x7c], eax
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jge 0x10070534
push 0x9f5
jmp 0x10070778
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x14]
je 0x10070534
push 0x9f9
push str..cxmatmul.cpp
push str.The_vector_count_and_covariance_matrix_size_do_not_match
push str.cvCalcCovarMalqae
push 0xffffff2f
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov esi, ebx
and esi, 2
mov dword [esp + 0x50], esi
jne 0x10070548
push edi
call sym.cxcore099.dll_cvSetZero
add esp, 4
mov edx, dword [ebp + 0xc]
lea eax, [edx*8]
push eax
call sym.cxcore099.dll_cvAlloc
add esp, 4
mov dword [esp + 0x6c], eax
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jge 0x10070572
push 0xa00
jmp 0x10070778
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jle 0x100706af
lea ecx, [ecx]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x100705a0
mov edx, dword [esi]
and edx, 0xffff0000
cmp edx, 0x42420000
jne 0x100705a0
cmp dword [esi + 0x10], 0
jne 0x100705c4
push 0
push 0
lea eax, [esp + 0xec]
push eax
push esi
call sym.cxcore099.dll_cvGetMat
add esp, 0x10
mov esi, eax
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jl 0x10070749
mov ecx, dword [esi + 0x14]
cmp ecx, dword [edi + 0x14]
jne 0x100707bc
mov edx, dword [esi + 0x18]
cmp edx, dword [edi + 0x18]
jne 0x100707bc
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x6c]
mov dword [eax + ebx*8], ecx
mov edx, dword [esi + 4]
mov dword [eax + ebx*8 + 4], edx
mov eax, dword [esi]
and dword [esp + 0x44], eax
test ebx, ebx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x54], esi
jne 0x10070658
and eax, 0x1ff
mov edx, eax
sar edx, 3
and edx, 0x3f
add edx, 1
cmp edx, 1
mov dword [esp + 0x58], eax
jne 0x10070750
cmp eax, dword [esp + 0x3c]
je 0x10070667
test ecx, ecx
jne 0x10070667
cmp dword [esp + 0x50], ecx
jne 0x1007069f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push eax
push ecx
push edx
call sym.cxcore099.dll_cvCreateMat
add esp, 0xc
mov dword [esp + 0x7c], eax
call sym.cxcore099.dll_cvGetErrStatus
test eax, eax
jl 0x10070773
mov ecx, dword [esp + 0x7c]
jmp 0x1007066e
and eax, 0x1ff
cmp eax, dword [esp + 0x58]
jne 0x10070796
cmp dword [esp + 0x50], 0
jne 0x1007069f
test ecx, ecx
je 0x1007068e
fldz
sub esp, 0x10
fstp qword [esp + 8]
mov dword [esp + 0x64], ecx
fld1
fstp qword [esp]
push ecx
push esi
call sym.cxcore099.dll_cvConvertScale
add esp, 0x18
mov eax, dword [esp + 0x54]
push 0
push edi
push edi
push eax
call sym.cxcore099.dll_cvAdd
add esp, 0x10
add ebx, 1
cmp ebx, dword [ebp + 0xc]
jl 0x10070580
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x100706d0
fldz
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fld1
fdivrp st(1)
fstp qword [esp]
push edi
push edi
call sym.cxcore099.dll_cvConvertScale
add esp, 0x18
test dword [esp + 0x44], 0x4000
je 0x100706ee
mov ecx, dword [esp + 0x88]
mov eax, 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
cmp dword [esp + 0x4c], 0
jne 0x100708ff
mov eax, dword [esp + 0x58]
xor edx, edx
cmp dword [esp + 0x3c], 6
sete dl
and eax, 7
lea eax, [eax + edx*8]
mov eax, dword [eax*4 + 0x100dfe48]
test eax, eax
mov dword [esp + 0x88], eax
jne 0x100707e2
push 0xa38
push str..cxmatmul.cpp
push str.The_format_of_input_vectors_is_not_supported
push str.cvCalcCovarMalqae
push 0xffffff2e
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
push 0xa08
jmp 0x10070778
push 0xa16
push str..cxmatmul.cpp
push str.All_vectors_must_have_a_single_channel
push str.cvCalcCovarMalqae
push 0xfffffffffffffff1
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
push 0xa18
push str..cxmatmul.cpp
push str.Inner_function_failed.
push str.cvCalcCovarMalqae
push 0xffffffffffffffff
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
push 0xa1c
push str..cxmatmul.cpp
push str.All_input_vectors_must_have_the_same_type
push str.cvCalcCovarMalqae
push 0xffffff33
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
push 0xa0c
push str..cxmatmul.cpp
push str.All_input_vectors_and_average_vector_must_have_the_same_size
push str.cvCalcCovarMalqae
push 0xffffff2f
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jle 0x10070cba
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
test bl, 1
jne 0x10070809
xor esi, esi
lea eax, [ebx + 1]
mov dword [esp + 0x54], 1
jmp 0x10070812
or eax, 0xffffffff
mov esi, ebx
mov dword [esp + 0x54], eax
cmp esi, eax
mov dword [esp + 0x4c], eax
je 0x100708e7
mov edi, edi
mov ecx, dword [esp + 0x6c]
fldz
mov eax, dword [edx]
fstp qword [esp + 0x80]
mov ecx, dword [ecx + esi*8]
mov edx, dword [edx + 4]
lea edi, [esp + 0x80]
push edi
mov edi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x4c]
mov edi, dword [edi + 4]
push edi
mov edi, dword [esp + 0x50]
mov edi, dword [edi + 0x10]
push edi
mov edi, dword [esp + 0x80]
mov edi, dword [edi + esi*8 + 4]
push edi
push ecx
push edx
push eax
call dword [esp + 0xac]
fld qword [esp + 0x80]
cmp dword [esp + 0x3c], 6
fmul qword [esp + 0x70]
mov ecx, dword [esp + 0x48]
jne 0x100708a9
mov edx, dword [ecx + 4]
imul edx, esi
add edx, dword [ecx + 0x10]
fstp qword [edx + ebx*8]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
mov edx, esi
imul edx, eax
imul eax, ebx
add edx, ecx
add eax, ecx
fld qword [edx + ebx*8]
fstp qword [eax + esi*8]
jmp 0x100708d5
mov eax, dword [ecx + 4]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
imul eax, esi
add eax, dword [ecx + 0x10]
mov edx, esi
fstp dword [eax + ebx*4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
imul edx, eax
imul eax, ebx
add edx, ecx
add eax, ecx
fld dword [edx + ebx*4]
fstp dword [eax + esi*4]
add esi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
cmp esi, dword [esp + 0x4c]
jne 0x10070820
add ebx, 1
add edx, 8
cmp ebx, dword [ebp + 0xc]
mov dword [esp + 0x50], edx
jl 0x100707f5
jmp 0x10070cba
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x10]
mov esi, dword [eax + 4]
mov eax, dword [eax + 0x14]
xor ecx, ecx
cmp dword [esp + 0x3c], 6
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
sete cl
and eax, 7
mov dword [esp + 0x88], ebx
lea edx, [eax + ecx*8]
mov eax, dword [edx*4 + 0x100dfe08]
test eax, eax
mov dword [esp + 0x54], eax
jne 0x10070960
push 0xa6e
push str..cxmatmul.cpp
push str.The_format_of_input_vectors_is_not_supported
push str.cvCalcCovarMalqae
push 0xffffff2e
call sym.cxcore099.dll_cvError
add esp, 0x14
jmp 0x10070cba
mov eax, dword [esp + 0x48]
push eax
call sym.cxcore099.dll_cvSetZero
xor edi, edi
add esp, 4
cmp dword [ebp + 0xc], edi
jle 0x100709b1
mov edx, dword [esp + 0x7c]
mov edx, dword [edx + 0x10]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
push edx
mov edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 4]
push esi
push ebx
push edx
mov edx, dword [esp + 0x58]
mov edx, dword [edx + 0x10]
push edx
push ecx
push eax
call dword [esp + 0x78]
add edi, 1
cmp edi, dword [ebp + 0xc]
jl 0x10070974
xor eax, eax
cmp dword [esp + 0x3c], 6
mov dword [esp + 0x58], eax
jne 0x10070b24
cmp dword [esp + 0x50], eax
jle 0x10070cba
fld qword [esp + 0x70]
lea ecx, [ebx + esi*2]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ecx
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, 4
mov dword [esp + 0x48], ecx
jl 0x10070ac2
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
lea edx, [eax*8]
lea edi, [ebx + edx]
lea eax, [ebx + esi*2]
add eax, esi
add eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x40], edi
add edi, esi
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x48]
add edx, 0x10
shr edi, 2
lea ebx, [edi*4]
lea ecx, [esi*4]
mov dword [esp + 0x54], ebx
cmp dword [esp + 0x80], 0
mov ebx, dword [esp + 0x3c]
fld qword [ebx]
mov ebx, dword [esp + 0x40]
je 0x10070a80
fmul st(1)
fst qword [ebx]
mov ebx, dword [esp + 0x3c]
fstp qword [ebx]
mov ebx, dword [esp + 0x5c]
fld qword [edx - 8]
fmul st(1)
fst qword [ebx]
mov ebx, dword [esp + 0x70]
fstp qword [edx - 8]
fld st(0)
fmul qword [edx]
fst qword [ebx]
fstp qword [edx]
fld st(0)
fmul qword [edx + 8]
fst qword [eax]
fstp qword [edx + 8]
jmp 0x10070a98
fstp qword [ebx]
mov ebx, dword [esp + 0x5c]
fld qword [edx - 8]
fstp qword [ebx]
mov ebx, dword [esp + 0x70]
fld qword [edx]
fstp qword [ebx]
fld qword [edx + 8]
fstp qword [eax]
add dword [esp + 0x40], ecx
add dword [esp + 0x5c], ecx
add dword [esp + 0x70], ecx
add dword [esp + 0x3c], 0x20
add eax, ecx
add edx, 0x20
sub edi, 1
jne 0x10070a3c
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x88]
cmp edx, eax
jg 0x10070b00
mov ecx, esi
imul ecx, edx
add ecx, ebx
lea edi, [ecx + eax*8]
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + edx*8]
sub eax, edx
add ecx, ebx
add eax, 1
cmp dword [esp + 0x80], 0
je 0x10070af2
fld st(0)
fmul qword [ecx]
fst qword [edi]
fstp qword [ecx]
jmp 0x10070af6
fld qword [ecx]
fstp qword [edi]
add ecx, 8
add edi, esi
sub eax, 1
jne 0x10070ade
mov eax, dword [esp + 0x48]
add dword [esp + 0x60], 8
add dword [esp + 0x4c], esi
add dword [esp + 0x44], esi
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
jl 0x100709df
jmp 0x10070cb8
cmp dword [esp + 0x50], 0
jle 0x10070cba
fld qword [esp + 0x70]
lea edx, [ebx + esi*2]
mov dword [esp + 0x60], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], edx
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, 4
mov dword [esp + 0x48], ecx
jl 0x10070c53
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
lea edx, [eax*4]
lea edi, [ebx + edx]
lea eax, [ebx + esi*2]
add eax, esi
add eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], edi
add edi, esi
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x48]
add edx, 8
shr edi, 2
lea ebx, [edi*4]
lea ecx, [esi*4]
mov dword [esp + 0x54], ebx
cmp dword [esp + 0x80], 0
mov ebx, dword [esp + 0x3c]
je 0x10070c07
fld dword [ebx]
mov ebx, dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fst dword [ebx]
mov ebx, dword [esp + 0x3c]
fstp dword [ebx]
mov ebx, dword [esp + 0x70]
fld dword [edx - 4]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fst dword [ebx]
mov ebx, dword [esp + 0x5c]
fstp dword [edx - 4]
fld dword [edx]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fst dword [ebx]
fstp dword [edx]
fld dword [edx + 4]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fst dword [eax]
fstp dword [edx + 4]
jmp 0x10070c25
fld dword [ebx]
mov ebx, dword [esp + 0x44]
fstp dword [ebx]
mov ebx, dword [esp + 0x70]
fld dword [edx - 4]
fstp dword [ebx]
mov ebx, dword [esp + 0x5c]
fld dword [edx]
fstp dword [ebx]
fld dword [edx + 4]
fstp dword [eax]
add dword [esp + 0x44], ecx
add dword [esp + 0x70], ecx
add dword [esp + 0x5c], ecx
add dword [esp + 0x3c], 0x10
add eax, ecx
add edx, 0x10
sub edi, 1
jne 0x10070ba3
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
cmp edx, eax
jg 0x10070c99
mov ecx, esi
imul ecx, edx
add ecx, ebx
lea edi, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
lea ecx, [ecx + edx*4]
sub eax, edx
add ecx, ebx
add eax, 1
cmp dword [esp + 0x80], 0
je 0x10070c8b
fld dword [ecx]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fst dword [edi]
fstp dword [ecx]
jmp 0x10070c8f
fld dword [ecx]
fstp dword [edi]
add ecx, 4
add edi, esi
sub eax, 1
jne 0x10070c6f
mov eax, dword [esp + 0x48]
add dword [esp + 0x4c], 4
add dword [esp + 0x60], esi
add dword [esp + 0x40], esi
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
jl 0x10070b46
fstp st(0)
mov edx, dword [esp + 0x6c]
push edx
call sym.cxcore099.dll_cvFree_
lea eax, [esp + 0x80]
push eax
call sym.cxcore099.dll_cvReleaseMat
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret