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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ebp + 0xc]
push esi
mov edx, dword [ebp + 0x1c]
mov esi, edx
push edi
mov edi, dword [ebp + 0x10]
movss xmm6, dword [0x10095818]
shl esi, 4
add esi, dword [ecx + 0x94]
movss xmm5, dword [edi]
movss xmm7, dword [edi + 4]
movaps xmm4, xmm5
subss xmm4, dword [eax]
movss xmm3, dword [edi + 8]
movaps xmm2, xmm7
subss xmm2, dword [eax + 4]
subss xmm3, dword [eax + 8]
mov dword [esp + 0x50], ecx
movaps xmm0, xmm4
movss dword [esp + 0x38], xmm6
mulss xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm1, dword [0x10095578]
jb 0x10090485
sqrtss xmm0, xmm1
movss xmm1, dword [0x100da100]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm1
mulss xmm4, dword [esp + 0x10]
mulss xmm0, xmm2
mulss xmm1, xmm3
mulss xmm2, xmm0
mulss xmm3, xmm1
addss xmm4, xmm2
xorps xmm2, xmm2
addss xmm4, xmm3
movss xmm3, dword [esp + 0x10]
ucomiss xmm3, xmm2
movss dword [esp + 0x3c], xmm4
lahf
test ah, 0x44
jp 0x100904a5
movss xmm4, dword [0x100da100]
movss dword [esp + 0x30], xmm6
jmp 0x100904c2
movss xmm1, dword [0x100da100]
xorps xmm2, xmm2
movss dword [esp + 0x10], xmm1
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x10]
movss dword [esp + 0x3c], xmm4
movss xmm4, dword [0x100da100]
movaps xmm6, xmm4
divss xmm6, xmm3
movss dword [esp + 0x30], xmm6
movss xmm6, dword [0x10095818]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100904d2
movaps xmm6, xmm4
divss xmm6, xmm0
ucomiss xmm1, xmm2
movss dword [esp + 0x34], xmm6
lahf
test ah, 0x44
jnp 0x100904ee
movaps xmm6, xmm4
divss xmm6, xmm1
movss dword [esp + 0x38], xmm6
mov eax, dword [ebp + 0xc]
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax]
comiss xmm1, xmm5
movaps xmmword [esp + 0x70], xmm1
movups xmmword [esp + 0x60], xmm0
jbe 0x10090509
movaps xmm1, xmm5
movss xmm2, dword [esp + 0x74]
comiss xmm2, xmm7
jbe 0x10090517
movaps xmm2, xmm7
movss xmm4, dword [esp + 0x78]
movss xmm3, dword [edi + 8]
comiss xmm4, xmm3
jbe 0x1009052a
movaps xmm4, xmm3
movss xmm6, dword [edi + 0xc]
movss xmm0, dword [esp + 0x7c]
comiss xmm0, xmm6
jbe 0x10090540
movss dword [esp + 0x7c], xmm6
comiss xmm6, dword [esp + 0x6c]
maxss xmm5, dword [esp + 0x60]
maxss xmm7, dword [esp + 0x64]
maxss xmm3, dword [esp + 0x68]
jbe 0x1009055f
movss dword [esp + 0x6c], xmm6
mov eax, dword [ebp + 0x14]
addss xmm1, dword [eax]
addss xmm2, dword [eax + 4]
addss xmm4, dword [eax + 8]
mov eax, dword [ebp + 0x18]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm2
addss xmm3, dword [eax + 8]
addss xmm5, dword [eax]
addss xmm7, dword [eax + 4]
movss dword [esp + 0x78], xmm4
movaps xmm0, xmmword [esp + 0x70]
movss dword [esp + 0x68], xmm3
movss xmm3, dword [ecx + 0x10]
comiss xmm3, xmm1
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm7
movaps xmmword [esp + 0x70], xmm0
jbe 0x100905be
movaps xmm0, xmm3
jmp 0x100905c4
movss xmm0, dword [esp + 0x70]
movss xmm7, dword [ecx + 0x14]
movaps xmm6, xmm3
comiss xmm7, xmm2
movss dword [esp + 0x10], xmm0
maxss xmm6, xmm1
jbe 0x100905e7
movaps xmm6, xmm3
movaps xmm0, xmm7
maxss xmm6, xmm1
jmp 0x100905ed
movss xmm0, dword [esp + 0x74]
movss xmm1, dword [ecx + 0x18]
comiss xmm1, xmm4
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm7
maxss xmm0, xmm2
movss dword [esp + 0x28], xmm0
jbe 0x1009061c
movaps xmm0, xmm7
maxss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp + 0x28], xmm0
jmp 0x10090622
movss xmm2, dword [esp + 0x78]
movss xmm0, dword [ecx + 0x1c]
maxss xmm1, xmm4
comiss xmm0, dword [esp + 0x7c]
jbe 0x1009063b
movss xmm1, dword [ecx + 0x18]
maxss xmm1, xmm4
movss xmm0, dword [ecx + 0x20]
comiss xmm6, xmm0
jbe 0x1009064a
movaps xmm4, xmm0
jmp 0x10090650
movss xmm4, dword [esp + 0x10]
movss xmm6, dword [ecx + 0x24]
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm6
jbe 0x10090665
movaps xmm0, xmm6
jmp 0x1009066b
movss xmm0, dword [esp + 0x2c]
movss xmm6, dword [ecx + 0x28]
comiss xmm1, xmm6
jbe 0x10090678
movaps xmm2, xmm6
subss xmm2, dword [ecx + 0x18]
subss xmm4, xmm3
mov edi, 0xfffe
subss xmm0, xmm7
mulss xmm2, dword [ecx + 0x38]
mulss xmm4, dword [ecx + 0x30]
mulss xmm0, dword [ecx + 0x34]
cvttss2si eax, xmm4
and ax, di
movzx eax, ax
mov dword [esp + 0x4c], eax
cvttss2si eax, xmm0
movaps xmm0, xmmword [esp + 0x60]
and ax, di
movaps xmmword [esp + 0x70], xmm0
movzx eax, ax
mov dword [esp + 0x10], eax
cvttss2si eax, xmm2
and ax, di
comiss xmm3, xmm5
movzx eax, ax
mov dword [esp + 0x40], eax
jbe 0x100906d7
movaps xmm2, xmm3
jmp 0x100906dd
movss xmm2, dword [esp + 0x70]
movss xmm1, dword [esp + 0x74]
movaps xmm6, xmm5
movaps xmm4, xmm1
maxss xmm6, xmm3
comiss xmm7, xmm4
jbe 0x100906fc
movaps xmm6, xmm5
movaps xmm1, xmm7
maxss xmm6, xmm3
movss xmm0, dword [esp + 0x78]
maxss xmm4, xmm7
movaps xmm5, xmm0
movss dword [esp + 0x2c], xmm4
movss xmm4, dword [ecx + 0x18]
comiss xmm4, xmm5
jbe 0x1009071c
movaps xmm0, xmm4
maxss xmm5, xmm4
movss xmm4, dword [ecx + 0x20]
comiss xmm6, xmm4
movss dword [esp + 0x28], xmm5
jbe 0x10090733
movaps xmm2, xmm4
movss xmm4, dword [ecx + 0x24]
movss xmm5, dword [esp + 0x2c]
comiss xmm5, xmm4
jbe 0x10090746
movaps xmm1, xmm4
movss xmm4, dword [ecx + 0x28]
movss xmm5, dword [esp + 0x28]
comiss xmm5, xmm4
jbe 0x10090759
movaps xmm0, xmm4
subss xmm0, dword [ecx + 0x18]
subss xmm2, xmm3
movss xmm3, dword [0x100da100]
subss xmm1, xmm7
mulss xmm0, dword [ecx + 0x38]
mulss xmm2, dword [ecx + 0x30]
mulss xmm1, dword [ecx + 0x34]
addss xmm0, xmm3
addss xmm2, xmm3
addss xmm1, xmm3
cvttss2si ecx, xmm0
cvttss2si eax, xmm2
or cx, 1
cvttss2si edi, xmm1
or ax, 1
or di, 1
cmp edx, dword [ebp + 0x20]
jge 0x10090a68
mov edx, dword [esp + 0x10]
movzx eax, ax
movzx edx, dx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x40]
movzx eax, di
mov dword [esp + 0x44], eax
movzx edx, dx
movzx eax, cx
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
xor edi, edi
movzx ecx, word [esi + 8]
movzx edx, word [esi + 0xa]
shr eax, 0x1f
xor al, 1
cmp cx, word [esp + 0x28]
mov dword [esp + 0x58], eax
sbb ecx, ecx
inc ecx
cmp dx, word [esp + 0x40]
sbb eax, eax
xor edx, edx
inc eax
and ecx, eax
movzx eax, word [esi + 4]
cmp word [esp + 0x10], ax
movzx eax, word [esi + 2]
cmovae edx, ecx
cmp word [esp + 0x44], ax
sbb eax, eax
xor ecx, ecx
inc eax
and edx, eax
movzx eax, word [esi]
cmp word [esp + 0x48], ax
cmovae ecx, edx
movzx edx, word [esi + 6]
cmp dx, word [esp + 0x4c]
sbb eax, eax
inc eax
and ecx, eax
neg ecx
jns 0x10090a29
mov eax, dword [esp + 0x50]
movaps xmm0, xmm3
movaps xmm1, xmm3
mov dword [esp + 0x7c], edi
movaps xmm7, xmm3
mov dword [esp + 0x8c], edi
xor ecx, ecx
mov edi, 0x10
divss xmm0, dword [eax + 0x38]
divss xmm1, dword [eax + 0x30]
movss xmm3, dword [eax + 0x14]
movss xmm5, dword [eax + 0x18]
divss xmm7, dword [eax + 0x34]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x10]
movzx eax, word [esi]
movd xmm2, eax
movzx eax, word [esi + 2]
cvtdq2ps xmm2, xmm2
movd xmm6, eax
movzx eax, word [esi + 4]
mulss xmm2, xmm1
cvtdq2ps xmm6, xmm6
addss xmm2, xmm0
movd xmm4, eax
movzx eax, word [esi + 8]
mulss xmm6, xmm7
cvtdq2ps xmm4, xmm4
movss dword [esp + 0x54], xmm2
addss xmm6, xmm3
mulss xmm4, dword [esp + 0x2c]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
mov edx, dword [ebp + 0xc]
addss xmm4, xmm5
mulss xmm2, xmm1
movd xmm1, eax
movzx eax, word [esi + 0xa]
cvtdq2ps xmm1, xmm1
addss xmm2, xmm0
movd xmm0, eax
mov eax, dword [ebp + 0x18]
mulss xmm1, xmm7
cvtdq2ps xmm0, xmm0
subss xmm6, dword [eax + 4]
mulss xmm0, dword [esp + 0x2c]
addss xmm1, xmm3
movss xmm3, dword [esp + 0x54]
subss xmm3, dword [eax]
subss xmm4, dword [eax + 8]
mov eax, dword [ebp + 0x14]
addss xmm0, xmm5
movss xmm5, dword [esp + 0x34]
movss dword [esp + 0x74], xmm6
xorps xmm6, xmm6
movss dword [esp + 0x70], xmm3
movss xmm3, dword [esp + 0x30]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 4]
subss xmm0, dword [eax + 8]
comiss xmm6, xmm3
lea eax, [esp + 0x80]
movss dword [esp + 0x78], xmm4
movss xmm4, dword [edx + 4]
cmova ecx, edi
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x84], xmm1
sub eax, ecx
movss dword [esp + 0x88], xmm0
movss xmm2, dword [esp + ecx + 0x70]
xor ecx, ecx
movss xmm1, dword [eax]
lea eax, [esp + 0x84]
subss xmm2, dword [edx]
subss xmm1, dword [edx]
comiss xmm6, xmm5
mulss xmm2, xmm3
cmova ecx, edi
mulss xmm1, xmm3
sub eax, ecx
movss xmm3, dword [eax]
subss xmm3, xmm4
mulss xmm3, xmm5
comiss xmm2, xmm3
ja 0x10090a27
movss xmm0, dword [esp + ecx + 0x74]
subss xmm0, xmm4
mulss xmm0, xmm5
comiss xmm0, xmm1
ja 0x10090a27
movss xmm5, dword [esp + 0x38]
lea eax, [esp + 0x88]
movss xmm4, dword [edx + 8]
maxss xmm0, xmm2
xor ecx, ecx
minss xmm3, xmm1
comiss xmm6, xmm5
cmova ecx, edi
sub eax, ecx
movss xmm2, dword [eax]
subss xmm2, xmm4
mulss xmm2, xmm5
comiss xmm0, xmm2
ja 0x10090a27
movss xmm1, dword [esp + ecx + 0x78]
subss xmm1, xmm4
mulss xmm1, xmm5
comiss xmm1, xmm3
ja 0x10090a27
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm1
jbe 0x10090a27
minss xmm2, xmm3
comiss xmm2, xmm6
jbe 0x10090a27
mov edi, 1
jmp 0x10090a29
xor edi, edi
cmp byte [esp + 0x58], 0
je 0x10090a70
test edi, edi
je 0x10090a4d
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov edi, dword [ebp + 8]
and eax, 0x1fffff
sar ecx, 0x15
push eax
push ecx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [ebp + 0x1c]
add esi, 0x10
inc eax
movss xmm3, dword [0x100da100]
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 0x20]
jl 0x100907d5
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
test edi, edi
jne 0x10090a4d
mov ecx, dword [esi + 0xc]
neg ecx
mov eax, ecx
shl eax, 4
add esi, eax
mov eax, dword [ebp + 0x1c]
add eax, ecx
jmp 0x10090a54