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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x100a3040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, ecx
mov ecx, dword [0x100e3e74]
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.1001fdc0
call fcn.1002def0
mov ecx, esi
or ecx, 0x10
test esi, 0x100
cmovne ecx, esi
mov dword [esp + 0xbc], ecx
test cl, 8
jne 0x1002b4a4
mov edx, dword [esp + 0x40]
call fcn.10029d90
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x1002b4d0
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 0x1002b4ea
mov eax, dword [esi + 0x2b18]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm1, dword [0x1009f534]
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 [0x100e3e74]
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 0x1002b5f4
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 0x1002b5e5
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 [0x1009f4f0]
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 [0x1009f508]
mulss xmm3, dword [0x1009f4e0]
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 [0x1009f4d8]
mulss xmm3, dword [0x1009f508]
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 [0x1009f69c]
movaps xmm2, xmm1
mulss xmm2, dword [0x1009f6a8]
movss dword [esp + 0xc0], xmm1
mulss xmm1, dword [0x1009f52c]
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 [0x1009f6ac]
movss dword [esp + 0x84], xmm5
jbe 0x1002b7db
movaps xmm0, xmm1
movaps xmm4, xmm2
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
movss xmm2, dword [0x1009f698]
jbe 0x1002b804
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 [0x1009f5b4]
movss dword [esp + 0x9c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x1009f4b4]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1009f4b4]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x1009fe80]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x64], xmm2
call fcn.1001d8f0
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1002be54
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
mov ecx, 0x1009f358
movss dword [esp + 0x24], xmm1
addss xmm0, dword [eax + 0x1554]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
call fcn.1001f000
mov eax, dword [0x100e3e74]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002bd47
mov eax, dword [eax + 0x1928]
cmp ecx, dword [eax + 0x104]
jne 0x1002bd47
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 [0x1009f534]
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 0x1002b9f3
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1002b9f3
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 [0x1009f598]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
movss xmm0, dword [esp + 0x10]
divss xmm1, xmm2
mulss xmm1, dword [0x1009f508]
comiss xmm0, xmm1
movss dword [esp + 0x50], xmm1
jbe 0x1002b9eb
addss xmm1, dword [0x1009f534]
movss dword [esp + 0x50], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1002ba05
mov al, byte [esp + 0xf]
movss xmm2, dword [0x1009f598]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x1009feb0]
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 0x1002bd3f
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 0x1002bd3f
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 0x1002bc3c
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 0x1002bc7f
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.1000e730
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 [0x1009f4c8]
movaps xmm0, xmm7
movss dword [esp + 0x64], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1009f534]
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 0x1002bd0d
movaps xmm3, xmm2
movss dword [esp + 0x84], xmm2
jmp 0x1002bd1d
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x84], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x1002bd33
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x64], xmm2
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
jmp 0x1002bd47
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
test byte [esp + 0x18], 8
jne 0x1002bd53
call fcn.10017b00
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0xf8], 0x10000
jne 0x1002c072
mov ecx, dword [0x100e3e74]
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.1001f000
mov eax, dword [0x100e3e74]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002c078
mov eax, dword [eax + 0x1928]
cmp ecx, dword [eax + 0x104]
mov ecx, dword [esp + 0x1c]
jne 0x1002c07c
movss xmm3, dword [ecx + 0xdc]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [0x1009f534]
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x1002c054
movaps xmm4, xmm1
jmp 0x1002c05b
test eax, 0x2000000
je 0x1002bd53
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xc0]
mov ecx, 0x1009f35c
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm0
call fcn.1001f000
mov ecx, dword [0x100e3e74]
mov edx, dword [ecx + 0x1944]
test edx, edx
je 0x1002bf25
mov eax, dword [ecx + 0x1928]
cmp edx, dword [eax + 0x104]
jne 0x1002bf25
mov eax, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x1009f534]
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 0x1002bee5
movss dword [esp + 0x64], xmm0
jmp 0x1002bef2
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 0x1002bf10
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xf], al
movss dword [esp + 0x84], xmm1
jmp 0x1002bf29
mov al, byte [esp + 0xf]
test byte [esp + 0x18], 8
mov byte [esp + 0x16], al
mov byte [esp + 0x4b], al
jne 0x1002bf43
call fcn.10017b00
mov ecx, dword [0x100e3e74]
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, 0x1009f360
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.1001f000
mov eax, dword [0x100e3e74]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002bd53
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 0x1002bd5f
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm4
movss xmm1, dword [0x1009f534]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc]
subss xmm2, xmm3
divss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x1002c037
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 0x1002bd5f
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 0x1002c07c
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x100e3e74]
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 0x1002c0ba
mov esi, 1
jmp 0x1002c0c8
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 0x1002c14c
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 0x1002c143
comiss xmm1, xmm2
jbe 0x1002c10b
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.1002def0
mov eax, dword [esp + 0x18]
test al, al
js 0x1002c219
mov edx, dword [esp + 0x8c]
cmp edx, 0xffffffff
jae 0x1002c219
mov cl, byte [edx]
mov byte [esp + 0x4b], cl
test cl, cl
je 0x1002c17e
cmp cl, 0x23
jne 0x1002c178
cmp byte [edx + 1], cl
je 0x1002c17e
inc edx
cmp edx, 0xffffffff
jb 0x1002c164
cmp dword [esp + 0x8c], edx
je 0x1002c219
test eax, 0x100
je 0x1002c209
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x1554]
mov eax, dword [0x100e3e74]
mov eax, dword [eax + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [0x100e3e74]
mov ecx, dword [eax + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002c209
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x1002c1d1
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.1001dfa0
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1002c400
mov ecx, 0x10
call fcn.1001d8f0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test cl, 2
je 0x1002c245
movss xmm1, dword [0x1009f534]
jmp 0x1002c24a
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 0x1002c291
push str.Current
call fcn.1001ddd0
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 [0x1009f594]
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.10029340
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x1002c3bd
push str.Original
call fcn.1001ddd0
mov eax, dword [esp + 0x50]
add esp, 4
test byte [esp + 0x18], 2
je 0x1002c31b
movss xmm1, dword [0x1009f534]
jmp 0x1002c320
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.10029340
add esp, 0xc
test al, al
je 0x1002c3bd
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 [0x100e3e74]
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 0x1002c3eb
mov eax, 1
jmp 0x1002c3f5
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.1002e010
cmp byte [esp + 0x17], 0
jne 0x1002c40e
cmp byte [esp + 0x16], 0
je 0x1002c470
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 0x1002c431
movaps xmm3, xmm1
jmp 0x1002c439
movss xmm3, dword [0x1009f4b8]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
movss xmm2, dword [0x1009f4bc]
ja 0x1002c44f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x50]
comiss xmm0, dword [0x1009f534]
jb 0x1002c462
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1000f200
add esp, 4
test byte [esp + 0x18], 0x20
jne 0x1002c647
cmp dword [esp + 0xf8], 0x10000
jne 0x1002c493
movss xmm0, dword [esp + 0xf4]
jmp 0x1002c49c
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0x54]
mov ecx, dword [0x100e3e74]
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 0x1002c4d5
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 0x1002c521
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1002c50a
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002c50f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002f340
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 0x1002c55b
test eax, 0x700000
jne 0x1002c57f
mov edx, dword [esp + 0x40]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1002a090
mov ecx, dword [esp + 0x48]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1002c58d
test eax, 0x700000
jne 0x1002c5b5
mov edx, dword [esp + 0x40]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1002a090
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], dl
jmp 0x1002c5b9
mov dl, byte [esp + 0xf]
test eax, 0x400000
jne 0x1002c5c7
test eax, 0x700000
jne 0x1002c5ec
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x40]
or eax, 0x400004
push eax
call fcn.1002a090
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov byte [esp + 0xf], dl
mov ecx, dword [0x100e3e74]
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 0x1002c629
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
jmp 0x1002c64b
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 0x1002c64b
mov dl, byte [esp + 0xf]
test dl, dl
je 0x1002c744
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 0x1002c684
movss xmm6, dword [0x1009f6ac]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1002c6a1
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1009f698]
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 [0x1009f4b4]
movaps xmm7, xmm1
mulss xmm1, dword [esp + 0x9c]
divss xmm7, xmm0
addss xmm1, dword [0x1009f4b4]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1009fe80]
comiss xmm2, xmm3
jb 0x1002c744
movss xmm0, dword [esp + 0x50]
comiss xmm0, xmm2
jbe 0x1002c744
comiss xmm2, xmm4
jb 0x1002c71f
movss xmm1, dword [esp + 0x84]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1002c71f
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm2, dword [0x1009f508]
jmp 0x1002c735
comiss xmm2, xmm7
jb 0x1002c744
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm4
mulss xmm1, dword [0x1009f508]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1000f200
add esp, 4
movaps xmm0, xmmword [0x1009fb70]
lea eax, [esp + 0xc8]
movss xmm2, dword [0x1009f534]
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.1000f200
movups xmm3, xmmword [esp + 0xc4]
add esp, 4
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm3
movss xmm2, dword [0x1009f534]
jbe 0x1002c7a2
movaps xmm0, xmm1
jmp 0x1002c7a9
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x1009f640]
movss xmm4, dword [0x1009f508]
movss xmm5, dword [esp + 0xc4]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002c7d8
movaps xmm0, xmm1
jmp 0x1002c7df
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 0x1002c803
movaps xmm0, xmm1
jmp 0x1002c80a
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 0x1002c82e
movaps xmm0, xmm1
jmp 0x1002c835
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 0x1002c869
movaps xmm0, xmm1
jmp 0x1002c870
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002c886
movaps xmm0, xmm1
jmp 0x1002c88d
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 0x1002c8a8
movaps xmm0, xmm1
jmp 0x1002c8af
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 0x1002d44d
movss xmm0, dword [esp + 0x94]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1009f540]
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 [0x1009f598]
mulss xmm0, dword [0x1009f598]
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.100430d0
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.10041f00
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002ca4b
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.1000bf50
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 [0x1009f534]
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 0x1002ccb0
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 0x1002cc01
movaps xmm2, xmm0
jmp 0x1002cc05
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 [0x1009f534]
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 0x1002cbd0
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 0x1002c996
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm0
mulss xmm0, dword [0x1009f598]
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 [0x1009f508]
mulss xmm1, dword [0x1009f508]
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 0x1002cd80
mulss xmm1, dword [0x1009f514]
jmp 0x1002cd88
mulss xmm1, dword [0x1009f50c]
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
divss xmm0, dword [0x1009f53c]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1002cdac
mov esi, 9
jmp 0x1002cdb6
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 0x1002ce4d
movaps xmm0, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm0, dword [0x1009f534]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm0, dword [0x1009f5b8]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.100430d0
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042b50
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002ce41
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.1000bf50
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x38]
mov dword [eax], 0
movaps xmm1, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm1, dword [0x1009f534]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm1, dword [0x1009f5b8]
divss xmm1, xmm2
movss xmm2, dword [esp + 0xa0]
addss xmm2, dword [0x1009f534]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
subss xmm2, dword [0x1009f508]
call fcn.100430d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10041f00
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov esi, dword [esp + 0xfc]
test ecx, ecx
jns 0x1002cee5
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.1000bf50
lea eax, [edi + 0x54]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm0, dword [esp + 0x3c]
subss xmm2, dword [0x1009f508]
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.100430d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10041f00
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002cf5d
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.1000bf50
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 [0x100e3e74]
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.10046c50
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.1002f5a0
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 0x1002d27e
inc ecx
test edi, edi
je 0x1002d266
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002d26b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.1000bf50
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 0x1002d2cc
inc edi
test eax, eax
je 0x1002d2bc
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002d2c1
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.1000bf50
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 0x1002d33c
lea ecx, [edx + 1]
test edi, edi
je 0x1002d31e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002d323
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.1000bf50
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.10041f00
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d39e
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.1000bf50
lea eax, [edi + 0x54]
movss xmm0, dword [0x1009f534]
movss xmm1, dword [esp + 0x10]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x84]
mov dword [eax], 0
comiss xmm1, xmm2
jbe 0x1002d3c8
movaps xmm3, xmm1
jmp 0x1002d3cf
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm4, dword [esp + 0x64]
comiss xmm1, xmm4
jbe 0x1002d3df
movaps xmm2, xmm1
jmp 0x1002d3e6
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 0x1002d7c6
test eax, 0x2000000
je 0x1002d7c6
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.10043990
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.10043990
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.10016ca0
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm3, dword [esp + 0x64]
comiss xmm0, xmm3
movss xmm1, dword [0x1009f534]
jbe 0x1002d53c
movaps xmm2, xmm0
jmp 0x1002d543
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [0x1009f508]
mulss xmm2, xmm6
movss xmm7, dword [0x1009f574]
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 0x1002d594
movss dword [esp + 0x20], xmm5
jmp 0x1002d5a7
comiss xmm3, xmm2
jbe 0x1002d5a1
movss dword [esp + 0x20], xmm2
jmp 0x1002d5a7
movss dword [esp + 0x20], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x84]
comiss xmm0, xmm2
jbe 0x1002d5bd
movaps xmm1, xmm0
jmp 0x1002d5c1
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 0x1002d5ff
movss dword [esp + 0x24], xmm1
jmp 0x1002d612
comiss xmm3, xmm0
jbe 0x1002d60c
movss dword [esp + 0x24], xmm0
jmp 0x1002d612
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.10043990
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x104]
movss xmm2, dword [esp + 0x30]
mov ecx, edi
cmp ecx, 6
jl 0x1002d655
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.10016ca0
mov esi, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x1009f574]
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 [0x1009f534]
push dword [esp + 0x4c]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x1009f534]
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 [0x1009f508]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.1002b240
movss xmm1, dword [esp + 0x30]
add esp, 0x20
cmp byte [esp + 0x16], 0
je 0x1002d7de
movss xmm0, dword [0x1009f5c4]
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.100430d0
push dword [esp + 0xd4]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042b50
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d83a
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.1000bf50
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
addss xmm2, dword [0x1009f534]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
subss xmm2, dword [0x1009f508]
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.100430d0
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.10041f00
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d8bd
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.1000bf50
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x1009f508]
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.100430d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10041f00
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002d92c
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.1000bf50
cmp dword [esp + 0xf8], 0x10000
mov dword [edi], 0
jne 0x1002dad7
mov eax, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1002d95f
movss dword [esp + 0x34], xmm2
jmp 0x1002d971
movss xmm0, dword [0x1009f534]
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 [0x1009f508]
push dword [esp + 0xf8]
movss dword [esp + 0xf4], xmm3
push dword [esp + 0xf8]
mov edi, dword [esp + 0xf8]
push edi
call fcn.10029070
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.10043990
push dword [esp + 0xf0]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push edi
call fcn.10016ca0
movss xmm1, dword [0x1009f534]
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 [0x1009f508]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x1009f574]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1002b240
add esp, 0x20
call fcn.1002e010
cmp byte [esp + 0xf], 0
mov edi, dword [0x100e3e74]
je 0x1002db61
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 0x1002db21
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1002db26
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1002db10
cmp edx, 0xfffffffc
je 0x1002db5c
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1002db53
cmp edx, 0xfffffffd
je 0x1002db5c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1002db53
cmp edx, 0xfffffffe
je 0x1002db5c
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1002db53
cmp edx, 0xffffffff
je 0x1002db5c
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1002db5c
mov byte [edi + 0x1953], 1
jmp 0x1002db61
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.10049760
mov esp, ebp
pop ebp
ret