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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x103390c8]
push esi
push edi
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov eax, dword [ecx + 4]
cmp byte [edx + eax + 0x18], 0
je 0x10152ac7
mov eax, dword [0x103390d4]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
movss xmm0, dword [0x102ddb8c]
xorps xmm1, xmm1
mov edi, eax
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm0
mov ecx, edi
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm0
call fcn.10024890
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
mov edx, dword [0x103390cc]
movss xmm1, dword [esi + 4]
movss xmm2, dword [esi + 8]
movss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm2, dword [eax + 8]
addss xmm0, dword [esi]
mov edi, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
add eax, edi
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x28], edx
mov dword [esp + 0x80], eax
cmp edi, eax
je 0x10152908
mov eax, dword [edx + 0xc]
mov ecx, edi
dec eax
shr ecx, 1
and ecx, eax
mov esi, edi
mov eax, dword [edx + 8]
and esi, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xc], eax
mov eax, dword [0x103390d4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + esi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
test eax, eax
je 0x101528e4
mov eax, dword [esp + 0xc]
mov esi, dword [eax + esi*8]
cmp byte [esi + 2], 0
jne 0x101528e4
cmp byte [esi], 0
jne 0x101528e4
cmp byte [esi + 1], 0
je 0x101528e4
mov eax, dword [0x103390d4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
movsx eax, byte [esi + 0xc]
push eax
call edx
mov ecx, eax
call fcn.10009280
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
movss dword [esp + 0x20], xmm2
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x64]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0xc], xmm0
mov ecx, dword [eax + 4]
mov eax, dword [0x103390c8]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*4 + 0x1c], 1
jne 0x1015281b
mov eax, dword [0x103390d4]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov ecx, dword [eax + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
movss xmm0, dword [0x102dd95c]
sub esp, 8
divss xmm0, dword [0x102ddae4]
mulss xmm0, dword [esp + 0x58]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ef400
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x7c]
movsd qword [esp], xmm0
call fcn.100ef3b0
movss xmm0, dword [0x102dd95c]
divss xmm0, dword [0x102ddae4]
fstp dword [esp + 0x74]
mulss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ef400
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x78]
movsd qword [esp], xmm0
call fcn.100ef3b0
movss xmm0, dword [0x102dd95c]
divss xmm0, dword [0x102ddae4]
fstp dword [esp + 0x70]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ef400
movss xmm0, dword [esp + 0x18]
fstp st(0)
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ef3b0
movss xmm0, dword [esp + 0x70]
fstp st(0)
mulss xmm0, dword [esp + 0x74]
movss xmm2, dword [esp + 0x2c]
subss xmm2, dword [esp + 0x20]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x78]
mulss xmm0, dword [esp + 0x74]
movss xmm3, dword [esp + 0x14]
subss xmm3, dword [esp + 0x24]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x7c]
xorps xmm0, xmmword [0x102ddfe0]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x10], xmm3
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
add esp, 8
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x101526d5
movss xmm0, dword [esp + 0x78]
movss xmm2, dword [esp + 0x7c]
movss xmm3, dword [esp + 8]
divss xmm0, xmm1
divss xmm2, xmm1
divss xmm3, xmm1
jmp 0x101526e0
movss xmm3, dword [0x102dd87c]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x50]
sub esp, 8
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100f3790
movss xmm1, dword [0x102ddae4]
add esp, 8
divss xmm1, dword [0x102dd95c]
movss xmm0, dword [0x102dda68]
divss xmm0, dword [0x102dd910]
fstp dword [esp + 8]
mulss xmm1, dword [esp + 8]
comiss xmm0, xmm1
jbe 0x1015281b
movss xmm0, dword [esp + 0x24]
sub esp, 8
movss xmm2, dword [esp + 0x28]
subss xmm2, dword [esp + 0x1c]
subss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x14]
subss xmm1, dword [esp + 0x24]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100ef450
movss xmm0, dword [esp + 0x64]
add esp, 8
fstp dword [esp + 8]
comiss xmm0, dword [esp + 8]
jbe 0x1015281b
movss xmm1, dword [esp + 0x20]
sub esp, 8
movss xmm0, dword [esp + 0x2c]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x14]
movss dword [esp + 0x38], xmm0
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm3
subss xmm1, dword [esp + 0x24]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
movss dword [esp + 0x3c], xmm3
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
add esp, 8
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x24]
sub esp, 8
movss xmm2, dword [esp + 0x28]
subss xmm2, dword [esp + 0x1c]
subss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x14]
subss xmm1, dword [esp + 0x24]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100ef450
movss xmm0, dword [esp + 0x68]
add esp, 8
fstp dword [esp + 8]
comiss xmm0, dword [esp + 8]
jbe 0x101528e4
movss xmm0, dword [esp + 0x24]
sub esp, 8
movss xmm1, dword [esp + 0x28]
movss xmm2, dword [esp + 0x14]
movss dword [esp + 0x44], xmm0
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x40], xmm1
subss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x48], xmm2
subss xmm2, dword [esp + 0x24]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
add esp, 8
movss dword [esp + 0x60], xmm0
mov edx, dword [esp + 0x28]
inc edi
cmp edi, dword [esp + 0x80]
jne 0x10152455
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
mov esi, dword [esp + 0x64]
mov eax, dword [0x103390c8]
movss xmm3, dword [0x102ddb8c]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*4 + 0x1c], 1
jne 0x101529e4
comiss xmm3, dword [esp + 0x5c]
jbe 0x101529e4
movss xmm3, dword [esp + 0x2c]
sub esp, 8
movss xmm4, dword [esp + 0x38]
subss xmm3, xmm0
movss xmm5, dword [esp + 0x3c]
subss xmm4, xmm1
subss xmm5, xmm2
movaps xmm1, xmm3
movss dword [esp + 0x34], xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm5
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x30]
movss xmm2, dword [esp + 0x30]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x10152a97
movss xmm1, dword [esp + 0x2c]
divss xmm1, xmm2
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x30]
divss xmm1, xmm2
divss xmm0, xmm2
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
jmp 0x10152aaf
comiss xmm3, dword [esp + 0x60]
jbe 0x10152ac7
movss xmm3, dword [esp + 0x38]
sub esp, 8
movss xmm4, dword [esp + 0x44]
subss xmm3, xmm0
movss xmm5, dword [esp + 0x48]
subss xmm4, xmm1
subss xmm5, xmm2
movaps xmm1, xmm3
movss dword [esp + 0x40], xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm5
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x30]
movss xmm2, dword [esp + 0x30]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x10152a97
movss xmm1, dword [esp + 0x38]
divss xmm1, xmm2
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x3c]
divss xmm1, xmm2
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x40]
divss xmm1, xmm2
movss dword [esp + 0x4c], xmm1
jmp 0x10152aaf
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x48], 0
push ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x4c]
call fcn.101ca3e0
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret