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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
push esi
mov esi, edx
mov edx, ecx
mov ecx, dword [0x100c6d88]
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], esi
mov eax, dword [ecx + 0x199c]
mov dword [esp + 0x38], edx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
mov ecx, edx
mov dword [esp + 0x58], eax
mov edi, dword [eax + 0x274]
mov dword [esp + 0x3c], edi
call fcn.10025120
call fcn.10025250
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0x5c], edx
test dl, 8
jne 0x100446c4
mov ecx, esi
call fcn.10047750
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xc]
test edx, 0x6000000
jne 0x100446ed
mov eax, dword [esi + 0x2c00]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100446ef
mov ecx, edx
mov dword [esp + 0x44], ecx
test cl, 8
jne 0x10044709
mov eax, dword [esi + 0x2c00]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x44], ecx
mov eax, ecx
mov edx, ecx
and eax, 0x10002
and edx, 2
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xbc], edx
movss xmm0, dword [eax + 0xcc]
movss xmm4, dword [eax + 0xc8]
mov eax, dword [0x100c6d88]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x30], xmm4
movss xmm5, dword [eax + 0x1538]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x18bc]
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x58], eax
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x60], xmm5
jbe 0x10044800
mov ecx, dword [eax + 0x1bc]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x214]
mov dword [esp + 0x5c], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x100447ec
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 + 0x5c]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xbc]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x58]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100b9a58]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x154c]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp dword [esp + 0xd4], 0x10000
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, xmm4
lea eax, [eax*4 + 0xc]
push eax
mov eax, dword [esp + 0x44]
subss xmm2, xmm1
movaps xmm1, xmm5
push eax
lea eax, [esp + 0x110]
push eax
maxss xmm1, xmm2
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
movaps xmm1, xmm3
addss xmm1, xmm0
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm1
addss xmm0, xmm5
movss dword [esp + 0x64], xmm0
addss xmm0, xmm3
movss dword [esp + 0xe4], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x100b99f4]
cvttss2si esi, xmm0
mov dword [esp + 0xc4], esi
call fcn.10056e20
movss xmm1, dword [esp + 0x2c]
add esp, 0xc
movaps xmm3, xmm1
mov dword [esp + 0x1c], 0
mulss xmm3, dword [0x100b9a18]
movaps xmm2, xmm1
mulss xmm2, dword [0x100b99dc]
movaps xmm0, xmm3
movss dword [esp + 0x54], xmm3
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x80], xmm2
movaps xmm4, xmm3
subss xmm4, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x60]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100b99cc]
movaps xmm1, xmm4
mulss xmm2, dword [0x100b9a18]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x30]
movss dword [esp + 0x50], xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xa4], xmm2
subss xmm1, xmm0
movss dword [esp + 0xc4], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm1
mulss xmm0, dword [0x100b9bcc]
movaps xmm2, xmm1
mulss xmm2, dword [0x100b9bd8]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x90], xmm2
movss dword [esp + 0xec], xmm0
mov eax, dword [esp + 0x40]
movaps xmm0, xmm1
mulss xmm0, dword [0x100b9a4c]
lea ecx, [eax + 4]
mov dword [esp + 0xb0], ecx
movss xmm1, dword [ecx]
xorps xmm3, xmm3
movss xmm5, dword [eax]
add eax, 8
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0x74], xmm5
movss xmm2, dword [eax]
comiss xmm2, xmm1
mov dword [esp + 0x78], eax
jbe 0x10044a02
movss xmm3, dword [0x100b9bdc]
movaps xmm0, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
comiss xmm1, xmm5
jbe 0x10044a25
movaps xmm0, xmm5
movaps xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x74], xmm5
movss xmm0, dword [0x100b9bc8]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm1
mov byte [esp + 8], 0
minss xmm0, xmm2
mov byte [esp + 0xa], 0
movaps xmm4, xmm5
mov byte [esp + 9], 0
subss xmm1, xmm2
mov ecx, 8
movss xmm2, dword [0x100b9adc]
movss dword [esp + 0xdc], xmm2
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, dword [0x100b9984]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100b9984]
addss xmm1, xmm3
divss xmm4, xmm0
andps xmm1, xmmword [0x100b9d10]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x64], xmm4
call fcn.10024ca0
mov eax, dword [esp + 0x44]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x68], ecx
je 0x10045079
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm1
mov ecx, 0x100b8db0
movss dword [esp + 0x2c], xmm1
addss xmm0, dword [eax + 0x154c]
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x28], xmm0
call fcn.1003a9f0
mov eax, dword [0x100c6d88]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x10044f6e
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x10c]
jne 0x10044f6e
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x380]
subss xmm0, dword [esp + 0xa4]
movss xmm1, dword [eax + 0x384]
subss xmm1, dword [esp + 0xc0]
movss xmm4, dword [eax + 0xe0]
movss xmm3, dword [eax + 0xe4]
subss xmm4, dword [esp + 0xa4]
subss xmm3, dword [esp + 0xc0]
movaps xmm2, xmm0
movss dword [esp + 0x5c], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm1
movss xmm1, dword [0x100b9a58]
addss xmm2, xmm0
movss dword [esp + 0xe0], xmm4
movss xmm0, dword [esp + 0x50]
subss xmm0, xmm1
movss dword [esp + 0xe4], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10044c15
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10044c15
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
call fcn.10078fb0
movss xmm2, dword [0x100b9acc]
xorps xmm0, xmm0
fstp qword [esp + 0x28]
movsd xmm1, qword [esp + 0x28]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100b9a18]
comiss xmm0, xmm1
movss dword [esp + 0x48], xmm1
jbe 0x10044c0d
addss xmm1, dword [0x100b9a58]
movss dword [esp + 0x48], xmm1
mov al, 1
mov byte [esp + 8], al
jmp 0x10044c27
mov al, byte [esp + 8]
movss xmm2, dword [0x100b9acc]
movss xmm1, dword [esp + 0x48]
movaps xmm0, xmm1
mov byte [esp + 0xa], al
xorps xmm0, xmmword [0x100b9d40]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
call fcn.10078fe0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x28]
call fcn.10079cf0
movss xmm2, dword [esp + 0x10]
xorps xmm5, xmm5
mulss xmm2, dword [esp + 0x5c]
cvtsd2ss xmm5, xmm0
movss xmm7, dword [esp + 0xac]
movaps xmm0, xmm5
movss xmm6, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x14]
subss xmm6, xmm7
movaps xmm3, xmm5
movaps xmm4, xmm7
mulss xmm3, dword [esp + 0x5c]
subss xmm4, xmm7
subss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x9c], xmm6
mulss xmm0, dword [esp + 0x14]
movss dword [esp + 0xe8], xmm4
movaps xmm1, xmm2
addss xmm3, xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, dword [esp + 0xb4]
subss xmm1, xmm7
movss dword [esp + 0x5c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm4
xorps xmm4, xmm4
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x88]
comiss xmm4, xmm1
movaps xmm1, xmm2
movss dword [esp + 0xa8], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x88]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp al, cl
jne 0x10044f66
movss xmm7, dword [esp + 0xb4]
subss xmm3, xmm4
movss xmm0, dword [esp + 0xac]
subss xmm7, xmm4
subss xmm0, dword [esp + 0x18]
subss xmm2, dword [esp + 0x18]
movss dword [esp + 0x4c], xmm7
mulss xmm3, xmm0
mulss xmm2, xmm7
movss dword [esp + 0x14], xmm0
subss xmm2, xmm3
comiss xmm4, xmm2
seta al
cmp cl, al
jne 0x10044f66
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xe4]
movaps xmm6, xmm1
mulss xmm1, dword [esp + 0xe4]
mulss xmm6, dword [esp + 0xe0]
mulss xmm5, dword [esp + 0xe0]
movss xmm2, dword [esp + 0xac]
subss xmm6, xmm0
addss xmm5, xmm1
movaps xmm1, xmm6
movss dword [esp + 0x28], xmm6
subss xmm1, xmm2
movaps xmm0, xmm5
movss dword [esp + 0x2c], xmm5
subss xmm0, dword [esp + 0xb4]
mulss xmm1, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0xe8]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x88]
comiss xmm4, xmm1
mulss xmm0, dword [esp + 0x9c]
movaps xmm1, xmm6
subss xmm1, xmm2
seta cl
mulss xmm1, dword [esp + 0xa8]
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp al, cl
jne 0x10044e68
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x18]
subss xmm0, xmm4
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0x14]
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp cl, al
je 0x10044eab
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0xa8]
call fcn.1001a070
movss xmm7, dword [esp + 0x58]
add esp, 0xc
movss xmm2, dword [esp + 0xac]
xorps xmm4, xmm4
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x18]
movaps xmm3, xmm2
subss xmm5, xmm4
movss xmm2, dword [esp + 0x88]
movaps xmm1, xmm7
subss xmm3, dword [esp + 0x18]
subss xmm2, xmm4
movss xmm4, dword [esp + 0x14]
movaps xmm0, xmm4
mulss xmm7, xmm6
mulss xmm4, xmm5
mulss xmm1, xmm3
mulss xmm0, xmm2
subss xmm7, xmm4
mulss xmm5, xmm3
subss xmm1, xmm0
mulss xmm6, xmm2
movss xmm0, dword [0x100b9a58]
movss xmm2, dword [0x100b99a8]
movaps xmm4, xmm0
subss xmm5, xmm6
movss dword [esp + 0x64], xmm2
divss xmm7, xmm1
divss xmm5, xmm1
subss xmm4, xmm7
comiss xmm2, xmm4
movaps xmm1, xmm4
subss xmm1, xmm5
jbe 0x10044f37
movaps xmm3, xmm2
movss dword [esp + 0x74], xmm2
jmp 0x10044f44
movaps xmm3, xmm0
minss xmm3, xmm4
movss dword [esp + 0x74], xmm3
divss xmm1, xmm3
comiss xmm2, xmm1
ja 0x10044f5a
movaps xmm2, xmm0
minss xmm2, xmm1
movss dword [esp + 0x64], xmm2
mov byte [esp + 9], 1
mov byte [esp + 8], 1
jmp 0x10044f6e
mov al, byte [esp + 8]
mov byte [esp + 0xa], al
test byte [esp + 0x44], 8
jne 0x10044f7a
call fcn.100259a0
mov edx, dword [0x100c6d88]
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
cmp dword [esp + 0xd4], 0x10000
jne 0x10045293
mov eax, dword [edx + 0x199c]
mov ecx, str.alpha
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x90], xmm4
mov byte [eax + 0x7c], 1
mov eax, dword [edx + 0x199c]
lea edx, [esp + 0x8c]
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 + 0x60]
movss dword [esp + 0x8c], xmm0
call fcn.1003a9f0
mov edx, dword [0x100c6d88]
mov ecx, dword [edx + 0x19bc]
test ecx, ecx
je 0x10045293
mov eax, dword [edx + 0x199c]
cmp ecx, dword [eax + 0x10c]
mov ecx, dword [esp + 0xc]
jne 0x10045297
movss xmm3, dword [ecx + 0xe4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x100b9a58]
subss xmm3, dword [esp + 0x24]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10045275
xorps xmm4, xmm4
jmp 0x1004527c
test eax, 0x2000000
je 0x10044f7a
movss xmm0, dword [esp + 0x20]
lea edx, [esp + 0x8c]
mov ecx, 0x100b8db4
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm0
call fcn.1003a9f0
mov ecx, dword [0x100c6d88]
mov edx, dword [ecx + 0x19bc]
test edx, edx
je 0x10045144
mov eax, dword [ecx + 0x199c]
cmp edx, dword [eax + 0x10c]
jne 0x10045144
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x20]
movss xmm1, dword [0x100b9a58]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xe0]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10045107
movss dword [esp + 0x64], xmm0
jmp 0x10045114
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x64], xmm4
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x10045132
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 8], al
movss dword [esp + 0x74], xmm1
jmp 0x10045148
mov al, byte [esp + 8]
test byte [esp + 0x44], 8
mov byte [esp + 9], al
mov byte [esp + 0xb], al
jne 0x10045162
call fcn.100259a0
mov ecx, dword [0x100c6d88]
mov eax, dword [ecx + 0x199c]
lea edx, [esp + 0x8c]
movss xmm2, dword [esp + 0x84]
movss xmm0, dword [esp + 0x24]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
mov ecx, 0x100b8db8
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm0, dword [eax + 0xe4]
maxss xmm0, dword [eax + 0xcc]
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm2
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0xe0], xmm1
movss dword [esp + 0x90], xmm0
call fcn.1003a9f0
mov edx, dword [0x100c6d88]
mov ecx, dword [edx + 0x19bc]
test ecx, ecx
je 0x10044f80
mov al, byte [esp + 8]
mov byte [esp + 9], al
mov eax, dword [edx + 0x199c]
cmp ecx, dword [eax + 0x10c]
jne 0x10044f80
mov eax, dword [esp + 0xc]
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movaps xmm0, xmm4
movss xmm1, dword [0x100b9a58]
movss xmm2, dword [eax + 0xe4]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10045258
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xb]
movss dword [esp + 0x48], xmm0
mov byte [esp + 0xa], 1
mov byte [esp + 8], 1
mov byte [esp + 9], al
jmp 0x10044f8c
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x40]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 8], 1
movss dword [eax + 0xc], xmm0
jmp 0x10045297
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x7c], 1
mov edx, dword [edx + 0x199c]
mov eax, dword [edx + 0x174]
add eax, 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [edx + 0x174], eax
jne 0x100452c0
xor eax, eax
jmp 0x100452d2
mov edi, dword [esp + 0x4c]
mov eax, dword [edx + 0x17c]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x3c]
mov dword [edx + 0x168], eax
mov eax, dword [esp + 0x44]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x14], edx
jne 0x10045307
movss xmm1, dword [ecx + 0x154c]
xorps xmm0, xmm0
call fcn.10025510
call fcn.10025250
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
and eax, 0x80
mov dword [esp + 0x4c], eax
jne 0x10045367
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
jae 0x10045367
nop dword [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x10045336
cmp cl, 0x23
jne 0x10045330
cmp byte [eax + 1], cl
je 0x10045336
inc eax
cmp eax, 0xffffffff
jb 0x10045320
mov dword [esp + 0x10], eax
cmp dword [esp + 0x38], eax
je 0x10045367
test edx, edx
je 0x1004535c
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.10025510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, eax
call fcn.10039c70
cmp dword [esp + 0x14], 0
jne 0x1004554e
mov ecx, 0x10
call fcn.10024ca0
cmp dword [esp + 0xbc], 0
mov eax, dword [esp + 0x40]
je 0x10045394
movss xmm1, dword [0x100b9a58]
jmp 0x10045399
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x4c], 0
movss xmm0, dword [eax]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
je 0x100453df
push str.Current
call fcn.1003a280
add esp, 4
movss xmm1, dword [esp + 0x60]
lea edx, [esp + 0x8c]
mov eax, dword [esp + 0x44]
movaps xmm0, xmm1
mulss xmm0, dword [0x100b9ac8]
and eax, 0xe0040
mov ecx, str.current
mov dword [esp + 0xa8], eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
movss dword [esp + 0xa0], xmm0
push dword [esp + 0x2c]
push eax
call fcn.10046ac0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1004550e
push str.Original
call fcn.1003a280
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0xbc], 0
je 0x1004546d
movss xmm1, dword [0x100b9a58]
jmp 0x10045472
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xec]
movss dword [esp + 0xec], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
movss dword [esp + 0xfc], xmm1
push dword [esp + 0x2c]
push dword [esp + 0xb0]
call fcn.10046ac0
add esp, 0xc
test al, al
je 0x1004550e
xor eax, eax
cmp dword [esp + 0xbc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push dword [esp + 0x48]
call fcn.10056e20
add esp, 0xc
mov byte [esp + 8], 1
mov ecx, dword [0x100c6d88]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x174]
sub edx, 1
mov dword [ecx + 0x174], edx
jne 0x10045539
xor eax, eax
jmp 0x10045543
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x168], eax
call fcn.10025380
cmp byte [esp + 0xa], 0
jne 0x1004555c
cmp byte [esp + 9], 0
je 0x100455ba
movss xmm1, dword [esp + 0x74]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004556f
movaps xmm3, xmm1
jmp 0x10045577
movss xmm3, dword [0x100b9990]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
movss xmm2, dword [0x100b9998]
ja 0x1004558d
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x48]
comiss xmm0, dword [0x100b9a58]
jb 0x100455a0
subss xmm0, xmm2
push dword [esp + 0x78]
mov edx, dword [esp + 0xb4]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x44]
call fcn.1001ae60
add esp, 4
test byte [esp + 0x44], 0x20
mov byte [esp + 0xb], 0
jne 0x10045823
cmp dword [esp + 0xd4], 0x10000
jne 0x100455e2
movss xmm0, dword [esp + 0xd8]
jmp 0x100455eb
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x30]
call fcn.10024ab0
mov eax, dword [esp + 0x44]
mov edx, eax
and edx, 0x18e001a
mov dword [esp + 0x14], edx
test eax, 0x100000
jne 0x10045627
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x38], ecx
jne 0x10045687
mov dword [esp + 0x38], ecx
jmp 0x10045630
and eax, 0x700000
mov dword [esp + 0x38], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x44]
call fcn.10043390
add esp, 4
test al, al
je 0x1004567b
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x19bc], 0
je 0x10045667
cmp byte [eax + 0x19cd], 0
mov byte [esp + 0xb], 1
je 0x1004566c
mov byte [esp + 0xb], 0
mov ecx, dword [esp + 0x38]
mov byte [esp + 8], 1
mov dword [esp + 0x38], ecx
jmp 0x1004567f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
test eax, 0x200000
jne 0x10045692
test ecx, ecx
jne 0x100456b6
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x44]
call fcn.10043390
mov ecx, dword [esp + 0x3c]
add esp, 4
or byte [esp + 8], al
mov eax, dword [esp + 0x44]
test eax, 0x400000
jne 0x100456c1
test ecx, ecx
jne 0x100456e0
mov eax, dword [esp + 0x14]
mov ecx, str.hex
mov edx, dword [esp + 0x40]
or eax, 0x400004
push eax
call fcn.10043390
add esp, 4
or byte [esp + 8], al
mov ecx, dword [0x100c6d88]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10045711
movss xmm0, dword [ecx + 0x220]
jmp 0x1004571d
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0xb], 0
movss dword [ecx + 0x16c], xmm0
je 0x10045823
mov ecx, dword [esp + 0x40]
xorps xmm2, xmm2
movss xmm3, dword [ecx + 4]
lea eax, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea edx, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x10045764
movss xmm6, dword [0x100b9bdc]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10045781
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100b9bc8]
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 [0x100b9984]
movaps xmm7, xmm1
mulss xmm1, dword [0x100b9adc]
divss xmm7, xmm0
addss xmm1, dword [0x100b9984]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100b9d10]
comiss xmm2, xmm3
jb 0x10045823
movss xmm0, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x10045823
comiss xmm2, xmm4
jb 0x10045802
movss xmm1, dword [esp + 0x74]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100457ff
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm2, dword [0x100b9a18]
push edx
lea edx, [ecx + 4]
jmp 0x1004581b
lea eax, [ecx + 4]
comiss xmm2, xmm7
jb 0x10045823
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm4
mulss xmm1, dword [0x100b9a18]
push edx
mov edx, eax
call fcn.1001ae60
add esp, 4
movaps xmm0, xmmword [0x100b9cc0]
lea eax, [esp + 0x94]
movss xmm2, dword [0x100b9a58]
lea edx, [esp + 0x90]
movups xmmword [esp + 0x8c], xmm0
lea ecx, [esp + 0x8c]
movss xmm0, dword [esp + 0x48]
movaps xmm1, xmm2
push eax
call fcn.1001ae60
movups xmm3, xmmword [esp + 0x90]
add esp, 4
movss xmm2, dword [0x100b9a58]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1004587e
xorps xmm0, xmm0
jmp 0x10045885
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x100b9b5c]
movss xmm7, dword [0x100b9a18]
movss xmm4, dword [esp + 0x90]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x100458b4
xorps xmm0, xmm0
jmp 0x100458bb
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x94]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x100458df
xorps xmm0, xmm0
jmp 0x100458e6
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x98]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004590a
xorps xmm0, xmm0
jmp 0x10045911
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x40]
mulss xmm0, xmm3
movss xmm4, dword [eax]
mov eax, dword [esp + 0xb0]
addss xmm0, xmm7
movss xmm5, dword [eax]
mov eax, dword [esp + 0x78]
cvttss2si edx, xmm0
movss xmm6, dword [eax]
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x10], edx
jbe 0x1004594b
xorps xmm0, xmm0
jmp 0x10045952
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x10045968
xorps xmm0, xmm0
jmp 0x1004596f
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x1004598a
xorps xmm0, xmm0
jmp 0x10045991
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
mov dword [esp + 0xec], 0xff0000ff
mov dword [esp + 0xf0], 0xff00ffff
mov dword [esp + 0xf4], 0xff00ff00
addss xmm0, xmm7
mov dword [esp + 0xf8], 0xffffff00
mov dword [esp + 0xfc], 0xffff0000
mov dword [esp + 0x100], 0xffff00ff
mov dword [esp + 0x104], 0xff0000ff
mov dword [esp + 0x2c], 0
cvttss2si eax, xmm0
mov dword [esp + 0x28], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x68], 0
mov dword [esp + 0x5c], ecx
je 0x10046452
movss xmm1, dword [esp + 0x54]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100b9a6c]
movss xmm0, dword [esp + 0x50]
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xe4], xmm3
imul ecx
movss dword [esp + 0x84], xmm0
movaps xmm4, xmm0
mov eax, 4
mulss xmm4, xmm7
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xe0], xmm4
mov edx, dword [esp + 0x3c]
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
add edi, 0x54
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xe8], edi
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xc4]
cvtdq2ps xmm1, xmm1
mov esi, dword [edx + 0x18]
push ecx
push ecx
mov ecx, edx
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100b9adc]
divss xmm1, dword [0x100b9adc]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100b9acc]
mulss xmm1, dword [0x100b9acc]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x84], xmm1
call fcn.100352a0
movss xmm0, dword [esp + 0x80]
mov eax, dword [esp + 0x3c]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push 0xffffffffffffffff
push dword [edi]
push dword [eax + 0x5c]
call fcn.10034250
movss xmm0, dword [esp + 0x54]
cvtps2pd xmm0, xmm0
mov dword [edi], 0
call fcn.10078fe0
movss xmm1, dword [esp + 0x54]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm1
call fcn.10079cf0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x78]
cvtps2pd xmm0, xmm0
call fcn.10078fe0
movss xmm1, dword [esp + 0x78]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call fcn.10079cf0
movss xmm3, dword [esp + 0x68]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x9c]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0x14]
movss xmm2, dword [0x100b9a58]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x50]
movaps xmm7, xmm2
mov ecx, dword [esp + eax*4 + 0xf0]
mov eax, dword [esp + eax*4 + 0xec]
mulss xmm0, xmm3
mov dword [esp + 0x54], ecx
addss xmm4, dword [esp + 0xc0]
mov dword [esp + 0xa8], eax
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0xb0], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0xb0]
jae 0x10045d80
mov ecx, dword [esp + 0xa8]
movzx eax, cl
mov dword [esp + 0x78], eax
mov eax, ecx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x54]
shr eax, 0x10
shr ecx, 0x10
movzx edx, cl
movzx ecx, al
mov eax, dword [esp + 0x54]
sub ecx, edx
shr eax, 8
mov dword [esp + 0x7c], edx
movzx edx, al
mov eax, dword [esp + 0x54]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x7c]
nop dword [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 0x10045cce
xorps xmm2, xmm2
jmp 0x10045cd2
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0xc], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x78]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0xc], eax
shl dword [esp + 0xc], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x100b9a58]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x7c]
add eax, 0x14
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0xb0]
jb 0x10045ca0
mov edi, dword [esp + 0xe8]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
movss xmm3, dword [esp + 0xe4]
inc eax
movss xmm4, dword [esp + 0xe0]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
cmp eax, 6
jl 0x10045a90
movss xmm0, dword [esp + 0x48]
addss xmm0, xmm0
mulss xmm0, dword [0x100b9acc]
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm0
call fcn.10078fe0
movss xmm3, dword [esp + 0x48]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x50], xmm0
cvtps2pd xmm0, xmm3
call fcn.10079cf0
cmp byte [esp + 0xa], 0
xorps xmm5, xmm5
movss xmm3, dword [esp + 0x50]
movss xmm6, dword [esp + 0xa4]
cvtsd2ss xmm5, xmm0
movss xmm7, dword [esp + 0xc0]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x84]
movss xmm4, dword [esp + 0x80]
movss dword [esp + 0x4c], xmm5
mulss xmm0, dword [0x100b9a18]
addss xmm0, xmm6
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x100b9a18]
addss xmm0, xmm7
movss dword [esp + 0x34], xmm0
je 0x10045e5b
mulss xmm4, dword [0x100b9a28]
jmp 0x10045e63
mulss xmm4, dword [0x100b9a20]
movaps xmm0, xmm4
movss dword [esp + 0x80], xmm4
divss xmm0, dword [0x100b9a68]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x10045e87
mov eax, 9
jmp 0x10045e91
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x10], 0xff000000
movss xmm2, dword [0x100b9ae0]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
je 0x10045f1f
cmp eax, 2
jle 0x10046005
movd xmm1, eax
lea ecx, [eax - 1]
cvtdq2ps xmm1, xmm1
push ecx
push ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, esi
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, dword [0x100b9a58]
mulss xmm0, xmm2
movaps xmm2, xmm4
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100352a0
push dword [esp + 0x10]
mov ecx, esi
push dword [edi]
push dword [esi + 0x5c]
call fcn.10034d80
movss xmm2, dword [0x100b9ae0]
movss xmm4, dword [esp + 0x80]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov dword [edi], 0
jmp 0x10045f2f
lea ecx, [eax - 1]
mov dword [esp + 0x14], ecx
cmp eax, 2
jle 0x10046005
movd xmm0, eax
xorps xmm3, xmm3
cvtdq2ps xmm0, xmm0
push ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esi
movaps xmm1, xmm0
subss xmm1, dword [0x100b9a58]
mulss xmm1, xmm2
movaps xmm2, xmm4
addss xmm2, dword [0x100b9a58]
divss xmm1, xmm0
subss xmm2, dword [0x100b9a18]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x74], xmm1
call fcn.100352a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 1
push 0xff808080
push dword [edi]
push dword [esi + 0x5c]
call fcn.10034250
push dword [esp + 0x14]
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0x34]
movss xmm0, dword [esp + 0x6c]
xorps xmm3, xmm3
subss xmm2, dword [0x100b9a18]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
mov dword [edi], 0
call fcn.100352a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 1
push 0xffffffffffffffff
push dword [edi]
push dword [esi + 0x5c]
call fcn.10034250
movss xmm3, dword [esp + 0x50]
movss xmm5, dword [esp + 0x4c]
movss xmm6, dword [esp + 0xa4]
movss xmm7, dword [esp + 0xc0]
mov dword [edi], 0
movss xmm4, dword [esp + 0x18]
movaps xmm2, xmm3
mulss xmm2, xmm4
xorps xmm1, xmm1
mov eax, dword [0x100c6d88]
mov ecx, esi
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 + 0xb4]
addss xmm2, xmm6
movss dword [esp + 0x20], xmm2
movaps xmm2, xmm5
mulss xmm2, xmm4
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0xb4]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x90]
mulss xmm5, dword [esp + 0xbc]
addss xmm2, xmm7
movss dword [esp + 0x24], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x90]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xbc]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, xmm7
movss dword [esp + 0x38], xmm2
addss xmm3, xmm7
movss dword [esp + 0xa4], xmm4
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x18c4]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 0x18c8]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0xa8], xmm3
movss dword [esp + 0x54], xmm0
call fcn.10034090
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x30]
movss xmm2, dword [esp + 0x18]
movss xmm3, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x68]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss xmm1, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
movss xmm5, dword [esp + 0x30]
movss xmm4, dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x30]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edx
add dword [esi + 0x34], 0x14
inc dword [esi + 0x30]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
movss xmm7, dword [esp + 0x9c]
movss xmm6, dword [esp + 0x50]
mov word [eax], cx
add dword [esi + 0x38], 2
mov eax, dword [esi + 0x34]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [esi + 0x34], 0x14
inc dword [esi + 0x30]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
add dword [esi + 0x34], 0x14
inc dword [esi + 0x30]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0xff000000
add dword [esi + 0x34], 0x14
inc dword [esi + 0x30]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
add dword [esi + 0x34], 0x14
inc dword [esi + 0x30]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, edx
jne 0x100462ad
lea ecx, [eax + 1]
test edx, edx
je 0x10046295
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1004629a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1002bbb0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax + esi*8], ecx
mov ecx, esi
mov dword [eax + ecx*8 + 4], edx
inc dword [edi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, ecx
jne 0x10046306
lea edx, [eax + 1]
mov dword [esp + 0x68], edx
test ecx, ecx
je 0x100462ee
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, ecx
jmp 0x100462f3
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.1002bbb0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax + esi*8], ecx
mov ecx, esi
mov dword [eax + ecx*8 + 4], edx
inc dword [edi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, ecx
jne 0x1004635f
lea edx, [eax + 1]
mov dword [esp + 0x68], edx
test ecx, ecx
je 0x10046347
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, ecx
jmp 0x1004634c
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.1002bbb0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [eax + esi*8], ecx
mov ecx, esi
push ecx
mov dword [esp], 0x3fc00000
push 1
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [esp + 0x44]
mov ecx, eax
inc dword [edi]
push 0xff808080
push dword [edi]
push dword [eax + 0x5c]
call fcn.10034250
movss xmm0, dword [0x100b9a58]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi], 0
subss xmm2, dword [esp + 0x74]
comiss xmm1, xmm2
jbe 0x100463c2
xorps xmm4, xmm4
jmp 0x100463c9
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x64]
comiss xmm1, xmm2
jbe 0x100463d9
xorps xmm3, xmm3
jmp 0x100463e0
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x1c]
subss xmm2, dword [esp + 0x50]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0x3c]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x9c]
movss xmm3, dword [esp + 0x30]
addss xmm2, dword [esp + 0x50]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm2
movss dword [esp + 0x28], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x2c], xmm0
jmp 0x1004677a
test dword [esp + 0x44], 0x2000000
je 0x1004677a
movss xmm0, dword [esp + 0x7c]
lea eax, [esp + 0x18]
push 0xffffffffffffffff
push edx
movss dword [esp + 0x20], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x34], xmm0
call fcn.10035ab0
movss xmm0, dword [esp + 0x7c]
lea eax, [esp + 0xc4]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xd8], xmm0
lea eax, [esp + 0x44]
movss xmm0, dword [esp + 0x30]
mov ecx, edi
push eax
movss dword [esp + 0xe0], xmm0
call fcn.10035ab0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.1001b810
movss xmm3, dword [esp + 0x74]
xorps xmm0, xmm0
movss xmm1, dword [0x100b9a58]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10046523
xorps xmm2, xmm2
jmp 0x1004652a
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x20]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [0x100b9a18]
mulss xmm2, xmm7
movss xmm6, dword [0x100b9a9c]
movss xmm5, dword [esp + 0x7c]
addss xmm2, xmm3
addss xmm3, xmm6
subss xmm5, xmm6
addss xmm2, xmm4
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x10046578
movss dword [esp + 0x28], xmm3
jmp 0x1004658b
comiss xmm2, xmm5
jbe 0x10046585
movss dword [esp + 0x28], xmm5
jmp 0x1004658b
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x74]
comiss xmm0, xmm2
jbe 0x1004659e
xorps xmm1, xmm1
jmp 0x100465a2
minss xmm1, xmm2
movss xmm3, dword [esp + 0x24]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x100465dd
movss dword [esp + 0x2c], xmm1
jmp 0x100465f0
comiss xmm2, xmm0
jbe 0x100465ea
movss dword [esp + 0x2c], xmm0
jmp 0x100465f0
movss dword [esp + 0x2c], xmm2
movss xmm0, dword [esp + 0x58]
movaps xmm1, xmm7
divss xmm1, dword [0x100b9adc]
mov esi, dword [esp + 0x3c]
xor ecx, ecx
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x8c], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0xf0]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xcc]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xd0], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xf4]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
call fcn.10035ab0
movss xmm1, dword [esp + 0x68]
mov ecx, edi
movss xmm3, dword [esp + 0x24]
cmp ecx, 6
jl 0x10046630
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x84]
push dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm3
push dword [esp + 0x34]
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.1001b810
mov esi, dword [esp + 0xc8]
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x100b9a9c]
mov edi, dword [esp + 0x4c]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100b9a58]
push dword [esp + 0x2c]
movss xmm2, dword [esp + 0x98]
subss xmm2, dword [0x100b9a58]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0x34]
push dword [esp + 0x2c]
movss dword [esp + 0x48], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x100b9a18]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10044470
add esp, 0x20
cmp byte [esp + 9], 0
je 0x10046792
movss xmm0, dword [0x100b9ae8]
movss dword [esp + 0xdc], xmm0
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x28]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.100352a0
push dword [esp + 0x5c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034d80
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x28]
addss xmm2, dword [0x100b9a58]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x100b9a18]
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.100352a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034250
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x28]
subss xmm2, dword [0x100b9a18]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.100352a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10034250
cmp dword [esp + 0xd4], 0x10000
mov dword [edi + 0x54], 0
jne 0x10046a07
mov eax, dword [esp + 0x40]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x10046895
movss dword [esp + 0x58], xmm2
jmp 0x100468a7
movss xmm0, dword [0x100b9a58]
minss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movss xmm3, dword [esp + 0xd8]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x60]
movss dword [esp + 0xc8], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0xd0], xmm1
subss xmm1, xmm3
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0xd8], xmm0
push dword [esp + 0xd8]
mulss xmm1, dword [0x100b9a18]
push dword [esp + 0xd8]
movss dword [esp + 0xd4], xmm3
push dword [esp + 0xd8]
mov edi, dword [esp + 0xd8]
push edi
call fcn.10044180
mov ecx, dword [esp + 0x74]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.10035ab0
push dword [esp + 0xd0]
xorps xmm0, xmm0
push dword [esp + 0xd0]
push dword [esp + 0xd0]
push edi
call fcn.1001b810
movss xmm1, dword [0x100b9a58]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x4c]
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
movss xmm2, dword [esp + 0xe8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x68]
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
mulss xmm1, dword [esp + 0x38]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x100b9a18]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x78]
addss xmm1, dword [0x100b9a9c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10044470
add esp, 0x20
call fcn.10025380
cmp byte [esp + 8], 0
mov edi, dword [0x100c6d88]
je 0x10046a9e
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x108]
xor ecx, ecx
cmp dword [esp + 0xbc], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x10046a51
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10046a56
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10046a40
cmp ecx, 0xfffffffc
je 0x10046a99
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10046a83
cmp ecx, 0xfffffffd
je 0x10046a99
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10046a83
cmp ecx, 0xfffffffe
je 0x10046a99
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10046a83
cmp ecx, 0xffffffff
je 0x10046a99
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x10046a99
mov eax, dword [edi + 0x199c]
mov byte [edi + 0x19cf], 1
or dword [eax + 0x110], 4
jmp 0x10046a9e
mov byte [esp + 8], 0
mov ecx, dword [edi + 0x199c]
mov al, byte [esp + 8]
pop edi
pop esi
dec dword [ecx + 0x1c0]
mov esp, ebp
pop ebp
ret