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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x100d1400]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [0x100d1ec8]
mov dword [esp + 0x78], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x1804]
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], edx
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
mov ecx, edx
mov dword [esp + 0x68], eax
mov edi, dword [eax + 0x234]
mov dword [esp + 0xc0], edi
call fcn.1001d360
call fcn.1002a820
mov ecx, esi
or ecx, 0x10
test esi, 0x100
cmovne ecx, esi
mov dword [esp + 0xac], ecx
test cl, 8
jne 0x10027f17
mov edx, dword [esp + 0x2c]
call fcn.100268e0
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x14]
test ecx, 0xc0000
jne 0x10027f43
mov eax, dword [esi + 0x2720]
mov ecx, 0x52000
test eax, 0xc0000
cmovne ecx, eax
and ecx, 0xc0000
or ecx, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
test cl, 8
jne 0x10027f5d
mov eax, dword [esi + 0x2720]
and eax, 0x200
or ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x202
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xd0], edx
movss xmm0, dword [eax + 0xdc]
movss xmm5, dword [eax + 0xd8]
mov eax, dword [0x100d1ec8]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x64], xmm5
movss xmm4, dword [eax + 0x1424]
addss xmm4, xmm4
movss dword [esp + 0x50], xmm5
addss xmm4, dword [eax + 0x1734]
mov eax, dword [eax + 0x1804]
mov dword [esp + 0x88], eax
movss xmm2, dword [eax + 0x144]
comiss xmm0, xmm2
movss dword [esp + 0x4c], xmm4
jbe 0x10028059
mov ecx, dword [eax + 0x1a0]
movss xmm3, dword [eax + 0xd8]
movss xmm1, dword [eax + 0x4c]
mov dword [esp + 0x68], ecx
subss xmm3, dword [eax + 0x14]
test ecx, ecx
je 0x10028045
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x68]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xd0]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x88]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x54]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100c2444]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x1438]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm4
movd xmm2, eax
xor eax, eax
cmp edx, 0x200
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xac], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x30]
subss xmm2, xmm1
movaps xmm1, xmm5
lea eax, [esp + 0x144]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x34], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x80], xmm1
addss xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100c23c8]
cvttss2si esi, xmm0
mov dword [esp + 0x94], esi
call fcn.1007d0d0
movss xmm5, dword [esp + 0x34]
add esp, 0xc
movaps xmm3, xmm5
mov dword [esp + 0x94], 0
mulss xmm3, dword [0x100c23f8]
movaps xmm2, xmm5
mulss xmm2, dword [0x100c23ac]
movaps xmm1, xmm3
movss dword [esp + 0xa8], xmm3
movaps xmm0, xmm3
movss xmm3, dword [esp + 0x24]
addss xmm0, xmm3
movss dword [esp + 0x7c], xmm2
subss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, dword [esp + 0x4c]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x120], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x100c2398]
mulss xmm2, dword [0x100c23f8]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x64]
movss dword [esp + 0x78], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc8], xmm2
subss xmm1, xmm0
movss dword [esp + 0x11c], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm1
mulss xmm0, dword [0x100c2744]
movaps xmm2, xmm1
mulss xmm2, dword [0x100c2750]
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x12c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100c2430]
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x104], xmm2
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x130], xmm0
mov eax, dword [esp + 0x2c]
xorps xmm6, xmm6
movss xmm1, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm1
movss xmm7, dword [eax]
movss dword [esp + 0x70], xmm7
jbe 0x10028240
movss xmm6, dword [0x100c2754]
movaps xmm0, xmm1
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm7
jbe 0x10028263
movaps xmm0, xmm7
movss dword [esp + 0x70], xmm1
movaps xmm7, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x100c2740]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm1
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x12], 0
minss xmm0, xmm4
mov byte [esp + 0x1b], 0
movaps xmm2, xmm7
mov byte [esp + 0x13], 0
subss xmm1, xmm4
movss xmm4, dword [0x100c2620]
movss dword [esp + 0xd4], xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, dword [0x100c2368]
divss xmm1, xmm0
movaps xmm0, xmm7
addss xmm1, xmm6
addss xmm0, dword [0x100c2368]
andps xmm1, xmmword [0x100c32c0]
movss dword [esp + 0x44], xmm1
divss xmm2, xmm0
movss dword [esp + 0x6c], xmm2
test eax, 0x80000
je 0x100288b1
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
mov ecx, 0x100b339c
movss dword [esp + 0x3c], xmm5
movss xmm0, dword [eax + 0x1438]
addss xmm0, xmm5
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x38], xmm0
call fcn.1001cf20
mov eax, dword [0x100d1ec8]
mov ecx, dword [eax + 0x1824]
test ecx, ecx
je 0x100287a4
mov eax, dword [eax + 0x1804]
cmp ecx, dword [eax + 0x110]
jne 0x100287a4
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x33c]
subss xmm0, dword [esp + 0xb4]
movss xmm1, dword [eax + 0x338]
subss xmm1, dword [esp + 0xc8]
movss xmm4, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
subss xmm4, dword [esp + 0xc8]
subss xmm3, dword [esp + 0xb4]
movaps xmm2, xmm0
movss dword [esp + 0xb0], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x48], xmm1
movss xmm1, dword [0x100c2444]
addss xmm2, xmm0
movss dword [esp + 0x20], xmm4
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0xdc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10028440
movss xmm0, dword [esp + 0xa8]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10028440
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call fcn.100a1c20
movss xmm2, dword [0x100c25e0]
xorps xmm0, xmm0
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100c23f8]
comiss xmm0, xmm1
movss dword [esp + 0x44], xmm1
jbe 0x10028438
addss xmm1, dword [0x100c2444]
movss dword [esp + 0x44], xmm1
mov al, 1
mov byte [esp + 0x12], al
jmp 0x10028452
mov al, byte [esp + 0x12]
movss xmm2, dword [0x100c25e0]
movss xmm1, dword [esp + 0x44]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x100c32f0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call fcn.100a26d0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x38]
call fcn.100a33e0
movss xmm4, dword [esp + 0x68]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xc4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x48]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb0]
movaps xmm7, xmm4
mulss xmm7, dword [esp + 0xb0]
subss xmm5, xmm0
movss dword [esp + 0xd8], xmm3
movaps xmm0, xmm3
movss xmm6, dword [esp + 0x90]
mulss xmm0, dword [esp + 0x48]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm7, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0xbc]
subss xmm2, xmm1
subss xmm6, dword [esp + 0xc4]
movss dword [esp + 0x68], xmm3
movss dword [esp + 0xb0], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm7
subss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xb8], xmm6
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1002879c
movss xmm6, dword [esp + 0xbc]
subss xmm7, xmm3
movss xmm2, dword [esp + 0xc4]
subss xmm6, xmm3
subss xmm2, dword [esp + 0x90]
subss xmm5, dword [esp + 0x90]
movss dword [esp + 0x8c], xmm6
mulss xmm7, xmm2
mulss xmm5, xmm6
movss dword [esp + 0x34], xmm2
subss xmm5, xmm7
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x1002879c
movss xmm1, dword [esp + 0xd8]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x20]
mulss xmm0, dword [esp + 0xdc]
mulss xmm4, dword [esp + 0xdc]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0x38], xmm5
subss xmm1, dword [esp + 0xc4]
movaps xmm0, xmm4
movss dword [esp + 0x3c], xmm4
subss xmm0, dword [esp + 0xbc]
mulss xmm1, dword [esp + 0xb0]
mulss xmm0, dword [esp + 0x68]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xc4]
seta cl
mulss xmm1, dword [esp + 0x48]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100286ab
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x90]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x100286eb
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 0x9c]
lea ecx, [esp + 0xe8]
call fcn.10011140
movss xmm6, dword [esp + 0x98]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa4]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x90]
movss xmm7, dword [esp + 0x34]
subss xmm2, xmm3
movaps xmm1, xmm6
mulss xmm1, xmm7
mulss xmm4, xmm7
movaps xmm0, xmm2
mulss xmm6, xmm5
mulss xmm0, xmm7
subss xmm6, xmm4
mulss xmm5, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x100c2444]
movaps xmm3, xmm0
subss xmm4, xmm5
divss xmm6, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x100c237c]
subss xmm3, xmm6
movss dword [esp + 0x6c], xmm1
comiss xmm1, xmm3
movaps xmm2, xmm3
subss xmm2, xmm4
jbe 0x1002876d
movaps xmm7, xmm1
movss dword [esp + 0x70], xmm1
jmp 0x1002877a
movaps xmm7, xmm0
minss xmm7, xmm3
movss dword [esp + 0x70], xmm7
divss xmm2, xmm7
comiss xmm1, xmm2
ja 0x10028790
movaps xmm1, xmm0
minss xmm1, xmm2
movss dword [esp + 0x6c], xmm1
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 1
jmp 0x100287a4
mov al, byte [esp + 0x12]
mov byte [esp + 0x1b], al
test byte [esp + 0x1c], 8
jne 0x100287b0
call fcn.10016c60
movss xmm5, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
cmp dword [esp + 0xd0], 0x200
jne 0x10028ad9
mov ecx, dword [0x100d1ec8]
lea edx, [esp + 0x100]
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x104], xmm5
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
mov ecx, str.alpha
movss dword [eax + 0xd8], xmm0
movss dword [eax + 0xdc], xmm3
movss xmm1, dword [eax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xf4]
maxss xmm0, xmm3
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x100], xmm0
call fcn.1001cf20
mov eax, dword [0x100d1ec8]
mov ecx, dword [eax + 0x1824]
test ecx, ecx
je 0x10028ad9
mov eax, dword [eax + 0x1804]
cmp ecx, dword [eax + 0x110]
mov ecx, dword [esp + 0x14]
jne 0x10028add
movss xmm3, dword [ecx + 0xd4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x100c2444]
subss xmm3, dword [esp + 0x24]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10028abb
xorps xmm4, xmm4
jmp 0x10028ac2
test eax, 0x40000
je 0x100287bc
lea edx, [esp + 0x100]
movss dword [esp + 0x100], xmm5
mov ecx, 0x100b33a0
movss dword [esp + 0x104], xmm5
call fcn.1001cf20
mov ecx, dword [0x100d1ec8]
mov edx, dword [ecx + 0x1824]
test edx, edx
je 0x10028976
mov eax, dword [ecx + 0x1804]
cmp edx, dword [eax + 0x110]
jne 0x10028976
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x28]
movss xmm1, dword [0x100c2444]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xd0]
subss xmm3, dword [esp + 0x64]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x10028939
movss dword [esp + 0x6c], xmm0
jmp 0x10028946
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x6c], xmm2
movss xmm2, dword [eax + 0xd4]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x10028964
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0x12], al
movss dword [esp + 0x70], xmm1
jmp 0x1002897a
mov al, byte [esp + 0x12]
test byte [esp + 0x1c], 8
mov byte [esp + 0x13], al
mov byte [esp + 0x33], al
jne 0x10028994
call fcn.10016c60
mov ecx, dword [0x100d1ec8]
mov eax, dword [ecx + 0x1804]
lea edx, [esp + 0x100]
movss xmm0, dword [esp + 0x74]
movss xmm2, dword [esp + 0x24]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
mov ecx, 0x100b33a4
movss dword [eax + 0xd8], xmm0
movss dword [eax + 0xdc], xmm2
movss xmm1, dword [eax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xf4]
maxss xmm0, xmm2
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x104], xmm0
call fcn.1001cf20
mov eax, dword [0x100d1ec8]
mov ecx, dword [eax + 0x1824]
test ecx, ecx
je 0x100287b0
mov eax, dword [eax + 0x1804]
mov dl, byte [esp + 0x12]
mov byte [esp + 0x13], dl
cmp ecx, dword [eax + 0x110]
jne 0x100287b0
mov eax, dword [esp + 0x14]
xorps xmm3, xmm3
movss xmm5, dword [esp + 0x28]
movss xmm1, dword [0x100c2444]
movaps xmm0, xmm5
subss xmm0, xmm1
movss xmm2, dword [eax + 0xd4]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm0
comiss xmm3, xmm2
jbe 0x10028a97
mov al, byte [esp + 0x33]
movss dword [esp + 0x44], xmm3
mov byte [esp + 0x1b], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], al
jmp 0x100287b6
mov al, byte [esp + 0x33]
movaps xmm0, xmm1
minss xmm0, xmm2
mov byte [esp + 0x1b], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], al
movss dword [esp + 0x44], xmm0
jmp 0x100287b6
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x2c]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0x12], 1
movss dword [eax + 0xc], xmm0
jmp 0x10028add
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, 0x100
jne 0x10028b01
movss xmm1, dword [ecx + 0x1438]
xorps xmm0, xmm0
call fcn.1002aab0
call fcn.1002a820
mov eax, dword [esp + 0x1c]
test al, al
js 0x10028b67
mov edx, dword [esp + 0x84]
cmp edx, 0xffffffff
jae 0x10028b67
mov cl, byte [edx]
mov byte [esp + 0x33], cl
test cl, cl
je 0x10028b2b
cmp cl, 0x23
jne 0x10028b25
cmp byte [edx + 1], cl
je 0x10028b2b
inc edx
cmp edx, 0xffffffff
jb 0x10028b11
mov dword [esp + 0x20], edx
cmp dword [esp + 0x84], edx
je 0x10028b67
test eax, 0x100
je 0x10028b57
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.1002aab0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x84]
call fcn.1001bf60
mov eax, dword [esp + 0x1c]
test eax, 0x100
jne 0x10028d05
test al, 2
mov eax, dword [esp + 0x2c]
je 0x10028b84
movss xmm1, dword [0x100c2444]
jmp 0x10028b89
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
push str.Current
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x110], xmm1
call fcn.1001be20
movss xmm1, dword [esp + 0x50]
lea edx, [esp + 0x104]
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c25d4]
add esp, 4
and eax, 0x1c40
mov ecx, str.current
mov dword [esp + 0xb8], eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x90], xmm0
push dword [esp + 0x3c]
push eax
call fcn.10025d50
add esp, 0xc
cmp dword [esp + 0x80], 0
je 0x10028d00
push str.Original
call fcn.1001be20
mov eax, dword [esp + 0x84]
add esp, 4
test byte [esp + 0x1c], 2
je 0x10028c5b
movss xmm1, dword [0x100c2444]
jmp 0x10028c60
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x12c]
movss dword [esp + 0x12c], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x130], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x134], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x13c], xmm1
push dword [esp + 0x3c]
push dword [esp + 0xc0]
call fcn.10025d50
add esp, 0xc
test al, al
je 0x10028d00
xor eax, eax
cmp dword [esp + 0xac], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.1007d0d0
add esp, 0xc
mov byte [esp + 0x12], 1
call fcn.1002a930
cmp byte [esp + 0x1b], 0
jne 0x10028d13
cmp byte [esp + 0x13], 0
je 0x10028d6f
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x70]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x10028d30
movaps xmm3, xmm1
jmp 0x10028d38
movss xmm3, dword [0x100c236c]
movss xmm1, dword [esp + 0x6c]
comiss xmm1, xmm0
movss xmm2, dword [0x100c2370]
ja 0x10028d4e
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x44]
comiss xmm0, dword [0x100c2444]
jb 0x10028d61
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.10011b50
add esp, 4
test byte [esp + 0x1c], 0x20
jne 0x10028f23
cmp dword [esp + 0xd0], 0x200
jne 0x10028d92
movss xmm0, dword [esp + 0xcc]
jmp 0x10028d98
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x4c]
mov ecx, dword [0x100d1ec8]
subss xmm0, dword [esp + 0x64]
mov eax, dword [ecx + 0x1804]
ucomiss xmm0, dword [0x100c235c]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov dword [esp + 0x20], ecx
lahf
test ah, 0x44
jp 0x10028dd6
movss xmm0, dword [ecx + 0x1e4]
movss dword [ecx + 0x144], xmm0
add ecx, 0x158
mov dword [esp + 0x8c], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10028e22
inc edx
mov dword [esp + 0x34], edx
test eax, eax
je 0x10028e0b
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10028e10
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002bc20
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x144]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x20]
inc dword [eax + 0x158]
mov eax, dword [esp + 0x1c]
mov ecx, eax
and ecx, 0x31c1a
mov dword [esp + 0x20], ecx
test eax, 0x2000
jne 0x10028e5c
test eax, 0xe000
jne 0x10028e80
mov edx, dword [esp + 0x2c]
or ecx, 0x2004
push ecx
mov ecx, str.rgb
call fcn.10026c00
mov ecx, dword [esp + 0x24]
add esp, 4
or byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
test eax, 0x4000
jne 0x10028e8e
test eax, 0xe000
jne 0x10028eae
mov edx, dword [esp + 0x2c]
or ecx, 0x4004
push ecx
mov ecx, str.hsv
call fcn.10026c00
add esp, 4
or byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
test eax, 0x8000
jne 0x10028ebc
test eax, 0xe000
jne 0x10028edb
mov eax, dword [esp + 0x20]
mov ecx, str.hex
mov edx, dword [esp + 0x2c]
or eax, 0x8004
push eax
call fcn.10026c00
add esp, 4
or byte [esp + 0x12], al
mov ecx, dword [0x100d1ec8]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x10028f0f
movss xmm0, dword [ecx + 0x1e4]
jmp 0x10028f1b
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
cmp byte [esp + 0x12], 0
je 0x10029018
mov ecx, dword [esp + 0x2c]
xorps xmm2, xmm2
xorps xmm6, xmm6
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10028f5c
movss xmm6, dword [0x100c2754]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10028f79
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100c2740]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100c2368]
movaps xmm7, xmm1
mulss xmm1, dword [0x100c2620]
divss xmm7, xmm0
addss xmm1, dword [0x100c2368]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100c32c0]
comiss xmm2, xmm3
jb 0x10029018
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x10029018
comiss xmm2, xmm4
jb 0x10028ff3
movss xmm1, dword [esp + 0x70]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10028ff3
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x6c]
mulss xmm2, dword [0x100c23f8]
jmp 0x10029009
comiss xmm2, xmm7
jb 0x10029018
movss xmm1, dword [esp + 0x6c]
movaps xmm2, xmm4
mulss xmm1, dword [0x100c23f8]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.10011b50
add esp, 4
movaps xmm0, xmmword [0x100c3250]
lea eax, [esp + 0x108]
movss xmm2, dword [0x100c2444]
lea edx, [esp + 0x104]
movaps xmmword [esp + 0x100], xmm0
lea ecx, [esp + 0x100]
movss xmm0, dword [esp + 0x44]
movaps xmm1, xmm2
push eax
call fcn.10011b50
movaps xmm3, xmmword [esp + 0x104]
xorps xmm1, xmm1
movss xmm2, dword [0x100c2444]
add esp, 4
comiss xmm1, xmm3
jbe 0x10029073
xorps xmm0, xmm0
jmp 0x1002907a
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm4, dword [0x100c26ec]
movaps xmm5, xmm3
movss xmm6, dword [0x100c23f8]
mulss xmm0, xmm4
shufps xmm5, xmm3, 0x55
comiss xmm1, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x100290a7
xorps xmm0, xmm0
jmp 0x100290ae
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
movaps xmm5, xmm3
shufps xmm5, xmm3, 0xaa
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x100290d0
xorps xmm0, xmm0
jmp 0x100290d7
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
movaps xmm5, xmm3
shufps xmm5, xmm3, 0xff
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x100290f9
xorps xmm0, xmm0
jmp 0x10029100
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], eax
movss xmm5, dword [ecx]
comiss xmm1, xmm5
movss xmm7, dword [ecx + 4]
jbe 0x1002912f
xorps xmm0, xmm0
jmp 0x10029136
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm7
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si edx, xmm0
jbe 0x1002914c
xorps xmm0, xmm0
jmp 0x10029153
movaps xmm0, xmm2
minss xmm0, xmm7
movss xmm5, dword [ecx + 8]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm5
jbe 0x10029173
xorps xmm0, xmm0
jmp 0x1002917a
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
mov dword [esp + 0xe4], 0xff0000ff
mov dword [esp + 0xe8], 0xff00ffff
mov dword [esp + 0xec], 0xff00ff00
addss xmm0, xmm6
mov dword [esp + 0xf0], 0xffffff00
mov dword [esp + 0xf4], 0xffff0000
mov dword [esp + 0xf8], 0xffff00ff
mov dword [esp + 0xfc], 0xff0000ff
mov dword [esp + 0x3c], 0
cvttss2si eax, xmm0
mov dword [esp + 0x38], 0
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 0x1c]
or edx, 0xff000000
mov dword [esp + 0x68], edx
test eax, 0x80000
je 0x10029b9c
movss xmm0, dword [esp + 0xa8]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100c24e0]
movss xmm4, dword [esp + 0x78]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm4, xmm0
movss dword [esp + 0xd8], xmm3
imul ecx
mulss xmm4, xmm6
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xb0], xmm4
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x48], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x18]
push ecx
push ecx
mov dword [esp + 0xe4], eax
mov ecx, edi
lea eax, [esp + 0x124]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x100c2620]
divss xmm0, dword [0x100c2620]
addss xmm1, xmm1
movaps xmm2, xmm4
addss xmm0, xmm0
mulss xmm1, dword [0x100c25e0]
mulss xmm0, dword [0x100c25e0]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x28], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x70], xmm0
call fcn.10035170
movss xmm0, dword [esp + 0x7c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034190
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10029314
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 + 0x54]
call fcn.1002c110
lea eax, [edi + 0x54]
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
mov dword [eax], 0
call fcn.100a26d0
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x8c], xmm0
cvtps2pd xmm0, xmm1
call fcn.100a33e0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call fcn.100a26d0
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
call fcn.100a33e0
mov eax, dword [esp + esi*4 + 0xe8]
xorps xmm4, xmm4
movss xmm3, dword [esp + 0x34]
movss xmm5, dword [esp + 0x8c]
movss xmm6, dword [esp + 0xb8]
subss xmm3, xmm5
mov ecx, dword [edi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + esi*4 + 0xe4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x18]
movss xmm2, dword [0x100c2444]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x78]
movaps xmm7, xmm2
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mulss xmm0, xmm3
mov dword [esp + 0x80], eax
addss xmm4, dword [esp + 0xb4]
mov eax, dword [esp + 0xdc]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0x80]
jae 0x10029576
movzx eax, dl
mov dword [esp + 0x64], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x20]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x74], edx
movzx edx, al
mov eax, dword [esp + 0x20]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x74]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x100294be
xorps xmm2, xmm2
jmp 0x100294c2
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x1c]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x34]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x14], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x14], eax
shl dword [esp + 0x14], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x64]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100c2444]
or dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x74]
add eax, 0x14
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x80]
jb 0x10029490
mov edi, dword [esp + 0xc0]
mov esi, dword [esp + 0x48]
movss xmm3, dword [esp + 0xd8]
inc esi
movss xmm4, dword [esp + 0xb0]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x48], esi
cmp esi, 6
jl 0x10029261
movss xmm0, dword [esp + 0x44]
addss xmm0, xmm0
mulss xmm0, dword [0x100c25e0]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm0
call fcn.100a26d0
movss xmm3, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm3
call fcn.100a33e0
cmp byte [esp + 0x1b], 0
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x78]
addss xmm1, dword [esp + 0xa8]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x14]
mulss xmm1, xmm3
mulss xmm0, dword [0x100c23f8]
mulss xmm1, dword [0x100c23f8]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x34], xmm3
addss xmm1, dword [esp + 0xb4]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm1
movss xmm1, dword [esp + 0x7c]
je 0x10029643
mulss xmm1, dword [0x100c2404]
jmp 0x1002964b
mulss xmm1, dword [0x100c23fc]
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
divss xmm0, dword [0x100c24b0]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1002966c
mov esi, 9
jmp 0x10029676
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
test dword [esp + 0x84], 0xff000000
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x48], esi
movss dword [esp + 0x12c], xmm2
je 0x10029710
movaps xmm0, xmm2
lea eax, [esp + 0x50]
subss xmm0, dword [0x100c2444]
push esi
push ecx
xorps xmm3, xmm3
mov ecx, edi
mulss xmm0, dword [0x100c2624]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.10035170
push dword [esp + 0x84]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034c50
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10029701
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 + 0x54]
call fcn.1002c110
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x12c]
mov dword [eax], 0
movaps xmm1, xmm2
lea eax, [esp + 0x50]
subss xmm1, dword [0x100c2444]
push esi
push ecx
xorps xmm3, xmm3
mov ecx, edi
mulss xmm1, dword [0x100c2624]
divss xmm1, xmm2
movss xmm2, dword [esp + 0x84]
addss xmm2, dword [0x100c2444]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x138], xmm1
subss xmm2, dword [0x100c23f8]
call fcn.10035170
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034190
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov esi, dword [esp + 0x88]
test ecx, ecx
jns 0x100297a8
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 + 0x54]
call fcn.1002c110
lea eax, [edi + 0x54]
push dword [esp + 0x48]
movss xmm2, dword [esp + 0x80]
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x130]
subss xmm2, dword [0x100c23f8]
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x58]
movss dword [esp], xmm0
push eax
call fcn.10035170
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034190
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10029820
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 + 0x54]
call fcn.1002c110
lea eax, [edi + 0x54]
movss xmm3, dword [esp + 0x14]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x34]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x90]
movaps xmm0, xmm5
mov dword [eax], 0
mov ecx, edi
movss xmm6, dword [esp + 0xc8]
movaps xmm4, xmm3
mulss xmm0, xmm1
mov eax, dword [0x100d1ec8]
movss xmm7, dword [esp + 0xb4]
mulss xmm4, dword [esp + 0xc4]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
push 6
mulss xmm1, dword [esp + 0xcc]
addss xmm2, xmm6
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x98]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xac]
mulss xmm5, dword [esp + 0xc4]
addss xmm2, xmm7
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0x10c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xc4]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x28], xmm4
addss xmm3, xmm7
movss dword [esp + 0x124], xmm4
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [eax + 0x173c]
movss dword [esp + 0x134], xmm0
movss xmm0, dword [eax + 0x1740]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x128], xmm3
movss dword [esp + 0x3c], xmm0
call fcn.10033fe0
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x30]
movss xmm2, dword [esp + 0x48]
movss xmm3, dword [esp + 0xa8]
movss xmm0, dword [esp + 0x12c]
movss xmm1, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
mov edx, dword [esp + 0x84]
movss xmm5, dword [esp + 0x50]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
add dword [edi + 0x38], 4
mov eax, dword [edi + 0x34]
movss dword [eax], xmm5
sub esp, 8
movss xmm4, dword [esp + 0x5c]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x28]
movss xmm6, dword [esp + 0x1c]
mov dword [esp + 4], 0x3fc00000
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x124]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.10035e30
movss xmm0, dword [0x100c2444]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x70]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10029b1a
xorps xmm5, xmm5
jmp 0x10029b21
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x10029b31
xorps xmm4, xmm4
jmp 0x10029b38
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x20]
movss xmm3, dword [esp + 0x50]
movss xmm2, dword [esp + 0x54]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x20]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x14]
movss dword [esp + 0x38], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x14]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0x3c], xmm2
jmp 0x1002a03b
test eax, 0x40000
je 0x1002a03b
movaps xmm0, xmmword [0x100c3250]
lea eax, [esp + 0x100]
movups xmmword [esp + 0x90], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [esp + 0x28]
push eax
lea eax, [esp + 0x94]
movaps xmmword [esp + 0x104], xmm3
push eax
lea eax, [esp + 0x124]
movss dword [esp + 0x124], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x30]
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x130], xmm0
call fcn.10035880
movss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x24], xmm0
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x12c], xmm1
movss dword [esp + 0x94], xmm0
push dword [esp + 0x94]
movss dword [esp + 0x38], xmm0
xorps xmm0, xmm0
push dword [esp + 0x94]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10016380
movss xmm2, dword [esp + 0x7c]
xorps xmm0, xmm0
movss xmm1, dword [0x100c2444]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10029c87
xorps xmm3, xmm3
jmp 0x10029c8e
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [esp + 0x28]
movss xmm2, dword [esp + 0x50]
movss xmm4, dword [0x100c23f8]
mulss xmm3, xmm5
movss xmm6, dword [0x100c25a4]
addss xmm3, xmm2
addss xmm2, xmm6
addss xmm3, xmm4
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x10029cdb
movss xmm2, dword [esp + 0x12c]
subss xmm2, xmm6
minss xmm2, xmm3
movss dword [esp + 0x38], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x70]
comiss xmm0, xmm2
jbe 0x10029cf4
xorps xmm1, xmm1
jmp 0x10029cf8
minss xmm1, xmm2
movss xmm3, dword [esp + 0x24]
mulss xmm1, xmm5
movaps xmm0, xmm3
addss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10029d2f
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
movaps xmm2, xmm5
divss xmm2, dword [0x100c2620]
xor edx, edx
mov esi, edi
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x12c], xmm2
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x11c], xmm0
nop
mov ecx, dword [esp + edx*4 + 0xe8]
lea edi, [edx + 1]
movss xmm1, dword [0x100c2384]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x50], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x54], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c3270]
mov ecx, dword [esp + edx*4 + 0xe4]
movzx eax, cl
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x90], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x94], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x98], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c3270]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, xmm3
movss dword [esp + 0x120], xmm0
movd xmm0, edx
lea eax, [esp + 0x50]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x94]
mov ecx, esi
push eax
lea eax, [esp + 0x124]
push eax
mulss xmm0, xmm2
lea eax, [esp + 0x10c]
push eax
addss xmm0, xmm3
movss dword [esp + 0x114], xmm0
call fcn.10035b30
movss xmm2, dword [esp + 0x12c]
mov edx, edi
movss xmm3, dword [esp + 0x24]
cmp edx, 6
jl 0x10029d70
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x74]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x28]
movaps xmm1, xmm3
movss dword [esp + 0x94], xmm2
addss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.10016380
mov esi, dword [esp + 0x98]
movss xmm1, dword [esp + 0x5c]
addss xmm1, dword [0x100c25a4]
mov edi, dword [esp + 0xd0]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, dword [0x100c2444]
push dword [esp + 0x64]
movss xmm2, dword [esp + 0x88]
subss xmm2, dword [0x100c2444]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [esp + 0x3c]
push dword [esp + 0x64]
movss dword [esp + 0xa8], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x100c23f8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xac], xmm0
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.10027c90
add esp, 0x20
cmp byte [esp + 0x13], 0
je 0x1002a053
movss xmm0, dword [0x100c263c]
movss dword [esp + 0xd4], xmm0
movss xmm2, dword [esp + 0xd4]
lea eax, [esp + 0x38]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10035170
push dword [esp + 0x68]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034c50
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002a0ac
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 + 0x54]
call fcn.1002c110
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd4]
xorps xmm3, xmm3
addss xmm2, dword [0x100c2444]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x40]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x100c23f8]
push eax
call fcn.10035170
push ecx
mov dword [esp], 0x3f800000
lea eax, [edi + 0x54]
push 1
push 0xff808080
push dword [eax]
mov ecx, edi
mov dword [esp + 0x13c], eax
push dword [edi + 0x5c]
call fcn.10034190
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002a12f
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 + 0x54]
call fcn.1002c110
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd4]
xorps xmm3, xmm3
subss xmm2, dword [0x100c23f8]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x40]
mov dword [esp], 0x40b84e89
push eax
call fcn.10035170
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034190
mov edi, dword [esp + 0x12c]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002a19e
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, edi
call fcn.1002c110
cmp dword [esp + 0xd0], 0x200
mov dword [edi], 0
jne 0x1002a491
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1002a1d1
movss dword [esp + 0x88], xmm2
jmp 0x1002a1e6
movss xmm0, dword [0x100c2444]
minss xmm0, xmm1
movss dword [esp + 0x88], xmm0
movss xmm3, dword [esp + 0xcc]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x120], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x28]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0x128], xmm1
subss xmm1, xmm3
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0x130], xmm0
push dword [esp + 0x130]
mulss xmm1, dword [0x100c23f8]
push dword [esp + 0x130]
movss dword [esp + 0x12c], xmm3
push dword [esp + 0x130]
mov edi, dword [esp + 0x130]
push edi
call fcn.10025ac0
mov edx, dword [esp + 0x80]
add esp, 0x18
movss xmm2, dword [0x100c2384]
mov ecx, edx
and ecx, 0xffffff
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x100], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x104], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
movzx eax, dl
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x100c3270]
movss dword [esp + 0x108], xmm1
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x10c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
mov eax, edx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x50], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x54], xmm0
shr edx, 0x18
lea eax, [esp + 0x100]
mov ecx, dword [esp + 0xc0]
push eax
lea eax, [esp + 0x54]
movss dword [esp + 0x5c], xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
push eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x128]
push eax
addsd xmm0, qword [edx*8 + 0x100c3270]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x6c], xmm0
call fcn.10035b30
push dword [esp + 0x128]
xorps xmm0, xmm0
push dword [esp + 0x128]
push dword [esp + 0x128]
push edi
call fcn.10016380
movss xmm1, dword [0x100c2444]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0xd0]
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0xdc]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x98]
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
mulss xmm1, dword [esp + 0x40]
movss dword [esp + 0xa8], xmm2
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x100c23f8]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x100c25a4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xac], xmm0
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.10027c90
add esp, 0x20
call fcn.1002a930
mov eax, dword [0x100d1ec8]
mov eax, dword [eax + 0x1804]
dec dword [eax + 0x1a4]
add eax, 0x1a4
cmp byte [esp + 0x12], 0
je 0x1002a52f
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x13c]
xor edx, edx
cmp dword [esp + 0xac], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1002a4e7
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1002a4ec
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1002a4d6
cmp edx, 0xfffffffc
je 0x1002a52f
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1002a519
cmp edx, 0xfffffffd
je 0x1002a52f
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1002a519
cmp edx, 0xfffffffe
je 0x1002a52f
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1002a519
cmp edx, 0xffffffff
je 0x1002a52f
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1002a52f
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.1007a635
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1007a635
mov esp, ebp
pop ebp
ret