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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa4
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
movss xmm4, dword [0x649444]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, 0x10
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x38]
mov ebx, ecx
mov edi, eax
sub edi, ebx
mov dword [esp + 0x18], edi
xor esi, esi
mov edi, 4
lea ebx, [esp + 0x30]
sub edi, ebx
lea edx, [eax + 4]
mov dword [esp + 0xac], edi
mov edi, dword [esp + 0x18]
movss dword [eax + 0x38], xmm1
movss dword [eax + 0x34], xmm1
movss dword [eax + 0x30], xmm1
movss dword [eax + 0x2c], xmm1
movss dword [eax + 0x24], xmm1
movss dword [eax + 0x20], xmm1
movss dword [eax + 0x1c], xmm1
movss dword [eax + 0x18], xmm1
movss dword [eax + 0x10], xmm1
movss dword [eax + 0xc], xmm1
movss dword [eax + 8], xmm1
movss dword [edx], xmm1
movss dword [eax + 0x3c], xmm4
movss dword [eax + 0x28], xmm4
movss dword [eax + 0x14], xmm4
movss dword [eax], xmm4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edx
jmp 0x40f390
movss xmm4, dword [0x649444]
lea esp, [esp]
mov ebx, dword [esp + 0x10]
movss xmm2, dword [ebx]
comiss xmm1, xmm2
jbe 0x40f3a6
movaps xmm0, xmm1
subss xmm0, xmm2
jmp 0x40f3a9
movaps xmm0, xmm2
lea ebx, [esi + 1]
cmp ebx, 4
mov dword [esp + 0x20], ebx
jge 0x40f52c
mov ebx, dword [esp + 0xac]
lea ebx, [ebx + esi*4]
add ebx, esi
lea esi, [esp + ebx + 0x30]
lea esi, [esp + esi*4 + 0x30]
mov dword [esp + 0x14], esi
lea esi, [esp + 0x30]
sub esi, eax
mov dword [esp + 0x78], esi
mov esi, 4
sub esi, dword [esp + 0x20]
lea edi, [edx + 0xc]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x14]
movss xmm3, dword [ebx]
comiss xmm1, xmm3
jbe 0x40f409
movaps xmm2, xmm1
subss xmm2, xmm3
jmp 0x40f40c
movaps xmm2, xmm3
comiss xmm2, xmm0
jbe 0x40f511
movss xmm2, dword [ebx]
comiss xmm1, xmm2
jbe 0x40f427
movaps xmm0, xmm1
subss xmm0, xmm2
jmp 0x40f42a
movaps xmm0, xmm2
lea edx, [ecx - 8]
mov esi, edx
mov ebx, dword [esi]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0x78]
add esi, edi
mov edi, esi
mov dword [esp + 0xa4], ebx
mov ebx, dword [edi]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov ebx, dword [edi + 8]
mov dword [edx + 8], ebx
mov edi, dword [edi + 0xc]
mov dword [edx + 0xc], edi
mov edx, dword [esp + 0x9c]
mov dword [esi], edx
mov edx, dword [esp + 0xa0]
mov dword [esi + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [esi + 8], edx
mov edx, dword [esp + 0xa8]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x18]
add edx, ecx
mov esi, edx
mov edi, dword [esi]
mov dword [esp + 0x7c], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x80], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x24]
mov esi, edi
mov ebx, dword [esi]
mov dword [edx], ebx
mov ebx, dword [esi + 4]
mov dword [edx + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edx + 8], ebx
mov esi, dword [esi + 0xc]
mov dword [edx + 0xc], esi
mov esi, dword [esp + 0x7c]
mov edx, edi
mov dword [edx], esi
mov esi, dword [esp + 0x80]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x84]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x88]
mov dword [edx + 0xc], esi
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x10
add edi, 0x10
sub dword [esp + 0x2c], 1
mov dword [esp + 0x24], edi
jne 0x40f3f3
mov edi, dword [esp + 0x18]
test esi, esi
movss xmm2, dword [ecx - 8]
mov ebx, dword [esp + 0x10]
movaps xmm0, xmm4
divss xmm0, dword [ebx]
mulss xmm2, xmm0
movss dword [ecx - 8], xmm2
movss xmm2, dword [ecx - 4]
mulss xmm2, xmm0
movss dword [ecx - 4], xmm2
movss xmm2, dword [ecx]
mulss xmm2, xmm0
movss dword [ecx], xmm2
movss xmm2, dword [ecx + 4]
mulss xmm2, xmm0
movss dword [ecx + 4], xmm2
movss xmm2, dword [edi + ecx]
mulss xmm2, xmm0
movss dword [edi + ecx], xmm2
movss xmm2, dword [edx]
mulss xmm2, xmm0
movss dword [edx], xmm2
movaps xmm2, xmm0
mulss xmm2, dword [edx + 4]
movss dword [edx + 4], xmm2
movss xmm2, dword [edx + 8]
mulss xmm2, xmm0
movss dword [edx + 8], xmm2
je 0x40f67c
movss xmm0, dword [esp + esi*4 + 0x30]
movss xmm1, dword [ecx - 8]
movss xmm2, dword [ecx - 4]
movss xmm3, dword [ecx]
movss xmm4, dword [ecx + 4]
movss xmm5, dword [edi + ecx]
movss xmm6, dword [edx]
movaps xmm7, xmm0
mulss xmm7, dword [edx + 4]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
movss dword [esp + 0x94], xmm7
movss xmm7, dword [edx + 8]
mulss xmm7, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x34]
xorps xmm1, xmm1
subss xmm0, xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, xmm3
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm4
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax]
subss xmm0, xmm5
movss dword [eax], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm6
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x94]
movss dword [eax + 8], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, xmm7
movss dword [eax + 0xc], xmm0
cmp esi, 1
je 0x40f759
movss xmm0, dword [esp + esi*4 + 0x40]
movss xmm1, dword [ecx - 8]
movss xmm2, dword [ecx - 4]
movss xmm3, dword [ecx]
movss xmm4, dword [ecx + 4]
movss xmm5, dword [edi + ecx]
movss xmm6, dword [edx]
movaps xmm7, xmm0
mulss xmm7, dword [edx + 4]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
movss dword [esp + 0x94], xmm7
movss xmm7, dword [edx + 8]
mulss xmm7, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x44]
xorps xmm1, xmm1
subss xmm0, xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm3
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, xmm4
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm5
movss dword [eax + 0x10], xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, xmm6
movss dword [eax + 0x14], xmm0
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [esp + 0x94]
movss dword [eax + 0x18], xmm0
movss xmm0, dword [eax + 0x1c]
subss xmm0, xmm7
movss dword [eax + 0x1c], xmm0
cmp esi, 2
je 0x40f836
movss xmm0, dword [esp + esi*4 + 0x50]
movss xmm1, dword [ecx - 8]
movss xmm2, dword [ecx - 4]
movss xmm3, dword [ecx]
movss xmm4, dword [ecx + 4]
movss xmm5, dword [edi + ecx]
movss xmm6, dword [edx]
movaps xmm7, xmm0
mulss xmm7, dword [edx + 4]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
movss dword [esp + 0x94], xmm7
movss xmm7, dword [edx + 8]
mulss xmm7, xmm0
movss xmm0, dword [esp + 0x50]
subss xmm0, xmm1
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x54]
xorps xmm1, xmm1
subss xmm0, xmm2
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x58]
subss xmm0, xmm3
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm4
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [eax + 0x20]
subss xmm0, xmm5
movss dword [eax + 0x20], xmm0
movss xmm0, dword [eax + 0x24]
subss xmm0, xmm6
movss dword [eax + 0x24], xmm0
movss xmm0, dword [eax + 0x28]
subss xmm0, dword [esp + 0x94]
movss dword [eax + 0x28], xmm0
movss xmm0, dword [eax + 0x2c]
subss xmm0, xmm7
movss dword [eax + 0x2c], xmm0
cmp esi, 3
je 0x40f913
movss xmm0, dword [esp + esi*4 + 0x60]
movss xmm1, dword [ecx - 8]
movss xmm2, dword [ecx - 4]
movss xmm3, dword [ecx]
movss xmm4, dword [ecx + 4]
movss xmm5, dword [edi + ecx]
movss xmm6, dword [edx]
movaps xmm7, xmm0
mulss xmm7, dword [edx + 4]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
movss dword [esp + 0x94], xmm7
movss xmm7, dword [edx + 8]
mulss xmm7, xmm0
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm1
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x64]
xorps xmm1, xmm1
subss xmm0, xmm2
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm3
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, xmm4
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax + 0x30]
subss xmm0, xmm5
movss dword [eax + 0x30], xmm0
movss xmm0, dword [eax + 0x34]
subss xmm0, xmm6
movss dword [eax + 0x34], xmm0
movss xmm0, dword [eax + 0x38]
subss xmm0, dword [esp + 0x94]
movss dword [eax + 0x38], xmm0
movss xmm0, dword [eax + 0x3c]
subss xmm0, xmm7
movss dword [eax + 0x3c], xmm0
mov esi, dword [esp + 0x20]
add dword [esp + 0x10], 0x14
add edx, 0x10
add ecx, 0x10
cmp esi, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edx
jl 0x40f384
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret