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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push ebx
sub esp, 0x194
mov ecx, dword [ebp + 0x1c]
pxor xmm5, xmm5
mov edi, dword [ebp + 0x20]
pxor xmm3, xmm3
mov edx, dword [ebp + 0x28]
mov ecx, dword [ecx]
mov dword [esp + 0x64], ecx
mov esi, dword [edi]
mov edi, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x54], edi
lea ebx, [esi + edi - 1]
mov dword [esp + 0x38], ebx
movsd xmm6, qword [ecx]
lea esi, [ecx + esi*8]
movsd xmm2, qword [esi + 8]
movaps xmm0, xmm6
mulsd xmm0, xmm2
movaps xmm7, xmm6
mulsd xmm7, qword [esi + 0x10]
subsd xmm5, xmm0
movsd xmm4, qword [esi]
movaps xmm1, xmm6
movsd qword [esp], xmm2
movaps xmm0, xmm6
pxor xmm2, xmm2
lea eax, [edi + ebx - 2]
mulsd xmm1, xmm4
subsd xmm2, xmm7
mulsd xmm0, qword [esi + 0x18]
subsd xmm3, xmm1
movsd qword [esp + 0xf0], xmm5
movaps xmm5, xmm6
mulsd xmm5, qword [esi + 0x20]
pxor xmm1, xmm1
subsd xmm1, xmm0
mulsd xmm6, qword [esi + 0x28]
mulsd xmm4, xmm3
movsd qword [esp + 0xc8], xmm2
pxor xmm0, xmm0
pxor xmm2, xmm2
lea edx, [edi + eax - 3]
movsd qword [esp + 0xa8], xmm1
subsd xmm2, xmm5
subsd xmm0, xmm6
movsd qword [esp + 0x80], xmm2
pxor xmm5, xmm5
movsd xmm2, qword [ecx + edi*8]
pxor xmm6, xmm6
movsd qword [esp + 0x68], xmm0
movaps xmm0, xmm2
mulsd xmm0, qword [ecx + ebx*8 + 8]
movaps xmm7, xmm2
movsd xmm1, qword [ecx + ebx*8]
subsd xmm5, xmm0
mulsd xmm7, xmm1
movaps xmm0, xmm2
subsd xmm6, xmm7
mulsd xmm0, qword [ecx + ebx*8 + 0x10]
mulsd xmm1, xmm6
pxor xmm7, xmm7
movsd qword [esp + 0xf8], xmm5
subsd xmm7, xmm0
movaps xmm0, xmm2
pxor xmm5, xmm5
mulsd xmm0, qword [ecx + ebx*8 + 0x18]
movsd qword [esp + 0xd8], xmm7
subsd xmm5, xmm0
movaps xmm0, xmm2
pxor xmm7, xmm7
mulsd xmm0, qword [ecx + ebx*8 + 0x20]
mulsd xmm2, qword [ecx + ebx*8 + 0x28]
subsd xmm7, xmm0
mov dword [esp + 0x60], esi
lea esi, [edi + edi - 3]
movsd qword [esp + 0xb8], xmm5
pxor xmm0, xmm0
movsd xmm5, qword [ecx + esi*8 + 0x10]
lea esi, [edi + esi - 3]
movsd qword [esp + 0x90], xmm7
movaps xmm7, xmm5
movsd qword [esp + 0x58], xmm3
subsd xmm0, xmm2
movsd xmm2, qword [ecx + eax*8]
mulsd xmm7, xmm2
movsd qword [esp + 0x70], xmm0
pxor xmm0, xmm0
movsd qword [esp + 0x118], xmm6
subsd xmm0, xmm7
movaps xmm7, xmm5
mulsd xmm7, qword [ecx + eax*8 + 8]
movsd qword [esp + 0x130], xmm0
pxor xmm0, xmm0
mov dword [esp + 0x3c], eax
subsd xmm0, xmm7
movaps xmm7, xmm5
mulsd xmm7, qword [ecx + eax*8 + 0x10]
movsd qword [esp + 0x110], xmm0
pxor xmm0, xmm0
subsd xmm0, xmm7
movaps xmm7, xmm5
mulsd xmm7, qword [ecx + eax*8 + 0x18]
movsd qword [esp + 0xe8], xmm0
pxor xmm0, xmm0
subsd xmm0, xmm7
movaps xmm7, xmm5
mulsd xmm7, qword [ecx + eax*8 + 0x20]
mulsd xmm5, qword [ecx + eax*8 + 0x28]
movsd qword [esp + 0xc0], xmm0
pxor xmm0, xmm0
subsd xmm0, xmm7
pxor xmm7, xmm7
movsd qword [esp + 0xa0], xmm0
subsd xmm7, xmm5
movsd xmm5, qword [ecx + esi*8 + 0x18]
add esi, edi
movsd qword [esp + 0x78], xmm7
movaps xmm7, xmm5
movsd xmm0, qword [ecx + edx*8]
mulsd xmm7, xmm0
movsd qword [esp + 8], xmm0
pxor xmm0, xmm0
subsd xmm0, xmm7
movsd xmm7, qword [ecx + edx*8 + 8]
movsd qword [esp + 0x138], xmm0
movaps xmm0, xmm5
mulsd xmm0, xmm7
movsd qword [esp + 0x10], xmm7
pxor xmm7, xmm7
subsd xmm7, xmm0
movsd xmm0, qword [ecx + edx*8 + 0x10]
movsd qword [esp + 0x128], xmm7
movaps xmm7, xmm5
mulsd xmm7, xmm0
movsd qword [esp + 0x18], xmm0
pxor xmm0, xmm0
subsd xmm0, xmm7
movsd xmm7, qword [ecx + edx*8 + 0x18]
movsd qword [esp + 0x108], xmm0
movaps xmm0, xmm5
mulsd xmm0, xmm7
movsd qword [esp + 0x20], xmm7
pxor xmm7, xmm7
subsd xmm7, xmm0
movsd xmm0, qword [ecx + edx*8 + 0x20]
movsd qword [esp + 0xe0], xmm7
movaps xmm7, xmm5
mulsd xmm7, xmm0
movsd qword [esp + 0x28], xmm0
pxor xmm0, xmm0
subsd xmm0, xmm7
movsd xmm7, qword [ecx + edx*8 + 0x28]
mulsd xmm5, xmm7
movsd qword [esp + 0xb0], xmm0
add edx, edi
pxor xmm0, xmm0
movsd qword [esp + 0x30], xmm7
subsd xmm0, xmm5
movsd qword [esp + 0x88], xmm0
pxor xmm7, xmm7
movsd xmm0, qword [ecx + esi*8]
movaps xmm5, xmm0
mulsd xmm5, qword [ecx + edx*8 - 0x20]
mov edi, dword [ebp + 0x2c]
subsd xmm7, xmm5
movaps xmm5, xmm0
mulsd xmm5, qword [ecx + edx*8 - 0x18]
movsd qword [esp + 0x148], xmm7
pxor xmm7, xmm7
mov esi, dword [edi]
subsd xmm7, xmm5
movaps xmm5, xmm0
lea edi, [esi + esi - 3]
mulsd xmm5, qword [ecx + edx*8 - 0x10]
movsd qword [esp + 0x140], xmm7
pxor xmm7, xmm7
mov dword [esp + 0x48], edi
lea edi, [esi + edi - 3]
mov dword [esp + 0x4c], edi
lea edi, [esi + edi - 4]
mov dword [esp + 0x50], edi
subsd xmm7, xmm5
movaps xmm5, xmm0
mulsd xmm5, qword [ecx + edx*8 - 8]
movsd qword [esp + 0x120], xmm7
pxor xmm7, xmm7
mov edi, dword [ebp + 0x10]
subsd xmm7, xmm5
addsd xmm4, qword [edi]
movaps xmm5, xmm0
addsd xmm4, xmm1
mulsd xmm5, qword [ecx + edx*8]
mulsd xmm0, qword [ecx + edx*8 + 8]
movsd qword [esp + 0x100], xmm7
pxor xmm7, xmm7
movsd xmm1, qword [esp + 8]
subsd xmm7, xmm5
movsd qword [esp + 0xd0], xmm7
pxor xmm5, xmm5
movsd xmm7, qword [esp + 0x130]
subsd xmm5, xmm0
mulsd xmm2, xmm7
movsd xmm0, qword [esp + 0x138]
addsd xmm4, xmm2
mulsd xmm1, xmm0
movsd qword [esp + 0x98], xmm5
addsd xmm4, xmm1
movsd xmm2, qword [ecx + edx*8 - 0x20]
movsd xmm5, qword [esp + 0x148]
mulsd xmm2, xmm5
mov dword [esp + 0x44], esi
addsd xmm4, xmm2
movsd qword [edi], xmm4
movsd xmm4, qword [esp]
movaps xmm2, xmm4
mulsd xmm2, xmm3
movsd xmm3, qword [ecx + ebx*8 + 8]
movaps xmm1, xmm3
addsd xmm2, qword [edi + 8]
mulsd xmm1, xmm6
mov dword [esp + 0x40], edx
addsd xmm2, xmm1
movsd xmm1, qword [ecx + eax*8 + 8]
movaps xmm6, xmm1
mulsd xmm6, xmm7
mulsd xmm1, qword [esp + 0x110]
addsd xmm2, xmm6
movsd xmm6, qword [esp + 0x10]
movaps xmm7, xmm6
mulsd xmm7, xmm0
mulsd xmm6, qword [esp + 0x128]
addsd xmm2, xmm7
movsd xmm0, qword [ecx + edx*8 - 0x18]
movaps xmm7, xmm0
mulsd xmm7, xmm5
mulsd xmm0, qword [esp + 0x140]
addsd xmm2, xmm7
movsd qword [edi + 8], xmm2
movsd xmm2, qword [esp + 0xf0]
movsd xmm7, qword [esp + 0xf8]
mulsd xmm4, xmm2
mulsd xmm3, xmm7
addsd xmm4, xmm3
addsd xmm4, xmm1
addsd xmm4, xmm6
movsd xmm6, qword [ecx + eax*8 + 0x10]
mulsd xmm6, qword [esp + 0x130]
addsd xmm4, xmm0
addsd xmm4, qword [edi + esi*8]
movsd qword [edi + esi*8], xmm4
mov esi, dword [esp + 0x60]
movsd xmm4, qword [ecx + ebx*8 + 0x10]
movaps xmm1, xmm4
movsd xmm0, qword [esi + 0x10]
movaps xmm3, xmm0
mulsd xmm3, qword [esp + 0x58]
mulsd xmm1, qword [esp + 0x118]
addsd xmm3, qword [edi + 0x10]
addsd xmm3, xmm1
movsd xmm1, qword [esp + 0x18]
mulsd xmm1, qword [esp + 0x138]
addsd xmm3, xmm6
movsd xmm6, qword [ecx + edx*8 - 0x10]
addsd xmm3, xmm1
movaps xmm1, xmm6
mulsd xmm1, xmm5
mov edx, dword [esp + 0x44]
addsd xmm3, xmm1
movsd qword [edi + 0x10], xmm3
movaps xmm3, xmm0
mulsd xmm3, xmm2
movaps xmm2, xmm4
mulsd xmm2, xmm7
mulsd xmm0, qword [esp + 0xc8]
mulsd xmm4, qword [esp + 0xd8]
addsd xmm3, xmm2
addsd xmm0, xmm4
movsd xmm2, qword [ecx + eax*8 + 0x10]
movaps xmm7, xmm2
mulsd xmm7, qword [esp + 0x110]
mulsd xmm2, qword [esp + 0xe8]
addsd xmm3, xmm7
addsd xmm0, xmm2
movsd xmm7, qword [esp + 0x18]
movaps xmm1, xmm7
mulsd xmm1, qword [esp + 0x128]
mulsd xmm7, qword [esp + 0x108]
addsd xmm3, xmm1
addsd xmm0, xmm7
movaps xmm1, xmm6
mulsd xmm1, qword [esp + 0x140]
mulsd xmm6, qword [esp + 0x120]
addsd xmm3, xmm1
addsd xmm0, xmm6
addsd xmm3, qword [edi + edx*8 + 8]
movsd qword [edi + edx*8 + 8], xmm3
mov edx, dword [esp + 0x48]
movsd xmm7, qword [esi + 0x18]
movaps xmm1, xmm7
mulsd xmm1, qword [esp + 0x58]
addsd xmm0, qword [edi + edx*8 + 0x10]
movsd xmm4, qword [ecx + ebx*8 + 0x18]
movsd qword [edi + edx*8 + 0x10], xmm0
movaps xmm3, xmm4
mulsd xmm3, qword [esp + 0x118]
addsd xmm1, qword [edi + 0x18]
movsd xmm0, qword [ecx + eax*8 + 0x18]
addsd xmm1, xmm3
movaps xmm2, xmm0
mulsd xmm2, qword [esp + 0x130]
movsd xmm6, qword [esp + 0x20]
addsd xmm1, xmm2
movaps xmm3, xmm6
mulsd xmm3, qword [esp + 0x138]
mov eax, dword [esp + 0x40]
addsd xmm1, xmm3
movsd xmm3, qword [ecx + eax*8 - 8]
movaps xmm2, xmm3
mulsd xmm2, xmm5
mov eax, dword [esp + 0x44]
addsd xmm1, xmm2
movsd qword [edi + 0x18], xmm1
movaps xmm2, xmm7
movaps xmm1, xmm4
mulsd xmm2, qword [esp + 0xf0]
mulsd xmm1, qword [esp + 0xf8]
addsd xmm2, xmm1
movaps xmm1, xmm0
mulsd xmm1, qword [esp + 0x110]
addsd xmm2, xmm1
movaps xmm1, xmm6
mulsd xmm1, qword [esp + 0x128]
addsd xmm2, xmm1
movaps xmm1, xmm3
mulsd xmm1, qword [esp + 0x140]
addsd xmm2, xmm1
movaps xmm1, xmm7
mulsd xmm1, qword [esp + 0xc8]
mulsd xmm7, qword [esp + 0xa8]
addsd xmm2, qword [edi + eax*8 + 0x10]
movsd qword [edi + eax*8 + 0x10], xmm2
movaps xmm2, xmm4
mulsd xmm2, qword [esp + 0xd8]
mulsd xmm4, qword [esp + 0xb8]
addsd xmm1, xmm2
addsd xmm7, xmm4
movaps xmm2, xmm0
mulsd xmm2, qword [esp + 0xe8]
mulsd xmm0, qword [esp + 0xc0]
addsd xmm1, xmm2
addsd xmm7, xmm0
movaps xmm2, xmm6
mulsd xmm2, qword [esp + 0x108]
mulsd xmm6, qword [esp + 0xe0]
addsd xmm1, xmm2
addsd xmm7, xmm6
movaps xmm2, xmm3
mulsd xmm2, qword [esp + 0x120]
mulsd xmm3, qword [esp + 0x100]
addsd xmm1, xmm2
addsd xmm7, xmm3
addsd xmm1, qword [edi + edx*8 + 0x18]
movsd qword [edi + edx*8 + 0x18], xmm1
mov edx, dword [esp + 0x4c]
movsd xmm2, qword [esi + 0x20]
movaps xmm3, xmm2
mulsd xmm3, qword [esp + 0x58]
addsd xmm7, qword [edi + edx*8 + 0x18]
movsd xmm1, qword [ecx + ebx*8 + 0x20]
movsd qword [edi + edx*8 + 0x18], xmm7
movaps xmm4, xmm1
mulsd xmm4, qword [esp + 0x118]
addsd xmm3, qword [edi + 0x20]
mov ebx, dword [esp + 0x3c]
addsd xmm3, xmm4
movsd xmm4, qword [ecx + ebx*8 + 0x20]
movaps xmm0, xmm4
mulsd xmm0, qword [esp + 0x130]
movsd xmm7, qword [esp + 0x28]
addsd xmm3, xmm0
movaps xmm6, xmm7
mulsd xmm6, qword [esp + 0x138]
mov ebx, dword [esp + 0x40]
addsd xmm3, xmm6
movsd xmm0, qword [ecx + ebx*8]
movaps xmm6, xmm0
mulsd xmm6, xmm5
addsd xmm3, xmm6
movaps xmm6, xmm2
mulsd xmm6, qword [esp + 0xf0]
movsd qword [edi + 0x20], xmm3
movaps xmm3, xmm1
mulsd xmm3, qword [esp + 0xf8]
addsd xmm6, xmm3
movaps xmm3, xmm4
mulsd xmm3, qword [esp + 0x110]
addsd xmm6, xmm3
movaps xmm3, xmm7
mulsd xmm3, qword [esp + 0x128]
addsd xmm6, xmm3
movaps xmm3, xmm0
mulsd xmm3, qword [esp + 0x140]
addsd xmm6, xmm3
movaps xmm3, xmm2
mulsd xmm3, qword [esp + 0xc8]
addsd xmm6, qword [edi + eax*8 + 0x18]
movsd qword [edi + eax*8 + 0x18], xmm6
movaps xmm6, xmm1
mulsd xmm6, qword [esp + 0xd8]
mov eax, dword [esp + 0x48]
addsd xmm3, xmm6
movaps xmm6, xmm4
mulsd xmm6, qword [esp + 0xe8]
addsd xmm3, xmm6
movaps xmm6, xmm7
mulsd xmm6, qword [esp + 0x108]
addsd xmm3, xmm6
movaps xmm6, xmm0
mulsd xmm6, qword [esp + 0x120]
addsd xmm3, xmm6
movaps xmm6, xmm2
mulsd xmm6, qword [esp + 0xa8]
mulsd xmm2, qword [esp + 0x80]
addsd xmm3, qword [edi + eax*8 + 0x20]
movsd qword [edi + eax*8 + 0x20], xmm3
movaps xmm3, xmm1
mulsd xmm3, qword [esp + 0xb8]
mulsd xmm1, qword [esp + 0x90]
addsd xmm6, xmm3
addsd xmm2, xmm1
movaps xmm3, xmm4
mulsd xmm3, qword [esp + 0xc0]
mulsd xmm4, qword [esp + 0xa0]
addsd xmm6, xmm3
addsd xmm2, xmm4
movaps xmm3, xmm7
mulsd xmm3, qword [esp + 0xe0]
mulsd xmm7, qword [esp + 0xb0]
addsd xmm6, xmm3
addsd xmm2, xmm7
movaps xmm3, xmm0
mulsd xmm3, qword [esp + 0x100]
mulsd xmm0, qword [esp + 0xd0]
addsd xmm6, xmm3
addsd xmm2, xmm0
addsd xmm6, qword [edi + edx*8 + 0x20]
movsd qword [edi + edx*8 + 0x20], xmm6
mov edx, dword [esp + 0x50]
movsd xmm0, qword [esi + 0x28]
movaps xmm4, xmm0
mov esi, dword [esp + 0x38]
mulsd xmm4, qword [esp + 0x58]
addsd xmm2, qword [edi + edx*8 + 0x20]
movsd qword [edi + edx*8 + 0x20], xmm2
movsd xmm2, qword [ecx + esi*8 + 0x28]
movaps xmm7, xmm2
addsd xmm4, qword [edi + 0x28]
mulsd xmm7, qword [esp + 0x118]
mov esi, dword [esp + 0x3c]
addsd xmm4, xmm7
movsd xmm6, qword [ecx + esi*8 + 0x28]
movaps xmm3, xmm6
mulsd xmm3, qword [esp + 0x130]
mov esi, dword [esp + 0x64]
addsd xmm4, xmm3
movsd xmm3, qword [esp + 0x30]
movaps xmm1, xmm3
mulsd xmm1, qword [esp + 0x138]
addsd xmm4, xmm1
movsd xmm1, qword [ecx + ebx*8 + 8]
movaps xmm7, xmm1
mulsd xmm7, xmm5
movaps xmm5, xmm0
mulsd xmm5, qword [esp + 0xf0]
addsd xmm4, xmm7
movsd qword [edi + 0x28], xmm4
movaps xmm4, xmm2
mulsd xmm4, qword [esp + 0xf8]
movaps xmm7, xmm6
mulsd xmm7, qword [esp + 0x110]
addsd xmm5, xmm4
movaps xmm4, xmm3
addsd xmm5, xmm7
mulsd xmm4, qword [esp + 0x128]
movaps xmm7, xmm1
addsd xmm5, xmm4
mulsd xmm7, qword [esp + 0x140]
mov ecx, dword [esp + 0x44]
movaps xmm4, xmm6
mulsd xmm4, qword [esp + 0xe8]
addsd xmm5, xmm7
movaps xmm7, xmm0
addsd xmm5, qword [edi + ecx*8 + 0x20]
mulsd xmm7, qword [esp + 0xc8]
movsd qword [edi + ecx*8 + 0x20], xmm5
movaps xmm5, xmm2
mulsd xmm5, qword [esp + 0xd8]
mov ebx, dword [esp + 0x54]
addsd xmm7, xmm5
movaps xmm5, xmm3
addsd xmm7, xmm4
mulsd xmm5, qword [esp + 0x108]
movaps xmm4, xmm1
addsd xmm7, xmm5
mulsd xmm4, qword [esp + 0x120]
movaps xmm5, xmm6
addsd xmm7, xmm4
mulsd xmm5, qword [esp + 0xc0]
addsd xmm7, qword [edi + eax*8 + 0x28]
movsd qword [edi + eax*8 + 0x28], xmm7
movaps xmm4, xmm0
movaps xmm7, xmm2
mulsd xmm4, qword [esp + 0xa8]
mulsd xmm7, qword [esp + 0xb8]
mov eax, dword [esp + 0x4c]
addsd xmm4, xmm7
movaps xmm7, xmm3
addsd xmm4, xmm5
mulsd xmm7, qword [esp + 0xe0]
movaps xmm5, xmm1
addsd xmm4, xmm7
mulsd xmm5, qword [esp + 0x100]
movaps xmm7, xmm6
addsd xmm4, xmm5
mulsd xmm7, qword [esp + 0xa0]
mulsd xmm6, qword [esp + 0x78]
addsd xmm4, qword [edi + eax*8 + 0x28]
movsd qword [edi + eax*8 + 0x28], xmm4
movaps xmm5, xmm0
movaps xmm4, xmm2
mulsd xmm5, qword [esp + 0x80]
mulsd xmm4, qword [esp + 0x90]
mulsd xmm0, qword [esp + 0x68]
mulsd xmm2, qword [esp + 0x70]
addsd xmm5, xmm4
addsd xmm0, xmm2
addsd xmm5, xmm7
addsd xmm0, xmm6
movaps xmm4, xmm3
movaps xmm7, xmm1
mulsd xmm4, qword [esp + 0xb0]
mulsd xmm7, qword [esp + 0xd0]
mulsd xmm3, qword [esp + 0x88]
addsd xmm5, xmm4
addsd xmm0, xmm3
addsd xmm5, xmm7
addsd xmm5, qword [edi + edx*8 + 0x28]
movsd qword [edi + edx*8 + 0x28], xmm5
add edx, ecx
mulsd xmm1, qword [esp + 0x98]
inc esi
mov eax, dword [ebp + 0x10]
addsd xmm0, xmm1
addsd xmm0, qword [eax + edx*8]
movsd qword [eax + edx*8], xmm0
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
cmp esi, eax
jg 0x52ed09
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], 6
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], esi
lea edi, [edx + ebx*8]
mov dword [esp + 0x18], edi
mov edi, ebx
shl edi, 4
add edi, edx
mov dword [esp + 0x1c], edi
lea edi, [ebx + ebx*2]
shl ebx, 5
lea edi, [edx + edi*8]
mov dword [esp + 0x20], edi
add ebx, edx
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x54], ebx
lea edx, [edi + ecx*8]
mov dword [esp + 0x24], edx
mov edx, ecx
shl edx, 4
add edx, edi
mov dword [esp + 0x28], edx
lea edx, [ecx + ecx*2]
lea edx, [edi + edx*8]
mov dword [esp + 0x2c], edx
mov edx, ecx
lea ecx, [ecx + ecx*4]
shl edx, 5
lea ecx, [edi + ecx*8]
add edx, edi
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x64]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x3c]
mov ecx, dword [edx + esi*8 - 8]
mov edi, dword [edx + esi*8 - 4]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebx + ecx*4 - 4]
sub ebx, eax
lea edx, [edi + ecx]
mov edx, dword [esi + edx*4]
sub edx, dword [esi + ecx*4 - 4]
lea ecx, [eax + 1]
add edx, eax
mov dword [esp + 0x34], edi
cmp edx, eax
mov dword [esp + 0x38], edx
jle 0x52ece7
neg ecx
mov eax, 0x55555556
add ecx, dword [esp + 0x38]
inc ecx
imul ecx
mov esi, ecx
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x168], edx
je 0x52ed18
mov eax, dword [esp + 0x3c]
xor esi, esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x170], ecx
mov dword [esp + 8], ebx
lea edx, [eax*8 + 8]
lea eax, [edi + edx]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x150], eax
lea eax, [edi + ebx*8]
mov edi, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x160], eax
lea eax, [edx + ebx*8]
add edi, edx
mov dword [esp + 0x15c], edi
mov edi, dword [esp + 0x1c]
add edi, edx
mov dword [esp + 0x154], edi
mov edi, dword [esp + 0x20]
add edi, edx
add edx, dword [esp + 0x54]
mov dword [esp + 0x164], edx
mov dword [esp + 0x158], edi
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x50], edx
lea edx, [edi + eax]
mov dword [esp + 0x4c], edx
mov edi, dword [esp + 0x2c]
lea edx, [edi + eax]
mov dword [esp + 0x48], edx
mov edi, dword [esp]
lea edx, [edi + eax]
add eax, dword [esp + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x150]
lea eax, [esi + esi*2]
movsd xmm6, qword [esp + 0x58]
mov edx, dword [esp + 0x164]
movaps xmm0, xmm6
movsd xmm5, qword [ecx + eax*8 - 8]
mulsd xmm0, xmm5
mov ebx, dword [esp + 0x15c]
movsd xmm4, qword [edx + eax*8 - 0x58]
mov edx, dword [esp + 0x160]
movsd xmm2, qword [esp + 0x118]
movsd xmm1, qword [ebx + eax*8 - 0x10]
mulsd xmm2, xmm1
addsd xmm0, qword [edx + eax*8 - 8]
mov edi, dword [esp + 0x154]
addsd xmm0, xmm2
movsd xmm3, qword [esp + 0x130]
movsd xmm2, qword [edi + eax*8 - 0x20]
mulsd xmm3, xmm2
mov dword [esp + 0x16c], esi
addsd xmm0, xmm3
mov esi, dword [esp + 0x158]
movsd xmm7, qword [esp + 0x138]
movsd xmm3, qword [esi + eax*8 - 0x38]
mulsd xmm7, xmm3
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0x148]
mulsd xmm7, xmm4
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0xf0]
mulsd xmm7, xmm5
movsd qword [edx + eax*8 - 8], xmm0
mov edx, dword [esp + 0x50]
movsd xmm0, qword [esp + 0xf8]
mulsd xmm0, xmm1
addsd xmm7, qword [edx + eax*8 - 0x10]
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0x110]
mulsd xmm0, xmm2
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0x128]
mulsd xmm0, xmm3
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0x140]
mulsd xmm0, xmm4
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0xc8]
mulsd xmm0, xmm5
movsd qword [edx + eax*8 - 0x10], xmm7
mov edx, dword [esp + 0x4c]
movsd xmm7, qword [esp + 0xd8]
mulsd xmm7, xmm1
addsd xmm0, qword [edx + eax*8 - 0x20]
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0xe8]
mulsd xmm7, xmm2
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0x108]
mulsd xmm7, xmm3
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0x120]
mulsd xmm7, xmm4
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0xa8]
mulsd xmm7, xmm5
movsd qword [edx + eax*8 - 0x20], xmm0
mov edx, dword [esp + 0x48]
movsd xmm0, qword [esp + 0xb8]
mulsd xmm0, xmm1
addsd xmm7, qword [edx + eax*8 - 0x38]
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0xc0]
mulsd xmm0, xmm2
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0xe0]
mulsd xmm0, xmm3
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0x100]
mulsd xmm0, xmm4
addsd xmm7, xmm0
movsd xmm0, qword [esp + 0x80]
mulsd xmm0, xmm5
movsd qword [edx + eax*8 - 0x38], xmm7
mov edx, dword [esp + 0x44]
movsd xmm7, qword [esp + 0x90]
mulsd xmm7, xmm1
addsd xmm0, qword [edx + eax*8 - 0x58]
mulsd xmm1, qword [esp + 0x70]
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0xa0]
mulsd xmm7, xmm2
mulsd xmm2, qword [esp + 0x78]
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0xb0]
mulsd xmm7, xmm3
mulsd xmm3, qword [esp + 0x88]
addsd xmm0, xmm7
movsd xmm7, qword [esp + 0xd0]
mulsd xmm7, xmm4
mulsd xmm4, qword [esp + 0x98]
addsd xmm0, xmm7
movsd qword [edx + eax*8 - 0x58], xmm0
movsd xmm0, qword [esp + 0x68]
mulsd xmm5, xmm0
mov edx, dword [esp + 0x40]
movsd xmm7, qword [ecx + eax*8]
mulsd xmm6, xmm7
addsd xmm5, qword [edx + eax*8 - 0x80]
addsd xmm5, xmm1
movsd xmm1, qword [ebx + eax*8 - 8]
addsd xmm5, xmm2
movsd xmm2, qword [esi + eax*8 - 0x30]
mov esi, dword [esp + 0x160]
addsd xmm5, xmm3
movsd xmm3, qword [esp + 0x138]
addsd xmm5, xmm4
mulsd xmm3, xmm2
movsd xmm4, qword [esp + 0x118]
movsd qword [edx + eax*8 - 0x80], xmm5
mulsd xmm4, xmm1
addsd xmm6, qword [esi + eax*8]
movsd xmm5, qword [esp + 0x130]
addsd xmm6, xmm4
movsd xmm4, qword [edi + eax*8 - 0x18]
mulsd xmm5, xmm4
nop
mov edi, dword [esp + 0x164]
addsd xmm6, xmm5
movsd xmm5, qword [edi + eax*8 - 0x50]
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0x148]
mulsd xmm3, xmm5
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0xf0]
mulsd xmm3, xmm7
movsd qword [esi + eax*8], xmm6
mov esi, dword [esp + 0x50]
movsd xmm6, qword [esp + 0xf8]
mulsd xmm6, xmm1
mov esi, esi
addsd xmm3, qword [esi + eax*8 - 8]
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0x110]
mulsd xmm6, xmm4
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0x128]
mulsd xmm6, xmm2
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0x140]
mulsd xmm6, xmm5
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0xc8]
mulsd xmm6, xmm7
movsd qword [esi + eax*8 - 8], xmm3
mov esi, dword [esp + 0x4c]
movsd xmm3, qword [esp + 0xd8]
mulsd xmm3, xmm1
lea esi, [esi]
addsd xmm6, qword [esi + eax*8 - 0x18]
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0xe8]
mulsd xmm3, xmm4
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0x108]
mulsd xmm3, xmm2
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0x120]
mulsd xmm3, xmm5
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0xa8]
mulsd xmm3, xmm7
movsd qword [esi + eax*8 - 0x18], xmm6
mov esi, esi
mov esi, dword [esp + 0x48]
movsd xmm6, qword [esp + 0xb8]
mulsd xmm6, xmm1
addsd xmm3, qword [esi + eax*8 - 0x30]
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0xc0]
mulsd xmm6, xmm4
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0xe0]
mulsd xmm6, xmm2
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0x100]
mulsd xmm6, xmm5
addsd xmm3, xmm6
movsd xmm6, qword [esp + 0x80]
mulsd xmm6, xmm7
mulsd xmm7, xmm0
movsd qword [esi + eax*8 - 0x30], xmm3
mov esi, dword [esp + 0x44]
movsd xmm3, qword [esp + 0x90]
mulsd xmm3, xmm1
lea esi, [esi]
addsd xmm6, qword [esi + eax*8 - 0x50]
mulsd xmm1, qword [esp + 0x70]
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0xa0]
mulsd xmm3, xmm4
mov esi, esi
mulsd xmm4, qword [esp + 0x78]
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0xb0]
mulsd xmm3, xmm2
mulsd xmm2, qword [esp + 0x88]
addsd xmm6, xmm3
movsd xmm3, qword [esp + 0xd0]
mulsd xmm3, xmm5
mulsd xmm5, qword [esp + 0x98]
addsd xmm6, xmm3
movsd qword [esi + eax*8 - 0x50], xmm6
movsd xmm6, qword [ecx + eax*8 + 8]
nop
mov ecx, dword [esp + 0x154]
movsd xmm3, qword [ebx + eax*8]
mov ebx, dword [esp + 0x158]
addsd xmm7, qword [edx + eax*8 - 0x78]
addsd xmm7, xmm1
movsd xmm1, qword [edi + eax*8 - 0x48]
mov edi, dword [esp + 0x4c]
addsd xmm7, xmm4
movsd xmm4, qword [esp + 0x58]
addsd xmm7, xmm2
mulsd xmm4, xmm6
addsd xmm7, xmm5
movsd xmm2, qword [ecx + eax*8 - 0x10]
mov ecx, dword [esp + 0x160]
movsd xmm5, qword [esp + 0x118]
movsd qword [edx + eax*8 - 0x78], xmm7
mulsd xmm5, xmm3
addsd xmm4, qword [ecx + eax*8 + 8]
movsd xmm7, qword [ebx + eax*8 - 0x28]
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0x130]
mulsd xmm5, xmm2
mov ebx, dword [esp + 0x50]
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0x138]
mulsd xmm5, xmm7
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0x148]
mulsd xmm5, xmm1
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0xf0]
mulsd xmm5, xmm6
movsd qword [ecx + eax*8 + 8], xmm4
movsd xmm4, qword [esp + 0xf8]
mulsd xmm4, xmm3
addsd xmm5, qword [ebx + eax*8]
mov ecx, dword [esp + 0x48]
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0x110]
mulsd xmm4, xmm2
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0x128]
mulsd xmm4, xmm7
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0x140]
mulsd xmm4, xmm1
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0xc8]
mulsd xmm4, xmm6
movsd qword [ebx + eax*8], xmm5
movsd xmm5, qword [esp + 0xd8]
mulsd xmm5, xmm3
lea esi, [esi]
addsd xmm4, qword [edi + eax*8 - 0x10]
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0xe8]
mulsd xmm5, xmm2
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0x108]
mulsd xmm5, xmm7
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0x120]
mulsd xmm5, xmm1
addsd xmm4, xmm5
nop
movsd xmm5, qword [esp + 0xa8]
mulsd xmm5, xmm6
movsd qword [edi + eax*8 - 0x10], xmm4
movsd xmm4, qword [esp + 0xb8]
mulsd xmm4, xmm3
addsd xmm5, qword [ecx + eax*8 - 0x28]
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0xc0]
mulsd xmm4, xmm2
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0xe0]
mulsd xmm4, xmm7
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0x100]
mulsd xmm4, xmm1
addsd xmm5, xmm4
movsd xmm4, qword [esp + 0x80]
mulsd xmm4, xmm6
mulsd xmm6, xmm0
movsd qword [ecx + eax*8 - 0x28], xmm5
lea esi, [esi]
movsd xmm5, qword [esp + 0x90]
mulsd xmm5, xmm3
addsd xmm4, qword [esi + eax*8 - 0x48]
mulsd xmm3, qword [esp + 0x70]
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0xa0]
mulsd xmm5, xmm2
mulsd xmm2, qword [esp + 0x78]
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0xb0]
mulsd xmm5, xmm7
mulsd xmm7, qword [esp + 0x88]
addsd xmm4, xmm5
movsd xmm5, qword [esp + 0xd0]
mulsd xmm5, xmm1
mulsd xmm1, qword [esp + 0x98]
addsd xmm4, xmm5
movsd qword [esi + eax*8 - 0x48], xmm4
mov esi, dword [esp + 0x16c]
inc esi
addsd xmm6, qword [edx + eax*8 - 0x70]
cmp esi, dword [esp + 0x168]
addsd xmm6, xmm3
addsd xmm6, xmm2
addsd xmm6, xmm7
addsd xmm6, xmm1
movsd qword [edx + eax*8 - 0x70], xmm6
jb 0x52e290
mov ecx, dword [esp + 0x170]
lea eax, [esi + esi*2]
mov ebx, dword [esp + 8]
inc eax
dec eax
cmp eax, ecx
jae 0x52ece7
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x170], ecx
movsd xmm5, qword [esp + 0x58]
lea edx, [edi*8 + 8]
lea edi, [esi + edx]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x180], edi
lea edi, [esi + ebx*8]
add edi, edx
mov dword [esp + 0xc], edi
lea edi, [edx + ebx*8]
mov ebx, dword [esp + 0x18]
lea esi, [ebx + edx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18c], esi
lea esi, [ebx + edx]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x174], esi
add ebx, edx
add edx, dword [esp + 0x54]
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x178], ebx
add edx, edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add edx, edi
mov dword [esp + 0x188], edx
mov edx, dword [esp + 0x2c]
add edx, edi
mov dword [esp + 0x10], edx
mov edx, dword [esp]
mov ebx, dword [esp + 0x10]
add edx, edi
add edi, dword [esp + 4]
mov dword [esp + 0x17c], edi
mov esi, edx
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x180]
movaps xmm6, xmm5
movsd xmm7, qword [esp + 0x118]
movsd xmm0, qword [edi + eax*8 - 8]
mulsd xmm6, xmm0
mov edi, dword [esp + 0x18c]
addsd xmm6, qword [edx + eax*8 - 8]
movsd xmm1, qword [edi + eax*8 - 0x10]
mulsd xmm7, xmm1
mov edi, dword [esp + 0x174]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0x130]
movsd xmm2, qword [edi + eax*8 - 0x20]
mulsd xmm7, xmm2
mov edi, dword [esp + 0x178]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0x138]
movsd xmm3, qword [edi + eax*8 - 0x38]
mulsd xmm7, xmm3
mov edi, dword [esp + 0x184]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0x148]
movsd xmm4, qword [edi + eax*8 - 0x58]
mulsd xmm7, xmm4
mov edi, dword [esp + 0x188]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0xf0]
mulsd xmm7, xmm0
movsd qword [edx + eax*8 - 8], xmm6
movsd xmm6, qword [esp + 0xf8]
mulsd xmm6, xmm1
addsd xmm7, qword [ecx + eax*8 - 0x10]
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0x110]
mulsd xmm6, xmm2
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0x128]
mulsd xmm6, xmm3
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0x140]
mulsd xmm6, xmm4
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0xc8]
mulsd xmm6, xmm0
movsd qword [ecx + eax*8 - 0x10], xmm7
movsd xmm7, qword [esp + 0xd8]
mulsd xmm7, xmm1
addsd xmm6, qword [edi + eax*8 - 0x20]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0xe8]
mulsd xmm7, xmm2
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0x108]
mulsd xmm7, xmm3
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0x120]
mulsd xmm7, xmm4
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0xa8]
mulsd xmm7, xmm0
movsd qword [edi + eax*8 - 0x20], xmm6
lea esi, [esi]
movsd xmm6, qword [esp + 0xb8]
mulsd xmm6, xmm1
addsd xmm7, qword [ebx + eax*8 - 0x38]
mov edi, dword [esp + 0x17c]
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0xc0]
mulsd xmm6, xmm2
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0xe0]
mulsd xmm6, xmm3
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0x100]
mulsd xmm6, xmm4
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0x80]
mulsd xmm6, xmm0
mulsd xmm0, qword [esp + 0x68]
movsd qword [ebx + eax*8 - 0x38], xmm7
movsd xmm7, qword [esp + 0x90]
mulsd xmm7, xmm1
addsd xmm6, qword [esi + eax*8 - 0x58]
mulsd xmm1, qword [esp + 0x70]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0xa0]
mulsd xmm7, xmm2
mulsd xmm2, qword [esp + 0x78]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0xb0]
mulsd xmm7, xmm3
mulsd xmm3, qword [esp + 0x88]
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0xd0]
mulsd xmm7, xmm4
mulsd xmm4, qword [esp + 0x98]
addsd xmm6, xmm7
movsd qword [esi + eax*8 - 0x58], xmm6
addsd xmm0, qword [edi + eax*8 - 0x80]
addsd xmm0, xmm1
addsd xmm0, xmm2
addsd xmm0, xmm3
addsd xmm0, xmm4
movsd qword [edi + eax*8 - 0x80], xmm0
inc eax
cmp eax, dword [esp + 0x170]
jb 0x52ea7c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
lea ebx, [eax + edx + 1]
mov dword [esp + 0x64], ebx
cmp ebx, dword [esp + 0x30]
jle 0x52e194
add esp, 0x194
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
mov eax, 1
jmp 0x52e9cb