Function at 0x407f30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x43924c]
push ebx
push esi
push edi
push 0xd
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x407f84
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404c60
inc dword [0x437d8c]
je 0x407f7c
call fcn.004048c0
push 3
call dword [sym.imp.MSVCR100.dll_exit]
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], al
mov esi, 0x4304e8
mov eax, str.newcmd.mlm
call fcn.00404260
push 0x437c80
mov edi, eax
push str.This_command_file_was_run_with__s_n
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
push 0xd
push 0x437a50
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov esi, ebx
call fcn.00404710
push ebx
push str.LEVEL1:_s
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov ecx, dword [0x43925c]
inc ecx
add esp, 0x24
mov dword [ebp - 0x18], 0
test ecx, ecx
jle 0x40809e
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
jmp 0x408000
mov ecx, dword [0x4390c8]
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x20], ecx
cmp ecx, 1
je 0x408016
cmp ecx, 3
jne 0x408087
mov edx, dword [ebp - 0x24]
push 0xd
push edx
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov esi, ebx
call fcn.00404710
push ebx
push 0x42f92c
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x18
cmp dword [ebp - 0x20], 1
jne 0x408078
mov esi, dword [ebp - 0x18]
mov eax, dword [0x437fb8]
cmp dword [eax + esi*4], 1
jne 0x40805d
push 0x43051c
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov ecx, dword [0x437fb8]
cmp dword [ecx + esi*4], 2
jne 0x408078
push 0x430520
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
push edi
push 0x2b
call dword [sym.imp.MSVCR100.dll_fputc]
mov eax, dword [ebp - 0x18]
add esp, 8
mov edx, dword [0x43925c]
add dword [ebp - 0x24], 0xd
inc eax
inc edx
mov dword [ebp - 0x18], eax
cmp eax, edx
jl 0x408000
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
push str.RANDOM_n
push edi
call esi
mov ecx, dword [0x43925c]
xor eax, eax
inc ecx
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x4082a9
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
lea esp, [esp]
mov ecx, dword [0x4390c8]
cmp dword [ecx + eax*4], 1
jne 0x408292
mov edx, dword [ebp - 0x1c]
push 0xd
push edx
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov esi, ebx
call fcn.00404710
push ebx
push str.LEVEL2:_s
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov eax, dword [0x43951c]
add esp, 0x18
mov dword [ebp - 0x20], 0
test eax, eax
jle 0x408286
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov ecx, dword [0x438f84]
mov eax, dword [ecx + eax*4]
cmp eax, 0xffffff9d
je 0x408286
imul eax, eax, 0xd
add eax, dword [0x4390c0]
push 0xd
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0xc
push 0x4392b0
push ebx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0x18
test eax, eax
je 0x4081a1
xor eax, eax
jmp 0x408160
mov cl, byte [eax + 0x4392b0]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x408160
cmp byte [ebx], 0x20
jne 0x40819d
lea esi, [ebx + 1]
push 7
lea edx, [ebp - 0x14]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0x18
mov byte [ebx + 7], 0
cmp byte [ebx], 0x20
je 0x408177
mov byte [ebx + 8], 0
push ebx
push 0x42f92c
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov eax, dword [0x43951c]
mov esi, dword [ebp - 0x20]
mov edx, dword [0x438f84]
mov ecx, eax
imul ecx, dword [ebp - 0x18]
add ecx, esi
mov ecx, dword [edx + ecx*4]
mov edx, dword [0x437d90]
add esp, 0xc
cmp dword [edx + ecx*4], 1
jne 0x4081ea
push 0x43051c
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov eax, dword [0x43951c]
add esp, 8
mov edx, dword [0x438f84]
mov ecx, eax
imul ecx, dword [ebp - 0x18]
add ecx, esi
mov ecx, dword [edx + ecx*4]
mov edx, dword [0x437d90]
cmp dword [edx + ecx*4], 2
jne 0x40821b
push 0x430520
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov eax, dword [0x43951c]
add esp, 8
lea ecx, [eax - 1]
cmp esi, ecx
je 0x408243
imul eax, dword [ebp - 0x18]
mov edx, dword [0x438f84]
add eax, esi
cmp dword [edx + eax*4 + 4], 0xffffff9d
je 0x408243
push edi
push 0x2b
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
jmp 0x408275
mov eax, dword [0x438ee4]
mov ecx, dword [ebp - 0x18]
cmp dword [eax + ecx*4], 0
jne 0x408260
push 0x430538
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
push edi
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004087f0
add esp, 0xc
mov eax, dword [0x43951c]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, eax
jl 0x408118
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
mov ecx, dword [0x43925c]
add dword [ebp - 0x1c], 0xd
inc eax
inc ecx
mov dword [ebp - 0x24], eax
cmp eax, ecx
jl 0x4080d0
mov edx, dword [0x439258]
push edx
push str.NUMIT:_ld
push edi
call esi
mov eax, dword [0x4378b8]
add esp, 0xc
test eax, eax
jne 0x4082cb
push 0x43054c
jmp 0x4082d5
cmp eax, 1
jne 0x4082db
push 0x430550
push edi
call esi
add esp, 8
push edi
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
fld qword [0x438ec8]
fstp qword [esp]
push str.STOPVAL:_.10lf_n
push edi
call esi
add esp, 0x10
cmp byte [0x438fa0], 0
je 0x408311
push 0x438fa0
push str.STARTVALS:_s_n
push edi
call esi
add esp, 0xc
fld qword [0x438538]
fld st(0)
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x408337
sub esp, 8
fstp qword [esp]
push str.FIXSIGMA2:_lf_n
push edi
call esi
add esp, 0x10
jmp 0x408339
fstp st(0)
mov eax, dword [0x438540]
push eax
push str.FIXTAU2:_ld_n
push edi
call esi
mov ecx, dword [0x43950c]
push ecx
push str.FIXTAU3:_ld_n
push edi
call esi
fld qword [0x4383f0]
fld st(0)
add esp, 0x18
fld qword [0x4394f0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x408392
sub esp, 8
fstp qword [esp]
push str.DEVIANCE:_lf_n
push edi
call esi
mov edx, dword [0x439228]
push edx
push str.DF:_ld_n
push edi
call esi
add esp, 0x1c
jmp 0x408394
fstp st(0)
cmp dword [0x438ef4], 0
je 0x40846d
mov eax, dword [0x4394e8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
movsx eax, word [ecx*2 + 0x4378e0]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40846d
mov dword [ebp - 0x18], 0
jle 0x40844b
nop
mov edx, dword [ebp - 0x24]
inc edx
push edx
push str.GAMMA_d:
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov eax, dword [0x439518]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x408433
nop
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add eax, esi
sub esp, 8
fld qword [ecx + eax*8]
fstp qword [esp]
push str._.4f
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov eax, dword [0x439518]
lea edx, [eax - 1]
add esp, 0x10
cmp esi, edx
je 0x40842e
push edi
push 0x2c
call dword [sym.imp.MSVCR100.dll_fputc]
mov eax, dword [0x439518]
add esp, 8
inc esi
cmp esi, eax
jl 0x4083f0
push edi
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
mov eax, dword [ebp - 0x18]
inc eax
add esp, 8
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x20]
jl 0x4083d0
mov eax, dword [0x439518]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*8]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
cmp eax, 0x18
jl 0x4083b0
mov eax, dword [0x439238]
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
push eax
push str.FISHERTYPE:_d_n
push edi
call esi
add esp, 0xc
cmp dword [0x437a4c], 0
je 0x4084c0
push str.PRINTVARIANCE_COVARIANCE:
push edi
call esi
mov eax, dword [0x437a4c]
add esp, 8
dec eax
je 0x4084a8
dec eax
jne 0x4084b4
push edi
push 0x41
jmp 0x4084ab
push edi
push 0x59
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
push edi
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
mov eax, dword [0x438504]
test eax, eax
je 0x4084d5
push eax
push str.DEBUG:_ld_n
push edi
call esi
add esp, 0xc
push 0x438dc0
push str.OUTPUT:_s_n
push edi
call esi
add esp, 0xc
cmp dword [0x43922c], 0
push 0x438dc0
je 0x4084fa
push str.FULLOUTPUT:Y_n
jmp 0x4084ff
push str.FULLOUTPUT:N_n
push edi
call esi
add esp, 0xc
push 0x438400
push str.TITLE:_s_n
push edi
call esi
mov ecx, dword [0x4378bc]
push ecx
push str.ACCEL:_d_n
push edi
call esi
push str.R_E_MODEL:
push edi
call esi
mov eax, dword [0x439244]
add esp, 0x20
cmp eax, 4
ja case.default.0x40853a
jmp dword [eax*4 + 0x4087dc]
push str.UNRESTRICTED
jmp 0x408656
push str.HOMOL1VAR
jmp 0x408656
push str.HETL1VAR
jmp 0x408656
push str.LOGLIN_
push edi
call esi
mov eax, 1
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
cmp dword [0x43925c], eax
jle case.default.0x40853a
mov dword [ebp - 0x1c], 0xd
lea esp, [esp]
mov edx, dword [0x437f24]
cmp dword [edx + eax*4], 1
jne 0x40863b
mov ecx, dword [ebp - 0x1c]
add ecx, dword [0x43924c]
push 0xd
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0xc
push 0x4392b0
push ebx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0x18
test eax, eax
je 0x408617
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x4392b0]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x4085d0
cmp byte [ebx], 0x20
jne 0x40860d
lea esi, [ebx + 1]
push 7
lea edx, [ebp - 0x14]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0x18
mov byte [ebx + 7], 0
cmp byte [ebx], 0x20
je 0x4085e7
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
mov byte [ebx + 8], 0
cmp dword [ebp - 0x20], 0
je 0x408629
push edi
push 0x2c
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
push ebx
push 0x42f92c
push edi
call esi
mov eax, dword [ebp - 0x18]
add esp, 0xc
inc dword [ebp - 0x20]
add dword [ebp - 0x1c], 0xd
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [0x43925c]
jl 0x408590
jmp case.default.0x40853a
push str.AUTOREG
push edi
call esi
add esp, 8
push edi
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
cmp dword [0x439244], 0
je 0x408685
cmp dword [0x437d88], 0
je 0x408685
push str.UNRESTRICTED:N_n
push edi
call esi
add esp, 8
cmp dword [0x4390d0], 0
je 0x40878f
push str.RESFIL3:Y_
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
xor esi, esi
add esp, 8
mov dword [ebp - 0x18], esi
cmp dword [0x438f80], esi
jle 0x408764
mov ecx, dword [0x438f98]
mov edx, dword [ecx + esi*4]
imul edx, edx, 0xd
add edx, dword [0x438524]
push 8
push edx
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0xc
push 0x4392b0
push ebx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0x18
test eax, eax
je 0x40872d
xor eax, eax
mov cl, byte [eax + 0x4392b0]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x4086e5
cmp byte [ebx], 0x20
jne 0x408726
lea esi, [ebx + 1]
lea esp, [esp]
push 7
lea eax, [ebp - 0x14]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
push 7
lea ecx, [ebp - 0x14]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0x18
mov byte [ebx + 7], 0
cmp byte [ebx], 0x20
je 0x408700
mov esi, dword [ebp - 0x18]
mov byte [ebx + 8], 0
push ebx
push 0x42f92c
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
mov edx, dword [0x438f80]
dec edx
add esp, 0xc
cmp esi, edx
je 0x408754
push edi
push 0x2c
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
inc esi
mov dword [ebp - 0x18], esi
cmp esi, dword [0x438f80]
jl 0x4086b2
push edi
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
add esp, 8
cmp byte [0x439120], 0
je 0x40879a
push 0x439120
push str.RESFIL3NAME:_s_n
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
jmp 0x40879a
push str.RESFIL3:N_n
push edi
call esi
add esp, 8
cmp dword [0x437c60], 0
je 0x4087b7
push 0x437920
push str.GRAPHGAMMAS:_s_n
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
push ebx
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e325
mov esp, ebp
pop ebp
ret