Function at 0x418fb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x42fe4c]
mov dx, word [0x42fb60]
mov ecx, dword [0x42fe3c]
push ebx
mov ebx, dword [0x430d3c]
mov dword [ebp - 0x5c], eax
push esi
movsx eax, dx
push edi
xor edi, edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x44], edi
cmp eax, ebx
jle 0x419008
mov ecx, dword [0x430cb4]
push str.Sorry__but_the_number_of_contrasts_cannot_exceed_the_number_of_gammas._n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov eax, 0x42fb62
nop
movzx ecx, word [eax - 2]
cmp cx, di
je 0x419085
movsx ecx, cx
cmp esi, ecx
jg 0x419022
mov esi, ecx
movzx ecx, word [eax]
cmp cx, di
je 0x419085
movsx ecx, cx
cmp esi, ecx
jg 0x419033
mov esi, ecx
movzx ecx, word [eax + 2]
cmp cx, di
je 0x419085
movsx ecx, cx
cmp esi, ecx
jg 0x419045
mov esi, ecx
movzx ecx, word [eax + 4]
cmp cx, di
je 0x419085
movsx ecx, cx
cmp esi, ecx
jg 0x419057
mov esi, ecx
movzx ecx, word [eax + 6]
cmp cx, di
je 0x419085
movsx ecx, cx
cmp esi, ecx
jg 0x419069
mov esi, ecx
movzx ecx, word [eax + 8]
cmp cx, di
je 0x419085
movsx ecx, cx
cmp esi, ecx
jg 0x41907b
mov esi, ecx
add eax, 0xc
cmp eax, 0x42fb92
jl 0x419010
mov dword [ebp - 0xc], esi
cmp dx, di
je 0x41912d
lea eax, [ebx + esi*2]
lea edi, [eax + ebx + 2]
imul edi, esi
add edi, edi
add edi, edi
add edi, edi
jne 0x4190a8
mov dword [ebp - 8], edi
jmp 0x4190fa
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4190e1
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x4190d9
call fcn.00403eb0
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push edi
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x40]
mov dx, word [0x42fb60]
add esp, 0xc
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov eax, esi
imul eax, ebx
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
mov dword [ebp - 0x38], ecx
add ecx, eax
mov eax, esi
imul eax, esi
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], ecx
add ecx, eax
add eax, ecx
mov dword [ebp - 0x1c], eax
lea eax, [eax + esi*8]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], eax
test dx, dx
jle 0x4196d3
mov dword [ebp - 0x2c], 0x42fb60
lea ecx, [ecx]
mov ecx, dword [0x430cb4]
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
push str._f________________Results_of_General_Linear_Hypothesis_Testing_n
push ecx
call esi
add esp, 8
cmp dword [0x430d40], 0
je 0x419176
mov edx, dword [0x430cb4]
push str.nbsp_
push edx
call esi
mov esi, dword [sym.imp.MSVCR100.dll_fputc]
jmp 0x419186
mov eax, dword [0x430cb4]
mov esi, dword [sym.imp.MSVCR100.dll_fputc]
push eax
push 0x20
call esi
add esp, 8
mov edi, 0x4d
mov edi, edi
mov ecx, dword [0x430cb4]
push ecx
push 0x2d
call esi
add esp, 8
dec edi
jne 0x419190
mov edx, dword [0x430cb4]
push edx
push 0xa
call esi
mov eax, dword [0x430cb4]
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
push str.___________________________________Coefficients______Contrast_n
push eax
call edi
add esp, 0x10
cmp dword [0x430d40], 0
je 0x4191db
mov ecx, dword [0x430cb4]
push str.nbsp_
push ecx
call edi
jmp 0x4191e6
mov edx, dword [0x430cb4]
push edx
push 0x20
call esi
add esp, 8
mov edi, 0x4d
mov edi, edi
mov eax, dword [0x430cb4]
push eax
push 0x2d
call esi
add esp, 8
dec edi
jne 0x4191f0
mov ecx, dword [0x430cb4]
push ecx
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
fldz
mov eax, dword [ebp - 0x28]
fstp qword [ebp - 0x6c]
mov edx, dword [ebp - 0x2c]
imul eax, ebx
movsx esi, word [edx]
mov ecx, dword [0x430d0c]
add esp, 8
lea edi, [ecx + eax*8]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x50], edi
test esi, esi
jle 0x4192ea
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 0x24], edx
lea edx, [edi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], 0
cmp ebx, 4
jl 0x41929e
sub edi, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
lea ecx, [ebx - 4]
shr ecx, 2
inc ecx
lea ebx, [ecx*4]
mov dword [ebp - 0x14], ebx
fld qword [edx - 0x10]
add eax, 0x20
fstp qword [eax - 0x28]
add edx, 0x20
dec ecx
fld qword [edi + eax - 0x20]
fstp qword [eax - 0x20]
fld qword [edx - 0x20]
fstp qword [eax - 0x18]
fld qword [edx - 0x18]
fstp qword [eax - 0x10]
jne 0x419276
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jge 0x4192cc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add ecx, eax
lea eax, [edx + ecx*8]
mov edx, edi
sub edx, dword [ebp - 8]
mov ecx, ebx
sub ecx, dword [ebp - 0x14]
lea ebx, [ebx]
fld qword [eax + edx]
add eax, 8
dec ecx
fstp qword [eax - 8]
jne 0x4192c0
mov edx, dword [ebp - 0x30]
add dword [ebp - 0x20], ebx
lea eax, [ebx*8]
add dword [ebp - 0x24], eax
add edx, eax
dec dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
jne 0x419253
test ebx, ebx
jle 0x4193f1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], ebx
lea ebx, [ebx]
mov eax, dword [0x430c94]
mov edi, dword [ebp - 0x24]
push 0xc
lea ecx, [edi + eax]
push 0x430cf0
push ecx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x41934f
mov edx, dword [0x430c94]
mov ecx, dword [0x430cb4]
lea eax, [edi + edx]
push eax
push str._For__s_n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
fld qword [edx + eax]
add edi, dword [0x430d04]
mov edx, dword [0x430cb4]
sub esp, 8
fstp qword [esp]
push edi
push str.______s___________14.6lf
push edx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x14
test esi, esi
jle 0x4193ae
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x34], esi
fld qword [edi]
mov eax, dword [0x430cb4]
sub esp, 8
fstp qword [esp]
push str.__7.3lf
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
lea eax, [ebx*8]
add esp, 0x10
add edi, eax
dec dword [ebp - 0x34]
jne 0x419384
cmp dword [0x430d40], 0
je 0x4193cb
mov ecx, dword [0x430cb4]
push str._br__n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
jmp 0x4193da
mov edx, dword [0x430cb4]
push edx
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
add dword [ebp - 0x24], 0x100
add dword [ebp - 0x14], 8
add esp, 8
dec dword [ebp - 0x30]
jne 0x419310
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0xc]
push ebx
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x38]
push ebx
push esi
mov eax, ebx
call fcn.00402f30
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
push edi
push ebx
push edx
push eax
push ebx
push esi
mov edx, ebx
mov eax, esi
call fcn.00403160
fld qword [0x430a68]
add esp, 0x30
fstp qword [ebp - 0x54]
xor ecx, ecx
test esi, esi
jle 0x419459
mov edx, dword [ebp - 0x10]
fldz
fcom qword [edx]
fnstsw ax
test ah, 0x41
je 0x419689
lea eax, [edi*8 + 8]
inc ecx
add edx, eax
cmp ecx, esi
jl 0x41943c
fstp st(0)
mov ecx, dword [ebp - 0x10]
push edi
push ecx
push esi
call fcn.00401680
add esp, 0xc
test eax, eax
jne 0x41968b
mov eax, dword [ebp - 0x10]
push edi
lea edx, [ebp - 0x54]
push edx
push eax
push esi
call fcn.00401760
add esp, 0x10
test eax, eax
je 0x41968b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
push edi
push edi
push ecx
push edx
push eax
push esi
call fcn.004028b0
add esp, 0x18
test eax, eax
jne 0x41968b
fld qword [0x42e290]
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 5
jnp 0x41968b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x3c]
push 1
push 1
push ebx
push ecx
mov ecx, dword [ebp - 0x1c]
push ebx
push esi
mov eax, 1
call fcn.00402f30
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push 1
push 1
push edi
push edx
push eax
push esi
push esi
mov eax, 1
call fcn.00403040
fld qword [ebp - 0x6c]
add esp, 0x34
xor edx, edx
cmp esi, 4
jl 0x419556
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [edx + 0x18]
sub edx, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x50], edx
lea edx, [esi - 4]
shr edx, 2
inc edx
lea edi, [edx*4]
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x50]
fld qword [eax - 8]
add eax, 0x20
fmul qword [ecx - 0x18]
add ecx, 0x20
dec edx
faddp st(1)
fld qword [edi + eax - 0x20]
fmul qword [eax - 0x20]
faddp st(1)
fld qword [eax - 0x18]
fmul qword [ecx - 0x28]
faddp st(1)
fld qword [ecx - 0x20]
fmul qword [eax - 0x10]
faddp st(1)
jne 0x419526
mov edx, dword [ebp - 0x34]
fst qword [ebp - 0x6c]
cmp edx, esi
jge 0x41957a
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
lea eax, [ecx + edx*8]
sub edi, ecx
mov ecx, esi
sub ecx, edx
fld qword [eax + edi]
add eax, 8
dec ecx
fmul qword [eax - 8]
faddp st(1)
jne 0x419569
fst qword [ebp - 0x6c]
mov ecx, dword [0x430cb4]
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
sub esp, 8
fstp qword [esp]
push str._nChi_square_statistic___lf_n
push ecx
call edi
mov edx, dword [0x430cb4]
push esi
push str.Degrees_of_freedom_____ld_n
push edx
call edi
mov eax, dword [0x430cb4]
add esp, 0x1c
push str.P_value______________
push eax
call edi
fild dword [ebp - 0x60]
fld qword [ebp - 0x6c]
add esp, 8
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4195df
mov ecx, dword [0x430cb4]
fstp st(1)
push str._.500_n
fstp st(0)
push ecx
call edi
add esp, 8
jmp 0x4196a0
fld st(1)
fmul qword [0x42e1e8]
fstp qword [ebp - 0x6c]
fdivrp st(1)
fld qword [0x42e1e0]
call sub.MSVCR100.dll__CIpow
fsub qword [0x42e190]
fld qword [0x42e1a0]
fld qword [ebp - 0x6c]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fstp qword [ebp - 0x6c]
fmul qword [0x42e1a8]
call sub.MSVCR100.dll__CIsqrt
fmul qword [ebp - 0x6c]
fabs
fld qword [0x42e1d8]
fmul st(1)
fmul st(1)
fmul st(1)
fmul st(1)
fld st(1)
fmul qword [0x42e1d0]
fmul st(2)
fmul st(2)
faddp st(1)
fld st(1)
fmul qword [0x42e1c8]
fmul st(2)
fxch st(2)
fmul qword [0x42e1c0]
fadd qword [0x42e190]
faddp st(2)
faddp st(1)
fld qword [0x42e1b8]
call sub.MSVCR100.dll__CIpow
fmul qword [0x42e1a8]
fld1
mov edx, dword [0x430cb4]
fld st(0)
sub esp, 8
fsubrp st(2)
fsubrp st(1)
fstp qword [esp]
push str._lf_n
push edx
call edi
add esp, 0x10
jmp 0x4196a0
fstp st(0)
mov eax, dword [0x430cb4]
push esi
push str._nIt_appears_that_the__ld_constrasts_you_are_testing_are_not_independent._nThe_chi_square_cannot_be_computed._n
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
movsx edx, word [ecx]
add dword [ebp - 0x28], edx
inc eax
cmp word [eax*2 + 0x42fb60], 0
mov dword [ebp - 0x44], eax
lea eax, [eax*2 + 0x42fb60]
mov dword [ebp - 0x2c], eax
jg 0x419140
mov dx, word [0x42fb60]
test dx, dx
je 0x4196e6
mov eax, dword [ebp - 8]
test eax, eax
je 0x4196e6
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret