Function at 0x5ca320
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x10], esi
je 0x5ca5eb
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa8]
add edx, 0x14
lea edi, [ecx + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
nop
mov ecx, dword [esi]
test byte [ecx + 0xc], 4
je 0x5ca429
lea ebp, [ecx + 0x60]
lea edx, [esp + 0x40]
lea ecx, [edi + 0xc]
mov ebx, 3
nop
lea esp, [esp]
mov eax, ebp
mov esi, 3
fld dword [eax - 0x10]
add eax, 4
fmul dword [ecx - 0x10]
add edx, 4
dec esi
fld dword [eax + 0xc]
fmul dword [ecx + 0x10]
faddp st(1)
fld dword [ecx]
fmul dword [eax - 4]
faddp st(1)
fstp dword [edx - 4]
jne 0x5ca387
add ecx, 4
dec ebx
jne 0x5ca380
xor edx, edx
fld dword [esp + edx + 0x48]
lea ecx, [esp + edx + 0x64]
fld dword [esp + edx + 0x44]
lea eax, [edi + 0xc]
fld dword [esp + edx + 0x40]
mov esi, 3
fld st(0)
add eax, 4
fmul dword [eax - 0x14]
add ecx, 4
dec esi
fld st(3)
fmul dword [eax + 0xc]
faddp st(1)
fld st(2)
fmul dword [eax - 4]
faddp st(1)
fstp dword [ecx - 4]
jne 0x5ca3c8
fstp st(0)
add edx, 0xc
cmp edx, 0x24
fstp st(0)
fstp st(0)
jl 0x5ca3b0
mov ecx, dword [esp + 0x14]
xor eax, eax
add ecx, 0xc
mov edi, edi
mov edx, dword [esp + eax*4 + 0x64]
mov dword [ecx - 0x20], edx
mov edx, dword [esp + eax*4 + 0x70]
mov dword [ecx - 0x10], edx
mov edx, dword [esp + eax*4 + 0x7c]
mov dword [ecx], edx
inc eax
add ecx, 4
cmp eax, 3
jl 0x5ca400
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x5ca479
fld dword [ecx + 0x80]
fcom dword [ecx + 0x94]
fnstsw ax
test ah, 5
jp 0x5ca444
fstp st(0)
fld dword [ecx + 0x94]
fcom dword [ecx + 0xa8]
fnstsw ax
test ah, 5
jp 0x5ca459
fstp st(0)
fld dword [ecx + 0xa8]
fdivr dword [0x5f53f4]
mov dword [edx + 0x10], ebx
mov dword [edx + 0xc], ebx
mov dword [edx + 4], ebx
mov dword [edx - 4], ebx
mov dword [edx - 0xc], ebx
mov dword [edx - 0x10], ebx
fst dword [edx + 0x14]
fst dword [edx]
fstp dword [edx - 0x14]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [edx - 8], ecx
mov dword [edx + 0x18], ebx
mov dword [edx + 8], ebx
mov eax, dword [esi]
test byte [eax + 0xc], 8
je 0x5ca5c4
fld dword [edi - 4]
lea esi, [edi + 0xc]
fmul dword [eax + 0xc0]
xor edx, edx
fld dword [edi + 4]
lea ecx, [eax + 0x90]
fmul dword [eax + 0xc8]
faddp st(1)
fld dword [edi]
fmul dword [eax + 0xc4]
faddp st(1)
fld dword [edi + 0x10]
fmul dword [eax + 0xc4]
fld dword [edi + 0x14]
fmul dword [eax + 0xc8]
faddp st(1)
fld dword [esi]
fmul dword [eax + 0xc0]
faddp st(1)
fld dword [edi + 0x20]
fmul dword [eax + 0xc4]
fld dword [edi + 0x24]
fmul dword [eax + 0xc8]
faddp st(1)
fld dword [edi + 0x1c]
fmul dword [eax + 0xc0]
faddp st(1)
lea esp, [esp]
fld st(0)
inc edx
fmul dword [ecx + 0x10]
add ecx, 4
cmp edx, 3
fld st(3)
fmul dword [ecx - 0x14]
faddp st(1)
fld st(2)
fmul dword [ecx - 4]
faddp st(1)
fstp dword [esp + edx*4 + 0x24]
jl 0x5ca500
fstp st(0)
xor edx, edx
fstp st(0)
mov ecx, esi
fstp st(0)
lea ebx, [ebx]
fld dword [esp + 0x30]
inc edx
fmul dword [ecx + 0x10]
add ecx, 4
cmp edx, 3
fld dword [esp + 0x28]
fmul dword [ecx - 0x14]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [ecx - 4]
faddp st(1)
fstp dword [esp + edx*4 + 0x18]
jl 0x5ca530
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
fmul dword [eax + 0xc8]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x24]
mov esi, ecx
fmul dword [eax + 0xc4]
xor ebx, ebx
fsubp st(1)
fld dword [esp + 0x24]
fmul dword [eax + 0xc0]
fld dword [esp + 0x1c]
fmul dword [eax + 0xc8]
fsubp st(1)
fld dword [esp + 0x1c]
fmul dword [eax + 0xc4]
fld dword [esp + 0x20]
fmul dword [eax + 0xc0]
fsubp st(1)
fstp dword [esp + 0x3c]
fxch st(1)
fadd dword [eax + 0x20]
fstp dword [eax + 0x20]
mov eax, dword [ecx]
fadd dword [eax + 0x24]
fstp dword [eax + 0x24]
mov eax, dword [ecx]
fld dword [esp + 0x3c]
fadd dword [eax + 0x28]
fstp dword [eax + 0x28]
mov eax, dword [esp + 0x18]
add esi, 4
add edx, 0x30
add edi, 0x40
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jne 0x5ca360
mov eax, dword [esp + 0xac]
cmp eax, ebx
fld dword [0x5f53f4]
fdiv dword [esp + 0xb0]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x14], edi
fstp dword [esp + 0x18]
je 0x5ca6ff
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa4]
add edx, 0x10
mov dword [esp + 0x10], eax
lea ebx, [edi + 0x20]
mov eax, 0xb0
lea esp, [esp]
mov esi, dword [ecx]
fld dword [eax + esi - 0xa0]
add eax, 4
cmp eax, 0xbc
fmul dword [ebx - 0x14]
fld dword [esp + 0x18]
fmul dword [eax + esi - 4]
faddp st(1)
fstp dword [edx + eax - 0xc4]
jne 0x5ca630
mov dword [edx - 4], 0
mov eax, 0xc0
mov esi, dword [ecx]
fld dword [esp + 0x18]
fmul dword [eax + esi]
add eax, 4
cmp eax, 0xcc
fstp dword [eax + edx - 0xc4]
jne 0x5ca663
xor eax, eax
mov esi, edx
fld dword [edi + eax*4]
mov ebp, dword [ecx]
fmul dword [ebp + 0x20]
inc eax
add esi, 4
cmp eax, 3
fadd dword [esi - 4]
fstp dword [esi - 4]
jne 0x5ca681
sub edi, edx
mov eax, edx
add edi, 0x10
mov esi, 3
fld dword [edi + eax]
mov ebp, dword [ecx]
fmul dword [ebp + 0x24]
add eax, 4
dec esi
fadd dword [eax - 4]
fstp dword [eax - 4]
jne 0x5ca6a4
mov eax, edx
mov esi, ebx
mov edi, 3
mov ebx, dword [ecx]
fld dword [ebx + 0x28]
add esi, 4
fmul dword [esi - 4]
add eax, 4
dec edi
fadd dword [eax - 4]
fstp dword [eax - 4]
jne 0x5ca6c1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [edx + 0xc], 0
add edi, 0x30
add edx, 0x20
add ecx, 4
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jne 0x5ca624
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x28