Function at 0x401150
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 4]
mov dword [esp + 0xc], eax
push ebx
xor eax, eax
push ebp
push esi
cmp edx, eax
push edi
mov dword [esp + 0x34], eax
jle 0x4016ad
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xc]
xor edi, edi
test eax, eax
jle 0x401277
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + edi*4]
test dword [esi + ebx], edx
je 0x40126b
inc eax
mov edx, dword [esp + 0x1c]
imul eax, edi
fld qword [edx + eax*8]
fabs
fcomp qword [0x4677e8]
lea edx, [edx + eax*8]
fnstsw ax
test ah, 1
je 0x4011c6
mov dword [edx], 0xd9d7bdbb
mov dword [edx + 4], 0x3ddb7cdf
lea eax, [edi + 1]
mov ebx, eax
mov eax, dword [ecx + 0xc]
cmp ebx, eax
mov dword [esp + 0x20], ebx
jge 0x40126b
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [edx + ebx*4]
test dword [esi + ebp], edx
je 0x40125b
mov edx, eax
mov esi, dword [esp + 0x1c]
imul edx, edi
add edx, ebx
inc eax
imul eax, edi
fld qword [esi + edx*8]
lea edx, [esi + edx*8]
fdiv qword [esi + eax*8]
lea esi, [edi + 1]
fstp qword [edx]
mov eax, dword [ecx + 0xc]
cmp esi, eax
jge 0x40125b
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [edx + esi*4]
test dword [ebx + ebp], edx
je 0x40124f
mov edx, eax
mov ebx, dword [esp + 0x20]
imul edx, esi
imul eax, edi
mov ebp, dword [esp + 0x1c]
add ebx, edx
lea ebx, [ebp + ebx*8]
mov ebp, dword [esp + 0x20]
add eax, ebp
lea ebp, [edx + edi]
mov edx, dword [esp + 0x1c]
fld qword [edx + eax*8]
fmul qword [edx + ebp*8]
fsubr qword [ebx]
fstp qword [ebx]
mov eax, dword [ecx + 0xc]
inc esi
cmp esi, eax
jl 0x401210
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
inc ebx
cmp ebx, eax
mov dword [esp + 0x20], ebx
jl 0x4011da
mov eax, dword [ecx + 0xc]
inc edi
cmp edi, eax
jl 0x401186
mov eax, dword [ecx + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [eax + edx]
test edi, edi
mov dword [esp + 0x24], edi
je 0x401487
mov edx, dword [ecx + 0x10]
mov ebp, dword [edi]
mov eax, edx
mov esi, dword [ecx + 0x20]
imul eax, ebp
mov ebx, dword [ecx + 0x24]
mov dword [esp + 0x20], ebp
lea eax, [esi + eax*8]
mov esi, dword [ecx + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
imul eax, edx
shl eax, 3
mov edx, eax
add eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xc]
add edx, ebx
xor esi, esi
test eax, eax
mov dword [esp + 0x28], edx
jle 0x4013d3
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + esi*4]
test dword [edi + ebx], edx
je 0x4013c3
xor ebx, ebx
test eax, eax
mov dword [esp + 0x18], ebx
jle 0x4013c3
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov edx, dword [edx + ebx*4]
test dword [edi + ebp*4], edx
je 0x4013b3
mov edx, eax
mov edi, dword [esp + 0x28]
imul edx, esi
add edx, ebx
inc eax
imul eax, esi
fld qword [edi + edx*8]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x1c]
fdiv qword [edi + eax*8]
lea edi, [esi + 1]
fstp qword [edx]
mov eax, dword [ecx + 0xc]
cmp edi, eax
jge 0x4013b3
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [edx + edi*4]
test dword [ebx + ebp], edx
je 0x4013a3
mov edx, eax
mov ebx, dword [esp + 0x18]
imul edx, edi
imul eax, esi
mov ebp, dword [esp + 0x28]
add ebx, edx
add edx, esi
lea ebx, [ebp + ebx*8]
mov ebp, dword [esp + 0x18]
add eax, ebp
mov ebp, dword [esp + 0x28]
fld qword [ebp + eax*8]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
fmul qword [eax + edx*8]
fsubr qword [ebx]
fstp qword [ebx]
mov eax, dword [ecx + 0xc]
mov edx, eax
imul eax, esi
imul edx, dword [esp + 0x18]
add eax, edi
lea ebx, [edx + edi]
add edx, esi
lea ebx, [ebp + ebx*8]
mov ebp, dword [esp + 0x1c]
fld qword [ebp + eax*8]
mov eax, dword [esp + 0x2c]
fmul qword [eax + edx*8]
fsubr qword [ebx]
fstp qword [ebx]
mov eax, dword [ecx + 0xc]
inc edi
cmp edi, eax
jl 0x401331
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
inc ebx
cmp ebx, eax
mov dword [esp + 0x18], ebx
jl 0x4012f3
mov eax, dword [ecx + 0xc]
inc esi
cmp esi, eax
jl 0x4012cf
mov edi, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
xor edx, edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x401478
mov esi, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov esi, dword [esi + edx*4]
test dword [ebx + ebp*4], esi
je 0x401468
xor ebx, ebx
test eax, eax
jle 0x401468
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov edx, dword [edx + ebx*4]
mov edi, dword [esi + ebp*4]
test edi, edx
je 0x401458
xor esi, esi
test eax, eax
jle 0x401458
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [edx + esi*4]
test dword [edi + ebp], edx
je 0x40144c
mov edx, eax
mov ebp, dword [esp + 0x30]
imul edx, dword [esp + 0x18]
imul eax, esi
lea edi, [edx + ebx]
add eax, ebx
add edx, esi
lea edi, [ebp + edi*8]
mov ebp, dword [esp + 0x28]
fld qword [ebp + eax*8]
mov eax, dword [esp + 0x2c]
fmul qword [eax + edx*8]
fsubr qword [edi]
fstp qword [edi]
mov eax, dword [ecx + 0xc]
inc esi
cmp esi, eax
jl 0x40140e
mov ebp, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
inc ebx
cmp ebx, eax
jl 0x4013f8
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
inc edx
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x4013e4
mov edi, dword [edi + 8]
test edi, edi
mov dword [esp + 0x24], edi
jne 0x40128d
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [edx + eax]
test esi, esi
mov dword [esp + 0x30], esi
je 0x40166a
jmp 0x4014a3
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 4]
mov ebp, dword [ecx + 0x24]
imul eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x28]
mov edi, dword [esi]
shl eax, 3
mov edx, eax
add eax, ebx
add edx, ebp
mov dword [esp + 0x40], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x38], edi
test eax, eax
mov ebx, dword [edx + edi*4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
je 0x40165b
jmp 0x4014e6
mov eax, dword [esp + 0x24]
mov ebp, dword [eax]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + 4]
mov esi, dword [ecx + 0x24]
imul eax, edx
shl eax, 3
mov dword [esp + 0x4c], ebp
lea edi, [esi + eax]
mov dword [esp + 0x28], edi
mov edi, dword [ecx + 0x28]
add eax, edi
test ebx, ebx
mov dword [esp + 0x2c], eax
je 0x401698
cmp dword [ebx], ebp
jge 0x401528
mov ebx, dword [ebx + 8]
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x401698
jmp 0x401513
test ebx, ebx
je 0x401698
cmp dword [ebx], ebp
jne 0x401698
mov eax, dword [ebx + 4]
imul eax, edx
shl eax, 3
lea edx, [eax + esi]
add eax, edi
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
xor edx, edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x40163d
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov edx, dword [esi + edx*4]
mov esi, dword [esp + 0x38]
test dword [edi + esi*4], edx
je 0x401629
xor edi, edi
test eax, eax
jle 0x401629
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov edx, dword [edx + edi*4]
test dword [esi + ebp*4], edx
je 0x40161d
xor esi, esi
test eax, eax
jle 0x40161d
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [edx + esi*4]
test dword [ebx + ebp], edx
je 0x40160d
mov edx, eax
mov ebp, dword [esp + 0x3c]
imul edx, dword [esp + 0x18]
imul eax, esi
lea ebx, [edx + edi]
add eax, edi
add edx, esi
lea ebx, [ebp + ebx*8]
mov ebp, dword [esp + 0x28]
fld qword [ebp + eax*8]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
fmul qword [eax + edx*8]
fsubr qword [ebx]
fstp qword [ebx]
mov eax, dword [ecx + 0xc]
mov ebx, dword [esp + 0x18]
mov edx, eax
imul eax, esi
imul edx, edi
add ebx, edx
lea ebx, [ebp + ebx*8]
mov ebp, dword [esp + 0x18]
add eax, ebp
mov ebp, dword [esp + 0x48]
add edx, esi
fld qword [ebp + eax*8]
mov eax, dword [esp + 0x2c]
fmul qword [eax + edx*8]
fsubr qword [ebx]
fstp qword [ebx]
mov eax, dword [ecx + 0xc]
inc esi
cmp esi, eax
jl 0x40159b
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
inc edi
cmp edi, eax
jl 0x40157f
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
inc edx
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x40155f
mov edx, dword [esp + 0x24]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [edx + 8]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4014e2
mov esi, dword [esp + 0x30]
mov esi, dword [esi + 8]
test esi, esi
mov dword [esp + 0x30], esi
jne 0x40149f
mov esi, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x34]
add esi, 4
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
inc eax
lea edx, [esi + edx*8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 4]
cmp eax, edx
jge 0x4016ad
jmp 0x401179
push 0
push 0
push str.Error_factor_table_
call fcn.00442eda
push 1
call fcn.004246ad
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret