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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x10041010]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10069448]
push edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], esi
call fcn.10014cf0
mov edi, eax
test edi, edi
mov dword [esp + 0x4c], edi
sete byte [esp + 0x27]
test edi, edi
jne 0x10016015
mov edx, dword [esi + 0x19bc]
test edx, edx
je 0x10015fa8
mov eax, dword [esi + 0x19e4]
mov ecx, dword [esi + 0x19e8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
jmp 0x10015fbe
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
test edx, edx
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xd0]
cmovne eax, ecx
mov ecx, dword [esp + 0x8c]
movss xmm0, dword [eax]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x58], xmm0
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10014d60
mov esi, dword [0x10069448]
mov edi, eax
mov dword [esp + 0x4c], esi
add esp, 8
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x224]
or edx, 6
test eax, 0x200
mov dword [esp + 0x88], ecx
cmove edx, eax
mov eax, dword [esi + 0x18e8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x70], eax
cmp ecx, eax
je 0x1001604a
mov dword [edi + 8], edx
jmp 0x10016051
mov eax, dword [edi + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x190c]
lea edx, [esi + 0x190c]
mov dword [esp + 0x40], edx
test ecx, ecx
jne 0x10016069
xor eax, eax
jmp 0x10016073
mov eax, dword [esi + 0x1914]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
je 0x1001609e
mov edx, ecx
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x5c], edx
lea edx, [esi + 0x190c]
jmp 0x100160a8
mov eax, dword [edi + 0x2f4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
dec eax
mov byte [edi + 0x7e], 0
cmp dword [esp + 0x88], eax
mov eax, dword [edi + 0xa8]
setl byte [esp + 0x17]
mov dword [esp + 0x20], eax
and ecx, 0x4000000
mov dword [esp + 0x1c], ecx
je 0x10016107
mov eax, dword [esi + 0x19ac]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x19a8]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov edx, dword [esp + 0x40]
setne al
or cl, al
mov eax, dword [esp + 0x20]
or byte [esp + 0x17], cl
cmp byte [esp + 0x17], 0
jne 0x10016118
test eax, eax
jg 0x10016118
mov byte [edi + 0x7c], 0
jmp 0x10016131
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
or dword [edi + 0xb4], 8
mov byte [edi + 0x7c], 1
mov ecx, dword [edx + 4]
mov esi, dword [edx]
cmp esi, ecx
jne 0x1001616c
inc esi
test ecx, ecx
je 0x1001614e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, ecx
jmp 0x10016153
mov eax, 8
cmp eax, esi
mov ecx, edx
cmovg esi, eax
push esi
call fcn.10024af0
mov esi, dword [0x10069448]
mov edx, dword [esp + 0x40]
jmp 0x10016170
mov esi, dword [esp + 0x44]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
lea ecx, [edi + 0x1a0]
inc dword [edx]
cmp dword [esp + 0x1c], 0
movss xmm0, dword [esi + 0x1858]
mov dword [esi + 0x1928], edi
mulss xmm0, dword [edi + 0x274]
movss dword [esi + 0x1868], xmm0
movss dword [esi + 0x1854], xmm0
mov eax, dword [edi + 0x1c8]
mov dword [ecx], eax
mov eax, dword [edi + 0x194]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x19ac]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x197c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1988]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1994]
mov dword [ecx + 0x14], eax
je 0x10016216
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x19ac]
lea ecx, [esi + 0x19ac]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x19a8]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10024840
mov eax, dword [esi]
mov esi, dword [0x10069448]
mov dword [edi + 0x8c], eax
cmp dword [esp + 0x20], 0
jle 0x10016231
test dword [esp + 0x18], 0x1000000
jne 0x10016231
mov dword [edi + 0x308], 0
mov edx, dword [esp + 0x10]
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0x16], 0
mov ecx, dword [edx + 0x19b8]
test ecx, ecx
je 0x100162d6
mov eax, dword [edi + 0xac]
test ecx, eax
setne byte [esp + 0xe]
test ecx, eax
je 0x100162c1
movss xmm1, dword [edx + 0x19e0]
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1003e9b8]
jbe 0x100162c1
mov eax, dword [edx + 0x19d4]
mov ecx, dword [edx + 0x19d8]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
mov eax, dword [edx + 0x19dc]
mov ecx, dword [edx + 0x19e0]
and dword [edi + 0xac], 0xfffffff1
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], ecx
jmp 0x100162d6
push ecx
add edx, 0x19d4
mov ecx, edi
call fcn.1001a820
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx + 0x19bc]
test ecx, ecx
je 0x10016342
mov eax, dword [edi + 0xb0]
xorps xmm1, xmm1
lea edi, [edx + 0x19e4]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x4c]
and eax, ecx
je 0x1001630f
movss xmm0, dword [edx + 0x19e4]
comiss xmm0, xmm1
jbe 0x1001630f
mov byte [esp + 0xf], 1
jmp 0x10016318
mov byte [esp + 0xf], 0
test eax, eax
je 0x1001632a
movss xmm0, dword [edx + 0x19e8]
comiss xmm0, xmm1
mov byte [esp + 0x16], 1
ja 0x1001632f
mov byte [esp + 0x16], 0
mov edx, dword [esp + 0x30]
push ecx
mov ecx, edi
call fcn.1001a8e0
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 0x19c0], 0
je 0x100163f2
mov eax, dword [edx + 0x19ec]
xorps xmm0, xmm0
mov ecx, dword [edx + 0x19f0]
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
mov dword [edi + 0x34], eax
lahf
test ah, 0x44
jnp 0x1001640d
mov eax, dword [edi + 8]
test al, 1
je 0x10016382
xorps xmm2, xmm2
jmp 0x100163a2
movss xmm0, dword [esi + 0x1540]
movss xmm2, dword [esi + 0x1858]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
test eax, 0x400
je 0x100163e0
movss xmm1, dword [esi + 0x1858]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [esi + 0x1540]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001640d
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001640d
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x70]
je 0x1001640d
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [edx + 0x19c4]
test ecx, ecx
je 0x1001643b
mov al, byte [edx + 0x19f4]
mov byte [esp + 0x4b], al
mov eax, dword [edi + 0xb4]
test eax, ecx
je 0x1001643b
and eax, 0xfffffff1
mov dword [edi + 0xb4], eax
mov al, byte [esp + 0x4b]
mov byte [edi + 0x79], al
cmp dword [edx + 0x19cc], 0
je 0x10016451
mov ecx, edi
call fcn.1001a430
mov esi, dword [0x10069448]
cmp byte [edi + 0x7c], 0
je 0x1001646c
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
and dword [edi + 0xb4], 0xfffffff7
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x70]
je 0x10019841
mov ecx, dword [esp + 0x18]
mov eax, ecx
mov edx, dword [esp + 0x5c]
and eax, 0x3000000
mov dword [edi + 0x2f4], edx
test edx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
je 0x100164e7
cmp eax, 0x1000000
jne 0x100164c7
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2f8]
mov dword [edi + 0x2f8], eax
test ecx, 0x8000000
jne 0x100164e7
test ecx, 0x5000000
je 0x100164e7
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x10016509
mov ecx, edi
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x300], eax
test dword [ecx + 8], 0x800000
jne 0x100164f2
mov byte [edi + 0x76], 1
mov dword [edi + 0x80], 0
mov ecx, dword [edx + 0x1924]
lea eax, [ecx + 1]
mov dword [edx + 0x1924], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], 0
mov dword [edi + 0x1d4], 0xff7fffff
mov dword [edi + 0x1d8], 0xff7fffff
mov dword [edi + 0x1dc], 0x7f7fffff
mov dword [edi + 0x1e0], 0x7f7fffff
mov dword [edi + 0x224], eax
mov ecx, dword [edi + 0x1cc]
cmp ecx, 1
jge 0x10016610
test ecx, ecx
je 0x1001659c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, 1
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [edi + 0x1cc]
jle 0x1001660c
jmp 0x100165a5
mov ecx, 8
mov dword [esp + 0x2c], ecx
inc dword [0x1006947c]
lea eax, [ecx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x1d0]
add esp, 4
mov esi, eax
test edx, edx
je 0x100165f6
mov ecx, dword [edi + 0x1c8]
shl ecx, 2
push ecx
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x1d0]
add esp, 0xc
test eax, eax
je 0x100165ec
dec dword [0x1006947c]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x1d0], esi
mov esi, dword [0x10069448]
mov dword [edi + 0x1cc], eax
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1c8], 1
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001663d
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x10016668
movss xmm0, dword [edi + 0xe4]
subss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x58]
addss xmm2, dword [edi + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [edi + 0xa4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm0
test eax, eax
jle 0x10016698
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x100166a9
dec eax
mov dword [edi + 0xa8], eax
cmp byte [esp + 0x27], 0
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0x16]
je 0x100166ca
test al, al
je 0x100166c0
test cl, cl
jne 0x100166ca
mov dword [edi + 0xa8], 1
cmp byte [esp + 0x17], 0
je 0x1001671e
test dword [esp + 0x18], 0x6000000
je 0x1001671e
test byte [esp + 0x18], 0x40
mov dword [edi + 0xa8], 1
je 0x1001671e
test al, al
jne 0x100166fe
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10016710
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movss xmm0, dword [esi + 0x1858]
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esi + 0x1928], edi
and ecx, 0x1000000
mulss xmm0, dword [edi + 0x274]
mov dword [esp + 0x44], ecx
movss dword [esi + 0x1868], xmm0
movss dword [esi + 0x1854], xmm0
je 0x10016760
movss xmm0, dword [edx + 0x1530]
jmp 0x10016780
test eax, 0x6000000
je 0x10016778
test eax, 0x8000000
jne 0x10016778
movss xmm0, dword [edx + 0x1538]
jmp 0x10016780
movss xmm0, dword [edx + 0x1518]
movss dword [edi + 0x48], xmm0
mov eax, dword [edx + 0x150c]
mov ecx, dword [edx + 0x1510]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x18]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x100167d3
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100167d3
test ecx, 0x400
je 0x100167c4
movss xmm0, dword [edx + 0x1510]
jmp 0x100167c7
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [edx + 0x154c]
maxss xmm0, dword [edx + 0x1a14]
movss dword [edi + 0x144], xmm0
mov eax, dword [edx + 0x1a18]
mov dword [edi + 0x148], eax
test cl, 0x21
jne 0x10016927
mov ecx, dword [edi + 8]
test cl, 1
je 0x10016812
xorps xmm2, xmm2
jmp 0x10016832
movss xmm2, dword [esi + 0x1540]
movss xmm0, dword [esi + 0x1858]
addss xmm2, xmm2
mulss xmm0, dword [edi + 0x274]
addss xmm2, xmm0
movss xmm3, dword [edi + 0xc]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x10]
addss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x10]
cmp dword [edx + 0x192c], edi
jne 0x100168f4
cmp dword [edx + 0x1934], 0
jne 0x100168f4
cmp dword [edx + 0x193c], 0
jne 0x100168f4
mov eax, dword [esi + 0x1928]
movss xmm1, dword [esi + 0x155c]
movaps xmm5, xmm1
maxss xmm3, dword [eax + 0x1d4]
minss xmm0, dword [eax + 0x1dc]
maxss xmm4, dword [eax + 0x1d8]
minss xmm2, dword [eax + 0x1e0]
subss xmm3, xmm1
movss xmm1, dword [esi + 0xd8]
addss xmm5, xmm0
movss xmm0, dword [esi + 0x1560]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x100168f1
movss xmm0, dword [esi + 0xdc]
comiss xmm0, xmm4
jb 0x100168f1
comiss xmm5, xmm1
jbe 0x100168f1
comiss xmm6, xmm0
jbe 0x100168f1
cmp byte [edx + 0x3ed], 0
xorps xmm1, xmm1
je 0x100168f4
mov byte [edi + 0x7a], 1
jmp 0x100168f4
xorps xmm1, xmm1
cmp byte [edi + 0x7a], 0
je 0x1001692b
cmp byte [edi + 0x79], 0
sete al
mov byte [edi + 0x79], al
test ecx, 0x100
jne 0x1001691e
comiss xmm1, dword [esi + 0x2b64]
jb 0x1001691e
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2b64], eax
mov ecx, edi
call fcn.1001a430
jmp 0x1001692b
mov byte [edi + 0x79], 0
lea esi, [edi + 0x2c]
mov byte [edi + 0x7a], 0
push esi
mov edx, edi
lea ecx, [esp + 0x64]
call fcn.100152d0
movss xmm0, dword [0x1003eae0]
add esp, 4
test byte [esp + 0x18], 0x40
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x40], xmm0
je 0x1001699b
cmp byte [edi + 0x79], 0
jne 0x1001699b
cmp byte [esp + 0xf], 0
jne 0x1001697a
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x68], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x16], 0
jne 0x10016a45
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x40], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x10016a45
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x100169b2
cmp dword [edi + 0x94], 0
jle 0x10016a45
cmp byte [esp + 0xf], 0
jne 0x100169e4
test eax, eax
jle 0x100169e4
cmp byte [edi + 0x98], 0
je 0x100169d3
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x60]
jmp 0x100169d9
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x68], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x16], 0
jne 0x10016a1b
cmp dword [edi + 0x94], 0
jle 0x10016a1b
cmp byte [edi + 0x98], 0
je 0x10016a0a
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x64]
jmp 0x10016a10
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x40], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x10016a45
test dword [edi + 8], 0x100
mov ecx, dword [0x10069448]
jne 0x10016a45
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2b64]
jb 0x10016a45
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2b64], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0xc4]
push dword [edi + 0x1c]
call fcn.100150f0
add esp, 8
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
mov al, byte [edi + 0x79]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x27], al
test al, al
je 0x10016adc
cmp dword [esp + 0x44], 0
jne 0x10016adc
test byte [edi + 8], 1
je 0x10016a8c
xorps xmm2, xmm2
jmp 0x10016ab1
mov eax, dword [0x10069448]
movss xmm0, dword [eax + 0x1540]
movss xmm2, dword [eax + 0x1858]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
addss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0xc]
subss xmm2, dword [edi + 0x10]
subss xmm0, dword [edi + 0xc]
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xd0], xmm0
jmp 0x10016af0
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov edx, 0xc
lea ecx, [esp + 0xd0]
mov eax, edi
add eax, edx
cmp byte [esp + 0x27], 0
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
jne 0x10016bf9
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [0x1003eae0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10016b36
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10016b4c
movss xmm2, dword [edi + 0x20]
jmp 0x10016b51
movss xmm2, dword [edi + 0x28]
mov eax, dword [esp + 0x18]
test eax, 0x4000
jne 0x10016b6e
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10016b6a
test al, 8
je 0x10016b6e
xor cl, cl
jmp 0x10016b70
mov cl, 1
mov edx, dword [esp + 0x10]
add edx, 0x156c
mov byte [edi + 0x75], cl
test eax, 0x8000
jne 0x10016bba
xorps xmm1, xmm1
test cl, cl
je 0x10016b91
movss xmm0, dword [edx]
jmp 0x10016b94
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [esi]
comiss xmm0, xmm3
jbe 0x10016bb1
mov eax, dword [esp + 0x18]
and eax, 0x808
cmp eax, 0x800
je 0x10016bba
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x10016be7
mov byte [edi + 0x74], 1
test cl, cl
jne 0x10016be0
subss xmm2, dword [edx]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10016bdb
test byte [esp + 0x18], 8
jne 0x10016bdb
mov cl, 1
jmp 0x10016bdd
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [edx]
xorps xmm1, xmm1
test cl, cl
je 0x10016bef
movss xmm1, dword [edx]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
je 0x10016c45
mov dword [edi + 0xa0], 0xffffffff
test edx, edx
je 0x10016c45
cmp byte [esp + 0xe], 0
jne 0x10016c45
mov eax, dword [esi + 0x19ac]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x19b4]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
mov eax, dword [esp + 0x28]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
cmp dword [esp + 0x44], 0
je 0x10016ce2
mov edx, dword [esp + 0x5c]
add edx, 0x14c
mov dword [esp + 0x2c], edx
mov eax, dword [edx]
mov dword [edi + 0x80], eax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x10016c9d
test ecx, ecx
je 0x10016c80
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, ecx
jmp 0x10016c85
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10024af0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0xe]
mov ecx, dword [esp + 0x3c]
test edx, edx
jne 0x10016cea
test al, al
jne 0x10016cea
cmp ecx, 0x3000000
je 0x10016cea
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov al, byte [esp + 0xe]
movss xmm0, dword [edi + 0xb8]
ucomiss xmm0, dword [0x1003eae0]
movss dword [esp + 0x30], xmm0
lahf
test ah, 0x44
jnp 0x10016e14
cmp dword [edi + 0xa8], 0
jne 0x10016e14
movss xmm0, dword [esi + 0x158c]
movss xmm2, dword [edi + 0xc0]
movss xmm6, dword [edi + 0xc4]
movss xmm5, dword [edi + 0xbc]
movss xmm3, dword [esi + 0x1590]
and dword [edi + 0xac], 0xfffffff1
movss xmm1, dword [esp + 0x30]
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xbc], 0x7f7fffff
mulss xmm2, dword [edi + 0x1c]
mov ecx, dword [esp + 0x28]
mulss xmm6, dword [edi + 0x20]
mov edx, dword [esp + 0x18]
subss xmm1, xmm2
movss xmm7, dword [ecx]
subss xmm5, xmm6
movss dword [esp + 0x7c], xmm7
movss xmm7, dword [ecx + 4]
movss dword [esp + 0x38], xmm7
maxss xmm0, xmm1
maxss xmm3, xmm5
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, xmm3
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx], xmm1
subss xmm1, dword [esp + 0x7c]
movss dword [ecx + 4], xmm0
subss xmm0, xmm7
addss xmm1, dword [edi + 0xc8]
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xcc], xmm0
movss xmm1, dword [ecx + 4]
movss xmm0, dword [ecx]
subss xmm1, xmm7
subss xmm0, dword [esp + 0x7c]
addss xmm1, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe0], xmm0
jmp 0x10016e73
test dword [esp + 0x18], 0x10000000
jne 0x10016e2d
test edx, edx
je 0x10016e57
test al, al
jne 0x10016e57
cmp dword [esp + 0x20], 0
jle 0x10016e57
mov edx, edi
lea ecx, [esp + 0xd0]
call fcn.100149c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
jmp 0x10016e73
mov edx, dword [esp + 0x18]
test edx, 0x2000000
je 0x10016e6f
test al, al
jne 0x10016e6f
cmp ecx, 0x3000000
jne 0x10016e2d
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x44], 0
jne 0x10016f2f
cmp byte [esp + 0xe], 0
jne 0x10016f2f
cmp dword [edi + 0x90], 0
jg 0x10016f2f
cmp dword [edi + 0x94], 0
xorps xmm2, xmm2
jg 0x10016f32
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x10016f32
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x10016f32
movss xmm5, dword [esi + 0x1588]
movss xmm4, dword [esi + 0x1584]
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [ecx]
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [ecx + 4]
maxss xmm5, dword [esi + 0x1590]
maxss xmm4, dword [esi + 0x158c]
maxss xmm2, xmm5
maxss xmm3, xmm4
subss xmm2, dword [edi + 0x18]
subss xmm3, dword [edi + 0x14]
movss dword [ecx + 4], xmm2
movss dword [ecx], xmm3
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm4
minss xmm3, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm5
movss dword [ecx], xmm3
minss xmm2, xmm0
movss dword [ecx + 4], xmm2
xorps xmm2, xmm2
cmp dword [esp + 0x44], 0
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
je 0x10016f63
movss xmm7, dword [esi + 0x152c]
jmp 0x10016f83
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10016f7b
movss xmm7, dword [esi + 0x1534]
jmp 0x10016f83
movss xmm7, dword [esi + 0x1514]
mov edx, dword [edi + 0x340]
lea eax, [edi + 0x330]
movss dword [edi + 0x44], xmm7
cmp edx, 0x7fffffff
je 0x10016fb2
mov ecx, dword [eax]
mov dword [esp + 0x2c], eax
cmp ecx, 0xffffffff
je 0x10016fb2
lea eax, [edx + 1]
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x10016fbb
mov edx, 0x7fffffff
mov dword [esp + 0x2c], eax
mov dword [edi + 0x338], edx
lea eax, [edi + 0x334]
mov edx, dword [edi + 0x344]
cmp edx, 0x7fffffff
je 0x10016fed
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x10016fed
lea eax, [edx + 1]
add eax, ecx
inc ecx
cdq
idiv ecx
lea eax, [edi + 0x334]
jmp 0x10016ff2
mov edx, 0x7fffffff
movss xmm1, dword [edi + 0x5c]
movss xmm5, dword [0x1003eae0]
comiss xmm5, xmm1
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x33c], edx
mov dword [edi + 0x344], 0x7fffffff
mov dword [edi + 0x340], 0x7fffffff
mov dword [eax], 0xffffffff
movss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x58]
movss xmm6, dword [edi + 0x1c]
jbe 0x10017051
movaps xmm0, xmm6
movaps xmm4, xmm1
subss xmm0, dword [edi + 0x6c]
mulss xmm0, dword [edi + 0x64]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x60]
movaps xmm1, xmm6
comiss xmm5, xmm0
movss xmm5, dword [0x1003ea18]
jbe 0x10017143
movss xmm1, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm1
jb 0x10017084
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x10017084
xorps xmm3, xmm3
comiss xmm1, xmm5
mov ecx, dword [0x10069448]
jb 0x100170ac
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [ecx + 0x1550]
comiss xmm3, xmm0
jb 0x100170ac
movaps xmm3, xmm1
mov eax, dword [edi + 8]
test al, 1
je 0x100170b8
xorps xmm5, xmm5
jmp 0x100170d8
movss xmm0, dword [ecx + 0x1540]
movss xmm5, dword [ecx + 0x1858]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x274]
addss xmm5, xmm0
test eax, 0x400
je 0x10017109
movss xmm1, dword [ecx + 0x1858]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1540]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x1001710c
xorps xmm1, xmm1
movss xmm0, dword [0x1003ea18]
addss xmm1, xmm5
subss xmm0, dword [edi + 0x68]
movss xmm5, dword [0x1003ea18]
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
subss xmm3, xmm1
movaps xmm1, xmm6
mulss xmm0, dword [edi + 0x68]
subss xmm3, xmm0
mov al, byte [edi + 0x79]
maxss xmm4, xmm2
maxss xmm3, xmm2
test al, al
jne 0x10017196
cmp byte [edi + 0x7b], al
jne 0x10017196
subss xmm1, dword [edi + 0x6c]
movss xmm0, dword [edi + 0x2c]
subss xmm0, xmm1
xorps xmm1, xmm1
maxss xmm1, xmm0
comiss xmm1, xmm4
ja 0x10017174
movaps xmm4, xmm1
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm3
ja 0x10017196
movaps xmm3, xmm0
cmp byte [esp + 0x17], 0
movss dword [edi + 0x54], xmm4
movss dword [edi + 0x58], xmm3
mov dword [edi + 0x5c], 0x7f7fffff
mov dword [edi + 0x60], 0x7f7fffff
mov byte [esp + 0xf], 0
je 0x100171d7
test dword [esp + 0x18], 0x1000
jne 0x100171d7
cmp dword [esp + 0x3c], 0
je 0x100171d2
cmp dword [esp + 0x1c], 0
je 0x100171d7
mov byte [esp + 0xf], 1
movss xmm1, dword [esi + 0x1854]
addss xmm7, xmm5
xorps xmm0, xmm0
or ecx, 0xffffffff
movaps xmmword [esp + 0xf0], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x1003e9dc]
mov dword [esp + 0x7c], ecx
mulss xmm0, dword [0x1003ea1c]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
cmp byte [esi + 0xbe], cl
addss xmm7, xmm1
setne cl
inc ecx
mov dword [esp + 0x54], ecx
maxss xmm0, xmm7
cvttss2si esi, xmm0
test al, al
jne 0x10017253
lea eax, [esp + 0xf0]
push eax
push ecx
lea eax, [esp + 0x34]
mov ecx, edi
push eax
lea edx, [esp + 0x6c]
call fcn.10015440
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x7c], ecx
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm2
jbe 0x10017271
test dword [esp + 0x18], 0x2000040
jne 0x10017271
mulss xmm0, dword [0x1003e9fc]
jmp 0x10017285
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x1854]
mulss xmm0, dword [0x1003ea64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm0
mov ecx, dword [edi + 0x27c]
call fcn.1002cd60
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x1599], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x1598], al
setne al
or ecx, eax
mov eax, dword [edi + 0x27c]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x1850]
mov ecx, dword [edi + 0x27c]
mov dword [esp + 0x2c], ecx
add ecx, 0x48
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x44]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10017322
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x1001730e
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10017313
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10024af0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x78]
mov dword [eax + edx*4], edi
inc dword [ecx]
mov ecx, dword [esp + 0x2c]
call fcn.1002d230
mov ecx, dword [0x10069448]
mov edi, dword [esp + 0x4c]
movss xmm1, dword [ecx + 0xac]
movss xmm3, dword [ecx + 0xb4]
ucomiss xmm1, xmm3
movss dword [esp + 0x90], xmm1
movss dword [esp + 0xb0], xmm3
lahf
test ah, 0x44
jnp 0x10017390
movss xmm0, dword [ecx + 0xb0]
ucomiss xmm0, dword [ecx + 0xb8]
lahf
test ah, 0x44
jnp 0x10017390
movss xmm4, dword [ecx + 0xb8]
movaps xmm2, xmm0
jmp 0x100173b2
movss xmm3, dword [ecx + 0x10]
xorps xmm1, xmm1
movss xmm4, dword [ecx + 0x14]
xorps xmm2, xmm2
movss dword [esp + 0x90], xmm1
movss dword [esp + 0xb0], xmm3
mov eax, dword [esp + 0x18]
and eax, 0x5000000
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0x50], xmm4
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xac], xmm2
movss dword [esp + 0xd0], xmm1
cmp eax, 0x1000000
jne 0x1001751f
cmp dword [esp + 0x3c], 0x3000000
je 0x1001751f
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1928]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x27c]
movss xmm2, dword [ecx + 0x1dc]
movss xmm3, dword [ecx + 0x1e0]
movss xmm0, dword [ecx + 0x1d4]
movss xmm1, dword [ecx + 0x1d8]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x20], eax
add eax, 0x3c
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
mov dword [esp + 0x1c], eax
test edx, edx
je 0x10017509
mov eax, dword [esp + 0x20]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x44]
movups xmm4, xmmword [eax + ecx*8 - 0x10]
mov ecx, edx
comiss xmm4, xmm0
movaps xmmword [esp + 0xe0], xmm4
jbe 0x100174b1
mov eax, dword [esp + 0x20]
movaps xmm0, xmm4
movss dword [esp + 0xc0], xmm0
mov ecx, dword [eax + 0x3c]
movss xmm4, dword [esp + 0xe4]
mov eax, edx
comiss xmm4, xmm1
jbe 0x100174cf
movaps xmm1, xmm4
mov eax, ecx
movss dword [esp + 0xc4], xmm1
movss xmm4, dword [esp + 0xe8]
comiss xmm2, xmm4
jbe 0x100174eb
movaps xmm2, xmm4
mov edx, eax
movss dword [esp + 0xc8], xmm2
movss xmm4, dword [esp + 0xec]
comiss xmm3, xmm4
mov eax, dword [esp + 0x1c]
jbe 0x10017509
movaps xmm3, xmm4
movss dword [esp + 0xcc], xmm3
comiss xmm0, xmm2
jb 0x10017517
movss dword [esp + 0xc8], xmm0
comiss xmm1, xmm3
jmp 0x10017621
mov eax, dword [ecx + 0x1928]
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0xc0], xmm0
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1928]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x27c]
mov dword [esp + 0x20], eax
add eax, 0x3c
mov dword [esp + 0x1c], eax
mov edx, dword [eax]
test edx, edx
je 0x100175f4
mov eax, dword [esp + 0x20]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x44]
movups xmm0, xmmword [eax + ecx*8 - 0x10]
mov ecx, edx
comiss xmm0, xmm1
movaps xmmword [esp + 0xe0], xmm0
jbe 0x1001758f
mov eax, dword [esp + 0x20]
movss dword [esp + 0xc0], xmm0
mov ecx, dword [eax + 0x3c]
jmp 0x10017598
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xe4]
mov eax, edx
comiss xmm1, xmm2
jbe 0x100175b5
movss dword [esp + 0xc4], xmm1
mov eax, ecx
jmp 0x100175be
movss xmm1, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xe8]
comiss xmm3, xmm2
jbe 0x100175d7
movss dword [esp + 0xc8], xmm2
mov edx, eax
movss xmm2, dword [esp + 0xec]
comiss xmm4, xmm2
mov eax, dword [esp + 0x1c]
jbe 0x10017606
movss dword [esp + 0xcc], xmm2
jmp 0x10017606
movss xmm1, dword [esp + 0xc4]
movss xmm0, dword [esp + 0xc0]
comiss xmm0, dword [esp + 0xc8]
jb 0x10017619
movss dword [esp + 0xc8], xmm0
comiss xmm1, dword [esp + 0xcc]
jb 0x1001762c
movss dword [esp + 0xcc], xmm1
mov ecx, dword [eax + 4]
cmp edx, ecx
jne 0x10017663
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x1001764b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x10017650
mov eax, 8
mov ecx, dword [esp + 0x1c]
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10031e20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
movups xmm0, xmmword [esp + 0xc0]
add eax, eax
mov edx, dword [ecx + 8]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x20]
call fcn.1002d0e0
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
test dword [esp + 0x18], 0x8000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x1d4], eax
movss dword [edx + 0x1d8], xmm0
movss dword [edx + 0x1dc], xmm1
movss dword [edx + 0x1e0], xmm2
je 0x100176f3
call fcn.10013dc0
cmp edi, eax
jne 0x100176f3
cmp dword [edi + 0xa8], 0
jg 0x100176f3
mov dl, 1
mov dword [esp + 0x2c], 0x338
jmp 0x100176fd
xor dl, dl
mov dword [esp + 0x2c], 0x328
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x1a64]
test eax, eax
je 0x10017717
cmp edi, dword [eax + 0x2f8]
jne 0x10017717
mov al, 1
jmp 0x10017719
xor al, al
movss xmm4, dword [0x1003eab8]
movss xmm5, dword [0x1003e9f4]
mov byte [esp + 0xe], al
test dl, dl
jne 0x10017739
test al, al
je 0x100179f5
mov eax, dword [0x10069448]
mov edx, dword [esp + 0x2c]
movss xmm3, dword [ecx + 0x1b5c]
movss xmm6, dword [0x1003ea18]
mulss xmm3, dword [eax + 0x1508]
movups xmm2, xmmword [edx + eax + 0x1508]
movaps xmm0, xmm2
movaps xmmword [esp + 0xe0], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10017782
xorps xmm1, xmm1
jmp 0x10017789
movaps xmm1, xmm6
minss xmm1, xmm2
movss xmm2, dword [esp + 0xe4]
comiss xmm0, xmm2
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x100177a8
xorps xmm1, xmm1
jmp 0x100177af
movaps xmm1, xmm6
minss xmm1, xmm2
movss xmm2, dword [esp + 0xe8]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm2
jbe 0x100177d3
xorps xmm1, xmm1
jmp 0x100177da
movaps xmm1, xmm6
minss xmm1, xmm2
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
ja 0x100177f7
movaps xmm0, xmm6
minss xmm0, xmm3
mulss xmm0, xmm4
push 0xf
push ecx
mov dword [esp], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1002edc0
cmp byte [esp + 0xe], 0
mov ecx, dword [esp + 0x10]
je 0x100179e5
cmp edi, dword [ecx + 0x1a64]
jne 0x100179e5
mov eax, dword [esp + 0x28]
movss xmm3, dword [edi + 0x10]
movss xmm0, dword [ecx + 0x1854]
movaps xmm4, xmm3
addss xmm3, dword [edi + 0x18]
movss xmm2, dword [eax]
subss xmm4, xmm0
movaps xmm1, xmm2
addss xmm2, dword [edi + 0x14]
subss xmm1, xmm0
addss xmm3, xmm0
movss dword [esp + 0xe4], xmm4
addss xmm2, xmm0
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xec], xmm3
jb 0x100178d3
movss xmm0, dword [esp + 0xac]
comiss xmm0, xmm4
jb 0x100178d3
comiss xmm2, dword [esp + 0xb0]
jb 0x100178d3
comiss xmm3, dword [esp + 0x50]
jae 0x100179e5
mov eax, dword [0x10069448]
movss xmm2, dword [ecx + 0x1a70]
mulss xmm2, dword [0x1003e9e0]
movups xmm3, xmmword [eax + 0x1820]
mulss xmm2, dword [eax + 0x1508]
movss xmm4, dword [ecx + 0x1514]
movaps xmm0, xmm3
movss xmm7, dword [0x1003ea18]
shufps xmm0, xmm3, 0xff
mulss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
movaps xmmword [esp + 0xc0], xmm3
jbe 0x10017927
xorps xmm1, xmm1
jmp 0x1001792e
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm5, dword [0x1003eab8]
movss xmm6, dword [0x1003e9f4]
movss xmm3, dword [esp + 0xc4]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si ecx, xmm1
jbe 0x1001795d
xorps xmm1, xmm1
jmp 0x10017964
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0xc8]
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x10017988
xorps xmm1, xmm1
jmp 0x1001798f
movaps xmm1, xmm7
minss xmm1, xmm3
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
ja 0x100179ac
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm5
push 0xf
push ecx
movss dword [esp], xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.1002edc0
mov ecx, dword [esp + 0x10]
movss xmm5, dword [0x1003e9f4]
movss xmm4, dword [0x1003eab8]
movss xmm7, dword [edi + 0x44]
movss xmm2, dword [edi + 0x48]
mov edx, dword [ecx + 0x1a60]
movss dword [esp + 0x1c], xmm7
movss dword [esp + 0x3c], xmm2
test edx, edx
jne 0x10017a1b
mov edx, dword [ecx + 0x1a24]
cmp byte [esp + 0xf], 0
jne 0x10017a3d
test edx, edx
je 0x10017a34
mov eax, dword [edi + 0x2fc]
cmp eax, dword [edx + 0x2fc]
je 0x10017a3d
xor al, al
mov edx, 0x138
jmp 0x10017a44
mov al, 1
mov edx, 0x148
test byte [edi + 8], 1
xorps xmm1, xmm1
mov dword [esp + 0x74], edx
mov edx, dword [0x10069448]
je 0x10017a5c
xorps xmm3, xmm3
jmp 0x10017a7c
movss xmm0, dword [edx + 0x1540]
movss xmm3, dword [edx + 0x1858]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x274]
addss xmm3, xmm0
cmp byte [edi + 0x79], 0
mov ecx, dword [esp + 0x28]
addss xmm3, dword [edi + 0x10]
movss xmm0, dword [ecx]
movaps xmm6, xmm0
movss dword [esp + 0x68], xmm0
addss xmm6, dword [edi + 0x1c]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm6
movss dword [esp + 0x60], xmm6
movss dword [esp + 0x64], xmm3
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xe8], xmm6
movss dword [esp + 0xec], xmm3
je 0x10017c04
movss xmm0, dword [ecx + 0x1548]
movss dword [esp + 0x7c], xmm0
movss dword [ecx + 0x1548], xmm2
test al, al
je 0x10017b0e
cmp byte [ecx + 0x1a82], 0
mov eax, 0x148
je 0x10017b13
mov eax, 0x158
movups xmm2, xmmword [eax + edx + 0x1508]
movss xmm6, dword [0x1003ea18]
comiss xmm1, xmm2
movaps xmm3, xmm2
movaps xmmword [esp + 0xc0], xmm2
shufps xmm3, xmm2, 0xff
mulss xmm3, dword [edx + 0x1508]
jbe 0x10017b44
xorps xmm0, xmm0
jmp 0x10017b4b
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [esp + 0xc4]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x10017b6a
xorps xmm0, xmm0
jmp 0x10017b71
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [esp + 0xc8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x10017b95
xorps xmm0, xmm0
jmp 0x10017b9c
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm3
ja 0x10017bb9
movaps xmm1, xmm6
minss xmm1, xmm3
push dword [esp + 0x64]
mulss xmm1, xmm4
movaps xmm2, xmm7
push dword [esp + 0x64]
push dword [esp + 0xec]
addss xmm1, xmm5
push dword [esp + 0xec]
cvttss2si ecx, xmm1
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.10012b20
mov esi, dword [esp + 0x20]
add esp, 0x10
movss xmm0, dword [esp + 0x7c]
movss dword [esi + 0x1548], xmm0
jmp 0x100189fb
test dword [esp + 0x18], 0x6000000
je 0x10017c15
mov eax, 0xd8
jmp 0x10017c2c
cmp dword [esp + 0x44], 0
mov eax, 0xb8
mov dword [esp + 0x38], 0xc8
cmovne eax, dword [esp + 0x38]
movups xmm2, xmmword [eax + edx + 0x1508]
movss xmm6, dword [0x1003ea18]
comiss xmm1, xmm2
movaps xmm3, xmm2
movaps xmmword [esp + 0xc0], xmm2
shufps xmm3, xmm2, 0xff
mulss xmm3, dword [edx + 0x1508]
jbe 0x10017c5d
xorps xmm0, xmm0
jmp 0x10017c64
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [esp + 0xc4]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x10017c83
xorps xmm0, xmm0
jmp 0x10017c8a
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [esp + 0xc8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x10017cae
xorps xmm0, xmm0
jmp 0x10017cb5
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm3
mov dword [esp + 0x38], edx
jbe 0x10017cd4
xorps xmm0, xmm0
jmp 0x10017cdb
movaps xmm0, xmm6
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
shl edx, 0x18
or edx, dword [esp + 0x38]
cmp dword [ecx + 0x19d0], 0
je 0x10017d31
movss xmm2, dword [ecx + 0x1a10]
comiss xmm1, xmm2
jbe 0x10017d09
xorps xmm0, xmm0
jmp 0x10017d10
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
and edx, 0xffffff
mov dword [ecx + 0x19d0], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or edx, eax
test byte [edi + 8], 1
mov eax, dword [esp + 0x28]
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0xd4], xmm0
je 0x10017d6b
xorps xmm2, xmm2
jmp 0x10017d90
mov eax, dword [0x10069448]
movss xmm0, dword [eax + 0x1540]
movss xmm2, dword [eax + 0x1858]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
mov eax, dword [esp + 0x18]
addss xmm3, xmm1
and eax, 1
addss xmm4, xmm2
mov dword [esp + 0x6c], eax
mov ecx, 0xf
mov eax, 0xc
cmovne eax, ecx
push eax
push ecx
mov ecx, dword [edi + 0x27c]
lea eax, [esp + 0xd8]
movss dword [esp], xmm7
push edx
push eax
lea eax, [esp + 0x90]
movss dword [esp + 0x90], xmm3
push eax
movss dword [esp + 0x98], xmm4
call fcn.1002edc0
cmp byte [edi + 0x79], 0
mov ecx, 0x158
mov eax, dword [esp + 0x74]
xorps xmm2, xmm2
mov edx, dword [0x10069448]
cmovne eax, ecx
movss xmm5, dword [0x1003ea18]
movups xmm1, xmmword [eax + edx + 0x1508]
comiss xmm2, xmm1
movaps xmm3, xmm1
movaps xmmword [esp + 0xc0], xmm1
shufps xmm3, xmm1, 0xff
mulss xmm3, dword [edx + 0x1508]
jbe 0x10017e2f
xorps xmm0, xmm0
jmp 0x10017e36
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x1003eab8]
movss xmm4, dword [0x1003e9f4]
movss xmm1, dword [esp + 0xc4]
comiss xmm2, xmm1
mulss xmm0, xmm7
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10017e65
xorps xmm0, xmm0
jmp 0x10017e6c
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm1, dword [esp + 0xc8]
mulss xmm0, xmm7
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x10017e90
xorps xmm0, xmm0
jmp 0x10017e97
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm3
jbe 0x10017eb2
xorps xmm0, xmm0
jmp 0x10017eb9
movaps xmm0, xmm5
minss xmm0, xmm3
cmp dword [esp + 0x6c], 0
jne 0x10017f0c
movss xmm1, dword [esp + 0x1c]
mulss xmm0, xmm7
push 3
push ecx
movss dword [esp], xmm1
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.1002edc0
mov edx, dword [0x10069448]
xorps xmm2, xmm2
movss xmm7, dword [0x1003eab8]
test dword [esp + 0x18], 0x400
je 0x10018242
mov eax, dword [edi + 8]
test al, 1
je 0x10017f26
xorps xmm1, xmm1
jmp 0x10017f46
movss xmm0, dword [edx + 0x1540]
movss xmm1, dword [edx + 0x1858]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
movss xmm4, dword [edi + 0x10]
movaps xmm5, xmm4
addss xmm5, xmm1
test eax, 0x400
je 0x10017f83
movss xmm3, dword [edx + 0x1858]
mulss xmm3, dword [edi + 0x274]
movss xmm0, dword [edx + 0x1540]
addss xmm0, xmm0
addss xmm3, dword [edi + 0x148]
addss xmm3, xmm0
jmp 0x10017f86
xorps xmm3, xmm3
cmp dword [esp + 0x6c], 0
movaps xmm0, xmm5
mov eax, dword [esp + 0x28]
maxss xmm0, xmm4
addss xmm4, dword [edi + 0x18]
addss xmm5, xmm3
movss xmm1, dword [eax]
movss dword [esp + 0xc4], xmm0
movaps xmm6, xmm1
maxss xmm6, xmm1
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x1c]
addss xmm1, dword [edi + 0x14]
minss xmm5, xmm4
movss dword [esp + 0x78], xmm6
movss dword [esp + 0xc0], xmm6
minss xmm0, xmm1
movss dword [esp + 0x38], xmm5
movss dword [esp + 0xcc], xmm5
movss dword [esp + 0xc8], xmm0
je 0x10017ff9
movss xmm4, dword [esp + 0x1c]
jmp 0x10017ffc
xorps xmm4, xmm4
movups xmm1, xmmword [edx + 0x1670]
movss xmm6, dword [0x1003ea18]
comiss xmm2, xmm1
movaps xmm3, xmm1
movaps xmmword [esp + 0xd0], xmm1
shufps xmm3, xmm1, 0xff
mulss xmm3, dword [edx + 0x1508]
jbe 0x1001802c
xorps xmm0, xmm0
jmp 0x10018033
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm5, dword [0x1003e9f4]
movss xmm1, dword [esp + 0xd4]
comiss xmm2, xmm1
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1001805a
xorps xmm0, xmm0
jmp 0x10018061
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [esp + 0xd8]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x10018085
xorps xmm0, xmm0
jmp 0x1001808c
movaps xmm0, xmm6
minss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm3
ja 0x100180a9
movaps xmm2, xmm6
minss xmm2, xmm3
mulss xmm2, xmm7
push 3
push ecx
movss dword [esp], xmm4
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.1002edc0
mov eax, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm5, dword [eax + 0x1548]
comiss xmm5, xmm1
jbe 0x1001823c
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss xmm4, dword [esp + 0x38]
comiss xmm0, xmm4
jbe 0x1001823c
mov eax, dword [0x10069448]
movups xmm2, xmmword [eax + 0x15f0]
comiss xmm1, xmm2
movaps xmm3, xmm2
movaps xmmword [esp + 0xd0], xmm2
shufps xmm3, xmm2, 0xff
mulss xmm3, dword [eax + 0x1508]
jbe 0x1001813c
xorps xmm0, xmm0
jmp 0x10018148
movss xmm0, dword [0x1003ea18]
minss xmm0, xmm2
movss xmm6, dword [0x1003eab8]
movss xmm7, dword [0x1003e9f4]
movss xmm2, dword [esp + 0xd4]
comiss xmm1, xmm2
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si edx, xmm0
jbe 0x10018177
xorps xmm0, xmm0
jmp 0x10018183
movss xmm0, dword [0x1003ea18]
minss xmm0, xmm2
movss xmm2, dword [esp + 0xd8]
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x100181a7
xorps xmm0, xmm0
jmp 0x100181b3
movss xmm0, dword [0x1003ea18]
minss xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm3
ja 0x100181d5
movss xmm1, dword [0x1003ea18]
minss xmm1, xmm3
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
movss xmm0, dword [esp + 0x78]
mulss xmm1, xmm6
mov dword [esp + 0xd0], eax
push ecx
movss dword [esp], xmm5
addss xmm1, xmm7
mov dword [esp + 0xd8], ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, edx
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1002eb70
mov edx, dword [0x10069448]
cmp byte [edi + 0x74], 0
je 0x10018258
mov ecx, 1
call fcn.10019c40
mov edx, dword [0x10069448]
cmp byte [edi + 0x75], 0
je 0x1001826b
xor ecx, ecx
call fcn.10019c40
mov edx, dword [0x10069448]
test byte [esp + 0x18], 2
jne 0x10018520
movss xmm4, dword [esp + 0x3c]
xor edx, edx
movaps xmm0, xmm4
mov dword [esp + 0x74], edx
addss xmm0, dword [esp + 0x1c]
mov eax, 0x10041b10
mov dword [esp + 0x40], eax
movss dword [esp + 0x60], xmm0
nop word [eax + eax]
mov ecx, dword [esp + 0x28]
and edx, 1
mov dword [esp + 0xbc], edx
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov ecx, dword [edi + 0x27c]
movaps xmm3, xmm1
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [eax - 8]
mulss xmm3, dword [eax - 4]
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x38], xmm3
je 0x10018301
movd xmm1, esi
movaps xmm0, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x1001830b
movd xmm0, esi
movaps xmm1, xmm4
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax]
mov edi, dword [ecx + 0x54]
mulss xmm1, dword [eax + 4]
lea eax, [ecx + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], eax
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
cmp edi, ecx
jne 0x10018379
inc edi
test ecx, ecx
je 0x1001834f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10018354
mov eax, 8
mov ecx, dword [esp + 0x20]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10024f50
movss xmm2, dword [esp + 0x78]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x20]
inc dword [eax]
cmp dword [esp + 0xbc], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x27c]
je 0x100183b9
movd xmm0, esi
movaps xmm1, xmm4
cvtdq2ps xmm0, xmm0
jmp 0x100183c3
movd xmm1, esi
movaps xmm0, xmm4
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0x40]
mov edi, dword [ecx + 0x54]
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
lea eax, [ecx + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], eax
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xd4], xmm1
cmp edi, ecx
jne 0x1001842f
inc edi
test ecx, ecx
je 0x1001840b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10018410
mov eax, 8
mov ecx, dword [esp + 0x20]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10024f50
movss xmm2, dword [esp + 0x78]
movss xmm3, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
movss xmm0, dword [esp + 0x60]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
inc dword [eax]
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 0x27c]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
addss xmm0, xmm2
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x68]
mulss xmm0, dword [eax + 4]
lea eax, [esp + 0xc8]
push eax
addss xmm0, xmm3
movss dword [esp + 0xd0], xmm0
call fcn.1002e6f0
mov ecx, dword [edi + 0x27c]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 0x54]
mov dword [esp + 0x20], eax
push dword [esp + edx*4 + 0xf0]
push dword [eax]
push dword [ecx + 0x5c]
call fcn.1002e290
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100184f0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10024f50
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
movss xmm4, dword [esp + 0x3c]
inc edx
mov dword [eax], 0
mov eax, dword [esp + 0x40]
add eax, 0x18
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], eax
cmp edx, dword [esp + 0x54]
jl 0x100182a0
mov edx, dword [0x10069448]
movss xmm6, dword [esp + 0x3c]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x10018659
movups xmm2, xmmword [edx + 0x15f0]
movss xmm7, dword [0x1003ea18]
comiss xmm1, xmm2
movaps xmm3, xmm2
movaps xmmword [esp + 0xf0], xmm2
shufps xmm3, xmm2, 0xff
mulss xmm3, dword [edx + 0x1508]
jbe 0x10018562
xorps xmm0, xmm0
jmp 0x10018569
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm4, dword [0x1003eab8]
movss xmm5, dword [0x1003e9f4]
movss xmm2, dword [esp + 0xf4]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x10018598
xorps xmm0, xmm0
jmp 0x1001859f
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [esp + 0xf8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm2
jbe 0x100185c3
xorps xmm0, xmm0
jmp 0x100185ca
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm3
ja 0x100185e7
movaps xmm1, xmm7
minss xmm1, xmm3
mov edx, dword [esp + 0x28]
mulss xmm1, xmm4
push ecx
movss dword [esp], xmm6
movss xmm0, dword [edx]
addss xmm0, dword [edi + 0x14]
addss xmm1, xmm5
push 0xf
push ecx
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [edx + 4]
addss xmm0, dword [edi + 0x18]
cvttss2si eax, xmm1
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x28]
shl eax, 0x18
or eax, ecx
movss dword [esp], xmm0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xd0]
push eax
push edx
call fcn.1002ecb0
mov edx, dword [0x10069448]
xorps xmm1, xmm1
movss xmm6, dword [esp + 0x3c]
mov ecx, dword [esp + 0x7c]
cmp ecx, 0xffffffff
je 0x10018898
mov eax, dword [esp + 0x28]
movss xmm2, dword [edi + 0x10]
movss xmm7, dword [0x1003ea18]
movaps xmm4, xmm2
addss xmm4, dword [edi + 0x18]
movss xmm5, dword [eax]
movaps xmm3, xmm5
addss xmm3, dword [edi + 0x14]
subss xmm4, xmm7
subss xmm3, xmm7
test ecx, ecx
jne 0x100186d6
movd xmm4, esi
cvtdq2ps xmm4, xmm4
movss dword [esp + 0xc4], xmm2
addss xmm2, xmm1
movaps xmm0, xmm4
subss xmm3, xmm4
addss xmm0, xmm5
movss dword [esp + 0xcc], xmm2
movss dword [esp + 0xc8], xmm3
movss dword [esp + 0xc0], xmm0
jmp 0x100187ab
cmp ecx, 1
jne 0x1001871a
movaps xmm0, xmm3
movss dword [esp + 0xc8], xmm3
subss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
subss xmm4, xmm0
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xcc], xmm4
jmp 0x100187ab
cmp ecx, 2
jne 0x1001875e
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0xcc], xmm4
movaps xmm0, xmm2
subss xmm3, xmm2
addss xmm0, xmm5
movss dword [esp + 0xc8], xmm3
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
movss dword [esp + 0xc4], xmm0
jmp 0x100187ab
cmp ecx, 3
jne 0x1001879c
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm5
addss xmm5, xmm1
addss xmm2, xmm0
subss xmm4, xmm0
movss dword [esp + 0xc8], xmm5
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xcc], xmm4
jmp 0x100187ab
movaps xmm0, xmmword [0x1003eff0]
movups xmmword [esp + 0xc0], xmm0
movups xmm2, xmmword [edx + 0x1770]
movaps xmm4, xmm7
comiss xmm1, xmm2
movaps xmm3, xmm2
movaps xmmword [esp + 0xf0], xmm2
shufps xmm3, xmm2, 0xff
maxss xmm4, xmm6
mulss xmm3, dword [edx + 0x1508]
jbe 0x100187da
xorps xmm0, xmm0
jmp 0x100187e1
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm5, dword [0x1003eab8]
movss xmm6, dword [0x1003e9f4]
movss xmm2, dword [esp + 0xf4]
comiss xmm1, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10018810
xorps xmm0, xmm0
jmp 0x10018817
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [esp + 0xf8]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm2
jbe 0x1001883b
xorps xmm0, xmm0
jmp 0x10018842
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm3
ja 0x1001885f
movaps xmm1, xmm7
minss xmm1, xmm3
mulss xmm1, xmm5
push ecx
movss dword [esp], xmm4
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.1002eb70
mov edx, dword [0x10069448]
mov esi, dword [esp + 0x10]
lea eax, [edi + 0x18]
xorps xmm1, xmm1
mov ecx, eax
mov dword [esp + 0x1c], ecx
movss xmm4, dword [esi + 0x1548]
comiss xmm4, xmm1
jbe 0x10018a0b
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x1c], ecx
jne 0x10018a0b
movups xmm2, xmmword [edx + 0x15f0]
movss xmm7, dword [0x1003ea18]
comiss xmm1, xmm2
movaps xmm3, xmm2
movaps xmmword [esp + 0xf0], xmm2
shufps xmm3, xmm2, 0xff
mulss xmm3, dword [edx + 0x1508]
jbe 0x100188f8
xorps xmm0, xmm0
jmp 0x100188ff
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm5, dword [0x1003eab8]
movss xmm6, dword [0x1003e9f4]
movss xmm2, dword [esp + 0xf4]
comiss xmm1, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1001892e
xorps xmm0, xmm0
jmp 0x10018935
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [esp + 0xf8]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm2
jbe 0x10018959
xorps xmm0, xmm0
jmp 0x10018960
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm3
jbe 0x1001897b
xorps xmm2, xmm2
jmp 0x10018982
movaps xmm2, xmm7
minss xmm2, xmm3
movss xmm1, dword [esi + 0x1518]
movss xmm0, dword [esp + 0x30]
mulss xmm2, xmm5
subss xmm0, xmm1
push ecx
addss xmm1, dword [esp + 0x6c]
movss dword [esp], xmm4
addss xmm2, xmm6
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm7
movss dword [esp + 0xd4], xmm1
cvttss2si eax, xmm2
movss dword [esp + 0xc8], xmm0
shl eax, 0x18
or eax, ecx
movss dword [esp + 0xd8], xmm0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.1002eb70
mov edx, dword [0x10069448]
lea ecx, [edi + 0x18]
xorps xmm1, xmm1
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x1a64], edi
jne 0x10018c89
movss xmm6, dword [edi + 0x44]
mov eax, dword [esp + 0x28]
movaps xmm0, xmm6
maxss xmm0, dword [esi + 0x1514]
movss xmm2, dword [edi + 0x10]
movss xmm7, dword [esp + 0x90]
movaps xmm4, xmm2
movss xmm3, dword [eax]
addss xmm2, dword [ecx]
movaps xmm5, xmm3
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esi + 0x1854]
addss xmm3, dword [edi + 0x14]
subss xmm5, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
comiss xmm7, xmm5
jb 0x10018ab3
movss xmm7, dword [esp + 0xac]
comiss xmm7, xmm4
jb 0x10018ab3
comiss xmm3, dword [esp + 0xb0]
jb 0x10018ab3
comiss xmm2, dword [esp + 0x50]
jb 0x10018ab3
xorps xmm0, xmmword [0x1003efd0]
subss xmm0, dword [0x1003ea18]
movss dword [esp + 0x6c], xmm6
subss xmm5, xmm0
subss xmm4, xmm0
addss xmm3, xmm0
addss xmm2, xmm0
movups xmm6, xmmword [edx + 0x1820]
mov ecx, dword [edi + 0x27c]
movss xmm7, dword [esi + 0x1a70]
comiss xmm1, xmm6
mov dword [esp + 0x54], ecx
mulss xmm7, dword [edx + 0x1508]
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xff
movaps xmmword [esp + 0xf0], xmm6
mulss xmm7, xmm0
jbe 0x10018af1
xorps xmm0, xmm0
jmp 0x10018afd
movss xmm0, dword [0x1003ea18]
minss xmm0, xmm6
mulss xmm0, dword [0x1003eab8]
movss xmm6, dword [esp + 0xf4]
comiss xmm1, xmm6
addss xmm0, dword [0x1003e9f4]
cvttss2si eax, xmm0
mov dword [esp + 0x4c], eax
jbe 0x10018b28
xorps xmm0, xmm0
jmp 0x10018b34
movss xmm0, dword [0x1003ea18]
minss xmm0, xmm6
mulss xmm0, dword [0x1003eab8]
movss xmm6, dword [esp + 0xf8]
addss xmm0, dword [0x1003e9f4]
cvttss2si eax, xmm0
shl eax, 8
or dword [esp + 0x4c], eax
comiss xmm1, xmm6
jbe 0x10018b62
xorps xmm0, xmm0
jmp 0x10018b6e
movss xmm0, dword [0x1003ea18]
minss xmm0, xmm6
movss xmm6, dword [0x1003eab8]
mulss xmm0, xmm6
addss xmm0, dword [0x1003e9f4]
cvttss2si eax, xmm0
shl eax, 0x10
or dword [esp + 0x4c], eax
comiss xmm1, xmm7
ja 0x10018b9e
movss xmm1, dword [0x1003ea18]
minss xmm1, xmm7
movss xmm0, dword [0x1003e9f4]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
test eax, 0xff000000
je 0x10018c89
test byte [ecx + 0x24], 1
addss xmm5, xmm0
addss xmm4, xmm0
push 0xffffffffffffffff
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xd8]
movss dword [esp + 0xd8], xmm5
movss dword [esp + 0xdc], xmm4
push eax
je 0x10018c04
subss xmm3, xmm0
subss xmm2, xmm0
jmp 0x10018c14
subss xmm3, dword [0x1003e9f0]
subss xmm2, dword [0x1003e9f0]
movss dword [esp + 0xcc], xmm3
movss xmm3, dword [esp + 0x78]
movss dword [esp + 0xd0], xmm2
call fcn.1002e830
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp], 0x40400000
lea eax, [ecx + 0x54]
push 1
push dword [esp + 0x68]
mov dword [esp + 0x5c], eax
push dword [eax]
push dword [ecx + 0x5c]
call fcn.1002d630
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10018c7d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10024f50
mov eax, dword [esp + 0x50]
mov edx, dword [0x10069448]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
xorps xmm2, xmm2
mov ecx, dword [edi + 0x20]
movss xmm3, dword [edi + 0x3c]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x28], ecx
mov ecx, dword [edi + 8]
movss xmm5, dword [eax]
mov eax, ecx
subss xmm5, dword [edi + 0x54]
and eax, 0x400
mov dword [esp + 0x54], eax
movaps xmm0, xmm5
addss xmm0, xmm3
movss dword [edi + 0x214], xmm0
je 0x10018cf3
movss xmm1, dword [edx + 0x1858]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [edx + 0x1540]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x10018cf6
xorps xmm1, xmm1
and ecx, 1
je 0x10018d00
xorps xmm6, xmm6
jmp 0x10018d20
movss xmm0, dword [edx + 0x1540]
movss xmm6, dword [edx + 0x1858]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x274]
addss xmm6, xmm0
movss xmm4, dword [edi + 0x10]
subss xmm4, dword [edi + 0x58]
movss xmm7, dword [edi + 0x40]
movaps xmm0, xmm4
addss xmm0, xmm7
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10018d5e
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x6c]
subss xmm5, xmm3
addss xmm5, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm2
movss dword [edi + 0x21c], xmm5
lahf
test ah, 0x44
jp 0x10018d89
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0x70]
mov dword [edi + 0x1bc], 0
subss xmm4, xmm7
mov dword [edi + 0x1c0], 0
addss xmm3, xmm2
addss xmm4, xmm0
subss xmm3, dword [edi + 0x54]
movss dword [edi + 0x220], xmm4
movss dword [edi + 0x1b8], xmm3
test ecx, ecx
je 0x10018dc7
xorps xmm4, xmm4
jmp 0x10018de7
movss xmm0, dword [edx + 0x1540]
movss xmm4, dword [edx + 0x1858]
addss xmm0, xmm0
mulss xmm4, dword [edi + 0x274]
addss xmm4, xmm0
cmp dword [esp + 0x54], 0
je 0x10018e18
movss xmm1, dword [edx + 0x1858]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [edx + 0x1540]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x10018e1b
xorps xmm1, xmm1
mov eax, dword [esp + 0x28]
addss xmm1, xmm4
addss xmm3, xmm2
mov dword [edi + 0xf0], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xec], 0
addss xmm1, xmm7
addss xmm3, dword [eax]
subss xmm1, dword [edi + 0x58]
movss dword [edi + 0xd8], xmm3
movss dword [edi + 0xc8], xmm3
movss dword [edi + 0xd0], xmm3
movss dword [edi + 0xe0], xmm3
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xcc], xmm1
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xe4], xmm1
mov byte [edi + 0x12c], 0
mov eax, dword [edx + 0x1928]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x70]
movss xmm1, dword [eax + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
seta al
mov byte [edi + 0x12d], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0xcc]
subss xmm0, dword [0x1003ead8]
movss dword [edi + 0xf8], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10018f38
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x14c]
call fcn.10024af0
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x5c]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x10018f64
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x10018f73
mov dword [edi + 0x160], 0
mov eax, 1
mov dword [edi + 0x164], eax
mov eax, dword [edi + 0x228]
mov dword [edi + 0x168], eax
lea eax, [edi + 0x170]
mov dword [edi + 0x16c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10018fbe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x170]
call fcn.10024af0
lea eax, [edi + 0x170]
push ecx
lea ecx, [edi + 0x17c]
mov dword [eax], 0
call fcn.10024c20
push ecx
lea ecx, [edi + 0x188]
call fcn.10024c20
mov dword [edi + 0x1c4], 0
lea eax, [edi + 0x25c]
mov dword [edi + 0xfc], 0
lea ecx, [edi + 0x194]
mov dword [edi + 0x100], 0
push 0
mov dword [edi + 0x158], eax
call fcn.100247a0
cmp byte [esp + 0x17], 0
lea ecx, [edi + 0x24c]
movss xmm0, dword [esi + 0x154c]
mov dword [edi + 0x22c], 3
mov dword [edi + 0x238], 0
mov dword [edi + 0x234], 0
movss dword [edi + 0x230], xmm0
je 0x10019054
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x22c], edx
jle 0x100190c0
xorps xmm1, xmm1
test edx, edx
jle 0x10019086
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10019086
movss xmm0, dword [edi + 0x230]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
cvttss2si eax, dword [edi + 0x234]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x10], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, dword [edi + 0x22c]
jl 0x10019061
cmp dword [esp + 0x44], 0
je 0x10019128
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x10019128
lea esi, [edi + 0x170]
mov dword [edi + 0x164], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x10019118
inc edx
mov dword [esp + 0x54], edx
test ecx, ecx
je 0x10019106
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x1001910b
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10024af0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0x164]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x10019139
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x1001914a
dec eax
mov dword [edi + 0x94], eax
cmp byte [esp + 0xf], 0
je 0x100191de
mov ecx, edi
call fcn.1001a430
mov eax, dword [edi + 8]
mov esi, dword [0x10069448]
mov dword [esp + 0x44], esi
test eax, 0x40000
jne 0x100191d0
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10019185
cmp dword [edi + 0x308], 0
jne 0x100191d0
mov ecx, dword [esi + 0x1a78]
mov eax, dword [esi + 0x1a24]
movaps xmm0, xmmword [0x1003eff0]
mov dword [esi + 0x1a28], 0
mov dword [eax + ecx*4 + 0x308], 0
mov word [esi + 0x1a85], 1
mov dword [esi + 0x1a88], 0
movups xmmword [esi + 0x1a8c], xmm0
mov byte [esi + 0x1a84], 1
jmp 0x100191e8
mov eax, dword [edi + 0x308]
mov dword [esi + 0x1a28], eax
jmp 0x100191e8
mov esi, dword [0x10069448]
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x18]
movaps xmm6, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xd0], xmm6
test cl, 1
jne 0x100195f1
mov eax, dword [edi + 0x164]
mov dword [esp + 0x60], eax
or eax, 0x10
mov dword [edi + 0x164], eax
inc dword [edi + 0x130]
mov eax, dword [edi + 0x134]
add eax, eax
mov dword [edi + 0x134], eax
mov eax, ecx
and eax, 0x20
mov dword [esp + 0xbc], eax
jne 0x1001941e
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x28]
movss xmm2, dword [eax + 0x153c]
movss xmm3, dword [eax + 0x1540]
addss xmm2, dword [ecx]
addss xmm3, dword [ecx + 4]
mov ecx, dword [edi + 0x1c8]
mov eax, dword [edi + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.1000b4d0
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x1944], ecx
jne 0x10019293
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], ecx
jne 0x100192a2
mov byte [esi + 0x1954], 1
movss xmm1, dword [esi + 0x1854]
mov edx, ecx
mov eax, dword [esi + 0x1928]
lea ecx, [esp + 0xc0]
movaps xmm0, xmm1
mov dword [esp + 0x50], eax
addss xmm0, xmm2
movss dword [esp + 0xc0], xmm2
addss xmm1, xmm3
movss dword [esp + 0xc4], xmm3
push 0
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xd0], xmm1
call fcn.1000d060
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xc4]
add esp, 4
push 0
push 0
push 0
call fcn.1001b160
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0xcc]
add esp, 0xc
mov byte [esp + 0x27], al
push 1
call fcn.100135a0
mov eax, dword [esp + 0x54]
xor ecx, ecx
movss xmm1, dword [0x1003ea18]
add esp, 4
cmp byte [eax + 0x79], cl
push dword [esp + 0xc4]
sete cl
push dword [esp + 0xc4]
lea ecx, [ecx*2 + 1]
call fcn.10013110
mov esi, dword [0x10069448]
add esp, 8
mov ecx, dword [esi + 0x1944]
test ecx, ecx
je 0x10019411
mov eax, dword [esi + 0x1928]
cmp ecx, dword [eax + 0x104]
jne 0x10019411
cmp byte [esi + 0xe0], 0
je 0x10019411
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [esi + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x10019411
mov ecx, dword [esp + 0x50]
call fcn.1001a430
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 0x4c]
call fcn.1000c590
mov byte [esi + 0x1a82], 1
mov eax, dword [edx + 0x2f8]
movss xmm1, dword [esi + 0xd8]
movss xmm0, dword [esi + 0xdc]
subss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax + 0x10]
movss dword [esi + 0x195c], xmm1
movss dword [esi + 0x1960], xmm0
test byte [edx + 8], 4
jne 0x1001940b
mov eax, dword [edx + 0x2f8]
test byte [eax + 8], 4
jne 0x1001940b
mov dword [esi + 0x1978], edx
mov esi, dword [0x10069448]
cmp byte [esp + 0x27], 0
je 0x10019422
mov byte [edi + 0x7a], 1
jmp 0x10019422
mov esi, dword [esp + 0x44]
dec dword [edi + 0x130]
sar dword [edi + 0x134], 1
mov edx, dword [esp + 0x8c]
mov ecx, edx
mov eax, dword [esp + 0x60]
mov dword [edi + 0x164], eax
cmp edx, 0xffffffff
jae 0x10019463
mov dl, byte [ecx]
test dl, dl
je 0x1001945c
cmp dl, 0x23
jne 0x10019456
cmp byte [ecx + 1], dl
je 0x1001945c
inc ecx
cmp ecx, 0xffffffff
jb 0x10019446
mov edx, dword [esp + 0x8c]
movss xmm0, dword [esi + 0x1854]
mov eax, dword [esi + 0x1850]
mov dword [esp + 0x60], eax
movss dword [esp + 0x54], xmm0
cmp edx, ecx
jne 0x1001948c
mov dword [esp + 0x54], 0
xorps xmm1, xmm1
jmp 0x100194fd
movss xmm3, dword [0x1003eae0]
movaps xmm2, xmm0
push ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0xd0]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.100311a0
movss xmm0, dword [esp + 0xc0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100194d4
mov eax, dword [esp + 0x60]
movss xmm2, dword [esp + 0x54]
divss xmm2, dword [eax]
subss xmm0, xmm2
addss xmm0, dword [0x1003ea14]
mov edx, dword [esp + 0x8c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0xc4]
cmp dword [esp + 0xbc], 0
mov eax, dword [esp + 0x10]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0xc0], xmm0
je 0x1001952e
movss xmm0, dword [eax + 0x153c]
movaps xmm3, xmm0
jmp 0x10019549
movss xmm3, dword [eax + 0x153c]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x1854]
addss xmm0, dword [eax + 0x1554]
movss xmm4, dword [eax + 0x1524]
add eax, 0x1524
comiss xmm4, xmm1
movaps xmm2, xmm3
jbe 0x1001956d
movaps xmm2, xmm0
subss xmm2, xmm3
mulss xmm2, xmm4
addss xmm2, xmm3
addss xmm0, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0xc8]
subss xmm0, xmm2
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0xf0], xmm0
movss xmm0, dword [ecx]
lea ecx, [esp + 0xf0]
addss xmm0, dword [edi + 0x14]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
subss xmm0, xmm3
push 0
push edx
lea edx, [esp + 0xdc]
lea ecx, [esp + 0xd4]
movss dword [esp + 0x10c], xmm0
call fcn.10012650
mov esi, dword [0x10069448]
add esp, 0x14
movaps xmm6, xmmword [esp + 0xd0]
movss xmm3, dword [edi + 0x10]
mov edx, dword [esp + 0x28]
movaps xmm0, xmm3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and eax, 0x401
movss xmm1, dword [edx]
movaps xmm2, xmm1
addss xmm0, dword [ecx]
addss xmm2, dword [edi + 0x14]
movss dword [edi + 0x1e4], xmm1
movss dword [edi + 0x1e8], xmm3
movss dword [edi + 0x1ec], xmm2
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x1e4]
maxss xmm0, dword [edi + 0x1d4]
maxss xmm3, dword [edi + 0x1d8]
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm3
movss xmm1, dword [edi + 0x1ec]
movss xmm0, dword [edi + 0x1f0]
minss xmm1, dword [edi + 0x1dc]
minss xmm0, dword [edi + 0x1e0]
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm0
movss xmm1, dword [edi + 0x48]
movaps xmm5, xmm1
addss xmm5, dword [esp + 0x68]
movss dword [edi + 0x1f4], xmm5
cmp eax, 1
jne 0x100196b2
movaps xmm2, xmm1
jmp 0x100196be
mov eax, dword [esp + 0x10]
movss xmm2, dword [eax + 0x1548]
test dword [edi + 8], 0x400
je 0x100196f1
movss xmm4, dword [esi + 0x1858]
mulss xmm4, dword [edi + 0x274]
movss xmm0, dword [esi + 0x1540]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x100196f4
xorps xmm4, xmm4
addss xmm4, dword [esp + 0x2c]
movss xmm7, dword [0x1003e9f4]
addss xmm5, xmm7
addss xmm4, xmm2
movss dword [edi + 0x1f8], xmm4
addss xmm4, xmm7
movss xmm3, dword [edx]
addss xmm3, dword [edi + 0x14]
subss xmm3, dword [edi + 0x6c]
subss xmm3, xmm1
movss dword [edi + 0x1fc], xmm3
addss xmm3, xmm7
movss xmm2, dword [ecx]
addss xmm2, dword [edi + 0x10]
subss xmm2, dword [edi + 0x70]
subss xmm2, xmm1
movss dword [edi + 0x200], xmm2
addss xmm2, xmm7
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm7
subss xmm0, xmm1
xorps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm5, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm5
movss xmm5, dword [esp + 0xe4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [edi + 0x204], xmm0
movss xmm4, dword [esp + 0x68]
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movd xmm0, eax
cvttss2si eax, xmm2
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x104], eax
movss xmm1, dword [esi + 0x155c]
movss xmm0, dword [esi + 0x1560]
subss xmm4, xmm1
movaps xmm2, xmm1
subss xmm5, xmm0
movss xmm1, dword [esi + 0xd8]
movaps xmm3, xmm0
addss xmm2, dword [esp + 0x30]
addss xmm3, dword [esp + 0x2c]
comiss xmm1, xmm4
jb 0x10019832
movss xmm0, dword [esi + 0xdc]
comiss xmm0, xmm5
jb 0x10019832
comiss xmm2, xmm1
jbe 0x10019832
comiss xmm3, xmm0
jbe 0x10019832
mov eax, 1
jmp 0x10019834
xor eax, eax
mov dword [edi + 0x108], eax
movups xmmword [edi + 0x10c], xmm6
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [esi + 0x1928]
movss xmm3, dword [edi + 0x20c]
movss xmm2, dword [edi + 0x210]
movss xmm1, dword [edi + 0x204]
movss xmm0, dword [edi + 0x208]
mov dword [esp + 0x60], eax
mov eax, dword [eax + 0x27c]
mov edx, dword [eax + 0x3c]
lea esi, [eax + 0x3c]
mov dword [esp + 0x30], eax
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xc8], xmm3
movss dword [esp + 0xcc], xmm2
test edx, edx
je 0x10019933
mov eax, dword [eax + 0x44]
mov ecx, edx
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
mov ecx, edx
comiss xmm4, xmm1
movaps xmmword [esp + 0xe0], xmm4
jbe 0x100198df
mov eax, dword [esp + 0x30]
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
mov ecx, dword [eax + 0x3c]
movss xmm4, dword [esp + 0xe4]
mov eax, edx
comiss xmm4, xmm0
jbe 0x100198fd
movaps xmm0, xmm4
mov eax, ecx
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xe8]
comiss xmm3, xmm4
jbe 0x10019919
movaps xmm3, xmm4
mov edx, eax
movss dword [esp + 0xc8], xmm3
movss xmm4, dword [esp + 0xec]
comiss xmm2, xmm4
jbe 0x10019933
movaps xmm2, xmm4
movss dword [esp + 0xcc], xmm2
comiss xmm1, xmm3
jb 0x10019941
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm2
jb 0x1001994f
movss dword [esp + 0xcc], xmm0
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x10019980
inc edx
mov dword [esp + 0x54], edx
test ecx, ecx
je 0x1001996e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x10019973
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10031e20
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0xc0]
mov ecx, dword [esp + 0x30]
shl eax, 4
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
inc dword [esi]
call fcn.1002d0e0
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x1d4], eax
mov eax, dword [esp + 0x88]
movss dword [edx + 0x1d8], xmm0
movss dword [edx + 0x1dc], xmm1
movss dword [edx + 0x1e0], xmm2
cmp eax, dword [esp + 0x70]
je 0x100199f5
mov byte [edi + 0x78], 0
mov eax, dword [esp + 0x10]
inc dword [edi + 0x88]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x19d0], 0
mov dword [eax + 0x19cc], 0
mov dword [eax + 0x19c8], 0
mov dword [eax + 0x19c4], 0
mov dword [eax + 0x19c0], 0
mov dword [eax + 0x19bc], 0
mov dword [eax + 0x19b8], 0
test ecx, 0x1000000
je 0x10019ab2
test cl, 0x40
jne 0x10019a94
cmp dword [edi + 0x90], 0
jg 0x10019a94
cmp dword [edi + 0x94], 0
jg 0x10019a94
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x10019a8a
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x10019a94
mov dword [edi + 0xa4], 1
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x10019ab2
cmp byte [ecx + 0x79], 0
jne 0x10019aa8
cmp byte [ecx + 0x7d], 0
je 0x10019ab2
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x1508]
jb 0x10019ac8
mov dword [edi + 0xa4], 1
cmp dword [edi + 0xa4], 0
jg 0x10019ade
cmp dword [edi + 0xa8], 0
jne 0x10019ade
xor al, al
jmp 0x10019ae0
mov al, 1
mov byte [edi + 0x7d], al
cmp byte [edi + 0x79], 0
jne 0x10019af3
cmp byte [edi + 0x76], 0
je 0x10019af3
test al, al
je 0x10019b12
cmp dword [edi + 0x90], 0
jg 0x10019b12
cmp dword [edi + 0x94], 0
jg 0x10019b12
cmp dword [edi + 0xa8], 0
jg 0x10019b12
mov al, 1
jmp 0x10019b14
xor al, al
mov ecx, dword [esp + 0x10c]
mov byte [edi + 0x7b], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.100348e0
mov esp, ebp
pop ebp
ret