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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x1009f040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, ecx
mov ecx, dword [0x1012266c]
mov dword [esp + 0x44], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x1928]
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x8c], edx
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1928]
mov ecx, edx
mov dword [esp + 0xd4], eax
mov edi, dword [eax + 0x27c]
mov dword [esp + 0x58], edi
call fcn.10023a00
call fcn.10031b40
mov ecx, esi
or ecx, 0x10
test esi, 0x100
cmovne ecx, esi
mov dword [esp + 0xbc], ecx
test cl, 8
jne 0x1002f0f4
mov edx, dword [esp + 0x40]
call fcn.1002d9d0
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x1002f120
mov eax, dword [esi + 0x2b18]
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 0x1002f13a
mov eax, dword [esi + 0x2b18]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm1, dword [0x1009b380]
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 [0x1012266c]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm6
movss xmm5, dword [eax + 0x1540]
addss xmm5, xmm5
movss dword [esp + 0x10], xmm0
addss xmm5, dword [eax + 0x1854]
mov eax, dword [eax + 0x1928]
mov dword [esp + 0x34], eax
movss xmm4, dword [eax + 0x168]
comiss xmm0, xmm4
movss dword [esp + 0x54], xmm5
jbe 0x1002f244
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 0x1002f235
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 + 0x1554]
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 [0x1009b33c]
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 [0x1009b354]
mulss xmm3, dword [0x1009b32c]
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 [0x1009b324]
mulss xmm3, dword [0x1009b354]
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 [0x1009b514]
movaps xmm2, xmm1
mulss xmm2, dword [0x1009b520]
movss dword [esp + 0xc0], xmm1
mulss xmm1, dword [0x1009b378]
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 [0x1009b524]
movss dword [esp + 0x84], xmm5
jbe 0x1002f42b
movaps xmm0, xmm1
movaps xmm4, xmm2
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
movss xmm2, dword [0x1009b510]
jbe 0x1002f454
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 [0x1009b408]
movss dword [esp + 0x9c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x1009b2fc]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1009b2fc]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x1009b8e0]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x64], xmm2
call fcn.10021350
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1002faa4
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
mov ecx, 0x1009b1a0
movss dword [esp + 0x24], xmm1
addss xmm0, dword [eax + 0x1554]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
call fcn.10022c40
mov eax, dword [0x1012266c]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002f997
mov eax, dword [eax + 0x1928]
cmp ecx, dword [eax + 0x104]
jne 0x1002f997
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 [0x1009b380]
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 0x1002f643
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1002f643
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 [0x1009b3e8]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
movss xmm0, dword [esp + 0x10]
divss xmm1, xmm2
mulss xmm1, dword [0x1009b354]
comiss xmm0, xmm1
movss dword [esp + 0x50], xmm1
jbe 0x1002f63b
addss xmm1, dword [0x1009b380]
movss dword [esp + 0x50], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1002f655
mov al, byte [esp + 0xf]
movss xmm2, dword [0x1009b3e8]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x1009b910]
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 0x1002f98f
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 0x1002f98f
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 0x1002f88c
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 0x1002f8cf
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.10012190
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 [0x1009b310]
movaps xmm0, xmm7
movss dword [esp + 0x64], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1009b380]
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 0x1002f95d
movaps xmm3, xmm2
movss dword [esp + 0x84], xmm2
jmp 0x1002f96d
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x84], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x1002f983
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x64], xmm2
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
jmp 0x1002f997
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
test byte [esp + 0x18], 8
jne 0x1002f9a3
call fcn.1001b560
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0xf8], 0x10000
jne 0x1002fcc2
mov ecx, dword [0x1012266c]
lea edx, [esp + 0xc0]
movss xmm0, dword [esp + 0xf4]
movss dword [esp + 0xc4], xmm4
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1928]
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.10022c40
mov eax, dword [0x1012266c]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002fcc8
mov eax, dword [eax + 0x1928]
cmp ecx, dword [eax + 0x104]
mov ecx, dword [esp + 0x1c]
jne 0x1002fccc
movss xmm3, dword [ecx + 0xdc]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [0x1009b380]
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x1002fca4
movaps xmm4, xmm1
jmp 0x1002fcab
test eax, 0x2000000
je 0x1002f9a3
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xc0]
mov ecx, 0x1009b1a4
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm0
call fcn.10022c40
mov ecx, dword [0x1012266c]
mov edx, dword [ecx + 0x1944]
test edx, edx
je 0x1002fb75
mov eax, dword [ecx + 0x1928]
cmp edx, dword [eax + 0x104]
jne 0x1002fb75
mov eax, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x1009b380]
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 0x1002fb35
movss dword [esp + 0x64], xmm0
jmp 0x1002fb42
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 0x1002fb60
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xf], al
movss dword [esp + 0x84], xmm1
jmp 0x1002fb79
mov al, byte [esp + 0xf]
test byte [esp + 0x18], 8
mov byte [esp + 0x16], al
mov byte [esp + 0x4b], al
jne 0x1002fb93
call fcn.1001b560
mov ecx, dword [0x1012266c]
mov eax, dword [ecx + 0x1928]
lea edx, [esp + 0xc0]
movss xmm0, dword [esp + 0x88]
movss xmm2, dword [esp + 0x30]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1928]
mov ecx, 0x1009b1a8
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.10022c40
mov eax, dword [0x1012266c]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002f9a3
mov eax, dword [eax + 0x1928]
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 0x1002f9af
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm4
movss xmm1, dword [0x1009b380]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc]
subss xmm2, xmm3
divss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x1002fc87
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 0x1002f9af
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 0x1002fccc
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x1012266c]
mov eax, dword [edx + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [edx + 0x1928]
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 0x1002fd0a
mov esi, 1
jmp 0x1002fd18
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 0x1002fd9c
mov eax, dword [edx + 0x1928]
movss xmm2, dword [ecx + 0x1554]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002fd93
comiss xmm1, xmm2
jbe 0x1002fd5b
movss xmm2, dword [edx + 0x154c]
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.10031b40
mov eax, dword [esp + 0x18]
test al, al
js 0x1002fe69
mov edx, dword [esp + 0x8c]
cmp edx, 0xffffffff
jae 0x1002fe69
mov cl, byte [edx]
mov byte [esp + 0x4b], cl
test cl, cl
je 0x1002fdce
cmp cl, 0x23
jne 0x1002fdc8
cmp byte [edx + 1], cl
je 0x1002fdce
inc edx
cmp edx, 0xffffffff
jb 0x1002fdb4
cmp dword [esp + 0x8c], edx
je 0x1002fe69
test eax, 0x100
je 0x1002fe59
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x1554]
mov eax, dword [0x1012266c]
mov eax, dword [eax + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [0x1012266c]
mov ecx, dword [eax + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002fe59
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x1002fe21
movss xmm1, dword [eax + 0x154c]
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.10021be0
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10030050
mov ecx, 0x10
call fcn.10021350
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test cl, 2
je 0x1002fe95
movss xmm1, dword [0x1009b380]
jmp 0x1002fe9a
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 0x1002fee1
push str.Current
call fcn.10021a00
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 [0x1009b3e4]
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.1002cf80
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x1003000d
push str.Original
call fcn.10021a00
mov eax, dword [esp + 0x50]
add esp, 4
test byte [esp + 0x18], 2
je 0x1002ff6b
movss xmm1, dword [0x1009b380]
jmp 0x1002ff70
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.1002cf80
add esp, 0xc
test al, al
je 0x1003000d
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 [0x1012266c]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
mov edx, dword [ecx + 0x170]
sub edx, 1
mov dword [ecx + 0x170], edx
jne 0x1003003b
mov eax, 1
jmp 0x10030045
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.10031c60
cmp byte [esp + 0x17], 0
jne 0x1003005e
cmp byte [esp + 0x16], 0
je 0x100300c0
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 0x10030081
movaps xmm3, xmm1
jmp 0x10030089
movss xmm3, dword [0x1009b300]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
movss xmm2, dword [0x1009b304]
ja 0x1003009f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x50]
comiss xmm0, dword [0x1009b380]
jb 0x100300b2
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.10012c60
add esp, 4
test byte [esp + 0x18], 0x20
jne 0x10030297
cmp dword [esp + 0xf8], 0x10000
jne 0x100300e3
movss xmm0, dword [esp + 0xf4]
jmp 0x100300ec
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0x54]
mov ecx, dword [0x1012266c]
subss xmm0, dword [esp + 0x38]
mov eax, dword [ecx + 0x1928]
ucomiss xmm0, dword [esp + 0x10]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
mov dword [esp + 0x44], ecx
lahf
test ah, 0x44
jp 0x10030125
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 0x10030171
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1003015a
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1003015f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10032f60
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 0x100301ab
test eax, 0x700000
jne 0x100301cf
mov edx, dword [esp + 0x40]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1002dcd0
mov ecx, dword [esp + 0x48]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x100301dd
test eax, 0x700000
jne 0x10030205
mov edx, dword [esp + 0x40]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1002dcd0
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], dl
jmp 0x10030209
mov dl, byte [esp + 0xf]
test eax, 0x400000
jne 0x10030217
test eax, 0x700000
jne 0x1003023c
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x40]
or eax, 0x400004
push eax
call fcn.1002dcd0
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov byte [esp + 0xf], dl
mov ecx, dword [0x1012266c]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
mov eax, dword [ecx + 0x17c]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [ecx + 0x17c], eax
jne 0x10030279
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
jmp 0x1003029b
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 0x1003029b
mov dl, byte [esp + 0xf]
test dl, dl
je 0x10030394
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 0x100302d4
movss xmm6, dword [0x1009b524]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x100302f1
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1009b510]
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 [0x1009b2fc]
movaps xmm7, xmm1
mulss xmm1, dword [esp + 0x9c]
divss xmm7, xmm0
addss xmm1, dword [0x1009b2fc]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1009b8e0]
comiss xmm2, xmm3
jb 0x10030394
movss xmm0, dword [esp + 0x50]
comiss xmm0, xmm2
jbe 0x10030394
comiss xmm2, xmm4
jb 0x1003036f
movss xmm1, dword [esp + 0x84]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1003036f
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm2, dword [0x1009b354]
jmp 0x10030385
comiss xmm2, xmm7
jb 0x10030394
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm4
mulss xmm1, dword [0x1009b354]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.10012c60
add esp, 4
movaps xmm0, xmmword [0x1009b7d0]
lea eax, [esp + 0xc8]
movss xmm2, dword [0x1009b380]
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.10012c60
movups xmm3, xmmword [esp + 0xc4]
add esp, 4
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm3
movss xmm2, dword [0x1009b380]
jbe 0x100303f2
movaps xmm0, xmm1
jmp 0x100303f9
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x1009b4a4]
movss xmm4, dword [0x1009b354]
movss xmm5, dword [esp + 0xc4]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10030428
movaps xmm0, xmm1
jmp 0x1003042f
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 0x10030453
movaps xmm0, xmm1
jmp 0x1003045a
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 0x1003047e
movaps xmm0, xmm1
jmp 0x10030485
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 0x100304b9
movaps xmm0, xmm1
jmp 0x100304c0
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x100304d6
movaps xmm0, xmm1
jmp 0x100304dd
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 0x100304f8
movaps xmm0, xmm1
jmp 0x100304ff
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 0x1003109d
movss xmm0, dword [esp + 0x94]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1009b38c]
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 [0x1009b3e8]
mulss xmm0, dword [0x1009b3e8]
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.10046ae0
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.10045910
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003069b
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.1000f930
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 [0x1009b380]
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 0x10030900
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 0x10030851
movaps xmm2, xmm0
jmp 0x10030855
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 [0x1009b380]
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 0x10030820
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 0x100305e6
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm0
mulss xmm0, dword [0x1009b3e8]
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 [0x1009b354]
mulss xmm1, dword [0x1009b354]
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 0x100309d0
mulss xmm1, dword [0x1009b360]
jmp 0x100309d8
mulss xmm1, dword [0x1009b358]
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
divss xmm0, dword [0x1009b388]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x100309fc
mov esi, 9
jmp 0x10030a06
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 0x10030a9d
movaps xmm0, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm0, dword [0x1009b380]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm0, dword [0x1009b40c]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.10046ae0
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10046560
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10030a91
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.1000f930
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x38]
mov dword [eax], 0
movaps xmm1, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm1, dword [0x1009b380]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm1, dword [0x1009b40c]
divss xmm1, xmm2
movss xmm2, dword [esp + 0xa0]
addss xmm2, dword [0x1009b380]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
subss xmm2, dword [0x1009b354]
call fcn.10046ae0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045910
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov esi, dword [esp + 0xfc]
test ecx, ecx
jns 0x10030b35
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.1000f930
lea eax, [edi + 0x54]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm0, dword [esp + 0x3c]
subss xmm2, dword [0x1009b354]
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.10046ae0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045910
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10030bad
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.1000f930
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 [0x1012266c]
mulss xmm5, xmm4
mov ecx, dword [edi]
subss xmm2, xmm0
shl ecx, 5
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm3
addss xmm2, xmm6
addss xmm5, xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm0
addss xmm5, xmm7
mulss xmm0, xmm4
mulss xmm2, xmm3
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x74], xmm5
movaps xmm1, xmm2
movss xmm5, dword [esp + 0x80]
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 + 0x185c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x1860]
mov eax, dword [edi + 8]
addss xmm5, dword [esp + 0x78]
addss xmm2, xmm6
movss dword [esp + 0xa0], xmm0
add dword [eax + ecx - 0x20], 6
lea ecx, [edi + 0x18]
mov edi, dword [ecx]
addss xmm5, xmm7
movss dword [esp + 0x68], xmm2
lea eax, [edi + 6]
push eax
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x70], xmm5
call fcn.1004a660
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.100331c0
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 0x10030ece
inc ecx
test edi, edi
je 0x10030eb6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10030ebb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.1000f930
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 0x10030f1c
inc edi
test eax, eax
je 0x10030f0c
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10030f11
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.1000f930
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 0x10030f8c
lea ecx, [edx + 1]
test edi, edi
je 0x10030f6e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10030f73
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.1000f930
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.10045910
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10030fee
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.1000f930
lea eax, [edi + 0x54]
movss xmm0, dword [0x1009b380]
movss xmm1, dword [esp + 0x10]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x84]
mov dword [eax], 0
comiss xmm1, xmm2
jbe 0x10031018
movaps xmm3, xmm1
jmp 0x1003101f
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm4, dword [esp + 0x64]
comiss xmm1, xmm4
jbe 0x1003102f
movaps xmm2, xmm1
jmp 0x10031036
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 0x10031416
test eax, 0x2000000
je 0x10031416
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.100473a0
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.100473a0
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.1001a700
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm3, dword [esp + 0x64]
comiss xmm0, xmm3
movss xmm1, dword [0x1009b380]
jbe 0x1003118c
movaps xmm2, xmm0
jmp 0x10031193
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [0x1009b354]
mulss xmm2, xmm6
movss xmm7, dword [0x1009b3c4]
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 0x100311e4
movss dword [esp + 0x20], xmm5
jmp 0x100311f7
comiss xmm3, xmm2
jbe 0x100311f1
movss dword [esp + 0x20], xmm2
jmp 0x100311f7
movss dword [esp + 0x20], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x84]
comiss xmm0, xmm2
jbe 0x1003120d
movaps xmm1, xmm0
jmp 0x10031211
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 0x1003124f
movss dword [esp + 0x24], xmm1
jmp 0x10031262
comiss xmm3, xmm0
jbe 0x1003125c
movss dword [esp + 0x24], xmm0
jmp 0x10031262
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.100473a0
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x104]
movss xmm2, dword [esp + 0x30]
mov ecx, edi
cmp ecx, 6
jl 0x100312a5
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.1001a700
mov esi, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x1009b3c4]
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 [0x1009b380]
push dword [esp + 0x4c]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x1009b380]
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 [0x1009b354]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.1002ee80
movss xmm1, dword [esp + 0x30]
add esp, 0x20
cmp byte [esp + 0x16], 0
je 0x1003142e
movss xmm0, dword [0x1009b418]
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.10046ae0
push dword [esp + 0xd4]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10046560
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003148a
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.1000f930
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
addss xmm2, dword [0x1009b380]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
subss xmm2, dword [0x1009b354]
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.10046ae0
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.10045910
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003150d
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.1000f930
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x1009b354]
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.10046ae0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10045910
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1003157c
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.1000f930
cmp dword [esp + 0xf8], 0x10000
mov dword [edi], 0
jne 0x10031727
mov eax, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x100315af
movss dword [esp + 0x34], xmm2
jmp 0x100315c1
movss xmm0, dword [0x1009b380]
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 [0x1009b354]
push dword [esp + 0xf8]
movss dword [esp + 0xf4], xmm3
push dword [esp + 0xf8]
mov edi, dword [esp + 0xf8]
push edi
call fcn.1002ccb0
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.100473a0
push dword [esp + 0xf0]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push edi
call fcn.1001a700
movss xmm1, dword [0x1009b380]
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 [0x1009b354]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x1009b3c4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1002ee80
add esp, 0x20
call fcn.10031c60
cmp byte [esp + 0xf], 0
mov edi, dword [0x1012266c]
je 0x100317b1
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 0x10031771
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10031776
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10031760
cmp edx, 0xfffffffc
je 0x100317ac
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100317a3
cmp edx, 0xfffffffd
je 0x100317ac
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100317a3
cmp edx, 0xfffffffe
je 0x100317ac
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100317a3
cmp edx, 0xffffffff
je 0x100317ac
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100317ac
mov byte [edi + 0x1953], 1
jmp 0x100317b1
mov byte [esp + 0xf], 0
mov ecx, dword [edi + 0x1928]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0x1c8]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1004d170
mov esp, ebp
pop ebp
ret