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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10063040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, ecx
mov ecx, dword [0x100daf00]
mov dword [esp + 0x44], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x1a20]
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x8c], edx
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1a20]
mov ecx, edx
mov dword [esp + 0xd4], eax
mov edi, dword [eax + 0x27c]
mov dword [esp + 0x58], edi
call fcn.10023290
call fcn.100314e0
mov ecx, esi
or ecx, 0x10
test esi, 0x100
cmovne ecx, esi
mov dword [esp + 0xbc], ecx
test cl, 8
jne 0x1002e974
mov edx, dword [esp + 0x40]
call fcn.1002d260
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x1002e9a0
mov eax, dword [esi + 0x2c40]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xbc]
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1002e9ba
mov eax, dword [esi + 0x2c40]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm1, dword [0x1005ead4]
and eax, 2
mov edx, ecx
mov dword [esp + 0xbc], eax
and edx, 0x10002
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xf8], edx
movss xmm0, dword [eax + 0xcc]
movss xmm6, dword [eax + 0xc8]
mov eax, dword [0x100daf00]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm6
movss xmm5, dword [eax + 0x1548]
addss xmm5, xmm5
movss dword [esp + 0x10], xmm0
addss xmm5, dword [eax + 0x1938]
mov eax, dword [eax + 0x1a20]
mov dword [esp + 0x34], eax
movss xmm4, dword [eax + 0x168]
comiss xmm0, xmm4
movss dword [esp + 0x54], xmm5
jbe 0x1002eac4
mov ecx, dword [eax + 0x1c4]
movss xmm3, dword [eax + 0xc8]
movss xmm2, dword [eax + 0x21c]
mov dword [esp + 0xd4], ecx
subss xmm3, dword [eax + 0xc]
subss xmm2, dword [eax + 0xc]
test ecx, ecx
je 0x1002eab5
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 + 0xd4]
movss xmm2, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm2, xmm0
mov edx, dword [esp + 0xf8]
mulss xmm2, dword [eax + ecx*4]
mov eax, dword [esp + 0x34]
addss xmm2, xmm0
subss xmm2, dword [eax + 0x3c]
subss xmm2, xmm3
addss xmm2, xmm4
movaps xmm4, xmm1
maxss xmm4, xmm2
movss xmm3, dword [esi + 0x155c]
cvttss2si eax, xmm4
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xbc], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm6
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x44]
subss xmm2, xmm1
movaps xmm1, xmm5
lea eax, [esp + 0x124]
push eax
maxss xmm1, xmm2
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
addss xmm0, xmm3
movss dword [esp + 0x94], xmm0
addss xmm0, xmm5
addss xmm0, xmm3
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x1005ea90]
cvttss2si esi, xmm0
mov dword [esp + 0x108], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x38]
add esp, 0xc
movaps xmm4, xmm2
movaps xmm3, xmm2
mulss xmm4, dword [0x1005eaa8]
mulss xmm3, dword [0x1005ea80]
movaps xmm0, xmm4
movss dword [esp + 0x94], xmm4
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x98], xmm3
movaps xmm1, xmm4
subss xmm1, xmm3
movaps xmm3, xmm2
addss xmm3, dword [esp + 0x54]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1005ea70]
mulss xmm3, dword [0x1005eaa8]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x38]
movss dword [esp + 0x90], xmm1
movd xmm0, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xdc], xmm3
subss xmm1, xmm0
movss dword [esp + 0xe4], xmm3
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0xc4], xmm0
movaps xmm3, xmm1
movss dword [esp + 0x7c], xmm1
mulss xmm3, dword [0x1005ec24]
movaps xmm2, xmm1
mulss xmm2, dword [0x1005ec30]
movss dword [esp + 0xc0], xmm1
mulss xmm1, dword [0x1005eacc]
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x60], xmm1
movss dword [esp + 0xa4], xmm1
movss xmm1, dword [eax + 4]
movaps xmm4, xmm0
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm5, dword [eax]
movss xmm2, dword [0x1005ec34]
movss dword [esp + 0x84], xmm5
jbe 0x1002ecab
movaps xmm0, xmm1
movaps xmm4, xmm2
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
movss xmm2, dword [0x1005ec20]
jbe 0x1002ecd4
movaps xmm0, xmm5
movss dword [esp + 0x84], xmm1
movaps xmm5, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
mov byte [esp + 0xf], 0
minss xmm0, xmm3
mov byte [esp + 0x17], 0
movaps xmm2, xmm5
mov byte [esp + 0x16], 0
subss xmm1, xmm3
mov ecx, 8
movss xmm3, dword [0x1005eb54]
movss dword [esp + 0x9c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x1005ea4c]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1005ea4c]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x1005f5a0]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x64], xmm2
call fcn.10020c60
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1002f324
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
mov ecx, 0x1005e8f8
movss dword [esp + 0x24], xmm1
addss xmm0, dword [eax + 0x155c]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
call fcn.100224d0
mov eax, dword [0x100daf00]
mov ecx, dword [eax + 0x1a3c]
test ecx, ecx
je 0x1002f217
mov eax, dword [eax + 0x1a20]
cmp ecx, dword [eax + 0x104]
jne 0x1002f217
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x398]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [eax + 0x394]
subss xmm1, dword [esp + 0xdc]
movss xmm4, dword [eax + 0xd8]
movss xmm3, dword [eax + 0xdc]
subss xmm4, dword [esp + 0xdc]
subss xmm3, dword [esp + 0xd0]
movaps xmm2, xmm0
movss dword [esp + 0x5c], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss xmm1, dword [0x1005ead4]
addss xmm2, xmm0
movss dword [esp + 0x44], xmm4
movss xmm0, dword [esp + 0x90]
subss xmm0, xmm1
movss dword [esp + 0xb4], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1002eec3
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1002eec3
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1005eb38]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
movss xmm0, dword [esp + 0x10]
divss xmm1, xmm2
mulss xmm1, dword [0x1005eaa8]
comiss xmm0, xmm1
movss dword [esp + 0x50], xmm1
jbe 0x1002eebb
addss xmm1, dword [0x1005ead4]
movss dword [esp + 0x50], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1002eed5
mov al, byte [esp + 0xf]
movss xmm2, dword [0x1005eb38]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x1005f5d0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xd4], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0xd4]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0x78]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x34]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x5c]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x5c]
subss xmm3, xmm0
movss dword [esp + 0xe0], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x7c]
mulss xmm0, dword [esp + 0x34]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x60]
subss xmm2, xmm1
subss xmm7, dword [esp + 0x78]
movss dword [esp + 0x34], xmm5
movss dword [esp + 0xd4], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x60]
movss dword [esp + 0x68], xmm7
mulss xmm0, xmm5
movss xmm5, dword [esp + 0x10]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x80]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1002f20f
movss xmm0, dword [esp + 0x60]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x7c]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x7c]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1002f20f
movss xmm1, dword [esp + 0xe0]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x44]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x44]
mulss xmm0, dword [esp + 0xb4]
mulss xmm6, dword [esp + 0xb4]
movss xmm4, dword [esp + 0x78]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x20], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x24], xmm6
subss xmm0, dword [esp + 0x60]
mulss xmm1, dword [esp + 0xd4]
mulss xmm0, dword [esp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x5c]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1002f10c
movss xmm3, dword [esp + 0x7c]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x60]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1002f14f
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0xcc]
lea ecx, [esp + 0xe0]
call fcn.10011b90
movss xmm5, dword [esp + 0x1c]
add esp, 0xc
movss xmm3, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x78]
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x60]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x80]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x1005ea60]
movaps xmm0, xmm7
movss dword [esp + 0x64], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1005ead4]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm0, xmm5
subss xmm0, xmm6
jbe 0x1002f1dd
movaps xmm3, xmm2
movss dword [esp + 0x84], xmm2
jmp 0x1002f1ed
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x84], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x1002f203
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x64], xmm2
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
jmp 0x1002f217
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
test byte [esp + 0x18], 8
jne 0x1002f223
call fcn.1001b1c0
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0xf8], 0x10000
jne 0x1002f542
mov ecx, dword [0x100daf00]
lea edx, [esp + 0xc0]
movss xmm0, dword [esp + 0xf4]
movss dword [esp + 0xc4], xmm4
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1a20]
mov ecx, str.alpha
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xc0], xmm0
call fcn.100224d0
mov eax, dword [0x100daf00]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [eax + 0x1a3c]
test ecx, ecx
je 0x1002f548
mov eax, dword [eax + 0x1a20]
cmp ecx, dword [eax + 0x104]
mov ecx, dword [esp + 0x1c]
jne 0x1002f54c
movss xmm3, dword [ecx + 0xdc]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [0x1005ead4]
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x1002f524
movaps xmm4, xmm1
jmp 0x1002f52b
test eax, 0x2000000
je 0x1002f223
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xc0]
mov ecx, 0x1005e8fc
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm0
call fcn.100224d0
mov ecx, dword [0x100daf00]
mov edx, dword [ecx + 0x1a3c]
test edx, edx
je 0x1002f3f5
mov eax, dword [ecx + 0x1a20]
cmp edx, dword [eax + 0x104]
jne 0x1002f3f5
mov eax, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x1005ead4]
subss xmm4, xmm1
movss xmm0, dword [esp + 0x10]
movss xmm2, dword [eax + 0xd8]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1002f3b5
movss dword [esp + 0x64], xmm0
jmp 0x1002f3c2
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x64], xmm3
movss xmm2, dword [eax + 0xdc]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x1002f3e0
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xf], al
movss dword [esp + 0x84], xmm1
jmp 0x1002f3f9
mov al, byte [esp + 0xf]
test byte [esp + 0x18], 8
mov byte [esp + 0x16], al
mov byte [esp + 0x4b], al
jne 0x1002f413
call fcn.1001b1c0
mov ecx, dword [0x100daf00]
mov eax, dword [ecx + 0x1a20]
lea edx, [esp + 0xc0]
movss xmm0, dword [esp + 0x88]
movss xmm2, dword [esp + 0x30]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1a20]
mov ecx, 0x1005e900
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xc4], xmm0
call fcn.100224d0
mov eax, dword [0x100daf00]
mov ecx, dword [eax + 0x1a3c]
test ecx, ecx
je 0x1002f223
mov eax, dword [eax + 0x1a20]
mov dl, byte [esp + 0xf]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x2c]
mov byte [esp + 0x16], dl
cmp ecx, dword [eax + 0x104]
jne 0x1002f22f
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm4
movss xmm1, dword [0x1005ead4]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc]
subss xmm2, xmm3
divss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x1002f507
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x4b]
movss dword [esp + 0x50], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x16], al
jmp 0x1002f22f
movaps xmm4, xmm2
minss xmm4, xmm3
mov eax, dword [esp + 0x40]
movaps xmm0, xmm2
subss xmm0, xmm4
mov byte [esp + 0xf], 1
movss dword [eax + 0xc], xmm0
jmp 0x1002f54c
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x100daf00]
mov eax, dword [edx + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [edx + 0x1a20]
mov dword [esp + 0x44], eax
mov eax, dword [eax + 0x170]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x68]
mov dword [eax + 0x170], esi
jne 0x1002f58a
mov esi, 1
jmp 0x1002f598
mov eax, dword [eax + 0x178]
mov esi, dword [eax + esi*4 - 4]
mov eax, dword [esp + 0x44]
mov dword [eax + 0x164], esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xfc]
test eax, 0x100
jne 0x1002f61c
mov eax, dword [edx + 0x1a20]
movss xmm2, dword [ecx + 0x155c]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x1a20]
cmp byte [ecx + 0x7b], 0
jne 0x1002f613
comiss xmm1, xmm2
jbe 0x1002f5db
movss xmm2, dword [edx + 0x1554]
addss xmm2, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm2
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
call fcn.100314e0
mov eax, dword [esp + 0x18]
test al, al
js 0x1002f6e9
mov edx, dword [esp + 0x8c]
cmp edx, 0xffffffff
jae 0x1002f6e9
mov cl, byte [edx]
mov byte [esp + 0x4b], cl
test cl, cl
je 0x1002f64e
cmp cl, 0x23
jne 0x1002f648
cmp byte [edx + 1], cl
je 0x1002f64e
inc edx
cmp edx, 0xffffffff
jb 0x1002f634
cmp dword [esp + 0x8c], edx
je 0x1002f6e9
test eax, 0x100
je 0x1002f6d9
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x155c]
mov eax, dword [0x100daf00]
mov eax, dword [eax + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [0x100daf00]
mov ecx, dword [eax + 0x1a20]
cmp byte [ecx + 0x7b], 0
jne 0x1002f6d9
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x1002f6a1
movss xmm1, dword [eax + 0x1554]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
mov ecx, dword [esp + 0x8c]
call fcn.10021440
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1002f8d0
mov ecx, 0x10
call fcn.10020c60
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test cl, 2
je 0x1002f715
movss xmm1, dword [0x1005ead4]
jmp 0x1002f71a
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xcc], xmm1
test cl, cl
jns 0x1002f761
push str.Current
call fcn.10021350
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x54]
lea edx, [esp + 0xc0]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x1005eb34]
mov dword [esp + 0xe0], ecx
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0xb8], xmm0
push dword [esp + 0x24]
push ecx
mov ecx, str.current
call fcn.1002c810
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x1002f88d
push str.Original
call fcn.10021350
mov eax, dword [esp + 0x50]
add esp, 4
test byte [esp + 0x18], 2
je 0x1002f7eb
movss xmm1, dword [0x1005ead4]
jmp 0x1002f7f0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xa0]
movss dword [esp + 0xa0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0xb0], xmm1
push dword [esp + 0x24]
push dword [esp + 0xe8]
call fcn.1002c810
add esp, 0xc
test al, al
je 0x1002f88d
xor eax, eax
cmp dword [esp + 0xbc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x50]
push dword [esp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xf], 1
mov ecx, dword [0x100daf00]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov edx, dword [ecx + 0x170]
sub edx, 1
mov dword [ecx + 0x170], edx
jne 0x1002f8bb
mov eax, 1
jmp 0x1002f8c5
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.10031600
cmp byte [esp + 0x17], 0
jne 0x1002f8de
cmp byte [esp + 0x16], 0
je 0x1002f940
mov eax, dword [esp + 0x40]
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x84]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x1002f901
movaps xmm3, xmm1
jmp 0x1002f909
movss xmm3, dword [0x1005ea50]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
movss xmm2, dword [0x1005ea54]
ja 0x1002f91f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x50]
comiss xmm0, dword [0x1005ead4]
jb 0x1002f932
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.10012660
add esp, 4
test byte [esp + 0x18], 0x20
jne 0x1002fb17
cmp dword [esp + 0xf8], 0x10000
jne 0x1002f963
movss xmm0, dword [esp + 0xf4]
jmp 0x1002f96c
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0x54]
mov ecx, dword [0x100daf00]
subss xmm0, dword [esp + 0x38]
mov eax, dword [ecx + 0x1a20]
ucomiss xmm0, dword [esp + 0x10]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov dword [esp + 0x44], ecx
lahf
test ah, 0x44
jp 0x1002f9a5
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
add ecx, 0x17c
mov dword [esp + 0xb4], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1002f9f1
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1002f9da
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002f9df
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10032760
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x44]
inc dword [eax + 0x17c]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x44], ecx
test eax, 0x100000
jne 0x1002fa2b
test eax, 0x700000
jne 0x1002fa4f
mov edx, dword [esp + 0x40]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1002d560
mov ecx, dword [esp + 0x48]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1002fa5d
test eax, 0x700000
jne 0x1002fa85
mov edx, dword [esp + 0x40]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1002d560
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], dl
jmp 0x1002fa89
mov dl, byte [esp + 0xf]
test eax, 0x400000
jne 0x1002fa97
test eax, 0x700000
jne 0x1002fabc
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x40]
or eax, 0x400004
push eax
call fcn.1002d560
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov byte [esp + 0xf], dl
mov ecx, dword [0x100daf00]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov eax, dword [ecx + 0x17c]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [ecx + 0x17c], eax
jne 0x1002faf9
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
jmp 0x1002fb1b
mov eax, dword [ecx + 0x184]
mov edi, dword [esp + 0x68]
movss xmm0, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x58]
movss dword [ecx + 0x168], xmm0
jmp 0x1002fb1b
mov dl, byte [esp + 0xf]
test dl, dl
je 0x1002fc14
mov ecx, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movaps xmm6, xmm2
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x1002fb54
movss xmm6, dword [0x1005ec34]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1002fb71
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1005ec20]
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 [0x1005ea4c]
movaps xmm7, xmm1
mulss xmm1, dword [esp + 0x9c]
divss xmm7, xmm0
addss xmm1, dword [0x1005ea4c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1005f5a0]
comiss xmm2, xmm3
jb 0x1002fc14
movss xmm0, dword [esp + 0x50]
comiss xmm0, xmm2
jbe 0x1002fc14
comiss xmm2, xmm4
jb 0x1002fbef
movss xmm1, dword [esp + 0x84]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1002fbef
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm2, dword [0x1005eaa8]
jmp 0x1002fc05
comiss xmm2, xmm7
jb 0x1002fc14
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm4
mulss xmm1, dword [0x1005eaa8]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.10012660
add esp, 4
movaps xmm0, xmmword [0x1005f0f0]
lea eax, [esp + 0xc8]
movss xmm2, dword [0x1005ead4]
lea edx, [esp + 0xc4]
movups xmmword [esp + 0xc0], xmm0
lea ecx, [esp + 0xc0]
movss xmm0, dword [esp + 0x50]
movaps xmm1, xmm2
push eax
call fcn.10012660
movups xmm3, xmmword [esp + 0xc4]
add esp, 4
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm3
movss xmm2, dword [0x1005ead4]
jbe 0x1002fc72
movaps xmm0, xmm1
jmp 0x1002fc79
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x1005ebcc]
movss xmm4, dword [0x1005eaa8]
movss xmm5, dword [esp + 0xc4]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002fca8
movaps xmm0, xmm1
jmp 0x1002fcaf
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0xc8]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1002fcd3
movaps xmm0, xmm1
jmp 0x1002fcda
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0xcc]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1002fcfe
movaps xmm0, xmm1
jmp 0x1002fd05
movaps xmm0, xmm2
minss xmm0, xmm5
mov eax, dword [esp + 0x40]
mulss xmm0, xmm3
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
addss xmm0, xmm4
movss xmm7, dword [eax + 8]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm5
mov dword [esp + 0x8c], edx
jbe 0x1002fd39
movaps xmm0, xmm1
jmp 0x1002fd40
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002fd56
movaps xmm0, xmm1
jmp 0x1002fd5d
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x1002fd78
movaps xmm0, xmm1
jmp 0x1002fd7f
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0x100], 0xff0000ff
mov dword [esp + 0x104], 0xff00ffff
mov dword [esp + 0x108], 0xff00ff00
addss xmm0, xmm4
mov dword [esp + 0x10c], 0xffffff00
mov dword [esp + 0x110], 0xffff0000
mov dword [esp + 0x114], 0xffff00ff
mov dword [esp + 0x118], 0xff0000ff
mov dword [esp + 0x24], 0
cvttss2si eax, xmm0
mov dword [esp + 0x20], 0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
or ecx, 0xff000000
mov dword [esp + 0xd4], ecx
test eax, 0x4000000
je 0x1003091d
movss xmm0, dword [esp + 0x94]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1005eae0]
movss xmm5, dword [esp + 0x90]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm5, xmm0
movss dword [esp + 0x70], xmm3
imul ecx
mulss xmm5, xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xa0], xmm5
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x18]
push ecx
push ecx
mov dword [esp + 0x64], eax
mov ecx, edi
lea eax, [esp + 0xec]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [esp + 0xa4]
divss xmm0, dword [esp + 0xa4]
addss xmm1, xmm1
movaps xmm2, xmm5
addss xmm0, xmm0
mulss xmm1, dword [0x1005eb38]
mulss xmm0, dword [0x1005eb38]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x4c], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x58], xmm0
call fcn.10046e50
movss xmm0, dword [esp + 0x98]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045c80
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002ff1b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
mov dword [eax], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x90]
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0xb4], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x90]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x90]
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x68]
lea eax, [esp + 0x104]
mov eax, dword [eax + esi*4]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0xb4]
movss xmm6, dword [esp + 0xe0]
subss xmm3, xmm5
mov ecx, dword [edi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + esi*4 + 0x100]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x18]
movss xmm2, dword [0x1005ead4]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x90]
movaps xmm7, xmm2
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mulss xmm0, xmm3
mov dword [esp + 0x88], eax
addss xmm4, dword [esp + 0xd0]
mov eax, dword [esp + 0x5c]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0x88]
jae 0x10030180
movzx eax, dl
mov dword [esp + 0x4c], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x44]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x44]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x5c], edx
movzx edx, al
mov eax, dword [esp + 0x44]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x5c]
nop dword [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x100300d1
movaps xmm2, xmm0
jmp 0x100300d5
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x18]
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 + 0x1c], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x4c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x1c], eax
shl dword [esp + 0x1c], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x1005ead4]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
add eax, 0x14
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x88]
jb 0x100300a0
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
movss xmm3, dword [esp + 0x70]
inc esi
movss xmm5, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], esi
cmp esi, 6
jl 0x1002fe66
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm0
mulss xmm0, dword [0x1005eb38]
movss dword [esp + 0x50], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x50]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x17], 0
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x90]
addss xmm1, dword [esp + 0x94]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x5c]
mulss xmm1, xmm3
mulss xmm0, dword [0x1005eaa8]
mulss xmm1, dword [0x1005eaa8]
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0xa0], xmm3
addss xmm1, dword [esp + 0xd0]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0x98]
je 0x10030250
mulss xmm1, dword [0x1005eab4]
jmp 0x10030258
mulss xmm1, dword [0x1005eaac]
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
divss xmm0, dword [0x1005eadc]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1003027c
mov esi, 9
jmp 0x10030286
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
test dword [esp + 0x8c], 0xff000000
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x34], esi
movss dword [esp + 0x38], xmm2
je 0x1003031d
movaps xmm0, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm0, dword [0x1005ead4]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm0, dword [0x1005eb58]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.10046e50
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100468d0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10030311
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x38]
mov dword [eax], 0
movaps xmm1, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm1, dword [0x1005ead4]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm1, dword [0x1005eb58]
divss xmm1, xmm2
movss xmm2, dword [esp + 0xa0]
addss xmm2, dword [0x1005ead4]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
subss xmm2, dword [0x1005eaa8]
call fcn.10046e50
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045c80
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov esi, dword [esp + 0xfc]
test ecx, ecx
jns 0x100303b5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm0, dword [esp + 0x3c]
subss xmm2, dword [0x1005eaa8]
movss xmm3, dword [esp + 0x14]
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x78]
movss dword [esp], xmm0
push eax
call fcn.10046e50
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045c80
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003042d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
movss xmm5, dword [esp + 0x7c]
movss xmm4, dword [esp + 0xa0]
movaps xmm2, xmm5
movss xmm3, dword [esp + 0x5c]
movss xmm0, dword [esp + 0x10]
movss xmm6, dword [esp + 0xdc]
movss xmm7, dword [esp + 0xd0]
mulss xmm0, xmm4
mov dword [eax], 0
mulss xmm2, xmm3
mov eax, dword [0x100daf00]
mulss xmm5, xmm4
subss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm3
addss xmm5, xmm0
movss xmm0, dword [esp + 0x78]
addss xmm2, xmm6
addss xmm5, xmm7
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm0
mulss xmm0, xmm4
mulss xmm2, xmm3
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x74], xmm5
movss xmm5, dword [esp + 0x80]
movaps xmm1, xmm2
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm5
mulss xmm5, xmm3
mulss xmm0, xmm4
addss xmm5, dword [esp + 0x78]
subss xmm1, xmm0
addss xmm5, xmm7
addss xmm1, xmm6
movss dword [esp + 0x80], xmm5
movss dword [esp + 0xb8], xmm5
movss xmm5, dword [esp + 0x60]
movaps xmm0, xmm5
movss dword [esp + 0xb4], xmm1
mulss xmm0, xmm4
mulss xmm5, xmm3
subss xmm2, xmm0
movss xmm0, dword [eax + 0x1940]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi]
addss xmm5, dword [esp + 0x78]
addss xmm2, xmm6
movss dword [esp + 0xa0], xmm0
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
addss xmm5, xmm7
movss dword [esp + 0x68], xmm2
add dword [eax + ecx*8 - 0x28], 6
lea ecx, [edi + 0x18]
mov edi, dword [ecx]
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x6c], xmm5
lea eax, [edi + 6]
push eax
call fcn.1004ac00
mov edx, dword [esp + 0x58]
lea ecx, [edi + edi*4]
mov edi, dword [edx + 0xc]
mov eax, dword [edx + 0x20]
lea eax, [eax + ecx*4]
lea ecx, [edx + 0xc]
mov dword [edx + 0x34], eax
lea eax, [edi + 6]
push eax
call fcn.100329c0
mov edx, dword [esp + 0x58]
movss xmm2, dword [esp + 0x70]
mov eax, dword [edx + 0x14]
lea ecx, [eax + edi*2]
mov ax, word [edx + 0x30]
mov dword [edx + 0x38], ecx
mov word [ecx], ax
add dword [edx + 0x38], 2
mov eax, dword [edx + 0x34]
movss dword [eax], xmm2
movss xmm7, dword [esp + 0x7c]
movss dword [eax + 4], xmm7
mov eax, dword [edx + 0x34]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0xa0]
mov edi, dword [esp + 0x8c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
movss xmm3, dword [esp + 0xb4]
movss xmm5, dword [esp + 0x80]
movss xmm4, dword [esp + 0x68]
mov dword [eax + 0x10], edi
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
movss xmm6, dword [esp + 0x60]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm5
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], edi
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edx + 0x34], 0x14
mov eax, dword [edx + 0x38]
inc dword [edx + 0x30]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm7
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0
add dword [edx + 0x34], 0x14
mov eax, dword [edx + 0x38]
inc dword [edx + 0x30]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm5
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edx + 0x38]
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0
lea eax, [edx + 0x54]
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x4c], eax
cmp ecx, edi
jne 0x1003074e
inc ecx
test edi, edi
je 0x10030736
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003073b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.10032d70
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov ecx, dword [esp + 0x58]
add ecx, 0x54
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x1003079c
inc edi
test eax, eax
je 0x1003078c
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10030791
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10032d70
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
add eax, 0x54
mov dword [esp + 0x94], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x1003080c
lea ecx, [edx + 1]
test edi, edi
je 0x100307ee
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100307f3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.10032d70
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x5c]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
inc dword [eax]
push 0xff808080
push dword [eax]
push dword [edi + 0x5c]
call fcn.10045c80
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003086e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
movss xmm0, dword [0x1005ead4]
movss xmm1, dword [esp + 0x10]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x84]
mov dword [eax], 0
comiss xmm1, xmm2
jbe 0x10030898
movaps xmm3, xmm1
jmp 0x1003089f
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm4, dword [esp + 0x64]
comiss xmm1, xmm4
jbe 0x100308af
movaps xmm2, xmm1
jmp 0x100308b6
movaps xmm2, xmm0
minss xmm2, xmm4
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x68]
movss xmm4, dword [esp + 0x7c]
subss xmm4, dword [esp + 0x60]
mulss xmm0, xmm2
mulss xmm4, xmm2
addss xmm0, dword [esp + 0x68]
movss xmm2, dword [esp + 0xb4]
addss xmm4, dword [esp + 0x60]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm4
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0x24], xmm0
jmp 0x10030c96
test eax, 0x2000000
je 0x10030c96
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0xa0]
addss xmm0, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
push edx
push 0xffffffffffffffff
movss dword [esp + 0xb0], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0xbc], xmm0
call fcn.100476f0
movss xmm0, dword [esp + 0xa0]
lea eax, [esp + 0xe4]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xf8], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0xb8]
mov ecx, edi
push eax
movss dword [esp + 0x100], xmm0
call fcn.100476f0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0x74]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1001a1c0
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm3, dword [esp + 0x64]
comiss xmm0, xmm3
movss xmm1, dword [0x1005ead4]
jbe 0x10030a0c
movaps xmm2, xmm0
jmp 0x10030a13
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [0x1005eaa8]
mulss xmm2, xmm6
movss xmm7, dword [0x1005eb14]
addss xmm2, xmm5
addss xmm5, xmm7
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0xa0]
subss xmm2, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm5, xmm3
jbe 0x10030a64
movss dword [esp + 0x20], xmm5
jmp 0x10030a77
comiss xmm3, xmm2
jbe 0x10030a71
movss dword [esp + 0x20], xmm2
jmp 0x10030a77
movss dword [esp + 0x20], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x84]
comiss xmm0, xmm2
jbe 0x10030a8d
movaps xmm1, xmm0
jmp 0x10030a91
minss xmm1, xmm2
movss xmm2, dword [esp + 0x30]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x10030acf
movss dword [esp + 0x24], xmm1
jmp 0x10030ae2
comiss xmm3, xmm0
jbe 0x10030adc
movss dword [esp + 0x24], xmm0
jmp 0x10030ae2
movss dword [esp + 0x24], xmm3
movss xmm3, dword [esp + 0x88]
lea eax, [esp + 0x104]
movaps xmm1, xmm6
mov esi, dword [esp + 0x58]
divss xmm1, dword [esp + 0x9c]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0xc0], xmm3
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0xe4], xmm0
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xec]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xf0], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xd4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
call fcn.100476f0
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x104]
movss xmm2, dword [esp + 0x30]
mov ecx, edi
cmp ecx, 6
jl 0x10030b25
movss xmm3, dword [esp + 0x88]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
movss dword [esp + 0xa4], xmm2
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x3c], xmm1
push dword [esp + 0x3c]
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.1001a1c0
mov esi, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x1005eb14]
mov edi, dword [esp + 0x68]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x1005ead4]
push dword [esp + 0x4c]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x1005ead4]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x4c]
movss dword [esp + 0xb8], xmm2
addss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x1005eaa8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.1002e710
movss xmm1, dword [esp + 0x30]
add esp, 0x20
cmp byte [esp + 0x16], 0
je 0x10030cae
movss xmm0, dword [0x1005eb64]
movss dword [esp + 0x9c], xmm0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x20]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
movaps xmm3, xmm1
push eax
mov ecx, edi
call fcn.10046e50
push dword [esp + 0xd4]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100468d0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10030d0a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
addss xmm2, dword [0x1005ead4]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
subss xmm2, dword [0x1005eaa8]
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.10046e50
push ecx
mov dword [esp], 0x3f800000
lea eax, [edi + 0x54]
push 1
push 0xff808080
push dword [eax]
mov ecx, edi
mov dword [esp + 0x48], eax
push dword [edi + 0x5c]
call fcn.10045c80
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10030d8d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10032d70
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x1005eaa8]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.10046e50
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045c80
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10030dfc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10032d70
cmp dword [esp + 0xf8], 0x10000
mov dword [edi], 0
jne 0x10030fa7
mov eax, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x10030e2f
movss dword [esp + 0x34], xmm2
jmp 0x10030e41
movss xmm0, dword [0x1005ead4]
minss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm3, dword [esp + 0xf4]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x30]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0xe8], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xf0], xmm1
subss xmm1, xmm3
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xf8], xmm0
push dword [esp + 0xf8]
mulss xmm1, dword [0x1005eaa8]
push dword [esp + 0xf8]
movss dword [esp + 0xf4], xmm3
push dword [esp + 0xf8]
mov edi, dword [esp + 0xf8]
push edi
call fcn.1002c540
mov ecx, dword [esp + 0xec]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.100476f0
push dword [esp + 0xf0]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push edi
call fcn.1001a1c0
movss xmm1, dword [0x1005ead4]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x68]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0x104]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x44]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x44]
movss dword [esp + 0x50], xmm2
addss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x1005eaa8]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x1005eb14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1002e710
add esp, 0x20
call fcn.10031600
cmp byte [esp + 0xf], 0
mov edi, dword [0x100daf00]
je 0x10031031
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x11c]
xor edx, edx
cmp dword [esp + 0xbc], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10030ff1
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10030ff6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10030fe0
cmp edx, 0xfffffffc
je 0x1003102c
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10031023
cmp edx, 0xfffffffd
je 0x1003102c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10031023
cmp edx, 0xfffffffe
je 0x1003102c
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10031023
cmp edx, 0xffffffff
je 0x1003102c
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1003102c
mov byte [edi + 0x1a4b], 1
jmp 0x10031031
mov byte [esp + 0xf], 0
mov ecx, dword [edi + 0x1a20]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0x1c8]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1004ad76
mov esp, ebp
pop ebp
ret