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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
lea eax, [esp + 0x30]
push esi
push edi
mov edi, dword [0x10185028]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp + 0x1c]
push eax
call fcn.100136f0
mov eax, dword [ebp + 0x2c]
add esp, 0x14
test eax, eax
je 0x1006ca57
mov byte [eax], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1006ca61
mov byte [ecx], 0
mov esi, dword [ebp + 0xc]
movss xmm3, dword [0x100d5914]
movss xmm2, dword [esi + 8]
movss xmm1, dword [esi]
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm3, xmm0
jae 0x1006cdb6
movss xmm0, dword [ebp + 0x18]
movss xmm5, dword [ebp + 0x14]
subss xmm2, xmm5
addss xmm1, xmm5
addss xmm0, dword [esi + 4]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm0
test ecx, ecx
je 0x1006cad1
addss xmm1, dword [esp + 0x38]
comiss xmm1, xmm2
seta al
mov byte [ecx], al
mulss xmm5, dword [0x100d5918]
xor cl, cl
mov edx, dword [ebp + 0x24]
movss xmm6, dword [esi + 8]
movss xmm4, dword [edi + 0x3bd0]
movaps xmm3, xmm6
movss xmm0, dword [esi]
subss xmm3, xmm5
movss xmm5, dword [esi + 4]
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x34], xmm5
mov byte [esp + 0xc], 0
mov byte [esp + 0xb], cl
subss xmm3, xmm4
maxss xmm3, xmm0
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x30], xmm3
test edx, edx
je 0x1006cb6c
cmp byte [ebp + 0x28], cl
jne 0x1006cb45
movaps xmm1, xmm6
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3830]
maxss xmm0, xmm4
comiss xmm1, xmm0
jb 0x1006cb6c
mov eax, dword [edi + 0x3e78]
mov ecx, dword [ebp + 0x20]
cmp eax, ecx
je 0x1006cb64
cmp eax, edx
je 0x1006cb64
mov eax, dword [edi + 0x3e8c]
cmp eax, ecx
je 0x1006cb64
cmp eax, edx
jne 0x1006cb68
mov cl, 1
jmp 0x1006cb6c
mov cl, byte [esp + 0xb]
test byte [ebp + 0x10], 1
je 0x1006cb82
movaps xmm0, xmm3
addss xmm0, xmm4
comiss xmm6, xmm0
jb 0x1006cb82
mov al, 1
jmp 0x1006cb84
xor al, al
mov byte [esp + 0xb], al
test cl, cl
je 0x1006cc9c
movups xmm0, xmmword [edi + 0x46b4]
mov esi, dword [edi + 0x46ec]
lea eax, [ebp + 0x14]
push eax
movaps xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [edi + 0x46c4]
push 0xb
movaps xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [edi + 0x46d4]
movaps xmmword [esp + 0x78], xmm0
movq xmm0, qword [edi + 0x46e4]
movq qword [esp + 0x28], xmm0
call fcn.10011030
lea eax, [esp + 0x38]
push eax
push dword [ebp + 0x24]
call fcn.1006dfd0
mov ecx, dword [esp + 0x1c]
mov edx, 1
test al, al
movzx ecx, cl
push edx
cmovne ecx, edx
mov dword [esp + 0x20], ecx
call fcn.100110b0
movaps xmm0, xmmword [esp + 0x64]
add esp, 0x14
test byte [ebp + 0x10], 4
movups xmmword [edi + 0x46b4], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [edi + 0x46c4], xmm0
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [edi + 0x46d4], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [edi + 0x46e4], xmm0
mov dword [edi + 0x46ec], esi
jne 0x1006cc61
push 0
push 2
call fcn.10013c70
mov ecx, dword [esp + 0x14]
add esp, 8
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov al, cl
mov dword [esp + 0xc], eax
jmp 0x1006cc65
mov eax, dword [esp + 0xc]
cmp byte [esp + 0xb], 0
movss xmm2, dword [esp + 0x10]
subss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x100d9344]
mov edi, dword [ebp + 8]
movaps xmm3, xmm2
jne 0x1006cd6e
xorps xmm1, xmm1
mov dword [esp + 0xc], eax
jmp 0x1006cd6e
test al, al
je 0x1006cd48
movss xmm2, dword [edi + 0x37dc]
movaps xmm0, xmm3
movss xmm1, dword [edi + 0x37e0]
addss xmm0, xmm4
addss xmm2, xmm2
addss xmm1, xmm1
push ecx
mov dword [esp], 0x3f800000
push 0
addss xmm2, xmm0
movaps xmm0, xmm5
addss xmm0, xmm4
movss dword [esp + 0x20], xmm2
addss xmm1, xmm0
movss dword [esp + 0x28], xmm1
call fcn.10011380
movss xmm2, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x28]
movss xmm1, dword [esp + 0x20]
addss xmm1, dword [esp + 0x24]
mov edi, dword [ebp + 8]
push eax
mulss xmm2, dword [0x100d5910]
mulss xmm1, dword [0x100d5910]
movss dword [esp + 0x40], xmm2
push dword [esp + 0x40]
movss dword [esp + 0x40], xmm1
push dword [esp + 0x40]
push edi
call fcn.1004c8f0
movss xmm2, dword [esp + 0x28]
add esp, 0x18
movss xmm4, dword [esp + 0x14]
mov al, byte [esp + 0xb]
jmp 0x1006cd4b
mov edi, dword [ebp + 8]
movss xmm3, dword [esi + 8]
subss xmm3, dword [0x100d5914]
test al, al
je 0x1006cd7e
movaps xmm1, xmm4
mulss xmm1, dword [0x100d9344]
subss xmm2, xmm1
movaps xmm3, xmm2
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm1
movss dword [esp + 0x48], xmm0
lea eax, [esp + 0x38]
push eax
push 0
push dword [ebp + 0x1c]
lea eax, [esp + 0x54]
sub esp, 8
movss dword [esp + 4], xmm3
movss dword [esp], xmm2
push eax
lea eax, [esp + 0x58]
push eax
push edi
call fcn.1001de80
mov eax, dword [ebp + 0x2c]
add esp, 0x20
test eax, eax
je 0x1006cdb6
mov ecx, dword [esp + 0xc]
mov byte [eax], cl
pop edi
pop esi
mov esp, ebp
pop ebp
ret