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

Disassembly:
sub esp, 0x60
mov eax, dword [0x598b80]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
push ebx
push esi
mov esi, dword [esp + 0x6c]
mov ebx, dword [eax + 0x130]
mov dword [esp + 0x24], 1
push edi
mov edi, dword [esp + 0x78]
test ebx, ebx
je 0x4ba89a
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi + 8]
movss xmm4, dword [edi]
movss xmm5, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x14]
push ebp
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x30], xmm0
mov ecx, dword [ebx]
movaps xmm0, xmm4
movss xmm2, dword [esp + 0x18]
xor edx, edx
mov eax, dword [ebx + 4]
dec eax
mov dword [esp + 0x38], edx
movss xmm3, dword [ecx]
mulss xmm1, dword [ecx + 4]
mulss xmm0, xmm3
mulss xmm3, xmm2
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [ecx + 4]
addss xmm0, xmm3
movss xmm3, dword [esp + 0x30]
addss xmm1, xmm5
addss xmm0, xmm3
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm0
test eax, eax
jle 0x4ba888
movss xmm6, dword [esp + 0x14]
movss dword [esp + 0x10], xmm5
movaps xmm5, xmm2
movss dword [esp + 0x28], xmm3
movaps xmm0, xmm4
lea eax, [esp + 0x4c]
mulss xmm0, dword [ecx + edx*8 + 8]
movaps xmm1, xmm6
push eax
mulss xmm1, dword [ecx + edx*8 + 0xc]
lea eax, [esp + 0x40]
push eax
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [ecx + edx*8 + 8]
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0x5c], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [ecx + edx*8 + 0xc]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [ecx + edx*8 + 0x14]
mulss xmm6, dword [ecx + edx*8 + 0x1c]
addss xmm1, dword [esp + 0x30]
movss dword [esp + 0x60], xmm1
movaps xmm1, xmm4
mulss xmm1, dword [ecx + edx*8 + 0x10]
mulss xmm4, dword [ecx + edx*8 + 0x18]
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [ecx + edx*8 + 0x14]
mulss xmm7, dword [ecx + edx*8 + 0x1c]
addss xmm4, xmm6
addss xmm1, dword [esp + 0x18]
addss xmm4, dword [esp + 0x18]
movss dword [esp + 0x64], xmm1
movaps xmm1, xmm5
mulss xmm1, dword [ecx + edx*8 + 0x10]
mulss xmm5, dword [ecx + edx*8 + 0x18]
addss xmm1, xmm0
movss dword [esp + 0x6c], xmm4
addss xmm5, xmm7
addss xmm1, dword [esp + 0x30]
addss xmm5, dword [esp + 0x30]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x70], xmm5
call fcn.004b84e0
lea ecx, [edi + 0x10]
add esp, 8
cmp dword [esp + 0x2c], 0
lea edx, [edi + 8]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x20], ecx
lea ecx, [edi + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ecx
lea ecx, [edi + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x14], ecx
je 0x4ba798
movups xmm0, xmmword [esp + 0x3c]
mov dword [esp + 0x2c], 0
movups xmmword [esi], xmm0
jmp 0x4ba7d6
movss xmm0, dword [esi]
minss xmm0, dword [esp + 0x3c]
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
minss xmm0, dword [esp + 0x40]
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
maxss xmm0, dword [esp + 0x44]
movss dword [esi + 8], xmm0
movss xmm0, dword [esi + 0xc]
maxss xmm0, dword [esp + 0x48]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ecx]
mov ecx, dword [esp + 0x14]
movss xmm1, dword [edx]
mov edx, dword [esp + 0x38]
movss dword [esp + 0x28], xmm0
add edx, 3
movss xmm3, dword [ecx]
mov ecx, dword [esp + 0x10]
movss xmm4, dword [edi]
movss xmm6, dword [edi + 8]
movss dword [esp + 0x30], xmm3
movss xmm7, dword [ecx]
mov ecx, dword [esp + 0x1c]
movss dword [esp + 0x14], xmm1
mov dword [esp + 0x38], edx
movss xmm0, dword [ecx]
mov ecx, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
movss xmm5, dword [ecx]
mov ecx, dword [esp + 0x18]
movss xmm2, dword [ecx]
mov ecx, dword [esp + 0x20]
movss dword [esp + 0x18], xmm2
movss xmm0, dword [ecx]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ecx]
mov ecx, dword [eax]
mov eax, dword [ebx + 4]
movss dword [esp + 0x20], xmm0
dec eax
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x50], xmm0
cmp edx, eax
jl 0x4ba680
movss xmm5, dword [esp + 0x20]
movss xmm7, dword [esp + 0x1c]
jmp 0x4ba88e
movss xmm1, dword [esp + 0x14]
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x4ba613
pop ebp
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00515f8b
add esp, 0x60
ret