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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
xorps xmm7, xmm7
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x2c8]
mov ebx, 1
sub edi, ebx
mov dword [esp + 0x1c], esi
js 0x50c200
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, edi
imul eax, eax, 0xb0
movss dword [esp + 0x2c], xmm7
movss dword [esp + 0x3c], xmm7
lea eax, [eax + esi + 0x14]
jmp 0x50c060
movss xmm1, dword [eax - 0xc]
movss xmm2, dword [eax - 0x10]
movss xmm0, dword [eax - 0x14]
movaps xmm3, xmm2
mulss xmm3, dword [ecx + 4]
movaps xmm4, xmm1
mulss xmm4, dword [ecx + 8]
addss xmm3, xmm4
movaps xmm4, xmm0
mulss xmm4, dword [ecx]
addss xmm3, xmm4
addss xmm3, dword [ecx + 0x30]
movss xmm4, dword [ecx + 0x14]
movss dword [esp + 0x20], xmm3
mulss xmm4, xmm2
movaps xmm3, xmm0
mulss xmm3, dword [ecx + 0x10]
mulss xmm0, dword [ecx + 0x20]
addss xmm3, xmm4
movss xmm4, dword [ecx + 0x18]
mulss xmm4, xmm1
addss xmm3, xmm4
addss xmm3, dword [ecx + 0x34]
movss dword [esp + 0x24], xmm3
movss xmm3, dword [ecx + 0x24]
mulss xmm3, xmm2
movss xmm2, dword [ecx + 0x28]
addss xmm0, xmm3
mulss xmm2, xmm1
addss xmm0, xmm2
addss xmm0, dword [ecx + 0x38]
movss dword [esp + 0x28], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x1c], xmm0
movq xmm0, qword [esp + 0x28]
movq qword [eax + 0x24], xmm0
movss xmm0, dword [eax + 4]
movss xmm2, dword [eax - 4]
movss xmm1, dword [eax]
movaps xmm4, xmm0
mulss xmm4, dword [edx + 8]
movaps xmm3, xmm2
mulss xmm3, dword [edx]
addss xmm3, xmm4
movss xmm4, dword [edx + 4]
mulss xmm4, xmm1
addss xmm3, xmm4
addss xmm3, dword [edx + 0x30]
movss xmm4, dword [edx + 0x18]
movss dword [esp + 0x30], xmm3
mulss xmm4, xmm0
mulss xmm0, dword [edx + 0x28]
movaps xmm3, xmm2
mulss xmm3, dword [edx + 0x10]
addss xmm3, xmm4
movss xmm4, dword [edx + 0x14]
mulss xmm4, xmm1
mulss xmm1, dword [edx + 0x24]
addss xmm3, xmm4
addss xmm3, dword [edx + 0x34]
movss dword [esp + 0x34], xmm3
movss xmm3, dword [edx + 0x20]
mulss xmm3, xmm2
addss xmm3, xmm0
movq xmm0, qword [esp + 0x30]
addss xmm3, xmm1
addss xmm3, dword [edx + 0x38]
movq qword [eax + 0xc], xmm0
movss dword [esp + 0x38], xmm3
movq xmm0, qword [esp + 0x38]
movq qword [eax + 0x14], xmm0
movss xmm2, dword [eax + 0x24]
subss xmm2, dword [eax + 0x14]
movss xmm3, dword [eax + 0x34]
movss xmm1, dword [eax + 0x20]
movss xmm0, dword [eax + 0x1c]
subss xmm1, dword [eax + 0x10]
subss xmm0, dword [eax + 0xc]
mulss xmm3, xmm2
movss xmm2, dword [eax + 0x30]
mulss xmm2, xmm1
movss xmm1, dword [eax + 0x2c]
add dword [eax + 0x6c], ebx
addss xmm3, xmm2
mulss xmm1, xmm0
addss xmm3, xmm1
movss dword [eax + 0x3c], xmm3
sub edi, ebx
sub eax, 0xb0
test edi, edi
jge 0x50c060
mov edi, dword [esi + 0x2c8]
sub edi, ebx
mov dword [esp + 0x18], edi
js 0x50c35a
mov ecx, edi
imul ecx, ecx, 0xb0
lea ebx, [ecx + esi + 0x48]
mov edi, edi
movss xmm0, dword [ebx + 8]
movss xmm6, dword [esi + 0x2cc]
comiss xmm6, xmm0
jae 0x50c2a2
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x50c253
mov ecx, dword [0x6f2768]
test ecx, ecx
je 0x50c253
push eax
call ecx
xorps xmm7, xmm7
add esp, 4
mov dword [ebx + 0x24], 0
mov eax, dword [esi + 0x2c8]
dec eax
cmp edi, eax
je 0x50c297
imul eax, eax, 0xb0
add eax, esi
lea edi, [ebx - 0x48]
mov ecx, 0x2c
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax + 0x6c], ecx
movss dword [eax + 0x70], xmm7
mov byte [eax + 0x74], cl
movss dword [eax + 0x78], xmm7
movss dword [eax + 0x7c], xmm7
mov dword [eax + 0x80], ecx
dec dword [esi + 0x2c8]
jmp 0x50c347
movss xmm1, dword [ebx - 8]
movss xmm2, dword [ebx - 4]
movss xmm3, dword [ebx - 0x18]
movss xmm4, dword [ebx - 0x14]
movss xmm5, dword [ebx - 0x10]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm0, dword [ebx]
subss xmm4, xmm2
movss xmm2, dword [ebx - 0x20]
subss xmm3, xmm1
movss xmm1, dword [ebx - 0x24]
subss xmm1, xmm4
subss xmm5, xmm0
movss xmm0, dword [ebx - 0x28]
subss xmm2, xmm5
movaps xmm4, xmm2
mulss xmm4, xmm2
subss xmm0, xmm3
movaps xmm2, xmm1
mulss xmm2, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm3, xmm6
addss xmm4, xmm2
movaps xmm0, xmm3
addss xmm4, xmm1
mulss xmm0, xmm3
comiss xmm4, xmm0
jbe 0x50c324
push edi
mov ecx, esi
call fcn.0050bda0
jmp 0x50c344
mov eax, dword [0x6f276c]
test eax, eax
je 0x50c347
mov edx, dword [esi + 0x2c4]
mov ecx, dword [esi + 0x2c0]
push edx
push ecx
lea edx, [ebx - 0x48]
push edx
call eax
add esp, 0xc
xorps xmm7, xmm7
dec edi
sub ebx, 0xb0
mov dword [esp + 0x18], edi
test edi, edi
jge 0x50c220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8