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

Disassembly:
push 0xffffffffffffffff
push 0x10198ee1
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], 0
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x1013ffe2
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + 8]
jmp 0x1013ffe4
xor ecx, ecx
cmp ecx, eax
je 0x10140009
lea edx, [esp + 0x30]
push str.ets_FloatMat_ets_choleskyDecompose___:_not_a_square_matrix
push edx
call fcn.10009840
add esp, 8
push 0x102051d8
lea eax, [esp + 0x34]
push eax
call fcn.1017d044
test eax, eax
jle 0x10140016
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 8], 0
jg 0x10140037
lea edx, [esp + 0x30]
push str.ets_FloatMat_ets_choleskyDecompose___:_matrix_size_is_zero
push edx
call fcn.10009840
add esp, 8
push 0x102051d8
lea eax, [esp + 0x34]
push eax
call fcn.1017d044
lea esi, [esp + 0x3c]
call fcn.1004c630
mov dword [esp + 0x6c], 1
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x10140057
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + 8]
jmp 0x10140059
xor ecx, ecx
push ecx
lea ebx, [esp + 0x40]
call fcn.1004d110
fldz
push ecx
fstp dword [esp]
mov edx, ebx
call fcn.1004d500
xor ebp, ebp
cmp dword [edi + 0x10], ebp
mov byte [esp + 0x1b], 1
mov dword [esp + 0x28], ebp
jle 0x1014023d
xor esi, esi
mov dword [esp + 0x2c], esi
lea ebx, [ebx]
mov eax, dword [esp + 0x78]
mov edi, ebp
mov dword [esp + 0x24], edi
call fcn.100065c0
cmp ebp, eax
jge 0x10140222
mov edx, ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], esi
cmp dword [esp + 0x30], 4
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + eax + 4]
fld dword [ecx + edi*4]
mov ebx, dword [esp + 0x48]
fstp dword [esp + 0x1c]
lea eax, [ebp - 1]
jl 0x1014014c
mov edx, dword [esp + 0x20]
mov esi, dword [esi + ebx + 4]
mov edi, dword [edx + ebx + 4]
lea edx, [edi + eax*4 - 0xc]
lea ecx, [esi + eax*4 - 4]
sub edi, esi
lea esi, [eax + 1]
shr esi, 2
mov ebp, esi
neg ebp
lea eax, [eax + ebp*4]
fld dword [esp + 0x1c]
sub ecx, 0x10
fld dword [ecx + 0x14]
sub edx, 0x10
sub esi, 1
fmul dword [edx + 0x1c]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [ecx + edi + 0x10]
fmul dword [ecx + 0x10]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [ecx + 0xc]
fmul dword [edx + 0x14]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [ecx + 8]
fmul dword [edx + 0x10]
fsubp st(1)
fstp dword [esp + 0x1c]
jne 0x101400f4
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
test eax, eax
jl 0x1014017f
mov edx, dword [esp + 0x20]
mov edi, dword [esi + ebx + 4]
mov edx, dword [edx + ebx + 4]
lea ecx, [edi + eax*4]
sub edx, edi
fld dword [esp + 0x1c]
sub eax, 1
fld dword [edx + ecx]
sub ecx, 4
test eax, eax
fmul dword [ecx + 4]
fsubp st(1)
fstp dword [esp + 0x1c]
jge 0x10140161
mov edi, dword [esp + 0x24]
cmp ebp, edi
jne 0x101401bc
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1014019f
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x1014019f
mov byte [eax], 0
push ecx
fstp dword [esp]
call fcn.10006530
mov eax, dword [esi + ebx + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
add esp, 4
fstp dword [eax + edi*4]
jmp 0x10140205
mov ecx, dword [esi + ebx + 4]
fld dword [ecx + ebp*4]
lea eax, [ecx + ebp*4]
push ecx
fstp dword [esp]
mov dword [esp + 0x28], eax
call fcn.10009f50
fcomp dword [0x101e99c0]
add esp, 4
fnstsw ax
test ah, 5
jp 0x101401e8
mov byte [esp + 0x1b], 0
mov edx, dword [esp + 0x24]
fld dword [esp + 0x1c]
fdiv dword [edx]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebx + 4]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [ecx + ebp*4]
mov eax, dword [esp + 0x78]
add dword [esp + 0x20], 0x24
add edi, 1
mov dword [esp + 0x24], edi
call fcn.100065c0
cmp edi, eax
jl 0x101400b1
mov edx, dword [esp + 0x78]
add ebp, 1
add esi, 0x24
cmp ebp, dword [edx + 0x10]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
jl 0x10140090
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x1014025c
cmp byte [ecx], 0
je 0x10140258
cmp byte [esp + 0x1b], 0
je 0x10140258
mov eax, 1
jmp 0x1014025a
xor eax, eax
mov byte [ecx], al
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.1004c6b0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], 1
mov byte [esp + 0x6c], 0
call fcn.1004ad70
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret