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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x102a000c]
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 [0x102a0b70]
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.1005aae0
call fcn.10049610
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 0x10049c26
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.1004cee0
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x54]
test edx, 0xc0000
jne 0x10049c4f
mov eax, dword [esi + 0x2880]
mov ecx, 0x52000
test eax, 0xc0000
cmovne ecx, eax
and ecx, 0xc0000
or ecx, edx
jmp 0x10049c51
mov ecx, edx
mov dword [esp + 0x30], ecx
test cl, 8
jne 0x10049c6b
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 [0x102a0b70]
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 0x10049d60
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 0x10049d4c
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 [0x102931d8]
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 [0x10293188]
cvttss2si esi, xmm0
mov dword [esp + 0x64], esi
call fcn.10022040
movss xmm6, dword [esp + 0x38]
add esp, 0xc
movss xmm5, dword [esp + 0x48]
movaps xmm3, xmm6
mulss xmm3, dword [0x1029319c]
movaps xmm1, xmm6
mov dword [esp + 0x18], 0
mulss xmm1, dword [0x10293170]
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 [0x10293168]
mulss xmm1, dword [0x1029319c]
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 [0x10293334]
movaps xmm2, xmm1
mulss xmm2, dword [0x10293340]
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 [0x102931c4]
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 0x10049f6a
movss xmm2, dword [0x10293344]
movaps xmm0, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x38], xmm2
movaps xmm7, xmm0
comiss xmm1, xmm4
jbe 0x10049f93
movaps xmm0, xmm4
movaps xmm4, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x5c], xmm4
movss xmm0, dword [0x10293330]
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 [0x1029323c]
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 [0x10293134]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10293134]
addss xmm1, dword [esp + 0x38]
divss xmm2, xmm0
andps xmm1, xmmword [0x10294890]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm2
je 0x1004a5de
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x40]
mov ecx, 0x100d8294
movss dword [esp + 0x44], xmm6
movss xmm0, dword [eax + 0x1430]
addss xmm0, xmm6
addss xmm0, xmm5
movss dword [esp + 0x40], xmm0
call fcn.1005c550
mov eax, dword [0x102a0b70]
mov ecx, dword [eax + 0x181c]
test ecx, ecx
je 0x1004a4d1
mov eax, dword [eax + 0x17fc]
cmp ecx, dword [eax + 0x110]
jne 0x1004a4d1
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 [0x102931d8]
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 0x1004a174
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1004a174
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.100c0f10
movss xmm2, dword [0x1029322c]
xorps xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1029319c]
comiss xmm0, xmm1
movss dword [esp + 0x34], xmm1
jbe 0x1004a16c
addss xmm1, dword [0x102931d8]
movss dword [esp + 0x34], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x1004a186
mov al, byte [esp + 9]
movss xmm2, dword [0x1029322c]
movss xmm1, dword [esp + 0x34]
movaps xmm0, xmm1
mov byte [esp + 0xb], al
xorps xmm0, xmmword [0x102948c0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.100c1460
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xac], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.100c2170
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 0x1004a4c9
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 0x1004a4c9
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 0x1004a3ca
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 0x1004a40d
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.1006cc70
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 [0x102931d8]
movaps xmm7, xmm0
subss xmm5, xmm6
divss xmm1, xmm2
divss xmm5, xmm2
subss xmm7, xmm1
movss xmm1, dword [0x10293148]
movss dword [esp + 0x38], xmm1
comiss xmm1, xmm7
movaps xmm2, xmm7
subss xmm2, xmm5
jbe 0x1004a49a
movaps xmm4, xmm1
movss dword [esp + 0x5c], xmm1
jmp 0x1004a4a7
movaps xmm4, xmm0
minss xmm4, xmm7
movss dword [esp + 0x5c], xmm4
divss xmm2, xmm4
comiss xmm1, xmm2
ja 0x1004a4bd
movaps xmm1, xmm0
minss xmm1, xmm2
movss dword [esp + 0x38], xmm1
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x1004a4d1
mov al, byte [esp + 9]
mov byte [esp + 0xb], al
test byte [esp + 0x30], 8
jne 0x1004a4dd
call fcn.100647a0
movss xmm3, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0x2c]
mov ecx, dword [0x102a0b70]
cmp dword [esp + 0xb8], 0x200
jne 0x1004a803
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, 0x100d82a0
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.1005c550
mov eax, dword [0x102a0b70]
mov ecx, dword [eax + 0x181c]
test ecx, ecx
je 0x1004a803
mov eax, dword [eax + 0x17fc]
cmp ecx, dword [eax + 0x110]
mov ecx, dword [esp + 0x54]
jne 0x1004a807
movss xmm3, dword [ecx + 0xd0]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x102931d8]
subss xmm3, dword [esp + 0x1c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004a7e5
xorps xmm4, xmm4
jmp 0x1004a7ec
test eax, 0x40000
je 0x1004a4ef
lea edx, [esp + 0xe8]
movss dword [esp + 0xe8], xmm6
mov ecx, 0x100d8298
movss dword [esp + 0xec], xmm6
call fcn.1005c550
mov ecx, dword [0x102a0b70]
mov edx, dword [ecx + 0x181c]
test edx, edx
je 0x1004a6ab
mov eax, dword [ecx + 0x17fc]
cmp edx, dword [eax + 0x110]
jne 0x1004a6ab
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x102931d8]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xcc]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1004a666
movss dword [esp + 0x38], xmm0
jmp 0x1004a673
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 0x1004a68f
xorps xmm3, xmm3
jmp 0x1004a696
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 0x1004a6af
mov al, byte [esp + 9]
test byte [esp + 0x30], 8
mov byte [esp + 0xa], al
mov byte [esp + 0x73], al
jne 0x1004a6c9
call fcn.100647a0
mov ecx, dword [0x102a0b70]
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, 0x100d829c
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.1005c550
mov ecx, dword [0x102a0b70]
movss xmm3, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x2c]
mov edx, dword [ecx + 0x181c]
test edx, edx
je 0x1004a7da
mov al, byte [esp + 9]
mov byte [esp + 0xa], al
mov eax, dword [ecx + 0x17fc]
cmp edx, dword [eax + 0x110]
jne 0x1004a7da
mov eax, dword [esp + 0x54]
movaps xmm0, xmm6
movss xmm1, dword [0x102931d8]
xorps xmm2, xmm2
subss xmm0, xmm1
movss xmm4, dword [eax + 0xd0]
subss xmm4, xmm3
divss xmm4, xmm0
comiss xmm2, xmm4
jbe 0x1004a7bb
movss dword [esp + 0x34], xmm2
jmp 0x1004a7c8
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 0x1004a4f5
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 0x1004a807
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x50], edx
jne 0x1004a836
movss xmm1, dword [ecx + 0x1430]
xorps xmm0, xmm0
call fcn.100493c0
call fcn.10049610
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov ecx, eax
and ecx, 0x80
mov dword [esp + 0xc], ecx
jne 0x1004a8a7
mov eax, dword [esp + 0xc0]
cmp eax, 0xffffffff
jae 0x1004a8a7
mov cl, byte [eax]
test cl, cl
je 0x1004a866
cmp cl, 0x23
jne 0x1004a860
cmp byte [eax + 1], cl
je 0x1004a866
inc eax
cmp eax, 0xffffffff
jb 0x1004a850
mov dword [esp + 0xac], eax
cmp dword [esp + 0xc0], eax
je 0x1004a8a3
test edx, edx
je 0x1004a895
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1430]
call fcn.100493c0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xc0]
mov edx, eax
call fcn.1005d0b0
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x50], 0
jne 0x1004aa55
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 0x20]
je 0x1004a8ca
movss xmm1, dword [0x102931d8]
jmp 0x1004a8cf
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 0x1004a912
push str.Current
call fcn.1005d9d0
add esp, 4
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x10293228]
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.1004d540
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x1004aa50
push str.Original
call fcn.1005d9d0
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0xa4], 0
je 0x1004a9ae
movss xmm1, dword [0x102931d8]
jmp 0x1004a9b3
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.1004d540
add esp, 0xc
test al, al
je 0x1004aa50
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.10022040
add esp, 0xc
mov byte [esp + 9], 1
call fcn.10049470
cmp byte [esp + 0xb], 0
jne 0x1004aa63
cmp byte [esp + 0xa], 0
je 0x1004aac1
movss xmm1, dword [esp + 0x5c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004aa76
movaps xmm3, xmm1
jmp 0x1004aa7e
movss xmm3, dword [0x10293138]
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm0
movss xmm2, dword [0x1029313c]
ja 0x1004aa94
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [0x102931d8]
jb 0x1004aaa7
subss xmm0, xmm2
push dword [esp + 0x60]
mov edx, dword [esp + 0xb4]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x24]
call fcn.1006bac0
add esp, 4
test byte [esp + 0x30], 0x20
jne 0x1004ac26
cmp dword [esp + 0xb8], 0x200
jne 0x1004aae4
movss xmm0, dword [esp + 0xbc]
jmp 0x1004aaed
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x24]
call fcn.1005f330
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0x31c1a
mov dword [esp + 0x50], edx
test eax, 0x2000
jne 0x1004ab29
mov ecx, eax
and ecx, 0xe000
mov dword [esp + 0x10], ecx
jne 0x1004ab5a
mov dword [esp + 0x10], ecx
jmp 0x1004ab32
and eax, 0xe000
mov dword [esp + 0x10], eax
or edx, 0x2004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x24]
call fcn.1004c100
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 0x1004ab65
test ecx, ecx
jne 0x1004ab91
or edx, 0x4004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x24]
call fcn.1004c100
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 0x1004ab95
mov dl, byte [esp + 9]
test eax, 0x8000
jne 0x1004aba0
test ecx, ecx
jne 0x1004abc5
mov eax, dword [esp + 0x50]
mov ecx, str.hex
mov edx, dword [esp + 0x20]
or eax, 0x8004
push eax
call fcn.1004c100
mov dl, byte [esp + 0xd]
add esp, 4
or dl, al
mov byte [esp + 9], dl
mov ecx, dword [0x102a0b70]
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 0x1004ac05
movss xmm0, dword [ecx + 0x1e4]
movss dword [ecx + 0x144], xmm0
jmp 0x1004ac2a
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 0x1004ac2a
mov dl, byte [esp + 9]
test dl, dl
je 0x1004ad1f
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 0x1004ac66
movss xmm6, dword [0x10293344]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004ac83
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10293330]
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 [0x10293134]
movaps xmm7, xmm1
mulss xmm1, dword [0x1029323c]
divss xmm7, xmm0
addss xmm1, dword [0x10293134]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x10294890]
comiss xmm2, xmm3
jb 0x1004ad1f
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
jbe 0x1004ad1f
comiss xmm2, xmm4
jb 0x1004ad00
movss xmm1, dword [esp + 0x5c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x1004ad00
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm2, dword [0x1029319c]
jmp 0x1004ad16
comiss xmm2, xmm7
jb 0x1004ad1f
movss xmm1, dword [esp + 0x38]
movaps xmm2, xmm4
mulss xmm1, dword [0x1029319c]
push eax
call fcn.1006bac0
add esp, 4
movaps xmm0, xmmword [0x102947e0]
lea eax, [esp + 0xf0]
movss xmm2, dword [0x102931d8]
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.1006bac0
movups xmm0, xmmword [esp + 0xec]
add esp, 4
movss xmm2, dword [0x102931d8]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004ad7a
xorps xmm3, xmm3
jmp 0x1004ad81
movaps xmm3, xmm2
minss xmm3, xmm0
movss xmm4, dword [0x102932ec]
movss xmm0, dword [0x1029319c]
movss xmm5, dword [esp + 0xec]
comiss xmm1, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004adb0
xorps xmm3, xmm3
jmp 0x1004adb7
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 0x1004addb
xorps xmm3, xmm3
jmp 0x1004ade2
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 0x1004ae06
xorps xmm3, xmm3
jmp 0x1004ae0d
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 0x1004ae47
xorps xmm3, xmm3
jmp 0x1004ae4e
movaps xmm3, xmm2
minss xmm3, xmm5
comiss xmm1, xmm6
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004ae64
xorps xmm3, xmm3
jmp 0x1004ae6b
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 0x1004ae86
xorps xmm3, xmm3
jmp 0x1004ae8d
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 0x1004b720
movss xmm4, dword [esp + 0x64]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x102931f4]
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 [0x1029323c]
push ecx
mov ecx, edi
movaps xmm2, xmm4
divss xmm0, dword [0x1029323c]
addss xmm1, xmm1
addss xmm0, xmm0
mulss xmm1, dword [0x1029322c]
mulss xmm0, dword [0x1029322c]
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.10087b30
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.10088090
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x1004b020
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.10005d80
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.100c1460
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.100c2170
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.100c1460
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.100c2170
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.1008a3e0
mov ecx, dword [esp + 0x24]
add esp, 0x18
movss xmm2, dword [0x102931d8]
inc ecx
movss xmm3, dword [esp + 0xd4]
movss xmm4, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
cmp ecx, 6
jl 0x1004af76
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm0
mulss xmm0, dword [0x1029322c]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm0
call fcn.100c1460
movss xmm3, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm3
call fcn.100c2170
cmp byte [esp + 0xb], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0xcc]
movss xmm1, dword [0x1029319c]
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 0x1004b1db
mulss xmm2, dword [0x102931a8]
jmp 0x1004b1e3
mulss xmm2, dword [0x102931a0]
movaps xmm0, xmm2
movss dword [esp + 0x74], xmm2
divss xmm0, dword [0x102931f0]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1004b204
mov eax, 9
jmp 0x1004b20e
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x10], 0xff000000
movss xmm4, dword [0x10293240]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [esp + 0xc], eax
movss dword [esp + 0x3c], xmm3
je 0x1004b2b5
movaps xmm0, xmm3
subss xmm0, dword [0x102931d8]
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.10087b30
push dword [esp + 0x10]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10087ca0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004b295
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.10005d80
lea eax, [edi + 0x54]
movss xmm1, dword [0x1029319c]
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [0x10293240]
mov dword [eax], 0
mov eax, dword [esp + 0xc]
movaps xmm2, xmm3
subss xmm2, dword [0x102931d8]
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 [0x102931d8]
push eax
subss xmm2, xmm1
call fcn.10087b30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088090
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004b338
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.10005d80
lea eax, [edi + 0x54]
push dword [esp + 0xc]
movss xmm2, dword [esp + 0x78]
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x40]
subss xmm2, dword [0x1029319c]
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x2c]
movss dword [esp], xmm0
push eax
call fcn.10087b30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088090
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004b3aa
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.10005d80
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 [0x102a0b70]
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.100871c0
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.10088fa0
movss xmm0, dword [0x102931d8]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x5c]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004b69e
xorps xmm4, xmm4
jmp 0x1004b6a5
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x38]
comiss xmm1, xmm2
jbe 0x1004b6b5
xorps xmm3, xmm3
jmp 0x1004b6bc
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 0x1004ba5d
test dword [esp + 0x30], 0x40000
je 0x1004ba5d
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.100890e0
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.100890e0
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.100660b0
movss xmm3, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [0x102931d8]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1004b803
xorps xmm2, xmm2
jmp 0x1004b80a
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x24]
movss xmm3, dword [0x1029319c]
mulss xmm2, xmm4
movss xmm5, dword [0x1029321c]
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 0x1004b85b
movss dword [esp + 0x68], xmm6
jmp 0x1004b86e
comiss xmm2, xmm7
jbe 0x1004b868
movss dword [esp + 0x68], xmm7
jmp 0x1004b86e
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x5c]
comiss xmm0, xmm2
jbe 0x1004b881
xorps xmm1, xmm1
jmp 0x1004b885
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 0x1004b8c0
movss dword [esp + 0x6c], xmm1
jmp 0x1004b8d3
comiss xmm3, xmm0
jbe 0x1004b8cd
movss dword [esp + 0x6c], xmm0
jmp 0x1004b8d3
movss dword [esp + 0x6c], xmm3
movss xmm0, dword [esp + 0xc4]
movaps xmm1, xmm4
divss xmm1, dword [0x1029323c]
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.100890e0
movss xmm1, dword [esp + 0x3c]
mov ecx, edi
movss xmm2, dword [esp + 0x1c]
cmp ecx, 6
jl 0x1004b910
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.100660b0
mov esi, dword [esp + 0x68]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [0x1029321c]
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 [0x102931d8]
push dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [0x102931d8]
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 [0x1029319c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1004be20
add esp, 0x20
cmp byte [esp + 0xa], 0
je 0x1004ba75
movss xmm0, dword [0x10293254]
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.10087b30
push dword [esp + 0x50]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10087ca0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004bace
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.10005d80
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
xorps xmm3, xmm3
addss xmm2, dword [0x102931d8]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x70]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x1029319c]
push eax
call fcn.10087b30
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.10088090
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1004bb4e
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.10005d80
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
xorps xmm3, xmm3
subss xmm2, dword [0x1029319c]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x70]
mov dword [esp], 0x40b84e89
push eax
call fcn.10087b30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10088090
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1004bbba
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.10005d80
cmp dword [esp + 0xb8], 0x200
mov dword [edi], 0
jne 0x1004bd62
mov eax, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1004bbea
movss dword [esp + 0x58], xmm2
jmp 0x1004bbfc
movss xmm0, dword [0x102931d8]
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 [0x1029319c]
push dword [esp + 0x90]
movss dword [esp + 0x8c], xmm3
push dword [esp + 0x90]
mov edi, dword [esp + 0x90]
push edi
call fcn.1004da80
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.100890e0
push dword [esp + 0x88]
xorps xmm0, xmm0
push dword [esp + 0x88]
push dword [esp + 0x88]
push edi
call fcn.100660b0
movss xmm1, dword [0x102931d8]
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 [0x1029319c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [0x1029321c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1004be20
add esp, 0x20
call fcn.10049470
mov eax, dword [0x102a0b70]
mov eax, dword [eax + 0x17fc]
dec dword [eax + 0x1a4]
add eax, 0x1a4
cmp byte [esp + 9], 0
je 0x1004be09
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 0x1004bdc1
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1004bdc6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1004bdb0
cmp edx, 0xfffffffc
je 0x1004be09
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1004bdf3
cmp edx, 0xfffffffd
je 0x1004be09
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1004bdf3
cmp edx, 0xfffffffe
je 0x1004be09
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1004bdf3
cmp edx, 0xffffffff
je 0x1004be09
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1004be09
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret