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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xb8]
push esi
mov esi, edx
mov dword [esp + 0x6c], 0x7f800000
push edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [0x102a605c]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x4c], esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x5c], xmm0
movq xmm0, qword [esi + 0xc]
movq qword [esp + 0xc], xmm0
movss xmm5, dword [esp + 0xc]
movss xmm4, dword [esp + 0x10]
subss xmm5, dword [0x10297ab4]
subss xmm4, dword [0x10297ab8]
movss xmm0, dword [0x1026bdec]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
addss xmm5, xmm5
movss xmm3, dword [esp + 0x14]
addss xmm4, xmm4
subss xmm3, dword [0x10297abc]
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], 0x7f800000
addss xmm5, dword [0x10297ab4]
addss xmm4, dword [0x10297ab8]
addss xmm3, xmm3
mov dword [esp + 0x68], 0x7f800000
mov dword [esp + 0x7c], 0x7f800000
mov dword [esp + 0x78], 0x7f800000
mov dword [esp + 0x74], 0x7f800000
mov dword [esp + 0x88], 0x7f800000
addss xmm3, dword [0x10297abc]
mov dword [esp + 0x84], 0x7f800000
mov dword [esp + 0x80], 0x7f800000
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x3c], xmm5
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xc], xmm5
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x14], xmm3
call fcn.100070f0
lea eax, [esp + 0xc]
push eax
push 0x10297ab4
call fcn.10007150
mov ecx, dword [0x1029a49c]
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0x10238480
push edx
mov dword [esp + 0x38], edi
lea edx, [esp + 0xc8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x14]
movss xmm0, dword [0x1026bac0]
comiss xmm0, dword [esp + 0x94]
jbe 0x10004c86
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call fcn.10004e20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x50]
mov dword [esp + 0x28], 2
mov dword [esp + 0x24], eax
nop word [eax + eax]
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [eax]
lea eax, [esp + 0x54]
mov dword [esp + 0x20], 2
mov dword [esp + 0x1c], eax
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x40]
lea esi, [esp + 0x58]
addss xmm0, dword [eax]
mov edi, 2
movss dword [esp + 0x10], xmm0
nop dword [eax]
movss xmm0, dword [esp + 0x44]
lea ecx, [esp + 0xc0]
addss xmm0, dword [esi]
movss dword [esp + 0x14], xmm0
call fcn.100070f0
lea eax, [esp + 0xc]
push eax
push 0x10297ab4
call fcn.10007150
mov ecx, dword [0x1029a49c]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x48]
push edx
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0x10238480
push edx
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x14]
movss xmm0, dword [0x1026bac0]
comiss xmm0, dword [esp + 0x94]
jbe 0x10004dd7
movss xmm1, dword [esp + 0x74]
movss xmm2, dword [esp + 0x78]
subss xmm2, dword [0x10297ab8]
subss xmm1, dword [0x10297ab4]
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [0x10297abc]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10004daf
sqrtsd xmm0, xmm0
jmp 0x10004db4
call fcn.1020bb20
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10004dd7
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x68]
push eax
call fcn.10004e20
movss dword [esp + 0x18], xmm0
add esi, 0xc
sub edi, 1
jne 0x10004ce0
mov eax, dword [esp + 0x1c]
add eax, 0xc
sub dword [esp + 0x20], 1
mov dword [esp + 0x1c], eax
jne 0x10004cc0
mov eax, dword [esp + 0x24]
add eax, 0xc
sub dword [esp + 0x28], 1
mov dword [esp + 0x24], eax
jne 0x10004ca0
pop edi
pop esi
mov esp, ebp
pop ebp
ret