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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
mov eax, dword [0x1021663c]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x3c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10217cb0]
mov edi, dword [ebx + 0x60]
mov dword [esp + 0x38], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102190e8]
cmp eax, dword [ecx + 4]
jle 0x1014fc13
push 0x102190e8
call fcn.1015fec1
add esp, 4
cmp dword [0x102190e8], 0xffffffff
jne 0x1014fc13
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ce70
push 0x102190e8
mov dword [0x1021f3f0], eax
call fcn.1015fe70
add esp, 4
mov esi, dword [0x1021f3f0]
mov eax, dword [esi + edi + 8]
movq xmm0, qword [esi + edi]
mov dword [esp + 0x28], eax
mov eax, dword [0x102187c8]
movq qword [esp + 0x20], xmm0
movss xmm0, dword [0x101ecba0]
movss dword [esp + 0x34], xmm0
mov eax, dword [eax]
test eax, eax
je 0x1014fda9
cmp eax, dword [ebx + 0x60]
je 0x1014fda9
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [esp + 0x20]
movaps xmm1, xmm0
mulss xmm1, xmm0
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x1c], xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, xmm0
addss xmm1, xmm0
movsd xmm0, qword [0x101eccc0]
movss dword [esp + 0x18], xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1014fca7
sqrtsd xmm0, xmm0
jmp 0x1014fcac
call fcn.10187f60
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1014fdb7
movq xmm0, qword [esi + edi]
mov eax, dword [esi + edi + 8]
movsd xmm1, qword [0x101ecc50]
movq qword [esp + 0x40], xmm0
movss xmm2, dword [esp + 0x40]
cvtps2pd xmm0, xmm2
mov dword [esp + 0x48], eax
call fcn.10187240
movsd xmm1, qword [0x101ecc50]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
call fcn.10187240
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
cvtps2pd xmm0, xmm0
movss dword [esp + 0x14], xmm1
movsd xmm1, qword [0x101ecc50]
call fcn.10187240
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1014fd52
sqrtsd xmm0, xmm0
jmp 0x1014fd57
call fcn.10187f60
movss xmm2, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
movss xmm5, dword [esp + 0x40]
addss xmm0, dword [0x101eca70]
movss xmm4, dword [esp + 0x44]
divss xmm2, xmm0
movss xmm0, dword [0x101ece20]
mulss xmm5, xmm2
mulss xmm4, xmm2
mulss xmm2, dword [esp + 0x48]
mulss xmm5, xmm0
mulss xmm4, xmm0
movss dword [esp + 0x20], xmm5
mulss xmm2, xmm0
movss dword [esp + 0x24], xmm4
jmp 0x1014fdc9
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0x20]
jmp 0x1014fdc3
movss xmm4, dword [esp + 0x14]
movss xmm5, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [0x101ed3d0]
movaps xmm0, xmm5
movsd xmm6, qword [0x101ecb78]
andps xmm0, xmm1
cvtps2pd xmm0, xmm0
xorps xmm3, xmm3
comisd xmm6, xmm0
jbe 0x1014fdf4
xorps xmm5, xmm5
movss dword [esp + 0x20], xmm5
movaps xmm0, xmm4
andps xmm0, xmm1
cvtps2pd xmm0, xmm0
comisd xmm6, xmm0
jbe 0x1014fe0c
xorps xmm4, xmm4
movss dword [esp + 0x24], xmm4
movaps xmm0, xmm2
andps xmm0, xmm1
cvtps2pd xmm0, xmm0
comisd xmm6, xmm0
jbe 0x1014fe1e
xorps xmm2, xmm2
movss dword [ebx + 0xf0], xmm2
lea ecx, [esp + 0x40]
movss xmm1, dword [ebx + 0x160]
movss xmm2, dword [ebx + 0x15c]
movss xmm0, dword [ebx + 0x164]
mulss xmm2, xmm2
mov dword [esp + 0x28], 0
mulss xmm1, xmm1
mulss xmm4, xmm4
mulss xmm5, xmm5
addss xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm0, xmm0
addss xmm4, xmm5
addss xmm2, xmm0
movq xmm0, qword [ebx + 0xc8]
movq qword [esp + 0x40], xmm0
movss xmm0, dword [ebx + 0x74]
mulss xmm0, dword [0x101ece70]
addss xmm4, xmm3
movss xmm3, dword [esp + 0x28]
comiss xmm4, xmm2
movss xmm2, dword [esp + 0x24]
seta al
mov byte [ebx + 0x1ad], al
mov eax, dword [ebx + 0xd0]
mov dword [esp + 0x48], eax
call fcn.100b0e70
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
movq xmm0, qword [esp + 0x40]
movsd xmm1, qword [0x101ecc50]
movq qword [ebx + 0xc8], xmm0
movss dword [esp + 0x48], xmm2
mov eax, dword [esp + 0x48]
mov dword [ebx + 0xd0], eax
movq xmm0, qword [ebx + 0xc8]
movq qword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
mov dword [esp + 0x48], eax
call fcn.10187240
movsd xmm1, qword [0x101ecc50]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
call fcn.10187240
movss xmm2, dword [esp + 0x14]
movsd xmm1, qword [0x101ecc50]
cvtsd2ss xmm0, xmm0
addss xmm2, xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
movss dword [esp + 0x14], xmm2
call fcn.10187240
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1014ff7e
sqrtsd xmm0, xmm0
jmp 0x1014ff83
call fcn.10187f60
movss xmm1, dword [esp + 0x34]
sub esp, 8
cvtsd2ss xmm0, xmm0
addss xmm0, dword [0x101eca70]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x48]
movss dword [ebx + 0xd4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x20]
movss dword [ebx + 0xd8], xmm0
mulss xmm1, dword [esp + 0x24]
movss dword [ebx + 0xdc], xmm1
movss xmm1, dword [ebx + 0xcc]
movss xmm2, dword [ebx + 0xc8]
movss xmm0, dword [ebx + 0xd0]
mulss xmm2, xmm2
mov dword [esp + 4], 0x43820000
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10150012
sqrtsd xmm0, xmm0
jmp 0x10150017
call fcn.10187f60
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call fcn.1016d66a
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
xorps xmm1, xmm1
add esp, 8
movss dword [ebx + 0xec], xmm0
comiss xmm0, xmm1
jbe 0x1015005e
movq xmm0, qword [ebx + 0xd4]
mov eax, dword [ebx + 0xdc]
movq qword [ebx + 0xe0], xmm0
mov dword [ebx + 0xe8], eax
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x101500a6
mov eax, dword [ecx]
mov eax, dword [eax + 0x6e8]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.1016d4a8
fstp dword [esp + 0x20]
movss xmm4, dword [esp + 0x20]
add esp, 8
xorps xmm1, xmm1
jmp 0x101500ae
movss xmm4, dword [0x101ece14]
movss xmm5, dword [ebx + 0xec]
lea eax, [esp + 0x14]
movaps xmm0, xmm5
movss xmm6, dword [0x101ecda8]
divss xmm0, xmm4
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0
movaps xmm3, xmm5
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x1c]
comiss xmm0, dword [esp + 0x34]
movaps xmm0, xmm4
mulss xmm4, dword [0x101ecb08]
mulss xmm0, dword [0x101ecb38]
cmovbe eax, ecx
divss xmm3, xmm0
mov eax, dword [eax]
mov dword [ebx + 0xf4], eax
movaps xmm0, xmm5
comiss xmm3, dword [esp + 0x34]
divss xmm0, xmm4
movss xmm4, dword [0x101ed400]
movss dword [ebx + 0xfc], xmm0
movss xmm0, dword [0x101ecb34]
movss dword [ebx + 0xf8], xmm3
jb 0x1015014f
movss dword [ebx + 0x2a4], xmm5
jmp 0x1015019e
comiss xmm0, xmm3
jbe 0x1015019e
movss xmm2, dword [ebx + 0x74]
movss xmm7, dword [0x101ecdbc]
movss xmm3, dword [ebx + 0x2a4]
mulss xmm2, xmm6
movaps xmm6, xmm7
subss xmm6, xmm3
comiss xmm6, xmm2
jbe 0x1015017f
addss xmm2, xmm3
jmp 0x10150196
movaps xmm0, xmm2
xorps xmm0, xmm4
comiss xmm0, xmm6
jbe 0x10150193
subss xmm3, xmm2
movaps xmm2, xmm3
jmp 0x10150196
movaps xmm2, xmm7
movss dword [ebx + 0x2a4], xmm2
movss xmm2, dword [ebx + 0x74]
xor al, al
comiss xmm5, xmm1
mov byte [esp + 0x3f], 0
jbe 0x101501d7
movss xmm0, dword [ebx + 0x100]
comiss xmm1, xmm0
mov dword [ebx + 0x104], 0
addss xmm2, xmm0
setae byte [esp + 0x3f]
movss dword [ebx + 0x100], xmm2
jmp 0x101501fb
movss xmm0, dword [ebx + 0x104]
comiss xmm1, xmm0
mov dword [ebx + 0x100], 0
addss xmm2, xmm0
setae al
movss dword [ebx + 0x104], xmm2
cmp byte [ebx + 0x138], 0
jne 0x10150280
test al, al
je 0x10150280
cmp byte [ebx + 0x108], 0
je 0x10150280
cmp byte [ebx + 0x128], 0
jne 0x10150280
cmp byte [ebx + 0x109], 0
jne 0x10150280
movss xmm0, dword [0x101ecd8c]
comiss xmm0, dword [ebx + 0x2ac]
jbe 0x10150280
mov ecx, dword [ebx + 0x60]
cmp dword [ecx + 0x2950], 0
je 0x10150279
mov esi, dword [ecx + 0x2990]
add esi, 0xa8
je 0x10150279
mov eax, dword [ecx]
push 6
push esi
mov eax, dword [eax + 0x37c]
mov dword [esp + 0x20], eax
call dword [esp + 0x20]
fstp dword [esi + 0x28]
mov dword [esi + 0x18], 6
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
mov byte [ebx + 0x138], 1
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xa8
je 0x101502a5
mov eax, dword [0x10216630]
push dword [edx + 0x18]
mov eax, dword [eax + 0x30]
call eax
cmp eax, 0x3d4
je 0x101502d2
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xa8
je 0x101504eb
mov eax, dword [0x10216630]
push dword [edx + 0x18]
mov eax, dword [eax + 0x30]
call eax
cmp eax, 0x3d3
jne 0x101504eb
cmp byte [ebx + 0x138], 0
je 0x1015042d
movss xmm0, dword [0x101ecaf4]
comiss xmm0, dword [ebx + 0xfc]
jb 0x1015042d
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0x2990]
add ecx, 0xa8
je 0x101503ea
movss xmm0, dword [ecx + 0x20]
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x28]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm2
andps xmm0, xmmword [0x101ed3d0]
comiss xmm1, xmm0
jae 0x10150370
mulss xmm2, dword [ebx + 0x74]
movss xmm3, dword [esp + 0x34]
addss xmm2, dword [ecx + 0x2c]
comiss xmm2, xmm3
jb 0x10150348
movss xmm2, dword [0x101ecb94]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
comiss xmm1, xmm2
jbe 0x10150362
addss xmm2, xmm3
jmp 0x1015036b
comiss xmm2, xmm3
jbe 0x1015036b
subss xmm2, xmm3
movss dword [ecx + 0x2c], xmm2
push 3
mov ecx, ebx
call fcn.10154250
mov eax, dword [ebx + 0x60]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm1
mov edx, dword [eax + 0x2990]
add edx, 0xa8
je 0x101503c5
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x3f800000
comiss xmm0, xmm1
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
cmovbe ecx, eax
lea eax, [esp + 0x1c]
comiss xmm1, dword [esp + 0x34]
cmovbe eax, ecx
mov eax, dword [eax]
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x2990]
add eax, 0xa8
je 0x101503ea
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [esp + 0x20]
divss xmm0, dword [ebx + 0x74]
movss dword [eax + 0x24], xmm0
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x2990]
add eax, 0xa8
je 0x1015041e
movss xmm0, dword [eax + 0x28]
mulss xmm0, dword [ebx + 0x74]
addss xmm0, dword [eax + 0x2c]
comiss xmm0, dword [esp + 0x34]
setae al
xor al, 1
mov byte [ebx + 0x138], al
jmp 0x101504eb
xor al, al
xor al, 1
mov byte [ebx + 0x138], al
jmp 0x101504eb
mov eax, dword [ebx + 0x60]
xorps xmm1, xmm1
mov byte [ebx + 0x138], 0
mov edx, dword [eax + 0x2990]
add edx, 0xa8
jne 0x1015044d
xorps xmm3, xmm3
jmp 0x10150452
movss xmm3, dword [edx + 0x20]
movss xmm2, dword [ebx + 0x74]
xorps xmm4, xmm4
mulss xmm2, dword [0x101ecce8]
subss xmm4, xmm3
comiss xmm4, xmm2
jbe 0x10150471
addss xmm2, xmm3
jmp 0x1015048f
movaps xmm0, xmm2
xorps xmm0, xmmword [0x101ed400]
comiss xmm0, xmm4
jbe 0x1015048c
movaps xmm0, xmm3
subss xmm0, xmm2
movaps xmm2, xmm0
jmp 0x1015048f
xorps xmm2, xmm2
movss dword [esp + 0x18], xmm2
test edx, edx
je 0x101504c8
comiss xmm1, xmm2
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x3f800000
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
cmovbe ecx, eax
lea eax, [esp + 0x14]
comiss xmm2, dword [esp + 0x34]
cmovbe eax, ecx
mov eax, dword [eax]
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x2990]
add eax, 0xa8
je 0x101504eb
movss xmm0, dword [eax + 0x20]
subss xmm0, xmm3
divss xmm0, dword [ebx + 0x74]
movss dword [eax + 0x24], xmm0
movss xmm1, dword [ebx + 0x80]
lea esi, [ebx + 0x80]
movss xmm0, dword [0x101ecf3c]
lea ecx, [esp + 0x20]
comiss xmm0, xmm1
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0xc3b40000
mov dword [esp + 0x18], 0x43b40000
movss xmm0, dword [ebx + 0x78]
movss dword [ebx + 0x84], xmm1
cmovbe ecx, esi
comiss xmm1, dword [0x101ece2c]
cmovbe eax, ecx
movss xmm1, dword [eax]
subss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
movss dword [esi], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm6, dword [ebx + 0x78]
mov edx, esi
comiss xmm6, dword [esp + 0x1c]
movss xmm0, dword [0x101ecdfc]
movss xmm1, dword [0x101ecf2c]
fstp dword [esp + 0x14]
movss xmm5, dword [esp + 0x14]
jbe 0x1015059d
comiss xmm5, xmm0
jb 0x101505aa
subss xmm5, dword [0x101ece2c]
lea edx, [ebx + 0x80]
jmp 0x101505aa
comiss xmm1, xmm5
jb 0x101505aa
addss xmm5, dword [0x101ece2c]
movss xmm1, dword [ebx + 0xf8]
lea eax, [ebx + 0xf8]
movss xmm4, dword [esp + 0x34]
lea ecx, [esp + 0x20]
movss xmm0, dword [ebx + 0x11c]
xorps xmm2, xmm2
mulss xmm0, dword [0x101ecaf8]
mov dword [esp + 0x18], 0x3f800000
movss xmm3, dword [0x101ecb74]
comiss xmm2, xmm1
mov dword [esp + 0x20], 0
subss xmm3, xmm0
cmovbe ecx, eax
lea eax, [esp + 0x18]
comiss xmm1, xmm4
movss xmm1, dword [ebx + 0xa4]
subss xmm3, xmm4
cmovbe eax, ecx
comiss xmm1, xmm2
mulss xmm3, dword [eax]
addss xmm3, xmm4
jbe 0x10150666
movss xmm0, dword [ebx + 0xfc]
lea eax, [ebx + 0xfc]
comiss xmm2, xmm0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x20], 0
mov esi, edx
cmovbe ecx, eax
lea eax, [esp + 0x18]
comiss xmm0, xmm4
movss xmm0, dword [0x101ecb34]
subss xmm0, xmm3
cmovbe eax, ecx
mulss xmm1, dword [eax]
mulss xmm1, xmm0
addss xmm3, xmm1
movaps xmm1, xmm3
mov dword [esp + 0x14], esi
mulss xmm1, dword [ebx + 0x338]
mulss xmm3, dword [ebx + 0x334]
comiss xmm5, xmm1
jbe 0x10150696
andps xmm1, xmmword [0x101ed3d0]
movaps xmm0, xmm6
subss xmm0, xmm1
movss dword [esi], xmm0
jmp 0x101506bf
comiss xmm3, xmm5
jbe 0x101506b9
movaps xmm0, xmm3
lea eax, [ebx + 0x80]
andps xmm0, xmmword [0x101ed3d0]
addss xmm0, xmm6
mov dword [esp + 0x14], eax
movss dword [esi], xmm0
jmp 0x101506bf
movss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm3, dword [0x101ecdfc]
mov eax, esi
movss xmm2, dword [0x101ece2c]
fstp dword [esp + 0x20]
movss xmm6, dword [esp + 0x20]
comiss xmm6, xmm3
jbe 0x10150700
mov eax, dword [esp + 0x14]
subss xmm6, xmm2
movss xmm5, dword [0x101ecf2c]
comiss xmm5, xmm6
jbe 0x10150713
addss xmm6, xmm2
mov esi, eax
movss xmm0, dword [ebx + 0xec]
comiss xmm0, dword [0x101ecac4]
movss dword [esi], xmm6
ja 0x10150964
movss xmm0, dword [ebx + 0xf0]
andps xmm0, xmmword [0x101ed3d0]
movss xmm1, dword [0x101ecdd0]
comiss xmm0, xmm1
ja 0x10150964
movss xmm4, dword [ebx + 0x74]
mov ecx, 0x91da3d0d
mulss xmm4, xmm1
call fcn.100c3de0
mulss xmm6, dword [0x101ece00]
xorps xmm1, xmm1
comiss xmm1, xmm4
movss xmm0, dword [eax + edi]
mulss xmm0, dword [0x101ece00]
cvttss2si eax, xmm0
movzx eax, ax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si eax, xmm6
mulss xmm7, dword [0x101eca8c]
movzx eax, ax
movss dword [esp + 0x14], xmm7
movss xmm6, dword [esp + 0x14]
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x101eca8c]
subss xmm6, xmm7
jbe 0x101507bf
xorps xmm4, xmmword [0x101ed400]
comiss xmm5, xmm6
jbe 0x101507ca
addss xmm6, xmm2
jmp 0x101507d3
comiss xmm6, xmm3
jbe 0x101507d3
subss xmm6, xmm2
comiss xmm6, xmm4
jbe 0x101507de
addss xmm4, xmm7
jmp 0x10150802
movaps xmm0, xmm4
xorps xmm0, xmmword [0x101ed400]
comiss xmm0, xmm6
jbe 0x101507fc
subss xmm7, xmm4
movaps xmm4, xmm7
movss dword [esp + 0x1c], xmm7
jmp 0x10150808
movss xmm4, dword [esp + 0x14]
movss dword [esp + 0x1c], xmm4
movss xmm0, dword [ebx + 0x6c]
movaps xmm6, xmm4
comiss xmm0, dword [ebx + 0x348]
movss dword [ebx + 0x80], xmm4
movss dword [esp + 0x14], xmm6
jbe 0x101508c1
movaps xmm0, xmm4
subss xmm0, dword [ebx + 0x78]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [ebx + 0x78]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
jbe 0x10150875
comiss xmm1, dword [0x101ecdfc]
jb 0x1015088a
subss xmm1, dword [0x101ece2c]
jmp 0x1015088a
movss xmm2, dword [0x101ecf2c]
comiss xmm2, xmm1
jb 0x1015088a
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movaps xmm6, xmm0
comiss xmm1, dword [0x101ecd7c]
movss dword [esp + 0x14], xmm6
jbe 0x101508be
movss xmm1, dword [ebx + 0x6c]
addss xmm1, dword [0x101ecba4]
movss dword [esp + 0x14], xmm6
movss dword [ebx + 0x348], xmm1
xorps xmm1, xmm1
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [ebx + 0xec]
jb 0x10150a95
cmp byte [ebx + 0x108], 0
je 0x10150a95
cmp byte [ebx + 0x128], 0
jne 0x10150a95
cmp byte [ebx + 0x109], 0
jne 0x10150a95
movss xmm0, dword [ebx + 0x74]
comiss xmm0, xmm1
jbe 0x10150a95
movss xmm0, dword [ebx + 0x84]
subss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x84]
comiss xmm0, dword [esp + 0x14]
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
jbe 0x10150a3d
comiss xmm1, dword [0x101ecdfc]
jb 0x10150a52
subss xmm1, dword [0x101ece2c]
jmp 0x10150a52
movss xmm0, dword [ebx + 0x78]
xorps xmm1, xmm1
mulss xmm0, dword [0x101ece00]
mulss xmm6, dword [0x101ece00]
movss xmm4, dword [ebx + 0x11c]
mulss xmm4, dword [0x101ecd44]
cvttss2si eax, xmm0
addss xmm4, dword [0x101ecd68]
movzx eax, ax
mulss xmm4, dword [ebx + 0x74]
movd xmm7, eax
cvttss2si eax, xmm6
comiss xmm1, xmm4
movzx eax, ax
cvtdq2ps xmm7, xmm7
movd xmm6, eax
mulss xmm7, dword [0x101eca8c]
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x20], xmm7
mulss xmm6, dword [0x101eca8c]
subss xmm7, xmm6
jbe 0x101509db
xorps xmm4, xmmword [0x101ed400]
comiss xmm5, xmm7
jbe 0x101509e6
addss xmm7, xmm2
jmp 0x101509ef
comiss xmm7, xmm3
jbe 0x101509ef
subss xmm7, xmm2
comiss xmm7, xmm4
jbe 0x101509fa
addss xmm6, xmm4
jmp 0x10150a15
movaps xmm0, xmm4
xorps xmm0, xmmword [0x101ed400]
comiss xmm0, xmm7
jbe 0x10150a0f
subss xmm6, xmm4
jmp 0x10150a15
movss xmm6, dword [esp + 0x20]
movss xmm0, dword [ebx + 0x6c]
addss xmm0, dword [0x101ecae8]
movss dword [esp + 0x14], xmm6
movss dword [ebx + 0x80], xmm6
movss dword [ebx + 0x348], xmm0
jmp 0x101508c1
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
jb 0x10150a52
addss xmm1, dword [0x101ece2c]
divss xmm1, dword [ebx + 0x74]
xor eax, eax
comiss xmm1, dword [0x101ecddc]
xorps xmm1, xmm1
seta al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
andps xmm0, xmmword [0x101ed3d0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10150a95
push 0x3d3
push 3
mov ecx, ebx
call fcn.10154110
mov byte [ebx + 0x138], 1
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0xec]
comiss xmm0, xmm1
jbe 0x10150bd3
movss xmm0, dword [ebx + 0xcc]
xorps xmm0, xmmword [0x101ed400]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [ebx + 0xc8]
xorps xmm0, xmmword [0x101ed400]
fld qword [esp + 0x20]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call fcn.10186190
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x101ecdfc]
divss xmm1, dword [0x101ecca4]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x10150b1f
addss xmm1, dword [0x101ece2c]
movss dword [esp + 0x14], xmm1
movaps xmm0, xmm1
subss xmm0, dword [ebx + 0x80]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [ebx + 0x80]
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
jbe 0x10150b6e
comiss xmm1, dword [0x101ecdfc]
jb 0x10150b83
subss xmm1, dword [0x101ece2c]
jmp 0x10150b83
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
jb 0x10150b83
addss xmm1, dword [0x101ece2c]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [0x101ece2c]
fstp dword [esp + 0x20]
movss xmm2, dword [esp + 0x20]
comiss xmm2, dword [0x101ecdfc]
jbe 0x10150bba
subss xmm2, xmm0
movss xmm1, dword [0x101ecf2c]
comiss xmm1, xmm2
jbe 0x10150bcb
addss xmm2, xmm0
movss dword [ebx + 0x8c], xmm2
movss xmm0, dword [ebx + 0x8c]
subss xmm0, dword [ebx + 0x88]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x8c]
comiss xmm0, dword [ebx + 0x88]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
jbe 0x10150c29
comiss xmm1, dword [0x101ecdfc]
jb 0x10150c3e
subss xmm1, dword [0x101ece2c]
jmp 0x10150c3e
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
jb 0x10150c3e
addss xmm1, dword [0x101ece2c]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [0x101ece2c]
fstp dword [esp + 0x20]
movss xmm2, dword [esp + 0x20]
comiss xmm2, dword [0x101ecdfc]
movss dword [esp + 0x14], xmm2
jbe 0x10150c81
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
movss xmm1, dword [0x101ecf2c]
comiss xmm1, xmm2
jbe 0x10150c98
addss xmm2, xmm0
movss dword [esp + 0x14], xmm2
cmp byte [esp + 0x3f], 0
movss dword [ebx + 0x90], xmm2
xorps xmm2, xmm2
je 0x101512c2
comiss xmm2, dword [ebx + 0x9c]
jb 0x101512c2
mov eax, dword [ebx + 0x60]
movss xmm0, dword [ebx + 0x8c]
movss dword [ebx + 0x88], xmm0
mov ecx, dword [eax + 0x2990]
add ecx, 0x150
jne 0x10150ce2
mov dword [esp + 0x14], ecx
jmp 0x10150cf2
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
cmp ecx, 0xffffffff
je 0x1015141b
mov eax, dword [0x10216630]
push ecx
mov ecx, dword [edi + 0x2950]
mov eax, dword [eax + 0x154]
call eax
mov ecx, 0x32
lea edi, [esp + 0x58]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x11c], 0
jle 0x10151417
movss xmm0, dword [ebx + 0x88]
movss dword [esp + 0x1c], xmm0
subss xmm0, dword [0x101ecdfc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [0x101ecdfc]
movss xmm2, dword [ebx + 0x88]
comiss xmm2, xmm0
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x10150d7d
comiss xmm1, xmm0
jb 0x10150d92
subss xmm1, dword [0x101ece2c]
jmp 0x10150d92
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
jb 0x10150d92
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm0, dword [0x101ecd50]
comiss xmm0, xmm1
jb 0x10150ddc
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 1
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
movaps xmm0, xmm2
subss xmm0, dword [0x101ecde4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x88]
comiss xmm0, dword [0x101ecde4]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x10150e2d
comiss xmm1, dword [0x101ecdfc]
jb 0x10150e48
subss xmm1, dword [0x101ece2c]
jmp 0x10150e48
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
jb 0x10150e48
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm2, dword [0x101ecd50]
comiss xmm2, xmm1
jb 0x10150e92
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 2
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
subss xmm0, dword [0x101ecdc8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x88]
comiss xmm0, dword [0x101ecdc8]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x10150ee0
comiss xmm1, dword [0x101ecdfc]
jb 0x10150efb
subss xmm1, dword [0x101ece2c]
jmp 0x10150efb
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
jb 0x10150efb
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm2, dword [0x101ecd50]
comiss xmm2, xmm1
jb 0x10150f45
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 3
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
subss xmm0, dword [0x101ecd84]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x88]
comiss xmm0, dword [0x101ecd84]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x10150f93
comiss xmm1, dword [0x101ecdfc]
jb 0x10150fae
subss xmm1, dword [0x101ece2c]
jmp 0x10150fae
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
jb 0x10150fae
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm2, dword [0x101ecd50]
comiss xmm2, xmm1
jb 0x10150ff8
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 4
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
subss xmm0, dword [0x101eca54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x88]
comiss xmm0, dword [0x101eca54]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x10151046
comiss xmm1, dword [0x101ecdfc]
jb 0x10151061
subss xmm1, dword [0x101ece2c]
jmp 0x10151061
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
jb 0x10151061
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm2, dword [0x101ecd50]
comiss xmm2, xmm1
jb 0x101510ab
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 5
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
subss xmm0, dword [0x101ecf08]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x88]
comiss xmm0, dword [0x101ecf08]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x101510f9
comiss xmm1, dword [0x101ecdfc]
jb 0x10151114
subss xmm1, dword [0x101ece2c]
jmp 0x10151114
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
jb 0x10151114
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm2, dword [0x101ecd50]
comiss xmm2, xmm1
jb 0x1015115e
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 6
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
subss xmm0, dword [0x101ecf20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x88]
comiss xmm0, dword [0x101ecf20]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x101511ac
comiss xmm1, dword [0x101ecdfc]
jb 0x101511c7
subss xmm1, dword [0x101ece2c]
jmp 0x101511c7
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
jb 0x101511c7
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm2, dword [0x101ecd50]
comiss xmm2, xmm1
jb 0x10151211
mov eax, dword [0x10216630]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0
push 7
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
subss xmm0, dword [0x101ecf28]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm2, dword [ebx + 0x88]
comiss xmm2, dword [0x101ecf28]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jbe 0x1015125f
comiss xmm1, dword [0x101ecdfc]
jb 0x10151274
subss xmm1, dword [0x101ece2c]
jmp 0x10151274
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
jb 0x10151274
addss xmm1, dword [0x101ece2c]
andps xmm1, xmmword [0x101ed3d0]
movss xmm0, dword [0x101ecd50]
comiss xmm0, xmm1
mov edi, dword [esp + 0x38]
jb 0x1015141b
mov eax, dword [0x10216630]
mov ecx, edi
push 0
push 8
push dword [esp + 0x1c]
mov eax, dword [eax + 0x158]
call eax
fstp st(0)
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ebx + 0x98], xmm0
jmp 0x1015141b
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x2990]
add eax, 0x188
je 0x101512ef
movss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esp + 0x34]
jb 0x101512ef
mov eax, dword [ebx + 0x8c]
mov dword [ebx + 0x88], eax
jmp 0x1015141b
movss xmm1, dword [ebx + 0xfc]
lea eax, [ebx + 0xfc]
movss xmm0, dword [ebx + 0xf8]
lea edx, [esp + 0x20]
comiss xmm2, xmm1
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3f800000
cmovbe edx, eax
lea eax, [ebx + 0xf8]
comiss xmm2, xmm0
cmovbe ecx, eax
lea eax, [esp + 0x38]
comiss xmm0, dword [esp + 0x34]
cmovbe eax, ecx
comiss xmm1, dword [esp + 0x34]
movss xmm0, dword [eax]
lea eax, [esp + 0x1c]
cmovbe eax, edx
movss xmm1, dword [eax]
subss xmm1, xmm0
mulss xmm1, dword [ebx + 0xa4]
addss xmm1, xmm0
movsd xmm0, qword [0x101ecbf0]
movss dword [esp + 0x20], xmm1
call fcn.10186fb0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm1, dword [0x101eced4]
cvtps2pd xmm0, xmm0
movss dword [0x10423748], xmm1
cvtps2pd xmm1, xmm1
call fcn.10187240
cvtsd2ss xmm0, xmm0
addss xmm0, dword [0x101ecac4]
mulss xmm0, dword [esp + 0x14]
addss xmm0, dword [ebx + 0x88]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [0x101ece2c]
fstp dword [esp + 0x20]
movss xmm2, dword [esp + 0x20]
comiss xmm2, dword [0x101ecdfc]
jbe 0x101513fc
subss xmm2, xmm0
movss xmm1, dword [0x101ecf2c]
comiss xmm1, xmm2
jbe 0x1015140d
addss xmm2, xmm0
movss dword [ebx + 0x88], xmm2
jmp 0x1015141b
mov edi, dword [esp + 0x38]
cmp byte [ebx + 0x1e0], 0
movss xmm0, dword [ebx + 0x88]
movss dword [esp + 0x20], xmm0
jne 0x10151491
mov eax, dword [0x1021663c]
mov esi, dword [ebx + 0x1e8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov dword [ebx + 0x1e8], esi
mov eax, dword [0x10216630]
push esi
push dword [edi + 0x2950]
mov eax, dword [eax + 0x164]
call eax
mov dword [ebx + 0x1e4], eax
cmp eax, 0xffffffff
je 0x10151476
mov byte [ebx + 0x1e0], 1
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x1e0], 0
je 0x101514cc
test edi, edi
je 0x101514cc
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
push dword [ebx + 0x1e4]
movss xmm1, dword [esp + 0x24]
mov ecx, edi
call fcn.1008cf10
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
movss xmm0, dword [ebx + 0x78]
subss xmm0, dword [ebx + 0x80]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x78]
comiss xmm0, dword [ebx + 0x80]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
movss dword [esp + 0x14], xmm1
jbe 0x10151522
comiss xmm1, dword [0x101ecdfc]
jb 0x1015153d
subss xmm1, dword [0x101ece2c]
jmp 0x10151537
movss xmm0, dword [0x101ecf2c]
comiss xmm0, xmm1
jb 0x1015153d
addss xmm1, dword [0x101ece2c]
movss dword [esp + 0x14], xmm1
xorps xmm0, xmm0
comiss xmm1, xmm0
jb 0x10151564
movss xmm2, dword [ebx + 0x338]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x10151564
divss xmm1, xmm2
mulss xmm1, dword [0x101ecda8]
jmp 0x10151581
movss xmm2, dword [ebx + 0x334]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x10151587
divss xmm1, xmm2
mulss xmm1, dword [0x101ecf14]
movss dword [esp + 0x14], xmm1
cmp byte [ebx + 0x1f8], 0
jne 0x101515ef
mov eax, dword [0x1021663c]
mov esi, dword [ebx + 0x200]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov dword [ebx + 0x200], esi
mov eax, dword [0x10216630]
push esi
push dword [edi + 0x2950]
mov eax, dword [eax + 0x164]
call eax
mov dword [ebx + 0x1fc], eax
cmp eax, 0xffffffff
je 0x101515d4
mov byte [ebx + 0x1f8], 1
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x1f8], 0
je 0x1015162a
test edi, edi
je 0x1015162a
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
push dword [ebx + 0x1fc]
movss xmm1, dword [esp + 0x18]
mov ecx, edi
call fcn.1008cf10
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
movss xmm0, dword [ebx + 0x7c]
subss xmm0, dword [0x101eca54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fld qword [0x101eccc8]
call fcn.101861a0
movss xmm0, dword [ebx + 0x7c]
xorps xmm1, xmm1
fstp dword [esp + 0x18]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x18]
jbe 0x10151679
comiss xmm0, dword [0x101ecdfc]
jb 0x1015168e
subss xmm0, dword [0x101ece2c]
jmp 0x1015168e
movss xmm2, dword [0x101ecf2c]
comiss xmm2, xmm0
jb 0x1015168e
addss xmm0, dword [0x101ece2c]
comiss xmm0, xmm1
jbe 0x101516a5
divss xmm0, dword [ebx + 0x340]
mulss xmm0, dword [0x101ecdc8]
jmp 0x101516b5
divss xmm0, dword [ebx + 0x33c]
mulss xmm0, dword [0x101ecf20]
cmp byte [ebx + 0x204], 0
movss dword [esp + 0x18], xmm0
jne 0x10151723
mov eax, dword [0x1021663c]
mov esi, dword [ebx + 0x20c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov dword [ebx + 0x20c], esi
mov eax, dword [0x10216630]
push esi
push dword [edi + 0x2950]
mov eax, dword [eax + 0x164]
call eax
mov dword [ebx + 0x208], eax
cmp eax, 0xffffffff
je 0x10151708
mov byte [ebx + 0x204], 1
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x204], 0
je 0x1015175e
test edi, edi
je 0x1015175e
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
push dword [ebx + 0x208]
movss xmm1, dword [esp + 0x1c]
mov ecx, edi
call fcn.1008cf10
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x1bc], 0
movss xmm0, dword [ebx + 0xf8]
movss dword [esp + 0x20], xmm0
jne 0x101517d4
mov eax, dword [0x1021663c]
mov esi, dword [ebx + 0x1c4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov dword [ebx + 0x1c4], esi
mov eax, dword [0x10216630]
push esi
push dword [edi + 0x2950]
mov eax, dword [eax + 0x164]
call eax
mov dword [ebx + 0x1c0], eax
cmp eax, 0xffffffff
je 0x101517b9
mov byte [ebx + 0x1bc], 1
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x1bc], 0
je 0x1015180f
test edi, edi
je 0x1015180f
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
push dword [ebx + 0x1c0]
movss xmm1, dword [esp + 0x24]
mov ecx, edi
call fcn.1008cf10
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x21c], 0
movss xmm0, dword [ebx + 0x124]
mulss xmm0, dword [ebx + 0xa4]
movss xmm1, dword [esp + 0x34]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
jne 0x10151897
mov eax, dword [0x1021663c]
mov esi, dword [ebx + 0x224]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov dword [ebx + 0x224], esi
mov eax, dword [0x10216630]
push esi
push dword [edi + 0x2950]
mov eax, dword [eax + 0x164]
call eax
mov dword [ebx + 0x220], eax
cmp eax, 0xffffffff
je 0x1015187c
mov byte [ebx + 0x21c], 1
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
cmp byte [ebx + 0x21c], 0
je 0x101518d2
test edi, edi
je 0x101518d2
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
push dword [ebx + 0x220]
movss xmm1, dword [esp + 0x38]
mov ecx, edi
call fcn.1008cf10
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret