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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x100c8050]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x100ca9c8]
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [ecx + 0x1b94]
mov edi, edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0x1c], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
mov dword [esp + 0xa0], eax
cmp byte [eax + 0x8f], 0
je 0x10056cd6
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10061d94
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1c78], 1
mov edx, dword [eax + 0x288]
mov dword [esp + 0x2c], edx
je 0x10056cf3
movss xmm1, dword [ecx + 0x1c7c]
jmp 0x10056cfb
movss xmm1, dword [eax + 0x1b4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10056d3d
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x24c]
jne 0x10056d1d
cmp dword [ecx + 0x1ecc], 0
je 0x10056d25
movss xmm0, dword [eax + 0x21c]
subss xmm0, dword [eax + 0xcc]
addss xmm0, xmm1
movss xmm1, dword [0x100be6a4]
maxss xmm1, xmm0
mov dword [ecx + 0x1c78], 0
mov ecx, dword [esp + 0x54]
cvttss2si esi, xmm1
call fcn.10033c60
call fcn.100342c0
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xa8], ecx
test cl, 8
jne 0x10056d86
mov edx, ecx
mov ecx, edi
call fcn.1005a5d0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x10056db2
mov eax, dword [edx + 0x2e24]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x10056dec
mov eax, dword [edx + 0x2e24]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0xc8], edi
mov edi, dword [esp + 0xbc]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x10056e02
mov eax, dword [edx + 0x2e24]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x1568]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], ecx
movss xmm0, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xcc]
mov eax, dword [0x100ca9c8]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm3
movss xmm4, dword [eax + 0x1554]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x1930]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x6c], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x58], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x128]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0xa8], xmm0
addss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
addss xmm0, xmm4
movss dword [esp + 0xf0], xmm0
addss xmm0, xmm2
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100be64c]
cvttss2si esi, xmm0
mov dword [esp + 0xac], esi
call fcn.10063980
movss xmm1, dword [esp + 0x4c]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x100be664]
mulss xmm3, dword [0x100be63c]
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm2
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x88], xmm3
movaps xmm4, xmm2
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100be630]
mulss xmm3, dword [0x100be664]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x30]
movss dword [esp + 0xa4], xmm4
movd xmm0, eax
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xf8], xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [edi + 4]
movaps xmm2, xmm4
subss xmm2, xmm0
movss xmm4, dword [edi + 8]
mov eax, dword [esp + 0xc]
mov ecx, eax
movss xmm7, dword [0x100be60c]
and ecx, 0x8000000
mov dword [esp + 0x24], 0
movss dword [esp + 0x28], xmm3
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm2
mulss xmm0, dword [0x100be79c]
movaps xmm1, xmm2
mov dword [esp + 0x90], ecx
mulss xmm1, dword [0x100be790]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100be694]
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xe8], xmm1
movss dword [esp + 0x108], xmm1
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0x98], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x70], xmm1
movaps xmm1, xmm4
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x74], xmm1
movss xmm1, dword [0x100be70c]
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0xe0], xmm1
je 0x1005718f
comiss xmm4, xmm3
xorps xmm1, xmm1
xorps xmm5, xmm5
movaps xmm2, xmm3
movaps xmm6, xmm4
jbe 0x100570bf
movss xmm5, dword [0x100be7a0]
movaps xmm2, xmm4
movaps xmm6, xmm3
comiss xmm2, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x3c], xmm4
jbe 0x100570e8
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100be78c]
subss xmm0, xmm5
movss dword [esp + 0x3c], xmm4
movaps xmm5, xmm0
movaps xmm0, xmm2
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm2, xmm6
mov eax, dword [ecx + 0x2e30]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100be70c]
addss xmm0, xmm7
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, xmm7
addss xmm2, xmm5
divss xmm3, xmm0
andps xmm2, xmmword [0x100beb50]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x28], xmm3
cmp eax, dword [edi]
jne 0x100571e1
mov eax, dword [ecx + 0x2e34]
cmp eax, dword [edi + 4]
jne 0x100571e1
mov eax, dword [ecx + 0x2e38]
cmp eax, dword [edi + 8]
jne 0x100571e1
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x10057176
movss xmm0, dword [ecx + 0x2e28]
movss dword [esp + 0x14], xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x100571e1
movss xmm0, dword [ecx + 0x2e2c]
movss dword [esp + 0x28], xmm0
jmp 0x100571e1
test eax, 0x10000000
je 0x100571e1
lea eax, [esp + 0x74]
movaps xmm2, xmm4
push eax
lea edx, [esp + 0x74]
movaps xmm1, xmm3
lea ecx, [esp + 0x9c]
call fcn.10029790
movss xmm0, dword [esp + 0x9c]
add esp, 4
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x78], xmm0
mov edx, dword [0x100ca9c8]
mov byte [esp + 0xb], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov ecx, dword [edx + 0x1b94]
mov eax, dword [ecx + 0x1b0]
or eax, 8
mov dword [ecx + 0x1b0], eax
lea ecx, [edx + 0x1cbc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
call fcn.10039da0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x44], ecx
je 0x1005787c
movss xmm1, dword [esp + 0x40]
lea edx, [esp + 0x64]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
push ecx
mov ecx, 0x100bdb50
movss dword [esp + 0x6c], xmm1
addss xmm0, dword [eax + 0x1568]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x68], xmm0
call fcn.1004c170
mov eax, dword [0x100ca9c8]
add esp, 4
mov ecx, dword [eax + 0x1bc8]
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x100576ff
mov eax, dword [eax + 0x1b94]
cmp ecx, dword [eax + 0x118]
jne 0x100576fa
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0x8c]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0xb8]
movss xmm4, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe8]
subss xmm4, dword [esp + 0xb8]
subss xmm3, dword [esp + 0x8c]
movaps xmm2, xmm0
movss dword [esp + 0xb4], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x50], xmm1
movss xmm1, dword [0x100be6a4]
addss xmm2, xmm0
movss dword [esp + 0xdc], xmm4
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm1
movss dword [esp + 0xd4], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x100573a8
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x100573a8
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
call fcn.100866e0
movss xmm2, dword [0x100be6f8]
xorps xmm0, xmm0
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100be664]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x100573a0
addss xmm1, dword [0x100be6a4]
movss dword [esp + 0x14], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x100573ba
mov al, byte [esp + 0xb]
movss xmm2, dword [0x100be6f8]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x12], al
xorps xmm0, xmmword [0x100beb80]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call fcn.10086c30
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x48]
call fcn.10087bd0
movss xmm6, dword [esp + 0x38]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xac]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x50]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb4]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xb4]
subss xmm3, xmm0
movss xmm7, dword [esp + 0x20]
movaps xmm0, xmm5
movss dword [esp + 0xcc], xmm5
mulss xmm0, dword [esp + 0x50]
movaps xmm5, xmm1
subss xmm5, xmm1
subss xmm7, dword [esp + 0xac]
addss xmm4, xmm0
movaps xmm2, xmm3
movss xmm0, dword [esp + 0x7c]
subss xmm2, xmm1
subss xmm0, dword [esp + 0x60]
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x48], xmm7
movaps xmm1, xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
subss xmm0, dword [esp + 0x60]
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x7c]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x7c]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100576f2
movss xmm0, dword [esp + 0x60]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x20]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [esp + 0x20]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x100576f2
movss xmm1, dword [esp + 0xcc]
movaps xmm7, xmm6
movss xmm2, dword [esp + 0xd4]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xdc]
mulss xmm7, dword [esp + 0xdc]
movss xmm3, dword [esp + 0xac]
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xd4], xmm7
subss xmm1, xmm3
movaps xmm0, xmm6
movss dword [esp + 0xd8], xmm6
subss xmm0, dword [esp + 0x60]
mulss xmm1, dword [esp + 0xb4]
mulss xmm0, dword [esp + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x7c]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x48]
movaps xmm1, xmm7
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0x50]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100575f7
movss xmm0, dword [esp + 0x60]
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x20]
subss xmm0, xmm5
movaps xmm1, xmm3
subss xmm1, dword [esp + 0x20]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10057637
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0xf0]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xd8]
call fcn.10028fd0
movss xmm3, dword [esp + 0xb8]
add esp, 0xc
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm4, dword [esp + 0x7c]
subss xmm6, xmm5
movss xmm1, dword [esp + 0x60]
subss xmm4, xmm5
subss xmm7, dword [esp + 0x20]
movaps xmm2, xmm3
subss xmm1, xmm5
subss xmm2, dword [esp + 0x20]
movaps xmm0, xmm4
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm1
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100be6a4]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x100be620]
movss dword [esp + 0x28], xmm0
comiss xmm0, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x100576c3
movaps xmm2, xmm0
movss dword [esp + 0x3c], xmm0
jmp 0x100576d0
movaps xmm2, xmm1
minss xmm2, xmm5
movss dword [esp + 0x3c], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x100576e6
movaps xmm0, xmm1
minss xmm0, xmm3
movss dword [esp + 0x28], xmm0
mov byte [esp + 0x11], 1
mov byte [esp + 0xb], 1
jmp 0x100576fa
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
mov eax, dword [0x100ca9c8]
test byte [esp + 0xc], 8
jne 0x10057776
cmp byte [eax + 0x3e3], 0
mov ecx, dword [eax + 0x1b94]
mov dword [esp + 0x48], ecx
je 0x10057776
mov ecx, 8
call fcn.1002aef0
test al, al
je 0x10057776
mov eax, dword [esp + 0x48]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100292b0
mov ecx, eax
add esp, 4
mov eax, dword [0x100ca9c8]
cmp dword [esp + 0x64], ecx
jne 0x1005775d
mov dword [eax + 0x1bcc], ecx
cmp dword [eax + 0x1c04], ecx
jne 0x1005776c
mov byte [eax + 0x1c08], 1
mov edx, 1
call fcn.10034da0
mov ecx, dword [0x100ca9c8]
movss xmm2, dword [esp + 0x18]
cmp dword [esp + 0xa8], 0x10000
jne 0x10057b1f
mov eax, dword [ecx + 0x1b94]
lea edx, [esp + 0xe8]
movss xmm0, dword [esp + 0xc0]
push ecx
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
mov ecx, str.alpha
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm2
movss xmm1, dword [eax + 0xe4]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, xmm2
movss dword [eax + 0xe4], xmm1
movss dword [eax + 0xe8], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0xf0], xmm0
call fcn.1004c170
mov ecx, dword [0x100ca9c8]
add esp, 4
mov edx, dword [ecx + 0x1bc8]
test edx, edx
je 0x10057b1f
mov eax, dword [ecx + 0x1b94]
cmp edx, dword [eax + 0x118]
jne 0x10057b1f
mov eax, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x40]
movss xmm1, dword [0x100be6a4]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x18]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10057b07
xorps xmm4, xmm4
jmp 0x10057b0e
test eax, 0x2000000
je 0x10057776
movss xmm0, dword [esp + 0x40]
lea edx, [esp + 0xe8]
push ecx
mov ecx, 0x100bdb54
movss dword [esp + 0xec], xmm0
movss dword [esp + 0xf0], xmm0
call fcn.1004c170
mov ecx, dword [0x100ca9c8]
add esp, 4
mov edx, dword [ecx + 0x1bc8]
mov dword [esp + 0x48], edx
test edx, edx
je 0x10057961
mov eax, dword [ecx + 0x1b94]
cmp edx, dword [eax + 0x118]
jne 0x10057961
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x40]
movss xmm1, dword [0x100be6a4]
subss xmm3, xmm1
movss xmm4, dword [eax + 0xe4]
subss xmm4, dword [esp + 0x30]
movss dword [esp + 0x50], xmm3
divss xmm4, xmm3
comiss xmm0, xmm4
jbe 0x1005791c
movss dword [esp + 0x28], xmm0
jmp 0x10057929
movaps xmm2, xmm1
minss xmm2, xmm4
movss dword [esp + 0x28], xmm2
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x18]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10057945
xorps xmm3, xmm3
jmp 0x1005794c
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xb], al
movss dword [esp + 0x3c], xmm0
jmp 0x10057979
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [0x100be6a4]
mov al, byte [esp + 0xb]
movss dword [esp + 0x50], xmm0
test byte [esp + 0xc], 8
mov byte [esp + 0x11], al
mov byte [esp + 0x13], al
jne 0x100579ff
cmp byte [ecx + 0x3e3], 0
mov eax, dword [ecx + 0x1b94]
mov dword [esp + 0x64], eax
je 0x100579ff
mov ecx, 8
call fcn.1002aef0
test al, al
je 0x100579f9
mov eax, dword [esp + 0x64]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100292b0
mov ecx, dword [0x100ca9c8]
add esp, 4
cmp dword [esp + 0x48], eax
jne 0x100579de
mov dword [ecx + 0x1bcc], eax
cmp dword [ecx + 0x1c04], eax
jne 0x100579ed
mov byte [ecx + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.10034da0
mov ecx, dword [0x100ca9c8]
mov eax, dword [ecx + 0x1b94]
lea edx, [esp + 0xe8]
movss xmm0, dword [esp + 0xb0]
movss xmm2, dword [esp + 0x18]
push ecx
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
mov ecx, 0x100bdb58
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm2
movss xmm1, dword [eax + 0xe4]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, xmm2
movss dword [eax + 0xe4], xmm1
movss dword [eax + 0xe8], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0xf0], xmm0
call fcn.1004c170
mov ecx, dword [0x100ca9c8]
add esp, 4
mov edx, dword [ecx + 0x1bc8]
test edx, edx
je 0x1005777c
mov al, byte [esp + 0xb]
mov byte [esp + 0x11], al
mov eax, dword [ecx + 0x1b94]
cmp edx, dword [eax + 0x118]
jne 0x1005777c
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x18]
movss xmm1, dword [eax + 0xe8]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x50]
comiss xmm0, xmm1
ja 0x10057aea
movss xmm0, dword [0x100be6a4]
minss xmm0, xmm1
mov al, byte [esp + 0x13]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x11], al
jmp 0x10057782
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xb], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [ecx + 0x1b94]
dec dword [ecx + 0x1cbc]
mov eax, dword [0x100ca9c8]
mov ecx, dword [ecx + 0x1cbc]
mov eax, dword [eax + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b0], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x38], ecx
jne 0x10057b75
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1568]
call fcn.10034080
call fcn.100342c0
mov eax, dword [esp + 0xc]
and eax, 0x80
mov dword [esp + 0x48], eax
jne 0x10057be3
mov ecx, dword [esp + 0x54]
cmp ecx, 0xffffffff
jae 0x10057be3
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10057ba6
cmp dl, 0x23
jne 0x10057ba0
cmp byte [ecx + 1], dl
je 0x10057ba6
inc ecx
cmp ecx, 0xffffffff
jb 0x10057b90
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
cmp eax, ecx
je 0x10057be3
cmp dword [esp + 0x38], 0
je 0x10057bd5
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1568]
call fcn.10034080
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1004b020
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x10057dd3
mov edx, dword [0x100ca9c8]
mov ecx, dword [edx + 0x1b94]
mov eax, dword [ecx + 0x1b0]
or eax, 0x10
mov dword [ecx + 0x1b0], eax
lea ecx, [edx + 0x1cbc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push eax
call fcn.10039da0
cmp dword [esp + 0x58], 0
je 0x10057c2e
movss xmm1, dword [0x100be6a4]
jmp 0x10057c33
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x48], 0
movss xmm0, dword [edi]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0xf4], xmm1
je 0x10057c79
push str.Current
call fcn.1004b6e0
add esp, 4
movss xmm1, dword [esp + 0x6c]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm1
mulss xmm0, dword [0x100be6f4]
and eax, 0x180e0040
mov ecx, str.current
mov dword [esp + 0xd4], eax
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xd0], xmm0
push dword [esp + 0xd0]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0xd0]
push eax
call fcn.10059500
add esp, 0xc
cmp dword [esp + 0x94], 0
je 0x10057da7
push str.Original
call fcn.1004b6e0
mov eax, dword [esp + 0x98]
add esp, 4
cmp dword [esp + 0x58], 0
je 0x10057d15
movss xmm1, dword [0x100be6a4]
jmp 0x10057d1a
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x108]
movss dword [esp + 0x108], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x68], xmm0
push dword [esp + 0x68]
movss dword [esp + 0x118], xmm1
push dword [esp + 0x68]
push dword [esp + 0xdc]
call fcn.10059500
add esp, 0xc
test al, al
je 0x10057da7
push dword [esp + 0xc8]
push dword [esp + 0x98]
push edi
call fcn.10063980
add esp, 0xc
mov byte [esp + 0xb], 1
mov eax, dword [0x100ca9c8]
mov edx, dword [eax + 0x1b94]
dec dword [eax + 0x1cbc]
mov ecx, dword [eax + 0x1cbc]
mov eax, dword [eax + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b0], eax
call fcn.100343f0
cmp byte [esp + 0x12], 0
jne 0x10057de5
cmp byte [esp + 0x11], 0
je 0x10057e80
cmp dword [esp + 0x90], 0
je 0x10057ea9
movss xmm1, dword [esp + 0x3c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10057e06
movaps xmm3, xmm1
jmp 0x10057e0e
movss xmm3, dword [0x100be610]
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
movss xmm2, dword [0x100be614]
ja 0x10057e24
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x100be6a4]
jb 0x10057e37
subss xmm0, xmm2
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
movaps xmm2, xmm3
call fcn.10029790
mov ecx, dword [esp + 0x20]
add esp, 4
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x14]
movss dword [ecx + 0x2e28], xmm1
movss dword [ecx + 0x2e2c], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2e30], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2e38], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x13], 0
test al, 0x20
jne 0x10058259
cmp dword [esp + 0xa8], 0x10000
jne 0x10057ed6
movss xmm0, dword [esp + 0xc0]
jmp 0x10057edf
mov eax, dword [esp + 0xc]
test eax, 0x10000000
je 0x10057e84
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x14]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
jmp 0x10057e84
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x30]
call fcn.10034140
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x58], edx
test eax, 0x100000
jne 0x10057f1b
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x54], ecx
jne 0x10057f79
mov dword [esp + 0x54], ecx
jmp 0x10057f24
and eax, 0x700000
mov dword [esp + 0x54], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.100557a0
add esp, 4
test al, al
je 0x10057f6d
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1bc8], 0
je 0x10057f59
cmp byte [eax + 0x1bd5], 0
mov byte [esp + 0x13], 1
je 0x10057f5e
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xb], 1
mov dword [esp + 0x54], ecx
jmp 0x10057f71
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x10057f84
test ecx, ecx
jne 0x10057fa6
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.100557a0
mov ecx, dword [esp + 0x58]
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x10057fb1
test ecx, ecx
jne 0x10057fce
mov eax, dword [esp + 0x58]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.100557a0
add esp, 4
or byte [esp + 0xb], al
cmp byte [esp + 0x13], 0
xorps xmm2, xmm2
mov ecx, dword [0x100ca9c8]
mov eax, dword [ecx + 0x1b94]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1b94]
mov ecx, dword [edx + 0x1bc]
mov eax, dword [edx + 0x1c4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b4], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1bc], eax
lea ecx, [edi + 8]
lea edx, [edi + 4]
je 0x100580fe
cmp dword [esp + 0x90], 0
je 0x100580fe
movss xmm3, dword [edx]
xorps xmm6, xmm6
movss xmm5, dword [ecx]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1005804d
movss xmm6, dword [0x100be7a0]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1005806a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100be78c]
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 [0x100be60c]
movaps xmm7, xmm1
mulss xmm1, dword [0x100be70c]
divss xmm7, xmm0
addss xmm1, dword [0x100be60c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100beb50]
comiss xmm2, xmm3
jb 0x100580fe
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm2
jbe 0x100580fe
comiss xmm2, xmm4
jb 0x1005823a
movss xmm1, dword [esp + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1005823a
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm2, dword [0x100be664]
push ecx
mov ecx, edi
call fcn.10029790
add esp, 4
lea ecx, [edi + 8]
xorps xmm2, xmm2
lea edx, [edi + 4]
mov eax, dword [esp + 0xc]
cmp byte [esp + 0xb], 0
je 0x100582d1
cmp dword [esp + 0x90], 0
je 0x10058267
movss xmm0, dword [edx]
xorps xmm5, xmm5
movss xmm3, dword [ecx]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0xc4], xmm7
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x78], xmm3
jbe 0x1005815b
movss xmm5, dword [0x100be7a0]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x3c], xmm4
jbe 0x10058184
movss xmm0, dword [0x100be78c]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x3c], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2e30]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100be70c]
addss xmm0, dword [0x100be60c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x100be60c]
andps xmm1, xmmword [0x100beb50]
divss xmm3, xmm0
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x28], xmm3
cmp eax, dword [edi]
jne 0x100582d5
mov eax, dword [ecx + 0x2e34]
cmp eax, dword [edi + 4]
jne 0x100582d5
mov eax, dword [ecx + 0x2e38]
cmp eax, dword [edi + 8]
jne 0x100582d5
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1005821a
movss xmm0, dword [ecx + 0x2e28]
movss dword [esp + 0x14], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x100582d5
movss xmm0, dword [ecx + 0x2e2c]
movss dword [esp + 0x28], xmm0
jmp 0x100582d5
comiss xmm2, xmm7
jb 0x100580fe
movss xmm1, dword [esp + 0x28]
movaps xmm2, xmm4
mulss xmm1, dword [0x100be664]
jmp 0x100580ea
xorps xmm2, xmm2
lea ecx, [edi + 8]
lea edx, [edi + 4]
jmp 0x10058102
test eax, 0x10000000
je 0x100582d1
movss xmm1, dword [edx]
lea eax, [esp + 0x74]
movss xmm2, dword [ecx]
lea edx, [esp + 0x70]
movss xmm0, dword [edi]
lea ecx, [esp + 0x98]
push eax
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x40], xmm2
call fcn.10029790
movss xmm0, dword [esp + 0x9c]
add esp, 4
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x1c]
movss xmm2, dword [ecx + 0x1518]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x100be6a4]
jbe 0x100582f2
xorps xmm1, xmm1
jmp 0x100582f9
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100be744]
mov dword [esp + 0xe8], 0x3f800000
movss dword [esp + 0xf4], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xec], 0x3f800000
addss xmm1, dword [0x100be664]
mov dword [esp + 0xf0], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x14]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x94], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x70], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x108], ecx
or eax, 0x808080
mov dword [esp + 0x120], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0xe8]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xec]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0xf0]
push eax
call fcn.10029790
movss xmm3, dword [esp + 0xec]
xorps xmm0, xmm0
movss xmm2, dword [0x100be6a4]
add esp, 4
comiss xmm0, xmm3
jbe 0x100583fb
xorps xmm1, xmm1
jmp 0x10058402
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x100be744]
movss xmm5, dword [0x100be664]
movss xmm4, dword [esp + 0xec]
comiss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x10058431
xorps xmm1, xmm1
jmp 0x10058438
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0xf0]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1005845c
xorps xmm1, xmm1
jmp 0x10058463
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0xf4]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm4
jbe 0x10058487
xorps xmm1, xmm1
jmp 0x1005848e
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0xc4]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm4
mov dword [esp + 0x98], edx
jbe 0x100584b9
xorps xmm1, xmm1
jmp 0x100584c0
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x80]
comiss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x100584df
xorps xmm1, xmm1
jmp 0x100584e6
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x78]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10058507
xorps xmm1, xmm1
jmp 0x1005850e
movaps xmm1, xmm2
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
ja 0x10058537
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm3
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x58], eax
je 0x10058e82
movss xmm1, dword [esp + 0x5c]
movaps xmm3, xmm5
movss xmm0, dword [esp + 0xa4]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xd4], xmm3
imul ecx
movss dword [esp + 0xb4], xmm0
movaps xmm4, xmm0
mov eax, 4
mulss xmm4, xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xcc], xmm4
mov edx, dword [esp + 0x2c]
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0xdc], ecx
lea eax, [edx + 0x54]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xc], eax
movd xmm1, esi
lea eax, [esp + 0xf8]
cvtdq2ps xmm1, xmm1
mov edi, dword [edx + 0x18]
push ecx
push ecx
mov ecx, edx
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100be70c]
divss xmm1, dword [0x100be70c]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100be6f8]
mulss xmm1, dword [0x100be6f8]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
call fcn.10043630
movss xmm0, dword [esp + 0x88]
mov eax, dword [esp + 0x2c]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x78]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10042210
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x54], 0
call fcn.10086c30
movss xmm1, dword [esp + 0x5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x64], xmm0
cvtps2pd xmm0, xmm1
call fcn.10087bd0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
call fcn.10086c30
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm1
call fcn.10087bd0
movss xmm3, dword [esp + 0x44]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0x48]
movss xmm5, dword [esp + 0x64]
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + esi*4 + 0x108]
movss xmm2, dword [0x100be6a4]
subss xmm3, xmm5
mulss xmm4, dword [esp + 0xa4]
mov edx, dword [eax + 0x20]
addss xmm4, dword [esp + 0x8c]
movaps xmm0, xmm3
mulss xmm0, xmm3
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x48], xmm0
mov eax, dword [eax + 0x18]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
movzx eax, cl
mov dword [esp + 0x38], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x5c], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x10c]
mov dword [esp + 0x90], eax
movzx eax, cl
sub eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x5c]
shr ecx, 0x10
mov dword [esp + 0x50], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x44]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x90]
cmp edx, edi
jae 0x100588c1
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x64]
movd xmm7, ecx
mov ecx, dword [esp + 0x90]
cvtdq2ps xmm7, xmm7
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x48]
comiss xmm0, xmm1
jbe 0x10058830
xorps xmm2, xmm2
jmp 0x10058834
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
mulss xmm0, xmm7
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x5c]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100be6a4]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x90]
cmp edx, edi
jb 0x10058800
mov esi, dword [esp + 0x9c]
movss xmm3, dword [esp + 0xd4]
inc esi
movss xmm4, dword [esp + 0xcc]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x9c], esi
cmp esi, 6
jl 0x100585e2
movss xmm0, dword [esp + 0x14]
addss xmm0, xmm0
mulss xmm0, dword [0x100be6f8]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call fcn.10086c30
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm1
call fcn.10087bd0
cmp byte [esp + 0x12], 0
xorps xmm2, xmm2
movss xmm1, dword [esp + 0xb4]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x5c]
mulss xmm1, xmm2
mulss xmm0, dword [0x100be664]
mulss xmm1, dword [0x100be664]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x44], xmm2
addss xmm1, dword [esp + 0x8c]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm1
movss xmm1, dword [esp + 0x88]
je 0x10058992
mulss xmm1, dword [0x100be670]
jmp 0x1005899a
mulss xmm1, dword [0x100be668]
movaps xmm0, xmm1
movss dword [esp + 0x88], xmm1
divss xmm0, dword [0x100be6c0]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x100589be
mov esi, 9
jmp 0x100589c8
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push esi
push dword [esp + 0x9c]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.100444e0
movss xmm2, dword [esp + 0x88]
lea eax, [esp + 0x30]
addss xmm2, dword [0x100be6a4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x7c]
push eax
call fcn.10044390
movss xmm2, dword [esp + 0x88]
lea eax, [esp + 0x30]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x78]
push esi
push eax
call fcn.10044390
movss xmm4, dword [esp + 0x44]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x5c]
movaps xmm0, xmm4
movss xmm5, dword [esp + 0x20]
movaps xmm2, xmm3
movss xmm7, dword [esp + 0xb8]
mulss xmm0, xmm1
mov eax, dword [0x100ca9c8]
mulss xmm2, xmm5
push 6
movss xmm6, dword [esp + 0xb0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm7
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm4
mulss xmm2, xmm5
movss xmm5, dword [esp + 0x84]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm5, xmm3
addss xmm2, dword [esp + 0x94]
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
addss xmm5, xmm6
addss xmm1, xmm7
addss xmm5, dword [esp + 0x94]
movss dword [esp + 0x38], xmm1
movss xmm1, dword [esp + 0x68]
movaps xmm0, xmm1
movss dword [esp + 0x84], xmm5
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss dword [esp + 0x3c], xmm5
movss xmm0, dword [eax + 0x1938]
addss xmm1, xmm6
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x193c]
movss dword [esp + 0x6c], xmm0
addss xmm2, xmm7
addss xmm1, dword [esp + 0x94]
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x54], xmm1
mov ecx, edi
call fcn.10042030
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x28]
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x64]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x98]
movss xmm5, dword [esp + 0x30]
movss xmm2, dword [esp + 0x7c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x48]
movss xmm6, dword [esp + 0x60]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm5
movss dword [eax + 4], xmm2
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
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm3
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], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
mov ecx, dword [esp + 0x94]
movss dword [eax], xmm5
movss dword [eax + 4], xmm2
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov esi, dword [esp + 0xa0]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
test dword [esp + 0x74], 0xff000000
je 0x10058df8
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 4]
mov edx, dword [eax]
cmp edx, edi
jne 0x10058d0c
inc edx
mov dword [esp + 0x44], edx
test edi, edi
je 0x10058cf6
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0xc]
sar ecx, 1
add ecx, edi
jmp 0x10058cfb
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.1003a470
mov eax, dword [esp + 0xc]
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 + 0xc]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x10058d53
inc edi
test eax, eax
je 0x10058d3f
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10058d44
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.1003a470
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x10058d9e
inc edi
test eax, eax
je 0x10058d8a
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10058d8f
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.1003a470
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [eax]
push ecx
mov dword [esp], 0x3fc00000
push 1
push dword [esp + 0x7c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, eax
inc dword [edi]
push dword [edi]
push dword [eax + 0x5c]
call fcn.10042210
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0x30]
movss xmm7, dword [esp + 0x48]
mov dword [edi], 0
movss xmm1, dword [0x100be6a4]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x10058e16
xorps xmm6, xmm6
jmp 0x10058e1d
movaps xmm6, xmm1
minss xmm6, xmm2
movss xmm2, dword [esp + 0x28]
comiss xmm0, xmm2
jbe 0x10058e2d
xorps xmm1, xmm1
jmp 0x10058e31
minss xmm1, xmm2
subss xmm4, dword [esp + 0x60]
movss xmm0, dword [esp + 0x7c]
subss xmm3, xmm7
mulss xmm4, xmm1
mulss xmm3, xmm1
addss xmm4, dword [esp + 0x60]
addss xmm3, xmm7
subss xmm0, xmm4
subss xmm5, xmm3
mulss xmm0, xmm6
mulss xmm5, xmm6
addss xmm0, xmm4
addss xmm5, xmm3
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x80], xmm5
jmp 0x100591f7
test dword [esp + 0xc], 0x2000000
je 0x10059202
mov eax, dword [esp + 0x70]
movss xmm0, dword [esp + 0x9c]
mov ecx, dword [esp + 0x2c]
push eax
push edx
push edx
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x114], xmm0
call fcn.10044110
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0xf8]
movss xmm0, dword [esp + 0x9c]
push ecx
push ecx
mov ecx, dword [esp + 0x34]
push 0
push 0
push eax
movss dword [esp + 0x10c], xmm0
lea eax, [esp + 0x44]
movss xmm0, dword [esp + 0x8c]
push eax
movss dword [esp + 0x114], xmm0
call fcn.10044110
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.1002a0e0
movss xmm2, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [0x100be6a4]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10058f76
xorps xmm3, xmm3
jmp 0x10058f7d
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm7, dword [esp + 0x40]
movss xmm6, dword [esp + 0x30]
movss xmm5, dword [0x100be664]
mulss xmm3, xmm7
movss xmm4, dword [esp + 0x9c]
addss xmm3, xmm6
addss xmm3, xmm5
cvttss2si eax, xmm3
movss xmm3, dword [0x100be6e0]
addss xmm6, xmm3
subss xmm4, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm6, xmm2
jbe 0x10058fd1
movss dword [esp + 0x80], xmm6
jmp 0x10058fea
comiss xmm2, xmm4
jbe 0x10058fe1
movss dword [esp + 0x80], xmm4
jmp 0x10058fea
movss dword [esp + 0x80], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x10058ffd
xorps xmm1, xmm1
jmp 0x10059001
minss xmm1, xmm2
movss xmm4, dword [esp + 0x18]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm3
addss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
movaps xmm1, xmm4
addss xmm1, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1005903f
movss dword [esp + 0x84], xmm1
jmp 0x10059058
comiss xmm2, xmm0
jbe 0x1005904f
movss dword [esp + 0x84], xmm0
jmp 0x10059058
movss dword [esp + 0x84], xmm2
movss xmm0, dword [esp + 0xe4]
movaps xmm1, xmm7
divss xmm1, dword [0x100be70c]
mov esi, dword [esp + 0x2c]
xor ecx, ecx
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x44], xmm1
movss dword [esp + 0xe8], xmm0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x10c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x100]
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x104], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x110]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xfc]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x104], xmm0
call fcn.10044110
movss xmm1, dword [esp + 0x44]
mov ecx, edi
movss xmm4, dword [esp + 0x18]
cmp ecx, 6
jl 0x100590a0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0xb0]
push dword [esp + 0x24]
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm4
push dword [esp + 0x24]
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.1002a0e0
mov esi, dword [esp + 0xb0]
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x100be6e0]
mov ecx, dword [esp + 0x3c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x100be6a4]
movss xmm2, dword [esp + 0xc0]
push dword [esp + 0x34]
subss xmm2, dword [0x100be6a4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x54]
push dword [esp + 0x34]
movss dword [esp + 0x48], xmm2
addss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x100be664]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10056a50
add esp, 0x20
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xbc]
cmp byte [esp + 0x11], 0
je 0x1005921c
movss xmm0, dword [0x100be718]
movss dword [esp + 0xe0], xmm0
jmp 0x10059224
movss xmm0, dword [0x100be70c]
mov ecx, dword [esp + 0x2c]
movaps xmm2, xmm0
push 0xc
push eax
lea eax, [esp + 0x88]
push eax
call fcn.100444e0
movss xmm2, dword [esp + 0xe0]
lea eax, [esp + 0x80]
addss xmm2, dword [0x100be6a4]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x7c]
push eax
call fcn.10044390
movss xmm2, dword [esp + 0xe0]
lea eax, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x78]
push eax
call fcn.10044390
cmp dword [esp + 0xa8], 0x10000
jne 0x10059449
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x100592bc
movss dword [esp + 0xa0], xmm1
jmp 0x100592d1
movss xmm0, dword [0x100be6a4]
minss xmm0, xmm2
movss dword [esp + 0xa0], xmm0
movss xmm3, dword [esp + 0xc0]
xor edx, edx
movss xmm0, dword [esp + 0x18]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
movss dword [esp + 0xfc], xmm0
addss xmm0, dword [esp + 0x40]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0x108], xmm2
subss xmm2, xmm3
movss dword [esp + 0x10c], xmm0
push dword [esp + 0x10c]
movss dword [esp + 0x104], xmm3
xorps xmm3, xmm3
push dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
push dword [esp + 0x10c]
mulss xmm2, dword [0x100be664]
push edi
push 0
call fcn.10048ad0
mov ecx, dword [esp + 0x74]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.10044110
push dword [esp + 0x104]
xorps xmm0, xmm0
push dword [esp + 0x104]
push dword [esp + 0x104]
push edi
call fcn.1002a0e0
movss xmm1, dword [0x100be6a4]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0xd0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xb0]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x58]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x30]
addss xmm1, dword [0x100be664]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [0x100be6e0]
movd xmm0, eax
mov eax, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10056a50
add esp, 0x20
call fcn.100343f0
cmp byte [esp + 0xb], 0
mov esi, dword [0x100ca9c8]
je 0x100594d5
mov edi, dword [esp + 0xc8]
lea ecx, [esp + 0x124]
mov edx, dword [esp + 0xbc]
sub edi, 4
jb 0x10059486
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1005948b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10059475
cmp edi, 0xfffffffc
je 0x100594d0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100594b8
cmp edi, 0xfffffffd
je 0x100594d0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100594b8
cmp edi, 0xfffffffe
je 0x100594d0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100594b8
cmp edi, 0xffffffff
je 0x100594d0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100594d0
mov eax, dword [esi + 0x1b94]
mov word [esi + 0x1bd8], 0x101
or dword [eax + 0x11c], 4
jmp 0x100594d5
mov byte [esp + 0xb], 0
mov ecx, dword [esi + 0x1b94]
mov al, byte [esp + 0xb]
pop edi
pop esi
dec dword [ecx + 0xc0]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10061d94
mov esp, ebp
pop ebp
ret