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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x100a4040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, ecx
mov ecx, dword [0x100da7d8]
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.10020930
call fcn.1002ea70
mov ecx, esi
or ecx, 0x10
test esi, 0x100
cmovne ecx, esi
mov dword [esp + 0xbc], ecx
test cl, 8
jne 0x1002c024
mov edx, dword [esp + 0x40]
call fcn.1002a910
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x1002c050
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 0x1002c06a
mov eax, dword [esi + 0x2b18]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm1, dword [0x100a096c]
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 [0x100da7d8]
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 0x1002c174
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 0x1002c165
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 [0x100a0928]
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 [0x100a0940]
mulss xmm3, dword [0x100a0918]
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 [0x100a0910]
mulss xmm3, dword [0x100a0940]
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 [0x100a0ad4]
movaps xmm2, xmm1
mulss xmm2, dword [0x100a0ae0]
movss dword [esp + 0xc0], xmm1
mulss xmm1, dword [0x100a0964]
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 [0x100a0ae4]
movss dword [esp + 0x84], xmm5
jbe 0x1002c35b
movaps xmm0, xmm1
movaps xmm4, xmm2
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
movss xmm2, dword [0x100a0ad0]
jbe 0x1002c384
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 [0x100a09ec]
movss dword [esp + 0x9c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x100a08ec]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100a08ec]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x100a0e80]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x64], xmm2
call fcn.1001e460
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1002c9d4
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
mov ecx, 0x100a0790
movss dword [esp + 0x24], xmm1
addss xmm0, dword [eax + 0x1554]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
call fcn.1001fb70
mov eax, dword [0x100da7d8]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002c8c7
mov eax, dword [eax + 0x1928]
cmp ecx, dword [eax + 0x104]
jne 0x1002c8c7
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 [0x100a096c]
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 0x1002c573
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1002c573
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 [0x100a09d0]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
movss xmm0, dword [esp + 0x10]
divss xmm1, xmm2
mulss xmm1, dword [0x100a0940]
comiss xmm0, xmm1
movss dword [esp + 0x50], xmm1
jbe 0x1002c56b
addss xmm1, dword [0x100a096c]
movss dword [esp + 0x50], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1002c585
mov al, byte [esp + 0xf]
movss xmm2, dword [0x100a09d0]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x100a0eb0]
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 0x1002c8bf
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 0x1002c8bf
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 0x1002c7bc
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 0x1002c7ff
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.1000f280
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 [0x100a0900]
movaps xmm0, xmm7
movss dword [esp + 0x64], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100a096c]
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 0x1002c88d
movaps xmm3, xmm2
movss dword [esp + 0x84], xmm2
jmp 0x1002c89d
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x84], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x1002c8b3
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x64], xmm2
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
jmp 0x1002c8c7
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
test byte [esp + 0x18], 8
jne 0x1002c8d3
call fcn.10018680
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0xf8], 0x10000
jne 0x1002cbf2
mov ecx, dword [0x100da7d8]
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.1001fb70
mov eax, dword [0x100da7d8]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002cbf8
mov eax, dword [eax + 0x1928]
cmp ecx, dword [eax + 0x104]
mov ecx, dword [esp + 0x1c]
jne 0x1002cbfc
movss xmm3, dword [ecx + 0xdc]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [0x100a096c]
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x1002cbd4
movaps xmm4, xmm1
jmp 0x1002cbdb
test eax, 0x2000000
je 0x1002c8d3
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xc0]
mov ecx, 0x100a0794
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm0
call fcn.1001fb70
mov ecx, dword [0x100da7d8]
mov edx, dword [ecx + 0x1944]
test edx, edx
je 0x1002caa5
mov eax, dword [ecx + 0x1928]
cmp edx, dword [eax + 0x104]
jne 0x1002caa5
mov eax, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x100a096c]
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 0x1002ca65
movss dword [esp + 0x64], xmm0
jmp 0x1002ca72
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 0x1002ca90
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xf], al
movss dword [esp + 0x84], xmm1
jmp 0x1002caa9
mov al, byte [esp + 0xf]
test byte [esp + 0x18], 8
mov byte [esp + 0x16], al
mov byte [esp + 0x4b], al
jne 0x1002cac3
call fcn.10018680
mov ecx, dword [0x100da7d8]
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, 0x100a0798
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.1001fb70
mov eax, dword [0x100da7d8]
mov ecx, dword [eax + 0x1944]
test ecx, ecx
je 0x1002c8d3
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 0x1002c8df
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm4
movss xmm1, dword [0x100a096c]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc]
subss xmm2, xmm3
divss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x1002cbb7
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 0x1002c8df
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 0x1002cbfc
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x100da7d8]
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 0x1002cc3a
mov esi, 1
jmp 0x1002cc48
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 0x1002cccc
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 0x1002ccc3
comiss xmm1, xmm2
jbe 0x1002cc8b
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.1002ea70
mov eax, dword [esp + 0x18]
test al, al
js 0x1002cd99
mov edx, dword [esp + 0x8c]
cmp edx, 0xffffffff
jae 0x1002cd99
mov cl, byte [edx]
mov byte [esp + 0x4b], cl
test cl, cl
je 0x1002ccfe
cmp cl, 0x23
jne 0x1002ccf8
cmp byte [edx + 1], cl
je 0x1002ccfe
inc edx
cmp edx, 0xffffffff
jb 0x1002cce4
cmp dword [esp + 0x8c], edx
je 0x1002cd99
test eax, 0x100
je 0x1002cd89
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x1554]
mov eax, dword [0x100da7d8]
mov eax, dword [eax + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [0x100da7d8]
mov ecx, dword [eax + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002cd89
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x1002cd51
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.1001eb10
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1002cf80
mov ecx, 0x10
call fcn.1001e460
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test cl, 2
je 0x1002cdc5
movss xmm1, dword [0x100a096c]
jmp 0x1002cdca
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 0x1002ce11
push str.Current
call fcn.1001e940
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 [0x100a09cc]
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.10029ec0
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x1002cf3d
push str.Original
call fcn.1001e940
mov eax, dword [esp + 0x50]
add esp, 4
test byte [esp + 0x18], 2
je 0x1002ce9b
movss xmm1, dword [0x100a096c]
jmp 0x1002cea0
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.10029ec0
add esp, 0xc
test al, al
je 0x1002cf3d
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 [0x100da7d8]
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 0x1002cf6b
mov eax, 1
jmp 0x1002cf75
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.1002eb90
cmp byte [esp + 0x17], 0
jne 0x1002cf8e
cmp byte [esp + 0x16], 0
je 0x1002cff0
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 0x1002cfb1
movaps xmm3, xmm1
jmp 0x1002cfb9
movss xmm3, dword [0x100a08f0]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
movss xmm2, dword [0x100a08f4]
ja 0x1002cfcf
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x50]
comiss xmm0, dword [0x100a096c]
jb 0x1002cfe2
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1000fd50
add esp, 4
test byte [esp + 0x18], 0x20
jne 0x1002d1c7
cmp dword [esp + 0xf8], 0x10000
jne 0x1002d013
movss xmm0, dword [esp + 0xf4]
jmp 0x1002d01c
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0x54]
mov ecx, dword [0x100da7d8]
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 0x1002d055
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 0x1002d0a1
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1002d08a
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002d08f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002fe70
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 0x1002d0db
test eax, 0x700000
jne 0x1002d0ff
mov edx, dword [esp + 0x40]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1002ac10
mov ecx, dword [esp + 0x48]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1002d10d
test eax, 0x700000
jne 0x1002d135
mov edx, dword [esp + 0x40]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1002ac10
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], dl
jmp 0x1002d139
mov dl, byte [esp + 0xf]
test eax, 0x400000
jne 0x1002d147
test eax, 0x700000
jne 0x1002d16c
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x40]
or eax, 0x400004
push eax
call fcn.1002ac10
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov byte [esp + 0xf], dl
mov ecx, dword [0x100da7d8]
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 0x1002d1a9
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
jmp 0x1002d1cb
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 0x1002d1cb
mov dl, byte [esp + 0xf]
test dl, dl
je 0x1002d2c4
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 0x1002d204
movss xmm6, dword [0x100a0ae4]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1002d221
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100a0ad0]
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 [0x100a08ec]
movaps xmm7, xmm1
mulss xmm1, dword [esp + 0x9c]
divss xmm7, xmm0
addss xmm1, dword [0x100a08ec]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100a0e80]
comiss xmm2, xmm3
jb 0x1002d2c4
movss xmm0, dword [esp + 0x50]
comiss xmm0, xmm2
jbe 0x1002d2c4
comiss xmm2, xmm4
jb 0x1002d29f
movss xmm1, dword [esp + 0x84]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1002d29f
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm2, dword [0x100a0940]
jmp 0x1002d2b5
comiss xmm2, xmm7
jb 0x1002d2c4
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm4
mulss xmm1, dword [0x100a0940]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1000fd50
add esp, 4
movaps xmm0, xmmword [0x100a0d00]
lea eax, [esp + 0xc8]
movss xmm2, dword [0x100a096c]
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.1000fd50
movups xmm3, xmmword [esp + 0xc4]
add esp, 4
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm3
movss xmm2, dword [0x100a096c]
jbe 0x1002d322
movaps xmm0, xmm1
jmp 0x1002d329
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x100a0a78]
movss xmm4, dword [0x100a0940]
movss xmm5, dword [esp + 0xc4]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002d358
movaps xmm0, xmm1
jmp 0x1002d35f
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 0x1002d383
movaps xmm0, xmm1
jmp 0x1002d38a
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 0x1002d3ae
movaps xmm0, xmm1
jmp 0x1002d3b5
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 0x1002d3e9
movaps xmm0, xmm1
jmp 0x1002d3f0
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002d406
movaps xmm0, xmm1
jmp 0x1002d40d
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 0x1002d428
movaps xmm0, xmm1
jmp 0x1002d42f
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 0x1002dfcd
movss xmm0, dword [esp + 0x94]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100a0978]
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 [0x100a09d0]
mulss xmm0, dword [0x100a09d0]
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.10043c10
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.10042a40
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d5cb
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.1000ca20
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 [0x100a096c]
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 0x1002d830
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 0x1002d781
movaps xmm2, xmm0
jmp 0x1002d785
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 [0x100a096c]
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 0x1002d750
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 0x1002d516
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm0
mulss xmm0, dword [0x100a09d0]
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 [0x100a0940]
mulss xmm1, dword [0x100a0940]
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 0x1002d900
mulss xmm1, dword [0x100a094c]
jmp 0x1002d908
mulss xmm1, dword [0x100a0944]
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
divss xmm0, dword [0x100a0974]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1002d92c
mov esi, 9
jmp 0x1002d936
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 0x1002d9cd
movaps xmm0, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm0, dword [0x100a096c]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm0, dword [0x100a09f0]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.10043c10
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043690
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d9c1
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.1000ca20
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x38]
mov dword [eax], 0
movaps xmm1, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm1, dword [0x100a096c]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm1, dword [0x100a09f0]
divss xmm1, xmm2
movss xmm2, dword [esp + 0xa0]
addss xmm2, dword [0x100a096c]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
subss xmm2, dword [0x100a0940]
call fcn.10043c10
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042a40
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov esi, dword [esp + 0xfc]
test ecx, ecx
jns 0x1002da65
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.1000ca20
lea eax, [edi + 0x54]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm0, dword [esp + 0x3c]
subss xmm2, dword [0x100a0940]
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.10043c10
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042a40
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002dadd
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.1000ca20
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 [0x100da7d8]
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.10047790
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.100300d0
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 0x1002ddfe
inc ecx
test edi, edi
je 0x1002dde6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002ddeb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.1000ca20
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 0x1002de4c
inc edi
test eax, eax
je 0x1002de3c
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002de41
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.1000ca20
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 0x1002debc
lea ecx, [edx + 1]
test edi, edi
je 0x1002de9e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002dea3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.1000ca20
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.10042a40
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002df1e
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.1000ca20
lea eax, [edi + 0x54]
movss xmm0, dword [0x100a096c]
movss xmm1, dword [esp + 0x10]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x84]
mov dword [eax], 0
comiss xmm1, xmm2
jbe 0x1002df48
movaps xmm3, xmm1
jmp 0x1002df4f
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm4, dword [esp + 0x64]
comiss xmm1, xmm4
jbe 0x1002df5f
movaps xmm2, xmm1
jmp 0x1002df66
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 0x1002e346
test eax, 0x2000000
je 0x1002e346
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.100444d0
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.100444d0
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.10017820
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm3, dword [esp + 0x64]
comiss xmm0, xmm3
movss xmm1, dword [0x100a096c]
jbe 0x1002e0bc
movaps xmm2, xmm0
jmp 0x1002e0c3
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [0x100a0940]
mulss xmm2, xmm6
movss xmm7, dword [0x100a09ac]
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 0x1002e114
movss dword [esp + 0x20], xmm5
jmp 0x1002e127
comiss xmm3, xmm2
jbe 0x1002e121
movss dword [esp + 0x20], xmm2
jmp 0x1002e127
movss dword [esp + 0x20], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x84]
comiss xmm0, xmm2
jbe 0x1002e13d
movaps xmm1, xmm0
jmp 0x1002e141
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 0x1002e17f
movss dword [esp + 0x24], xmm1
jmp 0x1002e192
comiss xmm3, xmm0
jbe 0x1002e18c
movss dword [esp + 0x24], xmm0
jmp 0x1002e192
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.100444d0
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x104]
movss xmm2, dword [esp + 0x30]
mov ecx, edi
cmp ecx, 6
jl 0x1002e1d5
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.10017820
mov esi, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x100a09ac]
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 [0x100a096c]
push dword [esp + 0x4c]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x100a096c]
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 [0x100a0940]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.1002bdc0
movss xmm1, dword [esp + 0x30]
add esp, 0x20
cmp byte [esp + 0x16], 0
je 0x1002e35e
movss xmm0, dword [0x100a09fc]
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.10043c10
push dword [esp + 0xd4]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043690
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002e3ba
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.1000ca20
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
addss xmm2, dword [0x100a096c]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
subss xmm2, dword [0x100a0940]
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.10043c10
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.10042a40
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002e43d
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.1000ca20
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x100a0940]
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.10043c10
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042a40
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002e4ac
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.1000ca20
cmp dword [esp + 0xf8], 0x10000
mov dword [edi], 0
jne 0x1002e657
mov eax, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1002e4df
movss dword [esp + 0x34], xmm2
jmp 0x1002e4f1
movss xmm0, dword [0x100a096c]
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 [0x100a0940]
push dword [esp + 0xf8]
movss dword [esp + 0xf4], xmm3
push dword [esp + 0xf8]
mov edi, dword [esp + 0xf8]
push edi
call fcn.10029bf0
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.100444d0
push dword [esp + 0xf0]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push edi
call fcn.10017820
movss xmm1, dword [0x100a096c]
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 [0x100a0940]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x100a09ac]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1002bdc0
add esp, 0x20
call fcn.1002eb90
cmp byte [esp + 0xf], 0
mov edi, dword [0x100da7d8]
je 0x1002e6e1
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 0x1002e6a1
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1002e6a6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1002e690
cmp edx, 0xfffffffc
je 0x1002e6dc
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1002e6d3
cmp edx, 0xfffffffd
je 0x1002e6dc
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1002e6d3
cmp edx, 0xfffffffe
je 0x1002e6dc
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1002e6d3
cmp edx, 0xffffffff
je 0x1002e6dc
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1002e6dc
mov byte [edi + 0x1953], 1
jmp 0x1002e6e1
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.1004a2a0
mov esp, ebp
pop ebp
ret