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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp + 0x30], edx
mov edx, ecx
mov ecx, dword [0x100c1b8c]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0x19e4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x54], edx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19e4]
mov ecx, edx
mov dword [esp + 0x68], eax
mov edi, dword [eax + 0x274]
mov dword [esp + 0x60], edi
call fcn.100352a0
call fcn.100353a0
mov edx, esi
or edx, 0x10
test esi, 0x100
cmovne edx, esi
mov dword [esp + 0x58], edx
test dl, 8
jne 0x10054373
mov ecx, dword [esp + 0x38]
call fcn.100574d0
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
test edx, 0x6000000
jne 0x1005439c
mov eax, dword [esi + 0x2c48]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1005439e
mov ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x100543b8
mov eax, dword [esi + 0x2c48]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x10002
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], edx
movss xmm0, dword [eax + 0xcc]
movss xmm5, dword [eax + 0xc8]
mov eax, dword [0x100c1b8c]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xc], xmm5
movss xmm4, dword [eax + 0x1540]
addss xmm4, xmm4
movss dword [esp + 0x40], xmm5
addss xmm4, dword [eax + 0x1904]
mov eax, dword [eax + 0x19e4]
mov dword [esp + 0x68], eax
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x48], xmm4
jbe 0x100544b6
mov ecx, dword [eax + 0x1bc]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x214]
mov dword [esp + 0x58], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x100544a2
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 + 0xcc]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x68]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100a9ba8]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x1554]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm4
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xd8], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x3c]
subss xmm2, xmm1
movaps xmm1, xmm5
lea eax, [esp + 0x108]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x20], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x58], xmm1
addss xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100a9b50]
cvttss2si esi, xmm0
mov dword [esp + 0x74], esi
call fcn.1006ecb0
movss xmm0, dword [esp + 0x20]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x24], 0
mulss xmm4, dword [0x100a9b6c]
movaps xmm3, xmm0
mulss xmm3, dword [0x100a9b38]
movaps xmm2, xmm4
movss dword [esp + 0x50], xmm4
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x2c]
subss xmm2, xmm3
movss dword [esp + 0x7c], xmm3
movaps xmm3, xmm0
mulss xmm0, dword [0x100a9b28]
addss xmm3, dword [esp + 0x48]
movss dword [esp + 0x88], xmm1
cvttss2si eax, xmm0
movss dword [esp + 0xbc], xmm1
movaps xmm1, xmm2
mulss xmm3, dword [0x100a9b6c]
movss dword [esp + 0x78], xmm2
movd xmm0, eax
addss xmm3, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x38]
movss dword [esp + 0x90], xmm3
subss xmm1, xmm0
movss dword [esp + 0xb8], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [0x100a9d68]
movaps xmm2, xmm1
mulss xmm2, dword [0x100a9d74]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a9b98]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x98], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xe0], xmm0
movss xmm1, dword [eax + 4]
xorps xmm4, xmm4
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm5, dword [eax]
movss dword [esp + 0x6c], xmm5
jbe 0x1005468a
movss xmm4, dword [0x100a9d78]
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
jbe 0x100546ad
movaps xmm0, xmm5
movss dword [esp + 0x6c], xmm1
movaps xmm5, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x100a9d64]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movss xmm3, dword [0x100a9c50]
movss dword [esp + 0xc8], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x100a9adc]
divss xmm1, xmm0
addss xmm1, xmm4
movaps xmm0, xmm1
call fcn.10003020
movss dword [esp + 0x3c], xmm0
mov ecx, 8
movaps xmm0, xmm5
mov byte [esp + 8], 0
addss xmm0, dword [0x100a9adc]
mov byte [esp + 0xb], 0
mov byte [esp + 0xa], 0
divss xmm2, xmm0
movss dword [esp + 0x5c], xmm2
call fcn.10034d90
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x10054cf3
movss xmm1, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mov ecx, 0x100a7e84
movss dword [esp + 0x34], xmm1
addss xmm0, dword [eax + 0x1554]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x30], xmm0
call fcn.10049f70
mov eax, dword [0x100c1b8c]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x10054be9
mov eax, dword [eax + 0x19e4]
cmp ecx, dword [eax + 0x10c]
jne 0x10054be9
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0x88]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0x90]
movss xmm4, dword [eax + 0xe8]
movss xmm3, dword [eax + 0xec]
subss xmm4, dword [esp + 0x90]
subss xmm3, dword [esp + 0x88]
movaps xmm2, xmm0
movss dword [esp + 0x8c], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movss xmm1, dword [0x100a9ba8]
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm4
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0xf8], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10054897
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10054897
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call fcn.10090f60
movss xmm2, dword [0x100a9c20]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm1, qword [esp + 0x30]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100a9b6c]
comiss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
jbe 0x1005488f
addss xmm1, dword [0x100a9ba8]
movss dword [esp + 0x3c], xmm1
mov al, 1
mov byte [esp + 8], al
jmp 0x100548a9
mov al, byte [esp + 8]
movss xmm2, dword [0x100a9c20]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm1
mov byte [esp + 0xb], al
xorps xmm0, xmmword [0x100aa210]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.100918e0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x30]
call fcn.100925f0
movss xmm4, dword [esp + 0x58]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xb4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x64]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x8c]
movaps xmm7, xmm4
mulss xmm7, dword [esp + 0x8c]
subss xmm5, xmm0
movss xmm6, dword [esp + 0x20]
movaps xmm0, xmm3
movss dword [esp + 0xd4], xmm3
mulss xmm0, dword [esp + 0x64]
movaps xmm3, xmm1
subss xmm3, xmm1
subss xmm6, dword [esp + 0xb4]
addss xmm7, xmm0
movaps xmm2, xmm5
movss xmm0, dword [esp + 0xa8]
subss xmm2, xmm1
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0xac], xmm6
movaps xmm1, xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10054be1
movss xmm6, dword [esp + 0xa4]
subss xmm7, xmm3
movss xmm2, dword [esp + 0xb4]
subss xmm6, xmm3
subss xmm2, dword [esp + 0x20]
subss xmm5, dword [esp + 0x20]
movss dword [esp + 0x80], xmm6
mulss xmm7, xmm2
mulss xmm5, xmm6
movss dword [esp + 0x70], xmm2
subss xmm5, xmm7
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x10054be1
movss xmm1, dword [esp + 0xd4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0xf8]
mulss xmm4, dword [esp + 0xf8]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0x30], xmm5
subss xmm1, dword [esp + 0xb4]
movaps xmm0, xmm4
movss dword [esp + 0x34], xmm4
subss xmm0, dword [esp + 0xa4]
mulss xmm1, dword [esp + 0x58]
mulss xmm0, dword [esp + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa8]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xac]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xb4]
seta cl
mulss xmm1, dword [esp + 0x8c]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10054af6
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x20]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10054b33
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.1002a480
movss xmm6, dword [esp + 0x8c]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa8]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x20]
movss xmm7, dword [esp + 0x70]
subss xmm2, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm1, xmm7
mulss xmm4, xmm7
mulss xmm0, xmm2
mulss xmm6, xmm5
subss xmm1, xmm0
mulss xmm5, xmm2
subss xmm6, xmm4
movss xmm0, dword [0x100a9ba8]
movss xmm2, dword [0x100a9b00]
movaps xmm3, xmm0
subss xmm4, xmm5
movss dword [esp + 0x5c], xmm2
divss xmm6, xmm1
divss xmm4, xmm1
subss xmm3, xmm6
comiss xmm2, xmm3
movaps xmm1, xmm3
subss xmm1, xmm4
jbe 0x10054bb2
movaps xmm4, xmm2
movss dword [esp + 0x6c], xmm2
jmp 0x10054bbf
movaps xmm4, xmm0
minss xmm4, xmm3
movss dword [esp + 0x6c], xmm4
divss xmm1, xmm4
comiss xmm2, xmm1
ja 0x10054bd5
movaps xmm2, xmm0
minss xmm2, xmm1
movss dword [esp + 0x5c], xmm2
mov byte [esp + 0xa], 1
mov byte [esp + 8], 1
jmp 0x10054be9
mov al, byte [esp + 8]
mov byte [esp + 0xb], al
test byte [esp + 0x18], 8
jne 0x10054bf5
call fcn.10035b50
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [esp + 0x2c]
cmp dword [esp + 0xcc], 0x10000
jne 0x10054f05
mov ecx, dword [0x100c1b8c]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x98], xmm4
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19e4]
mov ecx, str.alpha
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x94], xmm0
call fcn.10049f70
mov eax, dword [0x100c1b8c]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x10054f09
mov eax, dword [eax + 0x19e4]
cmp ecx, dword [eax + 0x10c]
jne 0x10054f09
movss xmm3, dword [edx + 0xec]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x100a9ba8]
subss xmm3, dword [esp + 0x2c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10054ee7
xorps xmm4, xmm4
jmp 0x10054eee
test eax, 0x2000000
je 0x10054bf5
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x94]
mov ecx, 0x100a7e88
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
call fcn.10049f70
mov ecx, dword [0x100c1b8c]
mov edx, dword [ecx + 0x1a04]
test edx, edx
je 0x10054dbe
mov eax, dword [ecx + 0x19e4]
cmp edx, dword [eax + 0x10c]
jne 0x10054dbe
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [0x100a9ba8]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0xc]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10054d81
movss dword [esp + 0x5c], xmm0
jmp 0x10054d8e
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x5c], xmm3
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x10054dac
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 8], al
movss dword [esp + 0x6c], xmm1
jmp 0x10054dc2
mov al, byte [esp + 8]
test byte [esp + 0x18], 8
mov byte [esp + 0xa], al
mov byte [esp + 9], al
jne 0x10054ddc
call fcn.10035b50
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x2c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19e4]
mov ecx, 0x100a7e8c
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x98], xmm0
call fcn.10049f70
mov eax, dword [0x100c1b8c]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x10054bf5
mov eax, dword [eax + 0x19e4]
mov dl, byte [esp + 8]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x14]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x10c]
jne 0x10054c01
mov eax, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9ba8]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10054eca
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 9]
movss dword [esp + 0x3c], xmm0
mov byte [esp + 0xb], 1
mov byte [esp + 8], 1
mov byte [esp + 0xa], al
jmp 0x10054c01
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 8], 1
movss dword [eax + 0xc], xmm0
jmp 0x10054f09
mov edx, dword [esp + 0x10]
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov eax, dword [ecx + 0x174]
add eax, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [ecx + 0x174], eax
jne 0x10054f38
xor eax, eax
jmp 0x10054f4a
mov edi, dword [esp + 0x70]
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x60]
mov dword [ecx + 0x168], eax
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10054f74
movss xmm1, dword [edx + 0x1554]
xorps xmm0, xmm0
call fcn.10035670
call fcn.100353a0
mov eax, dword [esp + 0x18]
test al, al
js 0x10054fd1
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x10054fd1
mov cl, byte [edx]
mov byte [esp + 9], cl
test cl, cl
je 0x10054f9b
cmp cl, 0x23
jne 0x10054f95
cmp byte [edx + 1], cl
je 0x10054f9b
inc edx
cmp edx, 0xffffffff
jb 0x10054f81
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x54], edx
je 0x10054fd1
test eax, 0x100
je 0x10054fc4
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1554]
call fcn.10035670
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
call fcn.10048df0
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x100551b2
mov ecx, 0x10
call fcn.10034d90
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test cl, 2
je 0x10054ffd
movss xmm1, dword [0x100a9ba8]
jmp 0x10055002
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm1
test cl, cl
jns 0x10055049
push str.Current
call fcn.10049510
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x48]
lea edx, [esp + 0x94]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x100a9c14]
mov dword [esp + 0xac], ecx
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x84], xmm0
push dword [esp + 0x34]
push ecx
mov ecx, str.current
call fcn.10056760
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x10055172
push str.Original
call fcn.10049510
mov eax, dword [ebp + 0xc]
add esp, 4
test byte [esp + 0x18], 2
je 0x100550d1
movss xmm1, dword [0x100a9ba8]
jmp 0x100550d6
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xdc]
movss dword [esp + 0xdc], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0xec], xmm1
push dword [esp + 0x34]
push dword [esp + 0xb4]
call fcn.10056760
add esp, 0xc
test al, al
je 0x10055172
xor eax, eax
cmp dword [esp + 0xd8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push dword [esp + 0x40]
call fcn.1006ecb0
add esp, 0xc
mov byte [esp + 8], 1
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov edx, dword [ecx + 0x174]
sub edx, 1
mov dword [ecx + 0x174], edx
jne 0x1005519d
xor eax, eax
jmp 0x100551a7
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x168], eax
call fcn.100354e0
cmp byte [esp + 0xb], 0
jne 0x100551c0
cmp byte [esp + 0xa], 0
je 0x1005521c
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x6c]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x100551dd
movaps xmm3, xmm1
jmp 0x100551e5
movss xmm3, dword [0x100a9ae8]
movss xmm1, dword [esp + 0x5c]
comiss xmm1, xmm0
movss xmm2, dword [0x100a9af0]
ja 0x100551fb
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x100a9ba8]
jb 0x1005520e
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1002adc0
add esp, 4
test byte [esp + 0x18], 0x20
mov byte [esp + 9], 0
jne 0x100554ea
cmp dword [esp + 0xcc], 0x10000
jne 0x10055244
movss xmm0, dword [esp + 0xd0]
jmp 0x1005524a
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x48]
mov ecx, dword [0x100c1b8c]
subss xmm0, dword [esp + 0xc]
mov eax, dword [ecx + 0x19e4]
ucomiss xmm0, dword [0x100a9acc]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x10055285
movss xmm0, dword [ecx + 0x220]
movss dword [ecx + 0x16c], xmm0
add ecx, 0x180
mov dword [esp + 0x80], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x100552d1
inc edx
mov dword [esp + 0x70], edx
test eax, eax
je 0x100552ba
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100552bf
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003aef0
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x180]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x54], ecx
test eax, 0x100000
jne 0x1005530b
test eax, 0x700000
jne 0x10055354
mov edx, dword [esp + 0x38]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.10052dd0
add esp, 4
test al, al
je 0x1005534c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1a04], 0
je 0x10055342
cmp byte [eax + 0x1a15], 0
mov byte [esp + 9], 1
je 0x10055347
mov byte [esp + 9], 0
mov byte [esp + 8], 1
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10055362
test eax, 0x700000
jne 0x10055382
mov edx, dword [esp + 0x38]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.10052dd0
add esp, 4
or byte [esp + 8], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10055390
test eax, 0x700000
jne 0x100553af
mov eax, dword [esp + 0x54]
mov ecx, str.hex
mov edx, dword [esp + 0x38]
or eax, 0x400004
push eax
call fcn.10052dd0
add esp, 4
or byte [esp + 8], al
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x100553e0
movss xmm0, dword [ecx + 0x220]
jmp 0x100553ec
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 9], 0
movss dword [ecx + 0x16c], xmm0
je 0x100554ea
mov ecx, dword [esp + 0x38]
xorps xmm2, xmm2
xorps xmm6, xmm6
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x1005542d
movss xmm6, dword [0x100a9d78]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1005544a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100a9d64]
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 [0x100a9adc]
movaps xmm7, xmm1
mulss xmm1, dword [0x100a9c50]
divss xmm7, xmm0
addss xmm1, dword [0x100a9adc]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.10003020
comiss xmm2, xmm0
jb 0x100554ea
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x100554ea
comiss xmm2, xmm4
jb 0x100554c5
movss xmm1, dword [esp + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100554c5
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x5c]
mulss xmm2, dword [0x100a9b6c]
jmp 0x100554db
comiss xmm2, xmm7
jb 0x100554ea
movss xmm1, dword [esp + 0x5c]
movaps xmm2, xmm4
mulss xmm1, dword [0x100a9b6c]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1002adc0
add esp, 4
movaps xmm0, xmmword [0x100aa170]
lea eax, [esp + 0x9c]
movss xmm2, dword [0x100a9ba8]
lea edx, [esp + 0x98]
movups xmmword [esp + 0x94], xmm0
lea ecx, [esp + 0x94]
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm2
push eax
call fcn.1002adc0
movups xmm3, xmmword [esp + 0x98]
add esp, 4
movss xmm2, dword [0x100a9ba8]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x10055545
xorps xmm0, xmm0
jmp 0x1005554c
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x100a9cd4]
movss xmm5, dword [0x100a9b6c]
movss xmm4, dword [esp + 0x98]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1005557b
xorps xmm0, xmm0
jmp 0x10055582
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x9c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x100555a6
xorps xmm0, xmm0
jmp 0x100555ad
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xa0]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x100555d1
xorps xmm0, xmm0
jmp 0x100555d8
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x38]
mulss xmm0, xmm3
movss xmm4, dword [eax]
movss xmm6, dword [eax + 4]
addss xmm0, xmm5
movss xmm7, dword [eax + 8]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x1c], edx
jbe 0x10055609
xorps xmm0, xmm0
jmp 0x10055610
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x10055626
xorps xmm0, xmm0
jmp 0x1005562d
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x10055648
xorps xmm0, xmm0
jmp 0x1005564f
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0xdc], 0xff0000ff
mov dword [esp + 0xe0], 0xff00ffff
mov dword [esp + 0xe4], 0xff00ff00
addss xmm0, xmm5
mov dword [esp + 0xe8], 0xffffff00
mov dword [esp + 0xec], 0xffff0000
mov dword [esp + 0xf0], 0xffff00ff
mov dword [esp + 0xf4], 0xff0000ff
mov dword [esp + 0x34], 0
cvttss2si eax, xmm0
mov dword [esp + 0x30], 0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
or ecx, 0xff000000
mov dword [esp + 0x58], ecx
test eax, 0x4000000
je 0x100560ff
movss xmm0, dword [esp + 0x50]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100a9bd0]
movss xmm4, dword [esp + 0x78]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm3
imul ecx
mulss xmm4, xmm5
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xf8], xmm4
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
movd xmm1, eax
lea eax, [esp + 0xb8]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100a9c50]
divss xmm1, dword [0x100a9c50]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100a9c20]
mulss xmm1, dword [0x100a9c20]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x18], xmm1
call fcn.100444c0
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.10043470
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.100918e0
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x80], xmm0
cvtps2pd xmm0, xmm1
call fcn.100925f0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
call fcn.100918e0
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x70], xmm0
cvtps2pd xmm0, xmm1
call fcn.100925f0
movss xmm3, dword [esp + 0x70]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x80]
movss xmm6, dword [esp + 0xac]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x100a9ba8]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x78]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0xe0]
mov edx, dword [esp + edx*4 + 0xdc]
mulss xmm0, xmm3
mov dword [esp + 0x4c], eax
addss xmm4, dword [esp + 0x88]
mov eax, dword [edi + 0x18]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x8c], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x8c]
jae 0x10055a0f
movzx eax, dl
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x4c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x4c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [esp + 0x4c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x64]
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 0x1005595e
xorps xmm2, xmm2
jmp 0x10055962
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 + 0xc]
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 + 0x70]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100a9ba8]
or dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x64]
add eax, 0x14
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x8c]
jb 0x10055930
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
movss xmm4, dword [esp + 0xf8]
inc eax
movss xmm3, dword [esp + 0xd4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
cmp eax, 6
jl 0x10055730
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
mulss xmm0, dword [0x100a9c20]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm0
call fcn.100918e0
movss xmm3, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm3
call fcn.100925f0
cmp byte [esp + 0xb], 0
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x78]
addss xmm2, dword [esp + 0x50]
movss xmm3, dword [esp + 0xc]
movss xmm6, dword [esp + 0x90]
movss xmm4, dword [esp + 0x7c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm2, xmm5
mulss xmm0, dword [0x100a9b6c]
mulss xmm2, dword [0x100a9b6c]
addss xmm0, xmm6
movss dword [esp + 0x64], xmm5
addss xmm2, dword [esp + 0x88]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm2
je 0x10055ae2
mulss xmm4, dword [0x100a9b7c]
jmp 0x10055aea
mulss xmm4, dword [0x100a9b70]
movaps xmm0, xmm4
movss dword [esp + 0x7c], xmm4
divss xmm0, dword [0x100a9bc0]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x10055b0b
mov eax, 9
jmp 0x10055b15
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x1c], 0xff000000
movss xmm2, dword [0x100a9c54]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x50], eax
je 0x10055b98
cmp eax, 2
jle 0x10055c8c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x48]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100a9ba8]
mulss xmm0, xmm2
movaps xmm2, xmm4
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100444c0
push dword [esp + 0x1c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043fb0
movss xmm2, dword [0x100a9c54]
movss xmm4, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
jmp 0x10055ba1
cmp eax, 2
jle 0x10055c8c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x48]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100a9ba8]
mulss xmm0, xmm2
movaps xmm2, xmm4
addss xmm2, dword [0x100a9ba8]
divss xmm0, xmm1
subss xmm2, dword [0x100a9b6c]
movss dword [esp], xmm0
push eax
call fcn.100444c0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043470
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
cmp eax, 2
jle 0x10055c77
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x44]
push ecx
movss xmm2, dword [esp + 0x84]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100a9ba8]
subss xmm2, dword [0x100a9b6c]
mulss xmm0, dword [0x100a9c54]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100444c0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043470
mov dword [edi + 0x54], 0
movss xmm6, dword [esp + 0x90]
movss xmm5, dword [esp + 0x64]
movss xmm3, dword [esp + 0xc]
movss xmm4, dword [esp + 0x20]
movaps xmm2, xmm3
mulss xmm2, xmm4
xorps xmm1, xmm1
mov eax, dword [0x100c1b8c]
mov ecx, edi
movaps xmm0, xmm5
mulss xmm0, xmm1
push 6
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xbc]
addss xmm2, xmm6
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm5
mulss xmm2, xmm4
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0xbc]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
mulss xmm5, dword [esp + 0xac]
addss xmm2, dword [esp + 0x90]
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xac]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x88], xmm2
addss xmm3, dword [esp + 0x90]
movss dword [esp + 0xb4], xmm4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 0x190c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x1910]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0x78], xmm0
call fcn.100432c0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movss xmm0, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm1, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x80]
movss xmm4, dword [esp + 0x84]
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]
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
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], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
movss xmm7, dword [esp + 0xac]
movss xmm6, dword [esp + 0xc]
mov word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
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
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], 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
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], 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
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], 0
lea eax, [edi + 0x54]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edx
cmp ecx, edx
jne 0x10055f54
inc ecx
test edx, edx
je 0x10055f3d
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x40]
jmp 0x10055f42
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1003b2e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
add eax, 0x54
mov dword [esp + 0x50], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x10055fb1
lea ecx, [edx + 1]
test edi, edi
je 0x10055f95
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10055f9a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.1003b2e0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
add eax, 0x54
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x10056010
lea ecx, [edx + 1]
test edi, edi
je 0x10055ff8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10055ffd
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1003b2e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
inc dword [eax]
push 0xff808080
push dword [eax]
push dword [edi + 0x5c]
call fcn.10043470
movss xmm0, dword [0x100a9ba8]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi + 0x54], 0
subss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x10056074
xorps xmm4, xmm4
jmp 0x1005607b
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x5c]
comiss xmm1, xmm2
jbe 0x1005608b
xorps xmm3, xmm3
jmp 0x10056092
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0xac]
movss xmm2, dword [esp + 0x24]
subss xmm2, dword [esp + 0xc]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0xac]
movss xmm3, dword [esp + 0x80]
addss xmm2, dword [esp + 0xc]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x84]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
jmp 0x10056414
test eax, 0x2000000
je 0x10056414
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0x20]
addss xmm0, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push edx
push 0xffffffffffffffff
movss dword [esp + 0x30], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.10044c80
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0xb8]
addss xmm0, dword [esp + 0x14]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xcc], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x38]
mov ecx, edi
push eax
movss dword [esp + 0xd4], xmm0
call fcn.10044c80
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x74], xmm0
xorps xmm0, xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1002b970
movss xmm3, dword [esp + 0x6c]
xorps xmm0, xmm0
movss xmm1, dword [0x100a9ba8]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x100561df
xorps xmm2, xmm2
jmp 0x100561e6
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [esp + 0x14]
movss xmm6, dword [esp + 0xc]
movss xmm5, dword [0x100a9b6c]
mulss xmm2, xmm3
movss xmm7, dword [0x100a9bf4]
addss xmm2, xmm6
addss xmm2, xmm5
cvttss2si eax, xmm2
movaps xmm2, xmm6
addss xmm2, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
ja 0x10056234
movaps xmm2, xmm6
addss xmm2, xmm3
subss xmm2, xmm7
minss xmm2, xmm4
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x6c]
comiss xmm0, xmm2
jbe 0x1005624d
xorps xmm1, xmm1
jmp 0x10056251
minss xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm3
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10056288
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm7
minss xmm0, xmm1
movss xmm4, dword [esp + 0x4c]
movaps xmm1, xmm3
divss xmm1, dword [0x100a9c50]
mov esi, dword [esp + 0x60]
xor ecx, ecx
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x94], xmm4
movss dword [esp + 0xb8], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe0]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xc0]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xc4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe4]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xb0], xmm0
call fcn.10044c80
movss xmm1, dword [esp + 0x40]
mov ecx, edi
movss xmm2, dword [esp + 0x2c]
cmp ecx, 6
jl 0x100562d0
movss xmm3, dword [esp + 0x4c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
movss dword [esp + 0x44], xmm2
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
movss dword [esp + 0x24], xmm1
push dword [esp + 0x24]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1002b970
mov esi, dword [esp + 0x78]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [0x100a9bf4]
mov edi, dword [esp + 0x70]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x100a9ba8]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x60]
subss xmm2, dword [0x100a9ba8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x28]
push dword [esp + 0x34]
movss dword [esp + 0x58], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x100a9b6c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10054130
add esp, 0x20
cmp byte [esp + 0xa], 0
je 0x1005642c
movss xmm0, dword [0x100a9c64]
movss dword [esp + 0xc8], xmm0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.100444c0
push dword [esp + 0x58]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043fb0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
addss xmm2, dword [0x100a9ba8]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x100a9b6c]
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.100444c0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043470
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
subss xmm2, dword [0x100a9b6c]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.100444c0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043470
cmp dword [esp + 0xcc], 0x10000
mov dword [edi + 0x54], 0
jne 0x100566a1
mov eax, dword [esp + 0x38]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1005652f
movss dword [esp + 0x68], xmm2
jmp 0x10056541
movss xmm0, dword [0x100a9ba8]
minss xmm0, xmm1
movss dword [esp + 0x68], xmm0
movss xmm3, dword [esp + 0xd0]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0xbc], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x14]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xc4], xmm1
subss xmm1, xmm3
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xcc], xmm0
push dword [esp + 0xcc]
mulss xmm1, dword [0x100a9b6c]
push dword [esp + 0xcc]
movss dword [esp + 0xc8], xmm3
push dword [esp + 0xcc]
mov edi, dword [esp + 0xcc]
push edi
call fcn.10053e60
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.10044c80
push dword [esp + 0xc4]
xorps xmm0, xmm0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.1002b970
movss xmm1, dword [0x100a9ba8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x70]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0xe0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x78]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x100a9b6c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [0x100a9bf4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10054130
add esp, 0x20
call fcn.100354e0
cmp byte [esp + 8], 0
mov edi, dword [0x100c1b8c]
je 0x1005673e
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x100]
xor edx, edx
cmp dword [esp + 0xd8], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x100566f1
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x100566f6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x100566e0
cmp edx, 0xfffffffc
je 0x10056739
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10056723
cmp edx, 0xfffffffd
je 0x10056739
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10056723
cmp edx, 0xfffffffe
je 0x10056739
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10056723
cmp edx, 0xffffffff
je 0x10056739
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10056739
mov eax, dword [edi + 0x19e4]
mov byte [edi + 0x1a17], 1
or dword [eax + 0x110], 4
jmp 0x1005673e
mov byte [esp + 8], 0
mov ecx, dword [edi + 0x19e4]
mov al, byte [esp + 8]
pop edi
pop esi
dec dword [ecx + 0x1c0]
mov esp, ebp
pop ebp
ret