Function at 0x1012ec34
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, dword [0x101c0bb0]
mov esi, ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
push 0
movss xmm0, dword [edi + 0x1930]
movss xmm1, dword [edi + 0x1550]
movaps xmm3, xmm0
addss xmm3, dword [edx]
movss xmm2, dword [edi + 0x1554]
addss xmm1, xmm1
mov eax, dword [edi + 0x1a6c]
addss xmm2, xmm2
mov dword [ebp - 0x10], eax
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
addss xmm3, xmm1
movss xmm1, dword [edx + 4]
addss xmm1, xmm0
mov edx, esi
movss dword [ebp - 0x2c], xmm3
addss xmm1, xmm2
movss dword [ebp - 0x28], xmm1
call fcn.100e1470
add esp, 4
mov byte [ebp - 1], al
lea eax, [ebp - 2]
mov edx, esi
lea ecx, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 3]
push eax
call fcn.1012e520
add esp, 0xc
mov byte [ebp - 4], al
cmp byte [ebp - 1], 0
je 0x1012edcb
movss xmm7, dword [0x101afc38]
xor ecx, ecx
cmp byte [ebp - 2], cl
movaps xmm1, xmm7
setne cl
add ecx, 0x16
call fcn.100ef3f0
cmp byte [ebp - 3], 0
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [0x101afbec]
mov dword [ebp - 0x14], eax
mulss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
movss dword [ebp - 8], xmm0
movss dword [ebp - 0x18], xmm0
je 0x1012ecdd
movss xmm0, dword [edi + 0x1930]
mov esi, dword [ebp - 0x10]
movss xmm2, dword [0x101afc78]
mulss xmm0, xmm1
mov esi, dword [esi + 0x284]
addss xmm0, xmm7
maxss xmm2, xmm0
test eax, 0xff000000
je 0x1012ecdd
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1012ecdd
push 0xb
push 0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10104da0
push dword [ebp - 0x14]
mov ecx, esi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10105050
movss xmm1, dword [0x101afbec]
mov dword [esi + 0x54], 0
movss xmm7, dword [edi + 0x1930]
xor ecx, ecx
mulss xmm7, xmm1
movss xmm1, dword [0x101afc38]
mulss xmm7, dword [0x101afc04]
subss xmm7, xmm1
call fcn.100ef3f0
movss xmm3, dword [ebp - 0xc]
movaps xmm1, xmm7
movss xmm2, dword [ebp - 8]
mov esi, eax
subss xmm3, dword [0x101afbec]
subss xmm2, dword [0x101afbec]
xorps xmm1, xmmword [0x101b1470]
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x10]
movaps xmm0, xmm1
push ecx
addss xmm0, xmm3
mov dword [esp], 0x3f800000
addss xmm1, xmm2
mov ecx, dword [edi + 0x284]
addss xmm3, xmm7
addss xmm2, xmm7
push esi
push eax
lea eax, [ebp - 0x2c]
movss dword [ebp - 0x14], xmm0
push eax
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x28], xmm2
call fcn.10106450
movss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push ecx
mov ecx, dword [edi + 0x284]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 8]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0xc]
push esi
push eax
movss dword [ebp - 0x24], xmm0
lea eax, [ebp - 0x24]
movss xmm0, dword [ebp - 0x18]
push eax
movss dword [ebp - 0x20], xmm0
call fcn.10106450
mov al, byte [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret