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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x102a100c]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [esp + 0xc], eax
mov edx, ecx
mov dword [esp + 0x1c], esi
mov ecx, dword [0x102a1b70]
push edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc0], edx
mov eax, dword [ecx + 0x17fc]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x17fc]
mov ecx, edx
mov dword [esp + 0x58], eax
mov edi, dword [eax + 0x254]
mov dword [esp + 0x9c], edi
call fcn.1005ab70
call fcn.100496a0
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0xc], edx
test dl, 8
jne 0x10049cb6
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.1004cf70
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x54]
test edx, 0xc0000
jne 0x10049cdf
mov eax, dword [esi + 0x2880]
mov ecx, 0x52000
test eax, 0xc0000
cmovne ecx, eax
and ecx, 0xc0000
or ecx, edx
jmp 0x10049ce1
mov ecx, edx
mov dword [esp + 0x30], ecx
test cl, 8
jne 0x10049cfb
mov eax, dword [esi + 0x2880]
and eax, 0x200
or ecx, eax
mov dword [esp + 0x30], ecx
mov eax, ecx
mov edx, ecx
and eax, 0x202
and edx, 2
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa4], edx
movss xmm0, dword [eax + 0xdc]
movss xmm5, dword [eax + 0xd8]
mov eax, dword [0x102a1b70]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x24], xmm5
movss xmm3, dword [eax + 0x141c]
addss xmm3, xmm3
addss xmm3, dword [eax + 0x172c]
mov eax, dword [eax + 0x17fc]
mov dword [esp + 0xc4], eax
movss xmm2, dword [eax + 0x144]
comiss xmm0, xmm2
movss dword [esp + 0x48], xmm3
jbe 0x10049df0
mov ecx, dword [eax + 0x1a0]
movss xmm4, dword [eax + 0xd8]
movss xmm1, dword [eax + 0x4c]
mov dword [esp + 0x58], ecx
subss xmm4, dword [eax + 0x14]
test ecx, ecx
je 0x10049ddc
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 + 0x58]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xa4]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0xc4]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x54]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x102943f0]
maxss xmm2, xmm1
movss xmm4, dword [esi + 0x1430]
cvttss2si eax, xmm2
movaps xmm0, xmm4
addss xmm0, xmm3
movd xmm2, eax
xor eax, eax
cmp dword [esp + 0xb8], 0x200
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
movaps xmm0, xmm3
lea eax, [eax*4 + 0xc]
push eax
mov eax, dword [esp + 0x24]
subss xmm2, xmm1
movaps xmm1, xmm5
push eax
lea eax, [esp + 0x11c]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
movss dword [esp + 0xc0], xmm1
addss xmm0, xmm4
movss dword [esp + 0xa4], xmm0
addss xmm0, xmm3
movss dword [esp + 0xd0], xmm0
addss xmm0, xmm4
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102943a0]
cvttss2si esi, xmm0
mov dword [esp + 0x64], esi
call fcn.10022000
movss xmm6, dword [esp + 0x38]
add esp, 0xc
movss xmm5, dword [esp + 0x48]
movaps xmm3, xmm6
mulss xmm3, dword [0x102943b4]
movaps xmm1, xmm6
mov dword [esp + 0x18], 0
mulss xmm1, dword [0x10294388]
movaps xmm2, xmm3
movss dword [esp + 0x64], xmm3
movaps xmm0, xmm3
movss xmm3, dword [esp + 0x1c]
addss xmm0, xmm3
movss dword [esp + 0x74], xmm1
subss xmm2, xmm1
movaps xmm1, xmm6
addss xmm1, xmm5
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x10294380]
mulss xmm1, dword [0x102943b4]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x24]
movss dword [esp + 0x4c], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x7c], xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x14], xmm1
mulss xmm0, dword [0x10294554]
movaps xmm2, xmm1
mulss xmm2, dword [0x10294560]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0x78], xmm2
movss dword [esp + 0xec], xmm2
mov eax, dword [esp + 0x20]
xorps xmm2, xmm2
lea ecx, [eax + 4]
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm1
mov dword [esp + 0xb0], ecx
mulss xmm0, dword [0x102943dc]
movss xmm4, dword [eax]
add eax, 8
movss xmm1, dword [ecx]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xfc], xmm0
movss xmm7, dword [eax]
comiss xmm7, xmm1
mov dword [esp + 0x60], eax
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x38], xmm2
jbe 0x10049ffa
movss xmm2, dword [0x10294564]
movaps xmm0, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x38], xmm2
movaps xmm7, xmm0
comiss xmm1, xmm4
jbe 0x1004a023
movaps xmm0, xmm4
movaps xmm4, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x5c], xmm4
movss xmm0, dword [0x10294550]
subss xmm0, xmm2
movaps xmm2, xmm0
movss dword [esp + 0x38], xmm2
movaps xmm0, xmm1
mov eax, dword [esp + 0x30]
minss xmm0, xmm7
mov byte [esp + 9], 0
movaps xmm2, xmm4
mov byte [esp + 0xb], 0
subss xmm1, xmm7
mov byte [esp + 0xa], 0
movss xmm7, dword [0x1029445c]
mov ecx, eax
and ecx, 0x80000
movss dword [esp + 0xc8], xmm7
subss xmm2, xmm0
mov dword [esp + 0x3c], ecx
movaps xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, dword [0x1029434c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1029434c]
addss xmm1, dword [esp + 0x38]
divss xmm2, xmm0
andps xmm1, xmmword [0x10295ab0]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm2
je 0x1004a66e
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x40]
mov ecx, 0x100d92b4
movss dword [esp + 0x44], xmm6
movss xmm0, dword [eax + 0x1430]
addss xmm0, xmm6
addss xmm0, xmm5
movss dword [esp + 0x40], xmm0
call fcn.1005c5e0
mov eax, dword [0x102a1b70]
mov ecx, dword [eax + 0x181c]
test ecx, ecx
je 0x1004a561
mov eax, dword [eax + 0x17fc]
cmp ecx, dword [eax + 0x110]
jne 0x1004a561
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x330]
subss xmm0, dword [esp + 0x8c]
movss xmm1, dword [eax + 0x334]
subss xmm1, dword [esp + 0x90]
movss xmm4, dword [eax + 0xcc]
movss xmm2, dword [eax + 0xd0]
subss xmm4, dword [esp + 0x8c]
subss xmm2, dword [esp + 0x90]
movaps xmm3, xmm0
movss dword [esp + 0x50], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm1
movss xmm1, dword [0x102943f0]
addss xmm3, xmm0
movss dword [esp + 0xe4], xmm4
movss xmm0, dword [esp + 0x4c]
subss xmm0, xmm1
movss dword [esp + 0xdc], xmm2
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1004a204
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1004a204
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call fcn.100c1a30
movss xmm2, dword [0x1029444c]
xorps xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x102943b4]
comiss xmm0, xmm1
movss dword [esp + 0x34], xmm1
jbe 0x1004a1fc
addss xmm1, dword [0x102943f0]
movss dword [esp + 0x34], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x1004a216
mov al, byte [esp + 9]
movss xmm2, dword [0x1029444c]
movss xmm1, dword [esp + 0x34]
movaps xmm0, xmm1
mov byte [esp + 0xb], al
xorps xmm0, xmmword [0x10295ae0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.100c1f80
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xac], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.100c2c90
movss xmm3, dword [esp + 0xc]
xorps xmm2, xmm2
movss xmm5, dword [esp + 0xac]
cvtsd2ss xmm2, xmm0
movss xmm7, dword [esp + 0x94]
movaps xmm0, xmm3
mulss xmm0, xmm2
movaps xmm4, xmm5
mulss xmm4, dword [esp + 0x50]
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0x68], xmm2
movaps xmm0, xmm2
movss xmm6, dword [esp + 0x14]
mulss xmm0, dword [esp + 0x50]
subss xmm6, xmm7
movaps xmm2, xmm7
movaps xmm1, xmm4
subss xmm2, xmm7
addss xmm3, xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0xa8]
subss xmm1, xmm7
movss dword [esp + 0xd4], xmm6
movss dword [esp + 0xcc], xmm2
movss dword [esp + 0x50], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm2
xorps xmm2, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x78]
comiss xmm2, xmm1
movaps xmm1, xmm4
movss dword [esp + 0xa0], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x78]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1004a559
movss xmm7, dword [esp + 0xa8]
subss xmm3, xmm2
movss xmm0, dword [esp + 0x94]
subss xmm7, xmm2
subss xmm0, dword [esp + 0x14]
subss xmm4, dword [esp + 0x14]
movss dword [esp + 0x40], xmm7
mulss xmm3, xmm0
mulss xmm4, xmm7
movss dword [esp + 0xc], xmm0
subss xmm4, xmm3
comiss xmm2, xmm4
seta al
cmp cl, al
jne 0x1004a559
movss xmm1, dword [esp + 0x68]
movaps xmm6, xmm5
movss xmm5, dword [esp + 0xdc]
mulss xmm6, dword [esp + 0xe4]
movaps xmm0, xmm5
mulss xmm5, dword [esp + 0xac]
movss xmm3, dword [esp + 0x94]
mulss xmm0, xmm1
mulss xmm1, dword [esp + 0xe4]
subss xmm6, xmm0
addss xmm5, xmm1
movaps xmm1, xmm6
movss dword [esp + 0x68], xmm6
subss xmm1, xmm3
movaps xmm0, xmm5
movss dword [esp + 0x6c], xmm5
subss xmm0, dword [esp + 0xa8]
mulss xmm1, dword [esp + 0x50]
mulss xmm0, dword [esp + 0xcc]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x78]
comiss xmm2, xmm1
mulss xmm0, dword [esp + 0xd4]
movaps xmm1, xmm6
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0xa0]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1004a45a
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x14]
subss xmm0, xmm2
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0xc]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp cl, al
je 0x1004a49d
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf0]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0xe0]
call fcn.1006cd00
movss xmm7, dword [esp + 0x4c]
add esp, 0xc
movss xmm3, dword [esp + 0x94]
xorps xmm2, xmm2
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x14]
movaps xmm4, xmm3
subss xmm5, xmm2
movss xmm3, dword [esp + 0x78]
subss xmm4, dword [esp + 0x14]
subss xmm3, xmm2
movaps xmm1, xmm6
mulss xmm1, xmm7
movaps xmm2, xmm4
mulss xmm2, xmm7
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xc]
mulss xmm6, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xc]
mulss xmm5, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x102943f0]
movaps xmm7, xmm0
subss xmm5, xmm6
divss xmm1, xmm2
divss xmm5, xmm2
subss xmm7, xmm1
movss xmm1, dword [0x10294360]
movss dword [esp + 0x38], xmm1
comiss xmm1, xmm7
movaps xmm2, xmm7
subss xmm2, xmm5
jbe 0x1004a52a
movaps xmm4, xmm1
movss dword [esp + 0x5c], xmm1
jmp 0x1004a537
movaps xmm4, xmm0
minss xmm4, xmm7
movss dword [esp + 0x5c], xmm4
divss xmm2, xmm4
comiss xmm1, xmm2
ja 0x1004a54d
movaps xmm1, xmm0
minss xmm1, xmm2
movss dword [esp + 0x38], xmm1
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x1004a561
mov al, byte [esp + 9]
mov byte [esp + 0xb], al
test byte [esp + 0x30], 8
jne 0x1004a56d
call fcn.10064830
movss xmm3, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0x2c]
mov ecx, dword [0x102a1b70]
cmp dword [esp + 0xb8], 0x200
jne 0x1004a893
mov eax, dword [ecx + 0x17fc]
lea edx, [esp + 0xe8]
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xe8], xmm5
movss dword [esp + 0xec], xmm6
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x17fc]
mov ecx, 0x100d92c0
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
call fcn.1005c5e0
mov eax, dword [0x102a1b70]
mov ecx, dword [eax + 0x181c]
test ecx, ecx
je 0x1004a893
mov eax, dword [eax + 0x17fc]
cmp ecx, dword [eax + 0x110]
mov ecx, dword [esp + 0x54]
jne 0x1004a897
movss xmm3, dword [ecx + 0xd0]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x102943f0]
subss xmm3, dword [esp + 0x1c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004a875
xorps xmm4, xmm4
jmp 0x1004a87c
test eax, 0x40000
je 0x1004a57f
lea edx, [esp + 0xe8]
movss dword [esp + 0xe8], xmm6
mov ecx, 0x100d92b8
movss dword [esp + 0xec], xmm6
call fcn.1005c5e0
mov ecx, dword [0x102a1b70]
mov edx, dword [ecx + 0x181c]
test edx, edx
je 0x1004a73b
mov eax, dword [ecx + 0x17fc]
cmp edx, dword [eax + 0x110]
jne 0x1004a73b
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x102943f0]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xcc]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1004a6f6
movss dword [esp + 0x38], xmm0
jmp 0x1004a703
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x38], xmm2
movss xmm2, dword [eax + 0xd0]
subss xmm2, dword [esp + 0x1c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004a71f
xorps xmm3, xmm3
jmp 0x1004a726
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 9], al
movss dword [esp + 0x5c], xmm0
jmp 0x1004a73f
mov al, byte [esp + 9]
test byte [esp + 0x30], 8
mov byte [esp + 0xa], al
mov byte [esp + 0x73], al
jne 0x1004a759
call fcn.10064830
mov ecx, dword [0x102a1b70]
mov eax, dword [ecx + 0x17fc]
lea edx, [esp + 0xe8]
movss xmm2, dword [esp + 0x98]
movss xmm0, dword [esp + 0x1c]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x17fc]
mov ecx, 0x100d92bc
movss dword [eax + 0xdc], xmm0
movss dword [eax + 0xd8], xmm2
movss xmm0, dword [eax + 0xf4]
maxss xmm0, dword [eax + 0xdc]
movss xmm1, dword [eax + 0xf0]
maxss xmm1, xmm2
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xf0], xmm1
movss dword [esp + 0xec], xmm0
call fcn.1005c5e0
mov ecx, dword [0x102a1b70]
movss xmm3, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x2c]
mov edx, dword [ecx + 0x181c]
test edx, edx
je 0x1004a86a
mov al, byte [esp + 9]
mov byte [esp + 0xa], al
mov eax, dword [ecx + 0x17fc]
cmp edx, dword [eax + 0x110]
jne 0x1004a86a
mov eax, dword [esp + 0x54]
movaps xmm0, xmm6
movss xmm1, dword [0x102943f0]
xorps xmm2, xmm2
subss xmm0, xmm1
movss xmm4, dword [eax + 0xd0]
subss xmm4, xmm3
divss xmm4, xmm0
comiss xmm2, xmm4
jbe 0x1004a84b
movss dword [esp + 0x34], xmm2
jmp 0x1004a858
movaps xmm0, xmm1
minss xmm0, xmm4
movss dword [esp + 0x34], xmm0
mov al, byte [esp + 0x73]
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
mov byte [esp + 0xa], al
movss xmm5, dword [esp + 0x48]
jmp 0x1004a585
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 9], 1
movss dword [eax + 0xc], xmm0
jmp 0x1004a897
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x50], edx
jne 0x1004a8c6
movss xmm1, dword [ecx + 0x1430]
xorps xmm0, xmm0
call fcn.10049450
call fcn.100496a0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov ecx, eax
and ecx, 0x80
mov dword [esp + 0xc], ecx
jne 0x1004a937
mov eax, dword [esp + 0xc0]
cmp eax, 0xffffffff
jae 0x1004a937
mov cl, byte [eax]
test cl, cl
je 0x1004a8f6
cmp cl, 0x23
jne 0x1004a8f0
cmp byte [eax + 1], cl
je 0x1004a8f6
inc eax
cmp eax, 0xffffffff
jb 0x1004a8e0
mov dword [esp + 0xac], eax
cmp dword [esp + 0xc0], eax
je 0x1004a933
test edx, edx
je 0x1004a925
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1430]
call fcn.10049450
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xc0]
mov edx, eax
call fcn.1005d140
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x50], 0
jne 0x1004aae5
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 0x20]
je 0x1004a95a
movss xmm1, dword [0x102943f0]
jmp 0x1004a95f
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0xf4], xmm1
test ecx, ecx
je 0x1004a9a2
push str.Current
call fcn.1005da60
add esp, 4
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x10294448]
and eax, 0x1c40
mov ecx, str.current
mov dword [esp + 0xa0], eax
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x40], xmm1
movaps xmm1, xmm0
addss xmm1, xmm0
movss dword [esp + 0xd0], xmm1
push dword [esp + 0xd0]
movss dword [esp + 0xd8], xmm1
push dword [esp + 0xd0]
push eax
call fcn.1004d5d0
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x1004aae0
push str.Original
call fcn.1005da60
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0xa4], 0
je 0x1004aa3e
movss xmm1, dword [0x102943f0]
jmp 0x1004aa43
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf8]
movss dword [esp + 0xf8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x108], xmm1
push dword [esp + 0x44]
push dword [esp + 0xa8]
call fcn.1004d5d0
add esp, 0xc
test al, al
je 0x1004aae0
xor eax, eax
cmp dword [esp + 0xa4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.10022000
add esp, 0xc
mov byte [esp + 9], 1
call fcn.10049500
cmp byte [esp + 0xb], 0
jne 0x1004aaf3
cmp byte [esp + 0xa], 0
je 0x1004ab51
movss xmm1, dword [esp + 0x5c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004ab06
movaps xmm3, xmm1
jmp 0x1004ab0e
movss xmm3, dword [0x10294350]
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm0
movss xmm2, dword [0x10294354]
ja 0x1004ab24
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [0x102943f0]
jb 0x1004ab37
subss xmm0, xmm2
push dword [esp + 0x60]
mov edx, dword [esp + 0xb4]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x24]
call fcn.1006bb50
add esp, 4
test byte [esp + 0x30], 0x20
jne 0x1004acb6
cmp dword [esp + 0xb8], 0x200
jne 0x1004ab74
movss xmm0, dword [esp + 0xbc]
jmp 0x1004ab7d
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x24]
call fcn.1005f3c0
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0x31c1a
mov dword [esp + 0x50], edx
test eax, 0x2000
jne 0x1004abb9
mov ecx, eax
and ecx, 0xe000
mov dword [esp + 0x10], ecx
jne 0x1004abea
mov dword [esp + 0x10], ecx
jmp 0x1004abc2
and eax, 0xe000
mov dword [esp + 0x10], eax
or edx, 0x2004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x24]
call fcn.1004c190
mov ecx, dword [esp + 0x14]
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
test eax, 0x4000
jne 0x1004abf5
test ecx, ecx
jne 0x1004ac21
or edx, 0x4004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x24]
call fcn.1004c190
mov dl, byte [esp + 0xd]
add esp, 4
mov ecx, dword [esp + 0x10]
or dl, al
mov eax, dword [esp + 0x30]
mov byte [esp + 9], dl
jmp 0x1004ac25
mov dl, byte [esp + 9]
test eax, 0x8000
jne 0x1004ac30
test ecx, ecx
jne 0x1004ac55
mov eax, dword [esp + 0x50]
mov ecx, str.hex
mov edx, dword [esp + 0x20]
or eax, 0x8004
push eax
call fcn.1004c190
mov dl, byte [esp + 0xd]
add esp, 4
or dl, al
mov byte [esp + 9], dl
mov ecx, dword [0x102a1b70]
mov eax, dword [ecx + 0x17fc]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x17fc]
mov eax, dword [ecx + 0x158]
add eax, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [ecx + 0x158], eax
jne 0x1004ac95
movss xmm0, dword [ecx + 0x1e4]
movss dword [ecx + 0x144], xmm0
jmp 0x1004acba
mov eax, dword [ecx + 0x160]
mov edi, dword [esp + 0x40]
movss xmm0, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x9c]
movss dword [ecx + 0x144], xmm0
jmp 0x1004acba
mov dl, byte [esp + 9]
test dl, dl
je 0x1004adaf
mov ecx, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm3, dword [ecx + 4]
lea edx, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea eax, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x1004acf6
movss xmm6, dword [0x10294564]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004ad13
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10294550]
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 [0x1029434c]
movaps xmm7, xmm1
mulss xmm1, dword [0x1029445c]
divss xmm7, xmm0
addss xmm1, dword [0x1029434c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x10295ab0]
comiss xmm2, xmm3
jb 0x1004adaf
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
jbe 0x1004adaf
comiss xmm2, xmm4
jb 0x1004ad90
movss xmm1, dword [esp + 0x5c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x1004ad90
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm2, dword [0x102943b4]
jmp 0x1004ada6
comiss xmm2, xmm7
jb 0x1004adaf
movss xmm1, dword [esp + 0x38]
movaps xmm2, xmm4
mulss xmm1, dword [0x102943b4]
push eax
call fcn.1006bb50
add esp, 4
movaps xmm0, xmmword [0x10295a00]
lea eax, [esp + 0xf0]
movss xmm2, dword [0x102943f0]
lea edx, [esp + 0xec]
movups xmmword [esp + 0xe8], xmm0
lea ecx, [esp + 0xe8]
movss xmm0, dword [esp + 0x34]
movaps xmm1, xmm2
push eax
call fcn.1006bb50
movups xmm0, xmmword [esp + 0xec]
add esp, 4
movss xmm2, dword [0x102943f0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004ae0a
xorps xmm3, xmm3
jmp 0x1004ae11
movaps xmm3, xmm2
minss xmm3, xmm0
movss xmm4, dword [0x1029450c]
movss xmm0, dword [0x102943b4]
movss xmm5, dword [esp + 0xec]
comiss xmm1, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004ae40
xorps xmm3, xmm3
jmp 0x1004ae47
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0xf0]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1004ae6b
xorps xmm3, xmm3
jmp 0x1004ae72
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0xf4]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1004ae96
xorps xmm3, xmm3
jmp 0x1004ae9d
movaps xmm3, xmm2
minss xmm3, xmm5
mov eax, dword [esp + 0x20]
mulss xmm3, xmm4
movss xmm5, dword [eax]
mov eax, dword [esp + 0xb0]
addss xmm3, xmm0
movss xmm6, dword [eax]
mov eax, dword [esp + 0x60]
cvttss2si edx, xmm3
movss xmm7, dword [eax]
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm5
mov dword [esp + 0x10], edx
jbe 0x1004aed7
xorps xmm3, xmm3
jmp 0x1004aede
movaps xmm3, xmm2
minss xmm3, xmm5
comiss xmm1, xmm6
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004aef4
xorps xmm3, xmm3
jmp 0x1004aefb
movaps xmm3, xmm2
minss xmm3, xmm6
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x1004af16
xorps xmm3, xmm3
jmp 0x1004af1d
movaps xmm3, xmm2
minss xmm3, xmm7
mulss xmm3, xmm4
mov dword [esp + 0xf8], 0xff0000ff
mov dword [esp + 0xfc], 0xff00ffff
mov dword [esp + 0x100], 0xff00ff00
addss xmm3, xmm0
mov dword [esp + 0x104], 0xffffff00
mov dword [esp + 0x108], 0xffff0000
mov dword [esp + 0x10c], 0xffff00ff
mov dword [esp + 0x110], 0xff0000ff
mov dword [esp + 0x6c], 0
cvttss2si eax, xmm3
mov dword [esp + 0x68], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x50], ecx
je 0x1004b7b0
movss xmm4, dword [esp + 0x64]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1029440c]
movss xmm1, dword [esp + 0x4c]
divss xmm3, xmm4
cvttss2si ecx, xmm4
addss xmm1, xmm4
movss dword [esp + 0xd4], xmm3
imul ecx
movss dword [esp + 0xcc], xmm1
movaps xmm4, xmm1
mov ecx, 4
mulss xmm4, xmm0
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movss dword [esp + 0xa0], xmm4
cmp eax, ecx
cmovle eax, ecx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x7c]
push dword [esp + 0x3c]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x1029445c]
push ecx
mov ecx, edi
movaps xmm2, xmm4
divss xmm0, dword [0x1029445c]
addss xmm1, xmm1
addss xmm0, xmm0
mulss xmm1, dword [0x1029444c]
mulss xmm0, dword [0x1029444c]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x6c], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x6c], xmm0
call fcn.10087bc0
movss xmm0, dword [esp + 0x74]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088120
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x1004b0b0
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.10005d20
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.100c1f80
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xdc], xmm0
cvtps2pd xmm0, xmm1
call fcn.100c2c90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
call fcn.100c1f80
movss xmm1, dword [esp + 0x60]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x24], xmm0
cvtps2pd xmm0, xmm1
call fcn.100c2c90
mov eax, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mov ecx, dword [edi + 0x20]
mulss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0xe8]
push dword [esp + 0xe8]
push dword [esp + eax*4 + 0x10c]
push dword [esp + eax*4 + 0x10c]
mov eax, dword [edi + 0x18]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
call fcn.1008a470
mov ecx, dword [esp + 0x24]
add esp, 0x18
movss xmm2, dword [0x102943f0]
inc ecx
movss xmm3, dword [esp + 0xd4]
movss xmm4, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
cmp ecx, 6
jl 0x1004b006
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm0
mulss xmm0, dword [0x1029444c]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm0
call fcn.100c1f80
movss xmm3, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm3
call fcn.100c2c90
cmp byte [esp + 0xb], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0xcc]
movss xmm1, dword [0x102943b4]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x4c]
mulss xmm2, xmm3
mulss xmm0, xmm1
mulss xmm2, xmm1
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x40], xmm3
addss xmm2, dword [esp + 0x90]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm2
movss xmm2, dword [esp + 0x74]
je 0x1004b26b
mulss xmm2, dword [0x102943c0]
jmp 0x1004b273
mulss xmm2, dword [0x102943b8]
movaps xmm0, xmm2
movss dword [esp + 0x74], xmm2
divss xmm0, dword [0x10294408]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1004b294
mov eax, 9
jmp 0x1004b29e
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x10], 0xff000000
movss xmm4, dword [0x10294460]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [esp + 0xc], eax
movss dword [esp + 0x3c], xmm3
je 0x1004b345
movaps xmm0, xmm3
subss xmm0, dword [0x102943f0]
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, edi
mulss xmm0, xmm4
divss xmm0, xmm3
xorps xmm3, xmm3
movss dword [esp], xmm0
push eax
call fcn.10087bc0
push dword [esp + 0x10]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10087d30
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004b325
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.10005d20
lea eax, [edi + 0x54]
movss xmm1, dword [0x102943b4]
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [0x10294460]
mov dword [eax], 0
mov eax, dword [esp + 0xc]
movaps xmm2, xmm3
subss xmm2, dword [0x102943f0]
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, edi
mulss xmm2, xmm4
divss xmm2, xmm3
xorps xmm3, xmm3
movss dword [esp], xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0x7c]
addss xmm2, dword [0x102943f0]
push eax
subss xmm2, xmm1
call fcn.10087bc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088120
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004b3c8
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.10005d20
lea eax, [edi + 0x54]
push dword [esp + 0xc]
movss xmm2, dword [esp + 0x78]
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x40]
subss xmm2, dword [0x102943b4]
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x2c]
movss dword [esp], xmm0
push eax
call fcn.10087bc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088120
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004b43a
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.10005d20
lea eax, [edi + 0x54]
movss xmm3, dword [esp + 0x4c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x40]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x14]
movaps xmm0, xmm5
mov dword [eax], 0
mov ecx, edi
movss xmm6, dword [esp + 0x8c]
movaps xmm4, xmm3
mulss xmm0, xmm1
mov eax, dword [0x102a1b70]
movss xmm7, dword [esp + 0x90]
mulss xmm4, dword [esp + 0x94]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
push 6
mulss xmm1, dword [esp + 0x9c]
addss xmm2, xmm6
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0xf0], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x1c]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x80]
mulss xmm5, dword [esp + 0xb0]
addss xmm2, xmm7
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xf4], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x80]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x68], xmm4
addss xmm3, xmm7
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 0x1734]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x1738]
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x48], xmm0
call fcn.10087250
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x64]
movss xmm3, dword [esp + 0xb0]
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x10]
movss xmm5, dword [esp + 0x14]
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 word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x18]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x60]
movss xmm6, dword [esp + 0x4c]
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 word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
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 word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
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 word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
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 word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
push 0xff808080
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x84]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.10089030
movss xmm0, dword [0x102943f0]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x5c]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004b72e
xorps xmm4, xmm4
jmp 0x1004b735
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x38]
comiss xmm1, xmm2
jbe 0x1004b745
xorps xmm3, xmm3
jmp 0x1004b74c
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x64]
subss xmm0, dword [esp + 0x60]
movss xmm2, dword [esp + 0xb0]
subss xmm2, dword [esp + 0x4c]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x60]
movss xmm3, dword [esp + 0x14]
addss xmm2, dword [esp + 0x4c]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, xmm2
movss dword [esp + 0x68], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x6c], xmm0
jmp 0x1004baed
test dword [esp + 0x30], 0x40000
je 0x1004baed
movss xmm0, dword [esp + 0xb4]
lea eax, [esp + 0x7c]
push 0xffffffffffffffff
push edx
movss dword [esp + 0x84], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x34]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x38]
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x98], xmm0
call fcn.10089170
movss xmm0, dword [esp + 0xb4]
lea eax, [esp + 0x7c]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0x90], xmm0
lea eax, [esp + 0x38]
movss xmm0, dword [esp + 0x24]
mov ecx, edi
push eax
movss dword [esp + 0x98], xmm0
call fcn.10089170
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x18], xmm0
xorps xmm0, xmm0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.10066140
movss xmm3, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [0x102943f0]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1004b893
xorps xmm2, xmm2
jmp 0x1004b89a
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x24]
movss xmm3, dword [0x102943b4]
mulss xmm2, xmm4
movss xmm5, dword [0x1029443c]
movss xmm7, dword [esp + 0xb4]
addss xmm2, xmm6
addss xmm6, xmm5
subss xmm7, xmm5
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm6, xmm2
jbe 0x1004b8eb
movss dword [esp + 0x68], xmm6
jmp 0x1004b8fe
comiss xmm2, xmm7
jbe 0x1004b8f8
movss dword [esp + 0x68], xmm7
jmp 0x1004b8fe
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x5c]
comiss xmm0, xmm2
jbe 0x1004b911
xorps xmm1, xmm1
jmp 0x1004b915
minss xmm1, xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm5
addss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm5
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1004b950
movss dword [esp + 0x6c], xmm1
jmp 0x1004b963
comiss xmm3, xmm0
jbe 0x1004b95d
movss dword [esp + 0x6c], xmm0
jmp 0x1004b963
movss dword [esp + 0x6c], xmm3
movss xmm0, dword [esp + 0xc4]
movaps xmm1, xmm4
divss xmm1, dword [0x1029445c]
mov esi, dword [esp + 0x9c]
xor ecx, ecx
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0xe8], xmm0
nop
mov eax, dword [esp + ecx*4 + 0xfc]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x84]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x88], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x100]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xfc]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x104], xmm0
call fcn.10089170
movss xmm1, dword [esp + 0x3c]
mov ecx, edi
movss xmm2, dword [esp + 0x1c]
cmp ecx, 6
jl 0x1004b9a0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x98]
push dword [esp + 0x18]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm2
push dword [esp + 0x18]
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.10066140
mov esi, dword [esp + 0x68]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [0x1029443c]
mov edi, dword [esp + 0xac]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm2
addss xmm0, dword [0x102943f0]
push dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [0x102943f0]
push dword [esp + 0x28]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x102943b4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1004beb0
add esp, 0x20
cmp byte [esp + 0xa], 0
je 0x1004bb05
movss xmm0, dword [0x10294474]
movss dword [esp + 0xc8], xmm0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x68]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10087bc0
push dword [esp + 0x50]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10087d30
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004bb5e
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.10005d20
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
xorps xmm3, xmm3
addss xmm2, dword [0x102943f0]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x70]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x102943b4]
push eax
call fcn.10087bc0
push ecx
mov dword [esp], 0x3f800000
lea eax, [edi + 0x54]
push 1
push 0xff808080
push dword [eax]
mov ecx, edi
mov dword [esp + 0x4c], eax
push dword [edi + 0x5c]
call fcn.10088120
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004bbde
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.10005d20
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
xorps xmm3, xmm3
subss xmm2, dword [0x102943b4]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x70]
mov dword [esp], 0x40b84e89
push eax
call fcn.10087bc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088120
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1004bc4a
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.10005d20
cmp dword [esp + 0xb8], 0x200
mov dword [edi], 0
jne 0x1004bdf2
mov eax, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1004bc7a
movss dword [esp + 0x58], xmm2
jmp 0x1004bc8c
movss xmm0, dword [0x102943f0]
minss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movss xmm3, dword [esp + 0xbc]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0x80], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
push dword [esp + 0x18]
movss dword [esp + 0x88], xmm1
subss xmm1, xmm3
mov dword [esp + 0x18], 0
push dword [esp + 0x18]
movss dword [esp + 0x90], xmm0
push dword [esp + 0x90]
mulss xmm1, dword [0x102943b4]
push dword [esp + 0x90]
movss dword [esp + 0x8c], xmm3
push dword [esp + 0x90]
mov edi, dword [esp + 0x90]
push edi
call fcn.1004db10
mov ecx, dword [esp + 0x68]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.10089170
push dword [esp + 0x88]
xorps xmm0, xmm0
push dword [esp + 0x88]
push dword [esp + 0x88]
push edi
call fcn.10066140
movss xmm1, dword [0x102943f0]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0xac]
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm2
addss xmm0, xmm1
push dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xd0]
subss xmm0, xmm1
subss xmm1, dword [esp + 0x6c]
push dword [esp + 0x28]
movss dword [esp + 0x3c], xmm0
mulss xmm1, dword [esp + 0x44]
addss xmm1, dword [esp + 0x34]
addss xmm1, dword [0x102943b4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [0x1029443c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1004beb0
add esp, 0x20
call fcn.10049500
mov eax, dword [0x102a1b70]
mov eax, dword [eax + 0x17fc]
dec dword [eax + 0x1a4]
add eax, 0x1a4
cmp byte [esp + 9], 0
je 0x1004be99
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x114]
xor edx, edx
cmp dword [esp + 0xa4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1004be51
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1004be56
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1004be40
cmp edx, 0xfffffffc
je 0x1004be99
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1004be83
cmp edx, 0xfffffffd
je 0x1004be99
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1004be83
cmp edx, 0xfffffffe
je 0x1004be99
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1004be83
cmp edx, 0xffffffff
je 0x1004be99
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1004be99
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1001e823
mov esp, ebp
pop ebp
ret