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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x10038400]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x100388b8]
push edi
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
call fcn.1000bcc0
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov dword [ebp - 0x94], edi
test eax, eax
jne 0x100063d7
mov edx, dword [esi + 0x1a40]
test edx, edx
je 0x1000638c
mov eax, dword [esi + 0x1a68]
mov ecx, dword [esi + 0x1a6c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
jmp 0x1000639a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x1c]
test edx, edx
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x30]
cmovne eax, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0xac]
call fcn.1000a2b0
add esp, 0x10
mov dword [ebp - 0x94], eax
mov edi, eax
mov edx, dword [ebp - 0x1c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x100063f0
or edx, 6
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x1950]
mov ecx, dword [edi + 0x218]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ecx
cmp ecx, eax
je 0x10006411
mov dword [edi + 8], edx
jmp 0x10006417
mov edx, dword [edi + 8]
mov dword [ebp - 0x1c], edx
cmp dword [esi + 0x1980], 0
lea ecx, [esi + 0x1980]
mov dword [ebp - 0x4c], ecx
jne 0x1000642d
xor eax, eax
jmp 0x1000643c
mov eax, dword [esi + 0x1988]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x8c]
cmp edi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x94]
je 0x10006466
mov esi, edx
and esi, 0x5000000
neg esi
sbb esi, esi
and esi, eax
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x24]
jmp 0x1000646f
mov eax, dword [edi + 0x2e8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x98], 0
setne al
mov byte [edi + 0x7e], al
mov eax, dword [ebp - 0x88]
dec eax
cmp dword [ebp - 0x8c], eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0x28], eax
setl byte [ebp - 0x6c]
mov eax, edx
and eax, 0x4000000
mov dword [ebp - 0x54], eax
je 0x100064d9
mov eax, dword [esi + 0x1a30]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x1a2c]
mov eax, dword [edi + 0x88]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x24]
setne al
or cl, al
mov al, byte [ebp - 0x6c]
or al, cl
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x6c], al
jmp 0x100064dc
mov al, byte [ebp - 0x6c]
test al, al
jne 0x100064eb
cmp dword [ebp - 0x28], 0
jg 0x100064eb
mov byte [edi + 0x7c], al
jmp 0x10006504
or dword [edi + 0xa8], 8
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
mov byte [edi + 0x7c], 1
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10006538
inc edx
mov dword [ebp - 0x4c], edx
test eax, eax
je 0x10006522
cdq
sub eax, edx
mov edx, dword [ebp - 0x4c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10006527
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10015730
lea ecx, [esi + 0x1980]
mov ecx, dword [ecx]
lea edx, [edi + 0x1a0]
mov eax, dword [esi + 0x1988]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1980]
mov ecx, dword [0x100388b8]
mov dword [ecx + 0x199c], edi
mov eax, dword [0x100388b8]
movss xmm0, dword [eax + 0x18c0]
mulss xmm0, dword [edi + 0x268]
movss dword [ecx + 0x18d0], xmm0
movss dword [ecx + 0x18bc], xmm0
mov ecx, dword [0x100388b8]
movzx eax, word [edi + 0x1bc]
mov word [edx], ax
movzx eax, word [edi + 0x194]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1a30]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1a00]
mov word [edx + 6], ax
add edx, 8
cmp dword [ebp - 0x54], 0
movzx eax, word [ecx + 0x1a0c]
mov word [edx], ax
movzx eax, word [ecx + 0x1a18]
mov word [edx + 2], ax
je 0x100065f9
mov eax, dword [esi + 0x1a30]
lea ecx, [esi + 0x1a30]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1a2c]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10015580
mov eax, dword [esi]
mov dword [edi + 0x88], eax
cmp dword [ebp - 0x28], 0
jle 0x10006612
test dword [ebp - 0x1c], 0x1000000
jne 0x10006612
mov dword [edi + 0x2fc], 0
mov esi, dword [ebp - 0x24]
xor dl, dl
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x16], dl
mov byte [ebp - 0x1d], dl
mov ecx, dword [esi + 0x1a3c]
test ecx, ecx
je 0x100066b2
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x15]
test ecx, eax
je 0x100066a1
movss xmm1, dword [esi + 0x1a64]
movss xmm0, dword [esi + 0x1a60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10030724]
jbe 0x100066a1
mov eax, dword [esi + 0x1a58]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a5c]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov eax, dword [esi + 0x1a60]
mov ecx, dword [esi + 0x1a64]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xa8], edx
jmp 0x100066b2
push ecx
lea eax, [esi + 0x1a58]
push eax
push edi
call fcn.100133e0
add esp, 0xc
mov ecx, dword [esi + 0x1a40]
test ecx, ecx
je 0x1000670b
mov eax, dword [edi + 0xac]
xorps xmm1, xmm1
and eax, ecx
je 0x100066dc
movss xmm0, dword [esi + 0x1a68]
comiss xmm0, xmm1
jbe 0x100066dc
mov byte [ebp - 0x16], 1
jmp 0x100066e5
xor dl, dl
mov byte [ebp - 0x16], dl
test eax, eax
je 0x100066f6
movss xmm0, dword [esi + 0x1a6c]
comiss xmm0, xmm1
mov byte [ebp - 0x1d], 1
ja 0x100066fa
mov byte [ebp - 0x1d], 0
push ecx
lea eax, [esi + 0x1a68]
push eax
push edi
call fcn.100134d0
add esp, 0xc
cmp dword [esi + 0x1a44], 0
je 0x100067c2
mov eax, dword [esi + 0x1a70]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x1a74]
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
mov dword [edi + 0x34], eax
lahf
test ah, 0x44
jnp 0x100067de
mov ecx, dword [edi + 8]
mov eax, dword [0x100388b8]
test cl, 1
je 0x10006751
xorps xmm2, xmm2
jmp 0x10006771
movss xmm0, dword [eax + 0x1550]
movss xmm2, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x268]
addss xmm2, xmm0
test ecx, 0x400
je 0x100067b0
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x100067de
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x100067de
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x88]
je 0x100067de
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1a48]
test ecx, ecx
je 0x10006804
mov eax, dword [edi + 0xb0]
mov dl, byte [esi + 0x1a78]
test ecx, eax
je 0x10006804
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb0], eax
cmp dword [esi + 0x1a50], 0
je 0x10006816
push edi
call fcn.1000bda0
add esp, 4
cmp byte [edi + 0x7c], 0
je 0x10006831
and dword [edi + 0xa8], 0xfffffff7
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x88]
je 0x10008cb7
mov edx, dword [ebp - 0x1c]
mov ecx, edx
mov eax, dword [ebp - 0x58]
and ecx, 0x3000000
mov dword [ebp - 0x50], ecx
mov dword [edi + 0x2e8], eax
mov dword [edi + 0x2f4], edi
mov dword [edi + 0x2f0], edi
mov dword [edi + 0x2ec], edi
test eax, eax
je 0x100068a3
cmp ecx, 0x1000000
jne 0x10006887
mov eax, dword [eax + 0x2ec]
mov dword [edi + 0x2ec], eax
mov eax, dword [ebp - 0x58]
test edx, 0x8000000
jne 0x100068a3
test edx, 0x5000000
je 0x100068a3
mov eax, dword [eax + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x100068c7
mov ecx, edi
nop
mov eax, dword [ecx + 0x2e8]
mov ecx, eax
mov dword [edi + 0x2f4], eax
test dword [ecx + 8], 0x800000
jne 0x100068b0
xor eax, eax
mov byte [edi + 0x76], 1
mov word [edi + 0x82], ax
mov ax, word [esi + 0x1998]
mov word [edi + 0x84], ax
xor eax, eax
inc dword [esi + 0x1998]
mov word [edi + 0x80], ax
mov eax, dword [ebp - 0x88]
mov dword [edi + 0x1c8], 0xff7fffff
mov dword [edi + 0x1cc], 0xff7fffff
mov dword [edi + 0x1d0], 0x7f7fffff
mov dword [edi + 0x1d4], 0x7f7fffff
mov dword [edi + 0x218], eax
mov eax, dword [edi + 0x1c0]
cmp eax, 1
jge 0x10006966
test eax, eax
je 0x10006946
cdq
sub eax, edx
lea edx, [edi + 0x1bc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10006951
mov ecx, 8
lea edx, [edi + 0x1bc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10015730
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x1bc], 1
cmp byte [edi + 0x79], 0
jne 0x100069f3
cmp byte [edi + 0x7d], 0
je 0x1000698e
cmp dword [edi + 0xa4], 0
jne 0x1000698e
cmp dword [edi + 0xa0], 0
jg 0x100069f3
movss xmm0, dword [edi + 0x34]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100069b1
movss xmm0, dword [edi + 0xdc]
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 0x100069dc
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x58]
addss xmm2, dword [edi + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x40]
jmp 0x10006a00
movss xmm2, dword [edi + 0x2c]
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x30]
mov eax, dword [edi + 0xa0]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm0
test eax, eax
jle 0x10006a1b
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x10006a2c
dec eax
mov dword [edi + 0xa4], eax
cmp dword [ebp - 0x68], 0
mov al, byte [ebp - 0x16]
mov cl, byte [ebp - 0x1d]
jne 0x10006a4a
test al, al
je 0x10006a40
test cl, cl
jne 0x10006a4a
mov dword [edi + 0xa4], 1
cmp byte [ebp - 0x6c], 0
je 0x10006a99
test edx, 0x6000000
je 0x10006a99
mov dword [edi + 0xa4], 1
test dl, 0x40
je 0x10006a99
test al, al
jne 0x10006a79
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10006a8b
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [0x100388b8]
mov dword [ecx + 0x199c], edi
mov eax, dword [0x100388b8]
movss xmm0, dword [eax + 0x18c0]
mulss xmm0, dword [edi + 0x268]
movss dword [ecx + 0x18d0], xmm0
movss dword [ecx + 0x18bc], xmm0
test edx, 0x1000000
je 0x10006adc
movss xmm0, dword [esi + 0x1540]
jmp 0x10006afe
test edx, 0x6000000
je 0x10006af6
test edx, 0x8000000
jne 0x10006af6
movss xmm0, dword [esi + 0x1548]
jmp 0x10006afe
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm0
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x3c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x10006b48
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10006b48
test edx, 0x400
je 0x10006b3c
movss xmm1, dword [esi + 0x1520]
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm1
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x155c]
maxss xmm0, dword [esi + 0x1a98]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1a9c]
mov dword [edi + 0x148], eax
test dl, 0x21
jne 0x10006bdf
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10014010
cmp dword [esi + 0x19a0], edi
jne 0x10006bbe
cmp dword [esi + 0x19a8], 0
jne 0x10006bbe
cmp dword [esi + 0x19b0], 0
jne 0x10006bbe
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000da90
add esp, 0xc
test al, al
je 0x10006bbe
cmp byte [esi + 0x3fd], 0
je 0x10006bbe
mov byte [edi + 0x7a], 1
cmp byte [edi + 0x7a], 0
je 0x10006be3
cmp byte [edi + 0x79], 0
push edi
sete al
mov byte [edi + 0x79], al
call fcn.1000e340
push edi
call fcn.1000bda0
add esp, 8
jmp 0x10006be3
mov byte [edi + 0x79], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7a], 0
push eax
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.10009a10
movss xmm0, dword [0x100307bc]
add esp, 0xc
test byte [ebp - 0x1c], 0x40
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x5c], xmm0
je 0x10006c49
cmp byte [edi + 0x79], 0
jne 0x10006c49
cmp byte [ebp - 0x16], 0
jne 0x10006c2b
movss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [ebp - 0x1d], 0
jne 0x10006ceb
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x5c], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x10006ceb
mov eax, dword [edi + 0x8c]
test eax, eax
jg 0x10006c60
cmp dword [edi + 0x90], 0
jle 0x10006ceb
cmp byte [ebp - 0x16], 0
jne 0x10006c8e
test eax, eax
jle 0x10006c8e
cmp byte [edi + 0x94], 0
je 0x10006c7f
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x7c]
jmp 0x10006c84
movss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [ebp - 0x1d], 0
jne 0x10006cc1
cmp dword [edi + 0x90], 0
jle 0x10006cc1
cmp byte [edi + 0x94], 0
je 0x10006cb2
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x78]
jmp 0x10006cb7
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x5c], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x10006ceb
test dword [edi + 8], 0x100
mov ecx, dword [0x100388b8]
jne 0x10006ceb
xorps xmm1, xmm1
comiss xmm1, dword [ecx + 0x2c2c]
jb 0x10006ceb
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c2c], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x38]
push dword [edi + 0x1c]
push edi
push eax
call fcn.10009840
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov cl, byte [edi + 0x79]
mov dword [edi + 0x20], edx
mov byte [ebp - 0x16], cl
test cl, cl
je 0x10006d49
test dword [ebp - 0x1c], 0x1000000
jne 0x10006d49
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10014010
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x2c], xmm0
jmp 0x10006d57
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
cmp byte [ebp - 0x16], 0
lea ecx, [ebp - 0x30]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
jne 0x10006e5a
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [0x100307bc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10006d8c
movss xmm3, dword [edi + 0x1c]
jmp 0x10006d91
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [ebp - 0x5c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10006da6
movss xmm2, dword [edi + 0x20]
jmp 0x10006dab
movss xmm2, dword [edi + 0x28]
mov ecx, dword [ebp - 0x1c]
test ecx, 0x4000
jne 0x10006dc9
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10006dc5
test cl, 8
je 0x10006dc9
xor dl, dl
jmp 0x10006dcb
mov dl, 1
mov byte [edi + 0x75], dl
test ecx, 0x8000
jne 0x10006e0f
xorps xmm1, xmm1
test dl, dl
je 0x10006de7
movss xmm0, dword [esi + 0x157c]
jmp 0x10006dea
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x10006e06
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x10006e0f
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x10006e42
mov byte [edi + 0x74], 1
test dl, dl
jne 0x10006e37
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10006e32
test cl, 8
jne 0x10006e32
mov dl, 1
jmp 0x10006e34
xor dl, dl
mov byte [edi + 0x75], dl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test dl, dl
je 0x10006e4e
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
jmp 0x10006e5d
mov ecx, dword [ebp - 0x1c]
cmp byte [ebp - 0x6c], 0
je 0x10006e98
mov dword [edi + 0x9c], 0xffffffff
test ecx, 0x4000000
je 0x10006e98
cmp byte [ebp - 0x15], 0
jne 0x10006e98
mov eax, dword [esi + 0x1a30]
mov ecx, dword [esi + 0x1a38]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
test ecx, 0x1000000
je 0x10006f2f
mov edx, dword [ebp - 0x58]
add edx, 0x14c
mov dword [ebp - 0x44], edx
mov ax, word [edx]
mov word [edi + 0x82], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x10006eee
test ecx, ecx
je 0x10006ed6
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x44]
sar eax, 1
add eax, ecx
jmp 0x10006edb
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10015730
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0x1c]
mov al, byte [ebp - 0x15]
mov edx, dword [ebp - 0x50]
test ecx, 0x4000000
jne 0x10006f35
test al, al
jne 0x10006f35
cmp edx, 0x3000000
je 0x10006f35
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xc8]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
jmp 0x10006f32
mov edx, dword [ebp - 0x50]
mov al, byte [ebp - 0x15]
movss xmm0, dword [edi + 0xb4]
ucomiss xmm0, dword [0x100307bc]
movss dword [ebp - 0x4c], xmm0
lahf
test ah, 0x44
jnp 0x10007057
cmp dword [edi + 0xa4], 0
jne 0x10007057
movss xmm5, dword [edi + 0x20]
movss xmm0, dword [esi + 0x15a4]
movss xmm2, dword [edi + 0xbc]
movss xmm6, dword [edi + 0xc0]
movss xmm4, dword [esi + 0x15a8]
movss xmm3, dword [edi + 0xb8]
and dword [edi + 0xa8], 0xfffffff1
movss xmm1, dword [ebp - 0x4c]
mov dword [edi + 0xb4], 0x7f7fffff
mov dword [edi + 0xb8], 0x7f7fffff
mulss xmm2, dword [edi + 0x1c]
movss dword [ebp - 0x54], xmm5
mulss xmm6, dword [ebp - 0x54]
subss xmm1, xmm2
movss xmm5, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
subss xmm3, xmm6
movss dword [ebp - 0x68], xmm5
maxss xmm0, xmm1
maxss xmm4, xmm3
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, xmm4
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
subss xmm1, xmm7
movss dword [edi + 0x10], xmm0
subss xmm0, xmm5
addss xmm1, dword [edi + 0xc4]
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc4], xmm1
movss dword [edi + 0xc8], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
subss xmm1, xmm5
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe0]
addss xmm0, dword [edi + 0xdc]
movss dword [edi + 0xe0], xmm1
movss dword [edi + 0xdc], xmm0
jmp 0x1000709d
test ecx, 0x10000000
jne 0x10007085
test ecx, 0x4000000
je 0x10007071
test al, al
jne 0x10007071
cmp dword [ebp - 0x28], 0
jg 0x10007085
test ecx, 0x2000000
je 0x1000709d
test al, al
jne 0x1000709d
cmp edx, 0x3000000
je 0x1000709d
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.1000b640
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x1c]
test edx, 0x1000000
jne 0x100071ac
cmp byte [ebp - 0x15], 0
jne 0x100071ac
cmp dword [edi + 0x8c], 0
jg 0x100071ac
cmp dword [edi + 0x90], 0
xorps xmm2, xmm2
jg 0x100071af
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x100071af
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x100071af
cmp byte [esi + 0xc0], 0
movss xmm4, dword [esi + 0x15a0]
movss xmm5, dword [esi + 0x159c]
maxss xmm4, dword [esi + 0x15a8]
maxss xmm5, dword [esi + 0x15a4]
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x54], xmm5
je 0x1000714b
test byte [edi + 8], 1
jne 0x1000714b
movss xmm0, dword [edi + 0x14]
mov ecx, edi
movss dword [ebp - 0x30], xmm0
call fcn.10013fc0
movss xmm4, dword [ebp - 0x4c]
movss xmm5, dword [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
fstp dword [ebp - 0x2c]
jmp 0x10007157
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x30]
movss xmm3, dword [eax]
addss xmm3, dword [edi + 0xc]
movss xmm2, dword [eax + 4]
addss xmm2, dword [edi + 0x10]
maxss xmm3, xmm5
maxss xmm2, xmm4
subss xmm3, dword [eax]
subss xmm2, dword [eax + 4]
movss dword [edi + 0xc], xmm3
movss dword [edi + 0x10], xmm2
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm5
minss xmm3, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm4
movss dword [edi + 0xc], xmm3
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
xorps xmm2, xmm2
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x100071e3
movss xmm5, dword [esi + 0x153c]
jmp 0x10007203
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100071fb
movss xmm5, dword [esi + 0x1544]
jmp 0x10007203
movss xmm5, dword [esi + 0x1524]
mov eax, dword [edi + 0x334]
movss dword [edi + 0x44], xmm5
cmp eax, 0x7fffffff
je 0x10007229
mov ecx, dword [edi + 0x324]
cmp ecx, 0xffffffff
je 0x10007229
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1000722e
mov edx, 0x7fffffff
mov eax, dword [edi + 0x338]
mov dword [edi + 0x32c], edx
cmp eax, 0x7fffffff
je 0x10007255
mov ecx, dword [edi + 0x328]
cmp ecx, 0xffffffff
je 0x10007255
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1000725a
mov edx, 0x7fffffff
movss xmm1, dword [edi + 0x5c]
movss xmm6, dword [0x100307bc]
comiss xmm6, xmm1
mov dword [edi + 0x330], edx
mov dword [edi + 0x328], 0xffffffff
mov dword [edi + 0x324], 0xffffffff
mov dword [edi + 0x338], 0x7fffffff
mov dword [edi + 0x334], 0x7fffffff
mov eax, dword [0x100388b8]
movss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x58]
jbe 0x100072bf
movss xmm0, dword [edi + 0x1c]
movaps xmm4, xmm1
subss xmm0, dword [edi + 0x6c]
mulss xmm0, dword [edi + 0x64]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm6, xmm0
movss xmm6, dword [0x10030770]
jbe 0x100073a0
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x100072ef
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x100072ef
xorps xmm3, xmm3
comiss xmm7, xmm6
jb 0x10007311
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1560]
comiss xmm3, xmm0
jb 0x10007311
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x1000731e
xorps xmm6, xmm6
jmp 0x1000733e
movss xmm0, dword [eax + 0x1550]
movss xmm6, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x268]
addss xmm6, xmm0
test ecx, 0x400
je 0x10007370
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x10007373
xorps xmm1, xmm1
addss xmm1, xmm6
movss xmm6, dword [0x10030770]
movaps xmm0, xmm6
subss xmm0, xmm7
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
subss xmm3, xmm1
mulss xmm0, xmm7
subss xmm3, xmm0
cmp byte [edi + 0x79], 0
maxss xmm4, xmm2
maxss xmm3, xmm2
jne 0x100073f8
cmp byte [edi + 0x7b], 0
jne 0x100073f8
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x6c]
movss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm4
ja 0x100073d6
movaps xmm4, xmm0
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 0x100073f8
movaps xmm3, xmm0
cmp byte [ebp - 0x6c], 0
movss dword [edi + 0x54], xmm4
movss dword [edi + 0x58], xmm3
mov dword [edi + 0x5c], 0x7f7fffff
mov dword [edi + 0x60], 0x7f7fffff
mov byte [ebp - 0x16], 0
je 0x10007436
mov eax, dword [ebp - 0x1c]
test eax, 0x1000
jne 0x10007436
test eax, 0x3000000
je 0x10007432
test eax, 0x4000000
je 0x10007436
mov byte [ebp - 0x16], 1
movss xmm1, dword [esi + 0x18bc]
addss xmm5, xmm6
xorps xmm0, xmm0
or eax, 0xffffffff
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x4c], eax
movaps xmm0, xmm1
mov dword [ebp - 0x44], eax
mulss xmm1, dword [0x1003073c]
xor eax, eax
cmp byte [esi + 0xbf], al
mulss xmm0, dword [0x10030774]
setne al
addss xmm5, xmm1
inc eax
cmp byte [edi + 0x79], 0
mov dword [ebp - 0x70], eax
maxss xmm0, xmm5
cvttss2si esi, xmm0
jne 0x100074a5
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x7c]
push eax
push edi
call fcn.10014370
mov eax, dword [ebp - 0x44]
add esp, 0x14
mov dword [ebp - 0x4c], eax
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm2
jbe 0x100074c2
test dword [ebp - 0x1c], 0x2000040
jne 0x100074c2
mulss xmm0, dword [0x10030754]
jmp 0x100074d5
mov eax, dword [ebp - 0x24]
movss xmm0, dword [eax + 0x18bc]
mulss xmm0, dword [0x10030798]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x21c], xmm0
mov ecx, dword [edi + 0x270]
call fcn.10018350
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x15b1], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x15b0], al
setne al
or ecx, eax
mov eax, dword [edi + 0x270]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x18b8]
mov ecx, dword [edi + 0x270]
mov eax, dword [eax + 0x44]
push dword [eax + 8]
call fcn.1001a840
lea eax, [ebp - 0xbc]
push eax
call fcn.1000ca20
mov eax, dword [ebp - 0x1c]
add esp, 4
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1000756d
cmp dword [ebp - 0x50], 0x3000000
je 0x1000756d
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + 0x1c8]
add ecx, 0x1d0
jmp 0x10007579
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0xb4]
push 1
push ecx
push eax
call fcn.10011ba0
add esp, 0xc
test dword [ebp - 0x1c], 0x8000000
je 0x100075a4
call fcn.1000c430
cmp edi, eax
jne 0x100075a4
cmp dword [edi + 0xa4], 0
jg 0x100075a4
mov dl, 1
jmp 0x100075a6
xor dl, dl
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1ae8]
test ecx, ecx
je 0x100075bf
cmp edi, dword [ecx + 0x2ec]
jne 0x100075bf
mov cl, 1
jmp 0x100075c1
xor cl, cl
mov byte [ebp - 0x15], cl
test dl, dl
jne 0x100075d0
test cl, cl
je 0x100076e5
movss xmm0, dword [eax + 0x1be0]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.1000c2a0
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.100177f0
cmp byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x24]
je 0x100076e5
cmp edi, dword [eax + 0x1ae8]
jne 0x100076e5
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x18bc]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xbc]
comiss xmm0, xmm1
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm3
jb 0x1000769c
movss xmm0, dword [ebp - 0xb8]
comiss xmm0, xmm4
jb 0x1000769c
comiss xmm2, dword [ebp - 0xb4]
jb 0x1000769c
comiss xmm3, dword [ebp - 0xb0]
jae 0x100076e5
movss xmm0, dword [eax + 0x1524]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x1af4]
mulss xmm0, dword [0x10030740]
movss dword [esp], xmm0
push 0x2d
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100177f0
mov eax, dword [ebp - 0x24]
movss xmm0, dword [edi + 0x44]
mov ecx, dword [eax + 0x1ae4]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x48]
movss dword [ebp - 0x50], xmm0
test ecx, ecx
jne 0x10007709
mov ecx, dword [eax + 0x1aa8]
cmp byte [ebp - 0x16], 0
jne 0x10007728
test ecx, ecx
je 0x10007724
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
mov eax, dword [ebp - 0x24]
je 0x10007728
xor dl, dl
jmp 0x1000772a
mov dl, 1
test byte [edi + 8], 1
mov byte [ebp - 0x15], dl
je 0x10007738
xorps xmm1, xmm1
jmp 0x10007763
mov ecx, dword [0x100388b8]
movss xmm0, dword [ecx + 0x1550]
movss xmm1, dword [ecx + 0x18c0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x268]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x50]
cmp byte [edi + 0x79], 0
movss xmm2, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [edi + 0x1c]
addss xmm4, xmm1
movss dword [ebp - 0xa8], xmm2
movss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0xa4], xmm1
movss dword [ebp - 0x54], xmm3
movss dword [ebp - 0x68], xmm4
movss dword [ebp - 0xa0], xmm3
movss dword [ebp - 0x9c], xmm4
je 0x1000793c
movss xmm1, dword [eax + 0x1558]
movss dword [ebp - 0x28], xmm1
movss dword [eax + 0x1558], xmm0
test dl, dl
je 0x100077de
cmp byte [eax + 0x1b06], 0
mov eax, 0xb
je 0x100077e3
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1000c2a0
movss xmm0, dword [ebp - 0x54]
add esp, 8
mov esi, dword [0x100388b8]
movss xmm1, dword [ebp - 0x48]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0xa8]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x44]
push 0xf
movss dword [ebp - 0x78], xmm0
mov ecx, dword [esi + 0x199c]
push ecx
movss dword [esp], xmm1
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ecx + 0x270]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100177f0
movss xmm1, dword [esi + 0x1558]
comiss xmm1, dword [0x10030720]
movss dword [ebp - 0x54], xmm1
jbe 0x10007927
movss xmm2, dword [0x10030770]
movss xmm0, dword [ebp - 0x74]
addss xmm0, xmm2
push ecx
movss dword [esp], xmm1
push 0xf
sub esp, 8
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x70]
addss xmm0, xmm2
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, xmm2
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, xmm2
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push 6
call fcn.1000c2a0
mov esi, dword [ebp - 0x4c]
add esp, 8
mov ecx, dword [esi + 0x270]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100176f0
movss xmm0, dword [ebp - 0x54]
push ecx
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x48]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push 5
call fcn.1000c2a0
mov ecx, dword [esi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100176f0
mov esi, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x28]
movss dword [esi + 0x1558], xmm0
jmp 0x10008115
mov ecx, dword [ebp - 0x1c]
test cl, cl
js 0x10007a5e
test ecx, 0x6000000
je 0x10007956
mov ecx, 4
jmp 0x10007965
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
push ecx
mov dword [esp], 0x3f800000
push ecx
call fcn.1000c2a0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x24]
xorps xmm1, xmm1
cmp dword [eax + 0x1a54], 0
je 0x100079c4
movss xmm2, dword [eax + 0x1a94]
comiss xmm1, xmm2
jbe 0x10007999
xorps xmm0, xmm0
jmp 0x100079a5
movss xmm0, dword [0x10030770]
minss xmm0, xmm2
mulss xmm0, dword [0x100307a8]
and ecx, 0xffffff
addss xmm0, dword [0x1003074c]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
test byte [edi + 8], 1
movss xmm3, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x2c], xmm0
je 0x100079f3
xorps xmm2, xmm2
jmp 0x10007a18
mov eax, dword [0x100388b8]
movss xmm0, dword [eax + 0x1550]
movss xmm2, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x268]
addss xmm2, xmm0
test byte [ebp - 0x1c], 1
addss xmm3, xmm1
movss xmm0, dword [ebp - 0x48]
addss xmm2, xmm4
mov edx, 0xf
mov eax, 0xc
cmovne eax, edx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0x270]
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x64], xmm3
push eax
movss dword [ebp - 0x60], xmm2
call fcn.100177f0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1a54], 0
test cl, 1
jne 0x10007abf
cmp byte [edi + 0x79], 0
je 0x10007a7d
mov eax, 0xc
jmp 0x10007a84
movzx eax, byte [ebp - 0x15]
add eax, 0xa
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1000c2a0
movss xmm0, dword [ebp - 0x48]
add esp, 8
push 3
push ecx
mov ecx, dword [edi + 0x270]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100177f0
mov ecx, dword [ebp - 0x1c]
test ecx, 0x400
je 0x10007c2e
mov edx, dword [edi + 8]
xorps xmm3, xmm3
mov eax, dword [0x100388b8]
test dl, 1
je 0x10007ae0
xorps xmm5, xmm5
jmp 0x10007b00
movss xmm0, dword [eax + 0x1550]
movss xmm5, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x268]
addss xmm5, xmm0
movss xmm6, dword [edi + 0x10]
addss xmm5, xmm6
test edx, 0x400
je 0x10007b3b
movss xmm4, dword [eax + 0x18c0]
mulss xmm4, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x10007b3e
xorps xmm4, xmm4
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm5
maxss xmm0, xmm6
movaps xmm1, xmm2
maxss xmm1, xmm2
addss xmm4, xmm5
addss xmm6, dword [edi + 0x18]
movss dword [ebp - 0x3c], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x40], xmm1
addss xmm0, dword [edi + 0x1c]
minss xmm4, xmm6
addss xmm2, dword [edi + 0x14]
movss dword [ebp - 0x34], xmm4
minss xmm0, xmm2
movss dword [ebp - 0x38], xmm0
test cl, 1
je 0x10007b8d
movss xmm3, dword [ebp - 0x48]
push 3
sub esp, 8
movss dword [esp + 4], xmm3
mov dword [esp], 0x3f800000
push 0xd
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100177f0
mov eax, dword [ebp - 0x24]
movss xmm2, dword [eax + 0x1558]
comiss xmm2, dword [0x10030720]
jbe 0x10007c2e
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [ebp - 0x34]
comiss xmm0, xmm1
jbe 0x10007c2e
movss xmm0, dword [ebp - 0x40]
sub esp, 8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
movss dword [esp + 4], xmm2
mov dword [esp], 0x3f800000
push 5
mov dword [ebp - 0x2c], ecx
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm1
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10016a30
cmp byte [edi + 0x74], 0
je 0x10007c3e
push 1
call fcn.100284b0
add esp, 4
cmp byte [edi + 0x75], 0
je 0x10007c4e
push 0
call fcn.100284b0
add esp, 4
mov eax, dword [ebp - 0x1c]
test al, 2
jne 0x10007ecb
movss xmm4, dword [ebp - 0x50]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [ebp - 0x44], ecx
addss xmm0, dword [ebp - 0x48]
mov eax, 0x10038018
mov dword [ebp - 0x5c], eax
movss dword [ebp - 0x78], xmm0
nop dword [eax + eax]
movss xmm0, dword [edi + 0xc]
and ecx, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov dword [ebp - 0x90], ecx
subss xmm2, xmm0
mulss xmm2, dword [eax - 8]
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x68], xmm2
subss xmm0, xmm1
mulss xmm0, dword [eax - 4]
addss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
je 0x10007cd5
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x10007cdf
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax]
mulss xmm3, dword [eax + 4]
mov eax, dword [edi + 0x270]
mov edi, dword [eax + 0x54]
addss xmm1, xmm2
add eax, 0x54
addss xmm3, xmm0
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 4]
movss dword [ebp - 0x64], xmm1
movss dword [ebp - 0x60], xmm3
mov dword [ebp - 0xc0], ecx
cmp edi, ecx
jne 0x10007d53
inc edi
test ecx, ecx
je 0x10007d2f
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x28]
sar ecx, 1
add ecx, dword [ebp - 0xc0]
jmp 0x10007d34
mov ecx, 8
cmp ecx, edi
cmovg edi, ecx
mov ecx, eax
push edi
call fcn.100158e0
movss xmm2, dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x54]
movss xmm4, dword [ebp - 0x50]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x28]
inc dword [eax]
cmp dword [ebp - 0x90], 0
je 0x10007d7f
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x10007d89
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
mov eax, dword [ebp - 0x5c]
mulss xmm1, dword [eax]
mulss xmm3, dword [eax + 4]
mov eax, dword [ebp - 0x94]
addss xmm1, xmm2
addss xmm3, xmm0
mov eax, dword [eax + 0x270]
add eax, 0x54
movss dword [ebp - 0x30], xmm1
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x2c], xmm3
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x90], ecx
cmp edi, ecx
jne 0x10007dfb
inc edi
test ecx, ecx
je 0x10007de1
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x28]
sar ecx, 1
add ecx, dword [ebp - 0x90]
jmp 0x10007de6
mov ecx, 8
cmp ecx, edi
cmovg edi, ecx
mov ecx, eax
push edi
call fcn.100158e0
movss xmm2, dword [ebp - 0x68]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x78]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x94]
inc dword [eax]
mov eax, dword [ebp - 0x5c]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
addss xmm0, xmm2
push ecx
mov ecx, dword [edi + 0x270]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x78]
mulss xmm0, dword [eax + 4]
lea eax, [ebp - 0x38]
addss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [esp], xmm0
push eax
call fcn.1001a130
mov ecx, dword [edi + 0x270]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + 0x54]
mov dword [ebp - 0x28], eax
push dword [ebp + edx*4 - 0x14]
push dword [eax]
push dword [ecx + 0x5c]
call fcn.10015ff0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10007ea4
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 [ebp - 0x28]
call fcn.100158e0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
movss xmm4, dword [ebp - 0x50]
inc ecx
mov dword [eax], 0
mov eax, dword [ebp - 0x5c]
add eax, 0x18
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x5c], eax
cmp ecx, dword [ebp - 0x70]
jl 0x10007c80
mov eax, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x50]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x10007f3d
test al, al
js 0x10007f3d
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x14]
push ecx
movss dword [esp], xmm6
push 0xf
sub esp, 8
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push 5
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.100176f0
movss xmm6, dword [ebp - 0x50]
xorps xmm1, xmm1
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x10008089
movss xmm5, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm2, xmm5
movss xmm7, dword [0x10030770]
movaps xmm3, xmm4
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm7
subss xmm3, xmm7
test eax, eax
jne 0x10007faa
movd xmm3, esi
movaps xmm0, xmm4
cvtdq2ps xmm3, xmm3
subss xmm0, xmm1
addss xmm5, xmm3
subss xmm2, xmm3
addss xmm4, xmm1
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm5
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm4
jmp 0x10008054
cmp eax, 1
jne 0x10007fdf
movaps xmm0, xmm2
addss xmm2, xmm1
subss xmm0, xmm1
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x40], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm4, xmm0
subss xmm3, xmm0
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x34], xmm3
jmp 0x10008054
cmp eax, 2
jne 0x10008014
movd xmm4, esi
movaps xmm0, xmm3
cvtdq2ps xmm4, xmm4
subss xmm0, xmm1
addss xmm5, xmm4
subss xmm2, xmm4
addss xmm3, xmm1
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm5
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm3
jmp 0x10008054
cmp eax, 3
jne 0x10008049
movaps xmm0, xmm5
addss xmm5, xmm1
subss xmm0, xmm1
movss dword [ebp - 0x38], xmm5
movss dword [ebp - 0x40], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm4, xmm0
subss xmm3, xmm0
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x34], xmm3
jmp 0x10008054
movaps xmm0, xmmword [0x10030840]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmm7
sub esp, 8
maxss xmm0, xmm6
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push 0x1d
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10016a30
mov esi, dword [ebp - 0x24]
movss xmm3, dword [esi + 0x1558]
comiss xmm3, dword [0x10030720]
jbe 0x10008115
test byte [ebp - 0x1c], 1
jne 0x10008115
movss xmm2, dword [esi + 0x1528]
sub esp, 8
movss xmm0, dword [ebp - 0xa0]
movss xmm1, dword [ebp - 0x9c]
subss xmm0, xmm2
subss xmm1, dword [0x10030770]
movss dword [esp + 4], xmm3
mov dword [esp], 0x3f800000
push 5
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0xa8]
addss xmm0, xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10016a30
cmp dword [esi + 0x1ae8], edi
jne 0x10008217
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm1, dword [esi + 0x18bc]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
movss xmm7, dword [edi + 0x44]
subss xmm5, xmm1
movss xmm0, dword [ebp - 0xbc]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm2, xmm1
comiss xmm0, xmm5
addss xmm3, xmm1
movss dword [ebp - 0x40], xmm5
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm3
jb 0x100081d9
movss xmm0, dword [ebp - 0xb8]
comiss xmm0, xmm4
jb 0x100081d9
comiss xmm2, dword [ebp - 0xb4]
jb 0x100081d9
comiss xmm3, dword [ebp - 0xb0]
jb 0x100081d9
xorps xmm1, xmmword [0x10030820]
movaps xmm6, xmm7
subss xmm1, dword [0x10030770]
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm2, xmm1
addss xmm3, xmm1
movss dword [ebp - 0x40], xmm5
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm3
movss xmm0, dword [esi + 0x1af4]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
movss dword [esp], xmm0
push 0x2d
call fcn.1000c2a0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100176f0
movss xmm4, dword [edi + 0xc]
xorps xmm2, xmm2
subss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x3c]
mov eax, dword [edi + 0x1c]
movaps xmm0, xmm3
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 8]
mov dword [edi + 0x24], eax
addss xmm0, xmm4
mov dword [edi + 0x28], ecx
movss dword [edi + 0x208], xmm0
mov eax, dword [0x100388b8]
test dl, 1
je 0x10008256
xorps xmm6, xmm6
jmp 0x10008276
movss xmm0, dword [eax + 0x1550]
movss xmm6, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x268]
addss xmm6, xmm0
mov ecx, edx
and ecx, 0x400
je 0x100082aa
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x100082ad
xorps xmm1, xmm1
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [edi + 0x58]
movss xmm7, dword [edi + 0x40]
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100082eb
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x6c]
subss xmm4, xmm3
addss xmm4, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm2
movss dword [edi + 0x210], xmm4
lahf
test ah, 0x44
jp 0x10008313
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x70]
mov dword [edi + 0x1b0], 0
subss xmm5, xmm7
mov dword [edi + 0x1b4], 0
addss xmm3, xmm2
addss xmm5, xmm0
subss xmm3, dword [edi + 0x54]
movss dword [edi + 0x214], xmm5
movss dword [edi + 0x1ac], xmm3
mov eax, dword [0x100388b8]
test ecx, ecx
je 0x1000837b
movss xmm4, dword [eax + 0x18c0]
mulss xmm4, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x1000837e
xorps xmm4, xmm4
test dl, 1
je 0x10008388
xorps xmm1, xmm1
jmp 0x100083a8
movss xmm0, dword [eax + 0x1550]
movss xmm1, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x268]
addss xmm1, xmm0
addss xmm1, xmm4
mov dword [edi + 0xf0], 0
addss xmm3, xmm2
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf8], 0
addss xmm1, xmm7
addss xmm3, dword [edi + 0xc]
subss xmm1, dword [edi + 0x58]
movss dword [edi + 0xd4], xmm3
movss dword [edi + 0xc4], xmm3
movss dword [edi + 0xcc], xmm3
movss dword [edi + 0xdc], xmm3
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xd8], xmm1
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xd0], xmm1
movss dword [edi + 0xe0], xmm1
mov dword [edi + 0xec], 0
mov byte [edi + 0x140], 0
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, xmm2
seta al
mov byte [edi + 0x141], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x142], 0
movss xmm0, dword [edi + 0xc8]
subss xmm0, dword [0x100307b8]
movss dword [edi + 0xfc], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100084d0
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.10015730
lea eax, [edi + 0x14c]
mov ecx, dword [ebp - 0x58]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x100084fb
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x10008507
mov dword [edi + 0x160], 0
xor eax, eax
mov dword [edi + 0x164], eax
mov eax, dword [edi + 0x21c]
mov dword [edi + 0x168], eax
lea eax, [edi + 0x170]
mov dword [edi + 0x16c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10008552
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.10015730
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10008587
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 + 0x17c]
call fcn.10015730
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100085bc
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 + 0x188]
call fcn.10015730
lea eax, [edi + 0x188]
mov dword [eax], 0
lea ecx, [edi + 0x194]
mov dword [edi + 0x1b8], 0
lea eax, [edi + 0x250]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
push 0
mov dword [edi + 0x158], eax
call fcn.100159b0
push dword [ebp - 0x6c]
movss xmm0, dword [esi + 0x155c]
push ecx
movss dword [esp], xmm0
lea ecx, [edi + 0x220]
push 3
call fcn.10029350
test dword [ebp - 0x1c], 0x1000000
je 0x10008649
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x10008649
mov dword [edi + 0x164], eax
lea ecx, [edi + 0x170]
lea eax, [edi + 0x164]
push eax
call fcn.10015460
mov eax, dword [edi + 0x8c]
test eax, eax
jle 0x1000865a
dec eax
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x1000866b
dec eax
mov dword [edi + 0x90], eax
cmp byte [ebp - 0x16], 0
je 0x10008682
push edi
call fcn.1000bda0
push 0
push edi
call fcn.1000e540
add esp, 0xc
mov eax, dword [ebp - 0x1c]
test al, 1
jne 0x10008a55
mov eax, dword [edi + 0x164]
mov dword [ebp - 0x90], eax
or eax, 0x10
test byte [ebp - 0x1c], 0x20
mov dword [edi + 0x164], eax
mov dword [edi + 0x130], 1
mov dword [edi + 0x134], 2
jne 0x10008715
mov ecx, dword [edi + 0x1bc]
mov eax, dword [edi + 0x1c4]
push dword [eax + ecx*4 - 4]
push 0
push str.COLLAPSE
call fcn.1000cce0
mov ecx, dword [0x100388b8]
mov edx, eax
add esp, 0xc
cmp dword [ecx + 0x19bc], edx
jne 0x100086f1
mov dword [ecx + 0x19c4], edx
cmp dword [ecx + 0x19c0], edx
jne 0x10008700
mov byte [ecx + 0x19cf], 1
lea eax, [edi + 0xc]
push eax
push edx
call fcn.10025420
add esp, 8
test al, al
je 0x10008715
mov byte [edi + 0x7a], 1
cmp dword [ebp - 0x98], 0
je 0x100087e8
movss xmm0, dword [esi + 0x1550]
mov ecx, dword [edi + 0x1bc]
mov eax, dword [edi + 0x1c4]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [esi + 0x18bc]
mulss xmm0, dword [0x1003074c]
push dword [eax + ecx*4 - 4]
push 0
push str.CLOSE
movss dword [ebp - 0x78], xmm0
call fcn.1000cce0
mov ecx, dword [0x100388b8]
add esp, 0xc
cmp dword [ecx + 0x19bc], eax
jne 0x10008777
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x10008786
mov byte [ecx + 0x19cf], 1
movss xmm0, dword [ebp - 0x70]
xorps xmm0, xmmword [0x10030820]
movss xmm2, dword [ebp - 0x78]
movss xmm1, dword [edi + 0x14]
subss xmm0, xmm2
addss xmm1, dword [edi + 0xc]
push ecx
lea ecx, [ebp - 0x38]
addss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x70]
addss xmm2, dword [0x10030770]
movss dword [ebp - 0x38], xmm1
addss xmm0, dword [edi + 0x10]
movss dword [esp], xmm2
push ecx
push eax
movss dword [ebp - 0x34], xmm0
call fcn.10025210
add esp, 0xc
test al, al
je 0x100087e8
mov eax, dword [ebp - 0x98]
mov byte [eax], 0
test dword [ebp - 0x1c], 0x100000
mov eax, dword [ebp - 0x90]
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 1
mov dword [edi + 0x164], eax
je 0x10008834
push ecx
mov dword [esp], 0xbf800000
lea eax, [ebp - 0x38]
push 0
push 0
push 0x10030634
push eax
call fcn.10009b60
add esp, 0x14
movss xmm0, dword [eax]
jmp 0x10008837
xorps xmm0, xmm0
push ecx
mov dword [esp], 0xbf800000
lea eax, [ebp - 0x30]
push 1
push 0
push dword [ebp - 0xac]
movss dword [ebp - 0x44], xmm0
push eax
call fcn.10009b60
movss xmm0, dword [ebp - 0x44]
xorps xmm1, xmm1
add esp, 0x14
test byte [ebp - 0x1c], 0x20
addss xmm0, dword [eax]
movss dword [ebp - 0x70], xmm0
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [ebp - 0x84], xmm0
je 0x1000889f
movss xmm4, dword [esi + 0x154c]
movaps xmm2, xmm4
jmp 0x100088ba
movss xmm2, dword [esi + 0x154c]
movaps xmm4, xmm2
addss xmm4, dword [esi + 0x18bc]
addss xmm4, dword [esi + 0x1564]
mov ecx, dword [ebp - 0x98]
movaps xmm3, xmm2
test ecx, ecx
je 0x100088d7
addss xmm3, dword [esi + 0x18bc]
addss xmm3, dword [esi + 0x1564]
movss xmm5, dword [esi + 0x1534]
lea eax, [esi + 0x1534]
comiss xmm5, xmm1
jbe 0x100088f9
movaps xmm0, xmm4
subss xmm0, xmm3
mulss xmm0, xmm5
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xa8]
addss xmm0, xmm4
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x7c]
subss xmm0, xmm3
movss dword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [ebp - 0x14], xmm0
test ecx, ecx
je 0x10008942
movss xmm2, dword [ebp - 0x9c]
subss xmm2, dword [ebp - 0xa4]
subss xmm2, dword [0x10030780]
movss xmm0, dword [edi + 0x14]
lea ecx, [ebp - 0x14]
addss xmm0, dword [edi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebp - 0xac]
subss xmm0, xmm2
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x84]
push eax
movss dword [ebp - 0xc], xmm0
call fcn.10012a00
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
test eax, 0x100000
je 0x10008a55
movss xmm0, dword [esi + 0x18bc]
xorps xmm4, xmm4
xorps xmm0, xmmword [0x10030820]
mulss xmm0, dword [0x10030740]
mov dword [ebp - 0x38], 0
movss xmm2, dword [ebp - 0x7c]
movss xmm1, dword [ebp - 0x84]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x1538]
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm4
movd xmm3, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm3, xmm3
push eax
lea eax, [ebp - 0x38]
push eax
push 0
subss xmm2, dword [ebp - 0x70]
movss dword [ebp - 0x30], xmm0
lea eax, [ebp - 0x30]
movss xmm0, dword [ebp - 0x78]
addss xmm0, xmm3
push 0
mulss xmm2, dword [esi + 0x1534]
push 0x10030634
push eax
movss dword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x64]
movss xmm0, dword [0x10030778]
addss xmm2, xmm1
subss xmm0, dword [ebp - 0x44]
push eax
maxss xmm1, xmm2
addss xmm1, dword [ebp - 0x70]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x80]
addss xmm0, xmm4
addss xmm1, xmm4
addss xmm0, xmm3
movss dword [ebp - 0x64], xmm1
movss dword [ebp - 0x60], xmm0
call fcn.10012a00
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
movss xmm2, dword [edi + 0xc]
and eax, 0x401
movss xmm3, dword [edi + 0x10]
movss xmm1, dword [edi + 0x18]
movss dword [edi + 0x1d8], xmm2
addss xmm1, xmm3
movss dword [edi + 0x1dc], xmm3
addss xmm2, dword [edi + 0x14]
movss dword [edi + 0x1e0], xmm2
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1d8]
movss xmm7, dword [ebp - 0xa8]
maxss xmm0, dword [edi + 0x1c8]
maxss xmm3, dword [edi + 0x1cc]
movss dword [edi + 0x1d8], xmm0
movss dword [edi + 0x1dc], xmm3
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
minss xmm1, dword [edi + 0x1d0]
minss xmm0, dword [edi + 0x1d4]
movss dword [edi + 0x1e0], xmm1
movss dword [edi + 0x1e4], xmm0
movss xmm6, dword [edi + 0x48]
addss xmm7, xmm6
movss dword [edi + 0x1e8], xmm7
cmp eax, 1
jne 0x10008b0d
movaps xmm2, xmm6
jmp 0x10008b15
movss xmm2, dword [esi + 0x1558]
test dword [edi + 8], 0x400
je 0x10008b4d
mov eax, dword [0x100388b8]
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x10008b50
xorps xmm1, xmm1
movss xmm5, dword [ebp - 0x9c]
movaps xmm3, xmm5
addss xmm3, xmm1
xorps xmm1, xmm1
addss xmm3, xmm2
movss dword [edi + 0x1ec], xmm3
movss xmm4, dword [edi + 0x14]
addss xmm4, dword [edi + 0xc]
subss xmm4, dword [edi + 0x6c]
subss xmm4, xmm6
movss dword [edi + 0x1f0], xmm4
movss xmm2, dword [edi + 0x10]
addss xmm2, dword [edi + 0x18]
subss xmm2, dword [edi + 0x70]
subss xmm2, xmm6
movss dword [edi + 0x1f4], xmm2
movss xmm0, dword [edi + 0x3c]
mulss xmm0, dword [0x1003074c]
subss xmm0, xmm6
movss xmm6, dword [0x1003074c]
addss xmm7, xmm6
addss xmm3, xmm6
addss xmm4, xmm6
addss xmm2, xmm6
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm7, xmm1
subss xmm4, xmm1
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm3
movss dword [edi + 0x1f8], xmm0
movd xmm0, eax
cvttss2si eax, xmm4
cvtdq2ps xmm0, xmm0
movss xmm4, dword [ebp - 0xa8]
movss dword [edi + 0x1fc], xmm0
movd xmm0, eax
cvttss2si eax, xmm2
cvtdq2ps xmm0, xmm0
movss xmm2, dword [ebp - 0xa0]
movss dword [edi + 0x200], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x108], eax
mov eax, dword [0x100388b8]
movss xmm1, dword [eax + 0x156c]
movss xmm0, dword [eax + 0x1570]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe4]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0xa4]
addss xmm5, xmm0
subss xmm1, xmm0
comiss xmm3, xmm4
jb 0x10008ca1
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x10008ca1
comiss xmm2, xmm3
jbe 0x10008ca1
comiss xmm5, xmm0
jbe 0x10008ca1
mov eax, 1
jmp 0x10008ca3
xor eax, eax
movups xmm0, xmmword [ebp - 0xa8]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
mov ecx, dword [0x100388b8]
push 1
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
push dword [edi + 0x204]
mov esi, dword [ecx + 0x199c]
push dword [edi + 0x200]
push dword [edi + 0x1fc]
mov ecx, dword [esi + 0x270]
push dword [edi + 0x1f8]
call fcn.1001a640
mov eax, dword [esi + 0x270]
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 [esi + 0x1c8], eax
mov eax, dword [ebp - 0x8c]
movss dword [esi + 0x1cc], xmm0
movss dword [esi + 0x1d0], xmm1
movss dword [esi + 0x1d4], xmm2
cmp eax, dword [ebp - 0x88]
je 0x10008d46
mov byte [edi + 0x78], 0
mov eax, dword [ebp - 0x24]
inc word [edi + 0x80]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1a54], 0
mov dword [eax + 0x1a50], 0
mov dword [eax + 0x1a4c], 0
mov dword [eax + 0x1a48], 0
mov dword [eax + 0x1a44], 0
mov dword [eax + 0x1a40], 0
mov dword [eax + 0x1a3c], 0
test ecx, 0x1000000
je 0x10008e01
test cl, 0x40
jne 0x10008de4
cmp dword [edi + 0x8c], 0
jg 0x10008de4
cmp dword [edi + 0x90], 0
jg 0x10008de4
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jae 0x10008dda
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jb 0x10008de4
mov dword [edi + 0xa0], 1
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x10008e01
cmp byte [ecx + 0x79], 0
jne 0x10008df7
cmp byte [ecx + 0x7d], 0
je 0x10008e01
mov dword [edi + 0xa0], 1
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x1518]
jb 0x10008e17
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x10008e2d
cmp dword [edi + 0xa4], 0
jg 0x10008e2d
xor al, al
jmp 0x10008e2f
mov al, 1
cmp byte [edi + 0x79], 0
mov byte [edi + 0x7d], al
jne 0x10008e42
cmp byte [edi + 0x76], 0
je 0x10008e42
test al, al
je 0x10008e61
cmp dword [edi + 0x8c], 0
jg 0x10008e61
cmp dword [edi + 0x90], 0
jg 0x10008e61
cmp dword [edi + 0xa4], 0
jg 0x10008e61
mov al, 1
jmp 0x10008e63
xor al, al
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7b], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.1002e06b
mov esp, ebp
pop ebp
ret