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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
push edi
lea esi, [esp + 0x7c]
movss dword [esp + 0x1c], xmm3
lea edi, [esp + 0x30]
mov ebp, ecx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 4]
movsd dword es:[edi], dword [esi]
push dword [eax]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x4c]
mov edi, ebx
lea esi, [esp + 0x80]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10002f6d
mov ecx, dword [ebp]
lea eax, [esp + 0x3c]
push eax
mov ecx, dword [ecx]
call fcn.10006a1e
and dword [esp + 0x54], 0
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm1, dword [esp + 0x34]
subss xmm2, dword [esp + 0x30]
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x38]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
movss dword [esp + 0x78], xmm1
sqrtss xmm0, dword [esp + 0x78]
movss dword [esp + 0x54], xmm0
movss xmm1, dword [esp + 0x54]
xorps xmm4, xmm4
divss xmm1, dword [esp + 0x1c]
subss xmm1, dword [0x10019f94]
comiss xmm4, xmm1
movss dword [esp + 0x10], xmm1
jb 0x100035ee
movss xmm1, dword [0x10019f64]
movss dword [esp + 0x10], xmm1
movss xmm3, dword [0x1001a078]
mov ebp, 0x12c
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm3
movss xmm0, dword [esp + 0x48]
lea esi, [esp + 0x30]
mulss xmm0, xmm1
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
addss xmm0, dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm1
movsd dword es:[edi], dword [esi]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x8c]
comiss xmm0, xmm4
jbe 0x100036fa
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100067b3
test eax, 0x10000
je 0x10003697
movss xmm2, dword [0x10019f7c]
jmp 0x1000369f
movss xmm2, dword [0x10019f90]
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x78]
mulss xmm0, xmm0
mulss xmm0, dword [0x1001a040]
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x38]
subss xmm2, dword [esp + 0x8c]
subss xmm1, xmm0
comiss xmm2, xmm1
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x14], xmm1
jbe 0x100036fa
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x44], xmm0
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ecx, dword [ecx]
call fcn.10006a1e
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x28]
and dword [esp + 0x64], 0
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm1, xmm5
movss xmm0, dword [eax + 8]
subss xmm2, xmm3
subss xmm0, dword [esp + 0x14]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0x2c], xmm2
sqrtss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x64]
divss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x10]
subss xmm0, xmm1
call fcn.10001150
movaps xmm4, xmm0
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm4
jbe 0x100037ad
movss xmm0, dword [esp + 0x78]
movaps xmm2, xmm1
movss dword [esp + 0x24], xmm2
movss dword [ebx], xmm5
movss dword [ebx + 4], xmm3
movss dword [ebx + 8], xmm0
movss dword [esp + 0x20], xmm4
jmp 0x100037b3
movss xmm2, dword [esp + 0x24]
xorps xmm4, xmm4
addss xmm1, dword [0x10019f64]
movss dword [esp + 0x10], xmm1
sub ebp, 1
jne 0x10003607
movaps xmm0, xmm2
mov eax, ebx
mulss xmm0, dword [0x1001a040]
pop edi
pop esi
pop ebp
mulss xmm0, xmm2
mulss xmm0, dword [esp + 0x7c]
addss xmm0, dword [ebx + 8]
movss dword [ebx + 8], xmm0
pop ebx
add esp, 0x64
ret 0x18