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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [0x1011e00c]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x101203a8]
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [ecx + 0x3e68]
mov edi, edx
mov dword [esp + 0xe8], edi
mov dword [esp + 0x38], ecx
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e68]
mov dword [esp + 0x6c], edx
cmp byte [edx + 0xaf], 0
je 0x1005f750
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.100f238c
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x46c8], 1
mov eax, dword [edx + 0x264]
mov dword [esp + 0x68], eax
je 0x1005f76d
movss xmm1, dword [ecx + 0x46d0]
jmp 0x1005f775
movss xmm1, dword [edx + 0x1a0]
xorps xmm0, xmm0
movss dword [esp + 0x10], xmm0
comiss xmm0, xmm1
movss xmm0, dword [0x10116f8c]
jbe 0x1005f7c0
cmp dword [edx + 0x190], 0
movss xmm2, dword [edx + 0x228]
jne 0x1005f7a5
cmp dword [ecx + 0x4a24], 0
je 0x1005f7ad
movss xmm2, dword [edx + 0x1f8]
subss xmm2, dword [edx + 0xf0]
addss xmm2, xmm1
movaps xmm1, xmm0
maxss xmm1, xmm2
mov dword [ecx + 0x46c8], 0
mov dword [ecx + 0x46cc], 0
mov ecx, dword [esp + 0x58]
cvttss2si esi, xmm1
call fcn.10035080
call fcn.10037c20
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xd8], ecx
test cl, 8
jne 0x1005f813
mov edx, ecx
mov ecx, edi
call fcn.10063770
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x38]
test ecx, 0x6000000
jne 0x1005f83f
mov eax, dword [edx + 0x59c0]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xd8]
mov dword [esp + 0x14], ecx
test ecx, 0x18000000
jne 0x1005f879
mov eax, dword [edx + 0x59c0]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0xe8]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x1005f88f
mov eax, dword [edx + 0x59c0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x14], ecx
movss xmm4, dword [edx + 0x37d4]
mov eax, ecx
movss xmm3, dword [0x10117030]
and eax, 2
mov dword [esp + 0x18], eax
and ecx, 0x10002
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xd8], ecx
movss xmm2, dword [eax + 0xf0]
movss xmm0, dword [eax + 0xf4]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x50], xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm4
sete al
movss dword [esp + 0xec], xmm2
inc eax
movss dword [esp + 0xb0], xmm2
addss xmm0, xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x18], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x150]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x7c], xmm1
addss xmm0, xmm4
movss dword [esp + 0x104], xmm0
addss xmm0, xmm3
addss xmm4, xmm0
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xfc], xmm4
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x7c]
add esp, 0xc
movaps xmm3, xmm2
movaps xmm1, xmm2
mulss xmm3, dword [0x10116f48]
mulss xmm1, dword [0x10116f1c]
movaps xmm0, xmm3
movss dword [esp + 0x60], xmm3
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0xc0], xmm1
movaps xmm4, xmm3
subss xmm4, xmm1
movaps xmm1, xmm2
addss xmm1, dword [0x10117030]
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10116f0c]
movaps xmm2, xmm4
mulss xmm1, dword [0x10116f48]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0xec]
movss dword [esp + 0x74], xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xe4], xmm1
subss xmm2, xmm0
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0x10]
movss dword [esp + 0x24], xmm1
movaps xmm0, xmm2
movss dword [esp + 0xc4], xmm2
mulss xmm0, dword [0x10117130]
movss dword [esp + 0x20], xmm2
movss xmm4, dword [edi + 4]
movaps xmm3, xmm2
mulss xmm3, dword [0x1011713c]
mov eax, dword [esp + 0x14]
mov ecx, eax
movss xmm5, dword [edi + 8]
and ecx, 0x8000000
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x120], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10116f74]
mov dword [esp + 0x84], ecx
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0x10c], xmm3
movss xmm3, dword [edi]
movaps xmm2, xmm3
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xf4], xmm2
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm4
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xac], xmm2
movaps xmm2, xmm5
movss dword [esp + 0x124], xmm0
movss xmm0, dword [0x10117140]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x64], xmm5
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa8], xmm2
je 0x1005fbf9
comiss xmm5, xmm4
movaps xmm6, xmm1
movaps xmm2, xmm4
movaps xmm7, xmm5
jbe 0x1005fb1e
movaps xmm2, xmm5
movaps xmm7, xmm4
movaps xmm6, xmm0
comiss xmm2, xmm3
movaps xmm5, xmm3
movss dword [esp + 0x64], xmm5
jbe 0x1005fb47
movss xmm0, dword [0x1011712c]
movaps xmm5, xmm2
subss xmm0, xmm6
movss dword [esp + 0x64], xmm5
movaps xmm2, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm2
mov ecx, dword [esp + 0x38]
minss xmm0, xmm7
movaps xmm4, xmm5
movaps xmm3, xmm2
subss xmm3, xmm7
mov eax, dword [ecx + 0x59d4]
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10117030]
addss xmm0, dword [0x10116ee0]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm3, xmm6
addss xmm0, dword [0x10116ee0]
andps xmm3, xmmword [0x10118a50]
divss xmm4, xmm0
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x4c], xmm4
cmp eax, dword [edi]
jne 0x1005fc57
mov eax, dword [ecx + 0x59d8]
cmp eax, dword [edi + 4]
jne 0x1005fc57
mov eax, dword [ecx + 0x59dc]
cmp eax, dword [edi + 8]
jne 0x1005fc57
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x1005fbe0
movss xmm0, dword [ecx + 0x59cc]
movss dword [esp + 0x34], xmm0
ucomiss xmm5, xmm1
lahf
test ah, 0x44
jp 0x1005fc57
movss xmm0, dword [ecx + 0x59d0]
movss dword [esp + 0x4c], xmm0
jmp 0x1005fc57
test eax, 0x10000000
je 0x1005fc57
lea eax, [esp + 0xa8]
movaps xmm2, xmm5
push eax
lea edx, [esp + 0xb0]
movaps xmm1, xmm4
lea ecx, [esp + 0x34]
movaps xmm0, xmm3
call fcn.10028940
movss xmm0, dword [esp + 0x34]
add esp, 4
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0xa0], xmm0
mov esi, dword [0x101203a8]
lea edx, [esi + 0x47ac]
mov byte [esp + 0xe], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0xf], 0
mov eax, dword [esi + 0x46c0]
or eax, 8
mov dword [esp + 0x54], edx
mov dword [esi + 0x46c0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [edx]
cmp eax, ecx
jne 0x1005fcc4
lea esi, [eax + 1]
test ecx, ecx
je 0x1005fca8
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x1005fcad
mov eax, 8
cmp eax, esi
mov ecx, edx
cmovg esi, eax
push esi
call fcn.1003f270
mov esi, dword [0x101203a8]
mov edx, dword [esp + 0x54]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x6c]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x14]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0x78], ecx
je 0x100602eb
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0x88]
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
push ecx
mov ecx, 0x10116724
movss dword [esp + 0x90], xmm1
addss xmm0, dword [eax + 0x37d4]
addss xmm0, dword [0x10117030]
movss dword [esp + 0x8c], xmm0
call fcn.10055580
mov esi, dword [0x101203a8]
add esp, 4
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x10060203
cmp eax, dword [esi + 0x46e0]
jne 0x10060203
mov eax, dword [esp + 0x38]
movss xmm0, dword [eax + 0x36ac]
subss xmm0, dword [esp + 0xe0]
movss xmm1, dword [eax + 0x36a8]
subss xmm1, dword [esp + 0xe4]
movss xmm2, dword [eax + 0xdb8]
movss xmm4, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0xe4]
subss xmm4, dword [esp + 0xe0]
movaps xmm3, xmm0
movss dword [esp + 0xdc], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [0x10116f8c]
addss xmm3, xmm0
movss dword [esp + 0x104], xmm2
movss xmm0, dword [esp + 0x74]
subss xmm0, xmm1
movss dword [esp + 0x118], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1005fe73
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1005fe73
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x88], xmm0
fld qword [esp + 0x88]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x88], xmm0
fld qword [esp + 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm1, dword [0x10117010]
fstp qword [esp + 0x88]
movsd xmm0, qword [esp + 0x88]
cvtpd2ps xmm0, xmm0
movss xmm3, dword [esp + 0x10]
divss xmm0, xmm1
mulss xmm0, dword [0x10116f48]
comiss xmm3, xmm0
movss dword [esp + 0x34], xmm0
jbe 0x1005fe6b
addss xmm0, dword [0x10116f8c]
movss dword [esp + 0x34], xmm0
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1005fe85
mov al, byte [esp + 0xe]
movss xmm1, dword [0x10117010]
movss xmm0, dword [esp + 0x34]
xorps xmm0, xmmword [0x10118a80]
addss xmm0, xmm0
mov byte [esp + 0x1f], al
mulss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x88], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x54], xmm0
movsd xmm0, qword [esp + 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x6c]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xdc]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x54]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0xc4]
mulss xmm1, dword [esp + 0x54]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xfc], xmm5
movss xmm0, dword [esp + 0xcc]
subss xmm0, dword [esp + 0xd0]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xc8]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0xc8]
movss dword [esp + 0xdc], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x6c], xmm5
movss dword [esp + 0x88], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
movss xmm5, dword [esp + 0x10]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0xcc]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xcc]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100601fb
movss xmm0, dword [esp + 0xd0]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xc8]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x100601fb
movss xmm6, dword [esp + 0x104]
movss xmm1, dword [esp + 0x118]
movaps xmm7, xmm6
movss xmm3, dword [esp + 0xfc]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x54]
mulss xmm7, dword [esp + 0x54]
movss xmm4, dword [esp + 0xc8]
mulss xmm0, xmm3
mulss xmm6, xmm3
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xfc], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x100], xmm6
subss xmm0, dword [esp + 0xd0]
mulss xmm1, dword [esp + 0xdc]
mulss xmm0, dword [esp + 0x6c]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xcc]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x88]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0xa4]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100600f2
movss xmm3, dword [esp + 0xc4]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xd0]
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 0x1006013e
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x124]
call fcn.10027f60
movss xmm5, dword [esp + 0x1c]
add esp, 0xc
movss xmm3, dword [esp + 0xc4]
movss xmm4, dword [esp + 0xc8]
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xd0]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xcc]
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
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x10116f8c]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x10116ef4]
movss dword [esp + 0x4c], xmm0
comiss xmm0, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x100601cc
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
jmp 0x100601d9
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x64], xmm3
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x100601ef
movaps xmm0, xmm1
minss xmm0, xmm2
movss dword [esp + 0x4c], xmm0
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
jmp 0x10060203
mov al, byte [esp + 0xe]
mov byte [esp + 0x1f], al
test byte [esp + 0x14], 8
jne 0x10060215
call fcn.10038c20
mov esi, dword [0x101203a8]
movss xmm2, dword [esp + 0x50]
cmp dword [esp + 0xd8], 0x10000
mov edi, dword [esp + 0xe8]
jne 0x100604ec
mov eax, dword [esi + 0x3e68]
lea edx, [esp + 0x20]
movss xmm0, dword [esp + 0xf0]
push ecx
mov ecx, str.alpha
mov dword [esp + 0x24], 0x40c00000
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e68]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [eax + 0xf4], xmm2
mov byte [eax + 0x131], 1
movss dword [esp + 0x28], xmm0
call fcn.10055580
mov esi, dword [0x101203a8]
add esp, 4
mov edx, dword [esp + 0x38]
movss xmm1, dword [esp + 0x10]
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x100604f6
cmp eax, dword [esi + 0x46e0]
jne 0x100604f6
movss xmm3, dword [edx + 0xdbc]
movss xmm0, dword [esp + 0x70]
movss xmm2, dword [0x10116f8c]
subss xmm3, dword [esp + 0x50]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x100604d2
movaps xmm4, xmm1
jmp 0x100604d9
test eax, 0x2000000
je 0x10060215
movss xmm0, dword [esp + 0x70]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x10116734
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.10055580
mov ecx, dword [0x101203a8]
add esp, 4
mov eax, dword [ecx + 0x3eb4]
test eax, eax
je 0x100603c3
cmp eax, dword [ecx + 0x46e0]
jne 0x100603c3
mov eax, dword [esp + 0x38]
movss xmm3, dword [esp + 0x70]
movss xmm1, dword [0x10116f8c]
subss xmm3, xmm1
movss xmm0, dword [esp + 0x10]
movss xmm4, dword [eax + 0xdb8]
subss xmm4, dword [esp + 0xec]
movss dword [esp + 0x54], xmm3
divss xmm4, xmm3
comiss xmm0, xmm4
jbe 0x1006037e
movss dword [esp + 0x4c], xmm0
jmp 0x1006038b
movaps xmm2, xmm1
minss xmm2, xmm4
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0x50]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x100603a7
movaps xmm3, xmm0
jmp 0x100603ae
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xe], al
movss dword [esp + 0x64], xmm0
jmp 0x100603db
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [0x10116f8c]
mov al, byte [esp + 0xe]
movss dword [esp + 0x54], xmm0
test byte [esp + 0x14], 8
mov byte [esp + 0xf], al
mov byte [esp + 0xbf], al
jne 0x100603f8
call fcn.10038c20
mov ecx, dword [0x101203a8]
mov eax, dword [ecx + 0x3e68]
lea edx, [esp + 0x20]
movss xmm0, dword [esp + 0xf8]
push ecx
mov dword [esp + 0x24], 0x40c00000
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
mov ecx, 0x10116730
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x74]
mov byte [eax + 0x131], 1
movss dword [esp + 0x28], xmm0
call fcn.10055580
mov esi, dword [0x101203a8]
add esp, 4
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x10060215
mov cl, byte [esp + 0xe]
mov byte [esp + 0xf], cl
cmp eax, dword [esi + 0x46e0]
jne 0x10060215
mov eax, dword [esp + 0x38]
movss xmm2, dword [esp + 0x50]
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [eax + 0xdbc]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x54]
comiss xmm0, xmm1
ja 0x100604b2
movss xmm0, dword [0x10116f8c]
minss xmm0, xmm1
mov al, byte [esp + 0xbf]
movss dword [esp + 0x34], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0xf], al
jmp 0x1006021b
movaps xmm4, xmm2
minss xmm4, xmm3
movaps xmm0, xmm2
mov byte [esp + 0xe], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
jmp 0x100604f6
movss xmm1, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
dec dword [esi + 0x47ac]
mov ecx, dword [esi + 0x47ac]
mov eax, dword [esi + 0x47b4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x46c0], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x54], ecx
jne 0x100605a2
movss xmm2, dword [edx + 0x37d4]
mov edx, dword [esi + 0x3e68]
cmp byte [edx + 0xaf], 0
jne 0x10060593
comiss xmm1, xmm2
jbe 0x10060548
movss xmm2, dword [esi + 0x37cc]
addss xmm2, dword [edx + 0xf8]
movss xmm0, dword [edx + 0xfc]
movss dword [edx + 0xf0], xmm2
movss dword [edx + 0xf4], xmm0
mov eax, dword [edx + 0x120]
mov ecx, dword [edx + 0x124]
mov dword [edx + 0x118], eax
mov eax, dword [edx + 0x12c]
mov dword [edx + 0x11c], ecx
mov dword [edx + 0x128], eax
mov byte [edx + 0x130], 1
call fcn.10037c20
mov esi, dword [0x101203a8]
mov eax, dword [esp + 0x14]
test al, al
js 0x1006066b
mov edx, dword [esp + 0x58]
cmp edx, 0xffffffff
jae 0x1006066b
mov cl, byte [edx]
test cl, cl
je 0x100605cd
cmp cl, 0x23
jne 0x100605c7
cmp byte [edx + 1], cl
je 0x100605cd
inc edx
cmp edx, 0xffffffff
jb 0x100605b7
cmp dword [esp + 0x58], edx
je 0x1006066b
cmp dword [esp + 0x54], 0
je 0x10060657
mov ecx, dword [esi + 0x3e68]
mov eax, dword [esp + 0x38]
cmp byte [ecx + 0xaf], 0
movss xmm1, dword [eax + 0x37d4]
jne 0x10060657
movss xmm3, dword [esp + 0x10]
comiss xmm3, xmm1
jbe 0x1006060c
movss xmm1, dword [esi + 0x37cc]
addss xmm1, dword [ecx + 0xf8]
movss xmm0, dword [ecx + 0xfc]
movss dword [ecx + 0xf0], xmm1
movss dword [ecx + 0xf4], xmm0
mov eax, dword [ecx + 0x120]
mov esi, dword [ecx + 0x124]
mov dword [ecx + 0x118], eax
mov eax, dword [ecx + 0x12c]
mov dword [ecx + 0x11c], esi
mov dword [ecx + 0x128], eax
mov byte [ecx + 0x130], 1
mov ecx, dword [esp + 0x58]
push 0
call fcn.10054390
mov esi, dword [0x101203a8]
add esp, 4
cmp dword [esp + 0x54], 0
jne 0x10060b31
mov eax, dword [esi + 0x46c0]
or eax, 0x10
mov dword [esi + 0x46c0], eax
add esi, 0x47ac
mov dword [esp + 0xa4], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x100606cb
inc edx
mov dword [esp + 0x88], edx
test ecx, ecx
je 0x100606b9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
add eax, ecx
jmp 0x100606be
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.1003f270
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0xa4]
push ecx
mov dword [esp + 0x24], 0x42200000
mov dword [eax + ecx*4], edx
lea edx, [esp + 0x24]
inc dword [esi]
mov ecx, str.copy
mov dword [esp + 0x28], 0x42000000
call fcn.100551c0
add esp, 4
lea esi, [edi + 8]
test al, al
je 0x10060737
movss xmm0, dword [edi]
movss dword [0x10120a20], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10120a24], xmm0
movss xmm0, dword [esi]
movss dword [0x10120a28], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [0x10120a2c], xmm0
mov ecx, dword [0x101203a8]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x1006077a
movss xmm1, dword [0x10117140]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.10037570
push ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x42200000
mov ecx, str.paste
mov dword [esp + 0x28], 0x42000000
call fcn.100551c0
add esp, 4
test al, al
je 0x100607d2
movss xmm0, dword [0x10120a20]
movss dword [edi], xmm0
movss xmm0, dword [0x10120a24]
movss dword [edi + 4], xmm0
movss xmm0, dword [0x10120a28]
movss dword [esi], xmm0
movss xmm0, dword [0x10120a2c]
movss dword [edi + 0xc], xmm0
mov ecx, dword [0x101203a8]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x10060815
movss xmm1, dword [0x10117140]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.10037570
push ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x42200000
mov ecx, 0x10116748
mov dword [esp + 0x28], 0x42000000
call fcn.100551c0
add esp, 4
test al, al
je 0x1006086d
movss xmm0, dword [edi]
movss dword [0x10120a30], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10120a34], xmm0
movss xmm0, dword [esi]
movss dword [0x10120a38], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [0x10120a3c], xmm0
mov ecx, dword [0x101203a8]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x100608b0
movss xmm1, dword [0x10117140]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.10037570
cmp dword [esp + 0x18], 0
je 0x100608c1
movss xmm1, dword [0x10116f8c]
jmp 0x100608c6
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10c]
movss dword [esp + 0x10c], xmm0
and eax, 0x80000
movss xmm0, dword [edi + 4]
or eax, 0x600e0
movss dword [esp + 0x110], xmm0
mov ecx, str.current
movss xmm0, dword [esi]
push eax
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x11c], xmm1
mov dword [esp + 0x28], 0x42000000
mov dword [esp + 0x2c], 0x41800000
call fcn.10062a90
mov ecx, dword [0x101203a8]
add esp, 8
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x10060972
movss xmm1, dword [0x10117140]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.10037570
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10060a17
cmp dword [esp + 0x18], 0
je 0x1006098f
movss xmm1, dword [0x10116f8c]
jmp 0x10060994
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x120]
movss dword [esp + 0x120], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x124], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
and eax, 0xe00e0
movss dword [esp + 0x12c], xmm0
push eax
movss dword [esp + 0x134], xmm1
mov dword [esp + 0x28], 0x42000000
mov dword [esp + 0x2c], 0x41800000
call fcn.10062a90
add esp, 8
test al, al
je 0x10060a17
push dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
cmp dword [esp + 0x18], 0
je 0x10060a28
movss xmm2, dword [0x10116f8c]
jmp 0x10060a30
movss xmm2, dword [0x10120a3c]
movss xmm0, dword [0x10120a34]
mov ecx, dword [0x101203a8]
movss xmm1, dword [0x10120a30]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [0x10120a38]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm2
movss dword [0x10120a3c], xmm1
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x10060ab7
movss xmm1, dword [0x10117140]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.10037570
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x42000000
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x8c]
and eax, 0xa00e0
mov dword [esp + 0x28], 0x41800000
push eax
mov ecx, str.save_color
call fcn.10062a90
add esp, 8
test al, al
je 0x10060b08
push dword [esp + 0x9c]
push 0x10120a30
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
mov edx, dword [0x101203a8]
dec dword [edx + 0x47ac]
mov eax, dword [edx + 0x47b4]
mov ecx, dword [edx + 0x47ac]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46c0], eax
call fcn.10037d50
jmp 0x10060b34
lea esi, [edi + 8]
cmp byte [esp + 0x1f], 0
jne 0x10060b46
cmp byte [esp + 0xf], 0
je 0x10060c13
cmp dword [esp + 0x84], 0
je 0x10060be7
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
jbe 0x10060b6a
movaps xmm3, xmm1
jmp 0x10060b72
movss xmm3, dword [0x10116ee4]
movss xmm1, dword [esp + 0x4c]
comiss xmm1, xmm0
movss xmm2, dword [0x10116ee8]
ja 0x10060b88
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [0x10116f8c]
jb 0x10060b9b
subss xmm0, xmm2
push esi
lea edx, [edi + 4]
mov ecx, edi
movaps xmm2, xmm3
call fcn.10028940
mov esi, dword [esp + 0x3c]
add esp, 4
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x34]
movss dword [esi + 0x59cc], xmm1
movss dword [esi + 0x59d0], xmm0
movq xmm0, qword [edi]
movq qword [esi + 0x59d4], xmm0
mov eax, dword [edi + 8]
mov dword [esi + 0x59dc], eax
mov eax, dword [esp + 0x14]
jmp 0x10060c1b
mov eax, dword [esp + 0x14]
test eax, 0x10000000
je 0x10060c17
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x34]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [edi], xmm1
movss dword [esi], xmm0
jmp 0x10060c17
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov byte [esp + 0xf], 0
test al, 0x20
jne 0x10060fc9
cmp dword [esp + 0xd8], 0x10000
jne 0x10060c40
movss xmm0, dword [esp + 0xf0]
jmp 0x10060c49
movss xmm0, dword [esp + 0xf8]
addss xmm0, dword [0x10117030]
subss xmm0, dword [esp + 0xec]
call fcn.10037aa0
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x58], edx
test eax, 0x100000
jne 0x10060c8a
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x18], ecx
jne 0x10060ce4
mov dword [esp + 0x18], ecx
jmp 0x10060c93
and eax, 0x700000
mov dword [esp + 0x18], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.1005eb70
add esp, 4
test al, al
je 0x10060cd8
cmp dword [esi + 0x3eb4], 0
je 0x10060cc4
cmp byte [esi + 0x3ec1], 0
mov byte [esp + 0xf], 1
je 0x10060cc9
mov byte [esp + 0xf], 0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xe], 1
mov dword [esp + 0x18], ecx
jmp 0x10060cdc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
test eax, 0x200000
jne 0x10060cef
test ecx, ecx
jne 0x10060d11
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.1005eb70
mov ecx, dword [esp + 0x1c]
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x14]
test eax, 0x400000
jne 0x10060d1c
test ecx, ecx
jne 0x10060d39
mov eax, dword [esp + 0x58]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1005eb70
add esp, 4
or byte [esp + 0xe], al
cmp byte [esp + 0xf], 0
mov ecx, dword [0x101203a8]
movss xmm2, dword [esp + 0x10]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e68]
mov ecx, dword [edx + 0x1a8]
mov eax, dword [edx + 0x1b0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1a8], eax
lea ecx, [edi + 8]
lea edx, [edi + 4]
je 0x10060e6f
cmp dword [esp + 0x84], 0
je 0x10060e6f
movss xmm3, dword [edx]
movaps xmm6, xmm2
movss xmm5, dword [ecx]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10060dbb
movss xmm6, dword [0x10117140]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10060dd8
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1011712c]
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 [0x10116ee0]
movaps xmm7, xmm1
mulss xmm1, dword [0x10117030]
divss xmm7, xmm0
addss xmm1, dword [0x10116ee0]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x10118a50]
comiss xmm2, xmm3
jb 0x10060e6f
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
jbe 0x10060e6f
comiss xmm2, xmm4
jb 0x10060faa
movss xmm1, dword [esp + 0x64]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10060faa
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x4c]
mulss xmm2, dword [0x10116f48]
push ecx
mov ecx, edi
call fcn.10028940
movss xmm2, dword [esp + 0x14]
lea ecx, [edi + 8]
add esp, 4
lea edx, [edi + 4]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0xe], 0
je 0x1006104d
cmp dword [esp + 0x84], 0
je 0x10060fda
movss xmm0, dword [edx]
movaps xmm4, xmm2
movss xmm3, dword [ecx]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0xf4], xmm7
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xa0], xmm3
jbe 0x10060ecf
movss xmm4, dword [0x10117140]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm5, xmm7
movss dword [esp + 0x64], xmm5
jbe 0x10060ef8
movss xmm0, dword [0x1011712c]
movaps xmm5, xmm1
subss xmm0, xmm4
movss dword [esp + 0x64], xmm5
movaps xmm1, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x59d4]
minss xmm0, xmm6
movaps xmm3, xmm5
subss xmm1, xmm6
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10117030]
addss xmm0, dword [0x10116ee0]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm1, xmm4
addss xmm0, dword [0x10116ee0]
andps xmm1, xmmword [0x10118a50]
divss xmm3, xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x4c], xmm3
cmp eax, dword [edi]
jne 0x1006104d
mov eax, dword [esi + 0x59d8]
cmp eax, dword [edi + 4]
jne 0x1006104d
mov eax, dword [esi + 0x59dc]
cmp eax, dword [edi + 8]
jne 0x1006104d
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x10060f8a
movss xmm0, dword [esi + 0x59cc]
movss dword [esp + 0x34], xmm0
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jp 0x1006104d
movss xmm0, dword [esi + 0x59d0]
movss dword [esp + 0x4c], xmm0
jmp 0x1006104d
comiss xmm2, xmm7
jb 0x10060e6f
movss xmm1, dword [esp + 0x4c]
movaps xmm2, xmm4
mulss xmm1, dword [0x10116f48]
jmp 0x10060e58
movss xmm2, dword [esp + 0x10]
lea ecx, [edi + 8]
lea edx, [edi + 4]
jmp 0x10060e73
test eax, 0x10000000
je 0x1006104d
movss xmm1, dword [edx]
lea eax, [esp + 0xa8]
movss xmm2, dword [ecx]
lea edx, [esp + 0xac]
movss xmm0, dword [edi]
lea ecx, [esp + 0x30]
push eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x68], xmm2
call fcn.10028940
movss xmm0, dword [esp + 0x34]
add esp, 4
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0xa0], xmm0
movss xmm2, dword [esi + 0x3780]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
jbe 0x1006106d
movaps xmm1, xmm0
movss xmm0, dword [0x10116f8c]
jmp 0x1006107c
movss xmm0, dword [0x10116f8c]
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x101170cc]
mov dword [esp + 0x20], 0x3f800000
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x24], 0x3f800000
addss xmm1, dword [0x10116f48]
mov dword [esp + 0x28], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x34]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x6c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x58], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x130], ecx
or eax, 0x808080
mov dword [esp + 0x148], ecx
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x20]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x134], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x138], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x13c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x140], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x24]
mov dword [esp + 0x144], eax
lea eax, [esp + 0x28]
push eax
call fcn.10028940
movss xmm1, dword [esp + 0x24]
add esp, 4
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
movss xmm2, dword [0x10116f8c]
jbe 0x10061169
movaps xmm4, xmm0
jmp 0x10061170
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm1, dword [0x101170cc]
movss xmm3, dword [0x10116f48]
movss xmm5, dword [esp + 0x24]
comiss xmm0, xmm5
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x1006119c
movaps xmm4, xmm0
jmp 0x100611a3
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esp + 0x28]
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x100611c4
movaps xmm4, xmm0
jmp 0x100611cb
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esp + 0x2c]
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x100611ec
movaps xmm4, xmm0
jmp 0x100611f3
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esp + 0xf4]
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si edx, xmm4
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
mov dword [esp + 0xa8], edx
jbe 0x1006121e
movaps xmm4, xmm0
jmp 0x10061225
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esp + 0xd4]
comiss xmm0, xmm5
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x10061244
movaps xmm4, xmm0
jmp 0x1006124b
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esp + 0xa0]
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1006126f
movaps xmm4, xmm0
jmp 0x10061276
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esi + 0x3780]
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x10061299
movaps xmm4, xmm0
jmp 0x100612a0
movaps xmm4, xmm2
minss xmm4, xmm5
mulss xmm4, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x30], xmm0
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x78], 0
mov dword [esp + 0xd4], eax
je 0x10061d4a
movss xmm1, dword [esp + 0x60]
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x74]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov edi, dword [esp + 0x68]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xfc], xmm4
imul ecx
mulss xmm5, xmm3
movss dword [esp + 0xdc], xmm0
mov eax, 4
movss dword [esp + 0x118], xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x104], ecx
mov dword [esp + 0xa0], eax
nop dword [eax]
movd xmm1, eax
lea eax, [esp + 0x3c]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x10117030]
divss xmm1, dword [0x10117030]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x10117010]
mulss xmm1, dword [0x10117010]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x68], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x68], xmm1
call fcn.10048cc0
movss xmm0, dword [esp + 0xc0]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x60]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100476f0
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x60]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x88], 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 + 0x74]
addss xmm0, dword [esp + 0xe0]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x78], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x78]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0xa4]
movss xmm5, dword [esp + 0x88]
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0xa0]
mov edx, dword [edi + 0x20]
movss xmm2, dword [0x10116f8c]
subss xmm3, xmm5
mulss xmm4, dword [esp + 0x74]
mov ecx, dword [esp + eax*4 + 0x130]
mov eax, dword [edi + 0x18]
addss xmm4, dword [esp + 0xe0]
movaps xmm0, xmm3
mulss xmm0, xmm3
lea eax, [eax + eax*4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xa4], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x78], eax
movzx eax, cl
mov dword [esp + 0x5c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x60], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + eax*4 + 0x134]
movzx eax, cl
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x60]
shr ecx, 0x10
mov dword [esp + 0x54], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x78]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x84]
cmp edx, esi
jae 0x10061621
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x88]
movd xmm7, ecx
mov ecx, dword [esp + 0x84]
cvtdq2ps xmm7, xmm7
nop word [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm1, dword [esp + 0xa4]
comiss xmm0, xmm1
jbe 0x10061596
movaps xmm2, xmm0
jmp 0x1006159a
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm7
mulss xmm0, xmm2
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x60]
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x5c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [0x10116f8c]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x54]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x84]
cmp edx, esi
jb 0x10061560
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0xa0]
movss xmm4, dword [esp + 0xfc]
inc eax
movss xmm5, dword [esp + 0x118]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xa0], eax
cmp eax, 6
jl 0x10061340
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm0
mulss xmm0, dword [0x10117010]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x74], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1f], 0
xorps xmm1, xmm1
movss xmm3, dword [0x10116f48]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [esp + 0xdc]
movss xmm6, dword [esp + 0xc0]
movss dword [esp + 0x78], xmm1
mulss xmm0, xmm3
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xdc]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x8c], xmm0
je 0x10061700
mulss xmm6, dword [0x10116f54]
jmp 0x10061708
mulss xmm6, dword [0x10116f4c]
movaps xmm0, xmm6
movss dword [esp + 0xc0], xmm6
divss xmm0, dword [0x10116fa8]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1006172c
mov eax, 9
jmp 0x10061736
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0xa8], 0xff000000
mov edx, 0x200
movss xmm5, dword [0x10117034]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x84], eax
je 0x10061820
comiss xmm3, xmm6
ja 0x10061820
test eax, eax
jg 0x1006178f
mov esi, dword [esp + 0x68]
lea eax, [esp + 0x88]
push ecx
push 0x30
push 0
push eax
movaps xmm2, xmm6
mov ecx, esi
call fcn.10048840
dec dword [esi + 0x54]
jmp 0x100617e5
cmp eax, 3
jge 0x1006179b
mov ecx, 3
jmp 0x100617a5
cmp eax, 0x200
mov ecx, eax
cmovg ecx, edx
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x68]
push eax
lea eax, [esp + 0x8c]
push ecx
movss xmm3, dword [esp + 0x18]
movaps xmm2, xmm6
movaps xmm0, xmm1
mov ecx, esi
subss xmm0, dword [0x10116f8c]
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10048cc0
push dword [esp + 0xa8]
mov ecx, esi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10048460
movss xmm3, dword [0x10116f48]
mov edx, 0x200
movss xmm5, dword [0x10117034]
movss xmm6, dword [esp + 0xc0]
mov dword [esi + 0x54], 0
jmp 0x10061824
mov esi, dword [esp + 0x68]
test dword [esp + 0xac], 0xff000000
movaps xmm4, xmm6
movss xmm2, dword [0x10116f8c]
addss xmm4, xmm2
je 0x10061900
comiss xmm3, xmm4
ja 0x10061900
mov eax, dword [esp + 0x84]
test eax, eax
jg 0x10061878
push ecx
subss xmm4, xmm3
mov ecx, esi
push 0x30
push 0
lea eax, [esp + 0x94]
push eax
movaps xmm2, xmm4
call fcn.10048840
dec dword [esi + 0x54]
jmp 0x100618ca
cmp eax, 3
jge 0x10061884
mov ecx, 3
jmp 0x1006188e
cmp eax, 0x200
mov ecx, eax
cmovg ecx, edx
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, esi
lea eax, [esp + 0x90]
subss xmm4, xmm3
movss xmm3, dword [esp + 0x18]
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10048cc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 1
push dword [esp + 0xb4]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.100476f0
movss xmm2, dword [0x10116f8c]
movss xmm6, dword [esp + 0xc0]
mov dword [esi + 0x54], 0
test dword [esp + 0x58], 0xff000000
je 0x100619c3
movss xmm3, dword [0x10116f48]
comiss xmm3, xmm6
ja 0x100619c3
mov eax, dword [esp + 0x84]
test eax, eax
jg 0x1006194a
push ecx
subss xmm6, xmm3
mov ecx, esi
push 0x30
push 0
lea eax, [esp + 0x94]
push eax
movaps xmm2, xmm6
call fcn.10048840
dec dword [esi + 0x54]
jmp 0x100619a1
cmp eax, 3
jge 0x10061956
mov eax, 3
jmp 0x10061963
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm6, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x8c]
push ecx
movss xmm3, dword [esp + 0x18]
mov ecx, esi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm6
mulss xmm0, dword [0x10117034]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10048cc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 1
push dword [esp + 0x60]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.100476f0
mov dword [esi + 0x54], 0
movss xmm5, dword [esp + 0x78]
mov ecx, esi
movss xmm4, dword [esp + 0xc4]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x10]
movaps xmm2, xmm4
mov eax, dword [0x101203a8]
movss xmm3, dword [esp + 0x74]
movaps xmm1, xmm5
movss xmm7, dword [esp + 0xe0]
movss xmm6, dword [esp + 0xe4]
mulss xmm2, xmm3
push 6
mulss xmm4, xmm5
push 6
subss xmm2, xmm0
mulss xmm1, dword [esp + 0xd0]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x18]
addss xmm2, xmm6
addss xmm4, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xd4]
mulss xmm5, dword [esp + 0xd8]
addss xmm4, xmm7
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x110], xmm2
movss dword [esp + 0xcc], xmm4
movss dword [esp + 0x114], xmm4
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0xd0]
movaps xmm2, xmm4
subss xmm4, xmm5
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xd4]
mulss xmm3, dword [esp + 0xd8]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, xmm7
movss dword [esp + 0x20], xmm2
addss xmm3, xmm7
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x3bdc]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 0x3be0]
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x90], xmm0
call fcn.10047490
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
movss xmm4, dword [esp + 0x60]
movss xmm7, dword [esp + 0xc4]
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x88]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov edx, dword [esp + 0xa8]
movss xmm3, dword [esp + 0x18]
movss dword [eax], xmm4
movss dword [eax + 4], xmm7
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
add dword [esi + 0x34], 0x14
mov ecx, dword [esi + 0x28]
mov word [eax], cx
add dword [esi + 0x38], 2
mov eax, dword [esi + 0x34]
movss dword [eax], xmm3
movss xmm2, dword [esp + 0x30]
movss dword [eax + 4], xmm2
mov eax, dword [esi + 0x34]
movss xmm6, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x74]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edx
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x58]
movss dword [eax], xmm6
movss dword [eax + 4], xmm5
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm7
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x6c]
movss dword [eax], xmm3
movss dword [eax + 4], xmm2
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, esi
push dword [esp + 0xb0]
movss dword [eax], xmm6
movss dword [eax + 4], xmm5
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x44]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.10049ad0
movss xmm1, dword [0x10116f8c]
movss xmm0, dword [esp + 0x10]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x64]
comiss xmm0, xmm2
jbe 0x10061cc8
movaps xmm4, xmm0
jmp 0x10061ccf
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x10061cdf
movaps xmm3, xmm0
jmp 0x10061ce6
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x5c]
movss xmm2, dword [esp + 0xc4]
subss xmm2, dword [esp + 0x74]
movss xmm1, dword [esp + 0x18]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x5c]
addss xmm2, dword [esp + 0x74]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm2
movss dword [esp + 0x18], xmm1
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x30], xmm0
jmp 0x10062043
test dword [esp + 0x14], 0x2000000
je 0x1006203f
movss xmm0, dword [esp + 0xec]
addss xmm0, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
push eax
push edx
push edx
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x7c]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xc4]
push eax
movss dword [esp + 0xa4], xmm0
call fcn.10049950
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
push ecx
push ecx
mov ecx, dword [esp + 0x70]
push 0
push 0
push eax
lea eax, [esp + 0xc4]
movss dword [esp + 0x50], xmm0
push eax
movss dword [esp + 0x58], xmm1
call fcn.10049950
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0x7c]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.10029d30
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
movss xmm1, dword [0x10116f8c]
jbe 0x10061e44
movaps xmm4, xmm0
jmp 0x10061e4b
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm7, dword [esp + 0x70]
movss xmm2, dword [esp + 0xec]
movss xmm3, dword [0x10116f48]
mulss xmm4, xmm7
movss xmm6, dword [0x10116fe8]
addss xmm4, xmm2
addss xmm2, xmm6
addss xmm4, xmm3
movss dword [esp + 0x18], xmm2
cvttss2si eax, xmm4
movss xmm4, dword [esp + 0x88]
subss xmm4, xmm6
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm2, xmm5
ja 0x10061eb8
comiss xmm5, xmm4
jbe 0x10061ea7
movaps xmm3, xmm4
jmp 0x10061eaa
movaps xmm3, xmm5
movss dword [esp + 0x18], xmm3
movss xmm3, dword [0x10116f48]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x64]
comiss xmm0, xmm2
jbe 0x10061ecb
movaps xmm1, xmm0
jmp 0x10061ecf
minss xmm1, xmm2
movss xmm4, dword [esp + 0x50]
mulss xmm1, xmm7
movaps xmm0, xmm4
addss xmm0, xmm6
addss xmm1, xmm4
movss dword [esp + 0x30], xmm0
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x8c]
subss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x10061f1e
comiss xmm2, xmm1
jbe 0x10061f18
movss dword [esp + 0x30], xmm1
jmp 0x10061f1e
movss dword [esp + 0x30], xmm2
movss xmm0, dword [esp + 0x98]
movaps xmm1, xmm7
divss xmm1, dword [0x10117030]
mov edi, dword [esp + 0x68]
xor ecx, ecx
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x20], xmm0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x134]
lea esi, [ecx + 1]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x44]
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x48], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x138]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x3c], xmm0
call fcn.10049950
movss xmm1, dword [esp + 0x78]
mov ecx, esi
movss xmm4, dword [esp + 0x50]
cmp ecx, 6
jl 0x10061f60
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0xf8]
push dword [esp + 0xb4]
movss dword [esp + 0x7c], xmm0
movaps xmm0, xmm4
push dword [esp + 0xb4]
movss dword [esp + 0x84], xmm0
push dword [esp + 0x84]
movss xmm0, dword [esp + 0x1c]
push dword [esp + 0x84]
call fcn.10029d30
movss xmm0, dword [esp + 0x40]
add esp, 0x10
movss xmm1, dword [esp + 0x18]
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0x68]
movss xmm3, dword [0x10116fe8]
lea eax, [esp + 0x3c]
movaps xmm2, xmm1
subss xmm1, xmm3
addss xmm2, xmm3
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push 0xff000000
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x48], xmm2
movaps xmm2, xmm0
addss xmm2, xmm3
movss dword [esp + 0xb0], xmm1
subss xmm0, xmm3
movss dword [esp + 0x2c], xmm1
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0xac], xmm2
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x38], xmm0
call fcn.100497e0
movups xmm2, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
movss xmm1, dword [0x10116f8c]
movups xmmword [esp + 0x3c], xmm2
jbe 0x100620da
movaps xmm3, xmm0
jmp 0x100620e1
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [0x101170cc]
movss xmm2, dword [0x10116f48]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x1006210d
movaps xmm3, xmm0
jmp 0x10062114
movaps xmm3, xmm1
minss xmm3, xmm5
movss xmm5, dword [esp + 0x44]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10062135
movaps xmm3, xmm0
jmp 0x1006213c
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x48]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
jbe 0x1006215d
movaps xmm5, xmm0
jmp 0x10062164
movaps xmm5, xmm1
minss xmm5, xmm3
movss xmm3, dword [esp + 0x18]
mulss xmm5, xmm4
movaps xmm0, xmm3
push 0
addss xmm0, xmm1
push ecx
addss xmm5, xmm2
mov dword [esp], 0
subss xmm3, xmm1
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x38]
cvttss2si eax, xmm5
movaps xmm6, xmm0
movss dword [esp + 0x104], xmm3
shl eax, 0x18
addss xmm6, xmm1
or eax, ecx
movss dword [esp + 0x28], xmm3
push eax
subss xmm0, xmm1
mov ecx, esi
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x7c], xmm6
push eax
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x38], xmm0
call fcn.100497e0
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x3c]
subss xmm0, dword [0x1011700c]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push 0xff000000
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x1011703c]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x38], xmm0
call fcn.100497e0
movups xmm2, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
movss xmm1, dword [0x10116f8c]
movups xmmword [esp + 0x3c], xmm2
jbe 0x1006226f
movaps xmm4, xmm0
jmp 0x10062276
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [0x101170cc]
movss xmm2, dword [0x10116f48]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x100622a2
movaps xmm4, xmm0
jmp 0x100622a9
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x44]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x100622ca
movaps xmm4, xmm0
jmp 0x100622d1
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x48]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x100622f2
movaps xmm4, xmm0
jmp 0x100622f9
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x10117028]
mulss xmm4, xmm3
push 0
push ecx
mov dword [esp], 0
addss xmm4, xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x10117038]
cvttss2si eax, xmm4
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x90]
shl eax, 0x18
or eax, ecx
movss dword [esp + 0x2c], xmm0
push eax
lea eax, [esp + 0x48]
mov ecx, esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100497e0
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x3c]
addss xmm0, dword [0x1011703c]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push 0xff000000
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x1011700c]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x10116fe8]
movss dword [esp + 0x38], xmm0
call fcn.100497e0
movups xmm3, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm3
movss xmm1, dword [0x10116f8c]
movups xmmword [esp + 0x3c], xmm3
jbe 0x100623f4
movaps xmm2, xmm0
jmp 0x100623fb
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x101170cc]
movss xmm3, dword [0x10116f48]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x10062427
movaps xmm2, xmm0
jmp 0x1006242e
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x44]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1006244f
movaps xmm2, xmm0
jmp 0x10062456
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x48]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x10062477
movaps xmm5, xmm0
jmp 0x1006247e
movaps xmm5, xmm1
minss xmm5, xmm2
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10117038]
mulss xmm5, xmm4
push 0
push ecx
mov dword [esp], 0
addss xmm5, xmm3
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x10117028]
cvttss2si eax, xmm5
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x38]
shl eax, 0x18
subss xmm0, xmm1
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x34], xmm0
push eax
call fcn.100497e0
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x1011700c]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push 0xff000000
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [0x1011703c]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x38], xmm0
call fcn.100497e0
movups xmm2, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
movss xmm1, dword [0x10116f8c]
movups xmmword [esp + 0x3c], xmm2
jbe 0x10062572
movaps xmm4, xmm0
jmp 0x10062579
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [0x101170cc]
movss xmm2, dword [0x10116f48]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x100625a5
movaps xmm4, xmm0
jmp 0x100625ac
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x44]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x100625cd
movaps xmm4, xmm0
jmp 0x100625d4
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x48]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x100625f5
movaps xmm4, xmm0
jmp 0x100625fc
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm0, dword [esp + 0x5c]
mulss xmm4, xmm3
push 0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [0x10117028]
addss xmm4, xmm2
push ecx
mov dword [esp], 0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x104]
cvttss2si eax, xmm4
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x10117038]
shl eax, 0x18
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x34], xmm0
push eax
call fcn.100497e0
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x3c]
movss xmm3, dword [esp + 0x18]
subss xmm3, dword [0x10116fe8]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x1011703c]
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push 0xff000000
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x1011700c]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm3
push eax
movss dword [esp + 0x38], xmm0
call fcn.100497e0
movups xmm3, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm3
movss xmm1, dword [0x10116f8c]
movups xmmword [esp + 0x3c], xmm3
jbe 0x100626f4
movaps xmm2, xmm0
jmp 0x100626fb
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x101170cc]
movss xmm3, dword [0x10116f48]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x10062727
movaps xmm2, xmm0
jmp 0x1006272e
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x44]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1006274f
movaps xmm2, xmm0
jmp 0x10062756
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x48]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x10062777
movaps xmm5, xmm0
jmp 0x1006277e
movaps xmm5, xmm1
minss xmm5, xmm2
movss xmm0, dword [esp + 0x5c]
movss xmm2, dword [esp + 0x30]
mulss xmm5, xmm4
push 0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10117038]
addss xmm2, dword [0x10117028]
addss xmm5, xmm3
push ecx
mov dword [esp], 0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x20]
cvttss2si eax, xmm5
subss xmm0, xmm1
movss dword [esp + 0x2c], xmm2
shl eax, 0x18
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm0
push eax
call fcn.100497e0
cmp dword [esp + 0xd8], 0x10000
jne 0x100629a1
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm2
jbe 0x10062818
movss dword [esp + 0x98], xmm1
jmp 0x1006282d
movss xmm0, dword [0x10116f8c]
minss xmm0, xmm2
movss dword [esp + 0x98], xmm0
movss xmm3, dword [esp + 0xf0]
xor edx, edx
movss xmm0, dword [esp + 0x50]
movaps xmm2, xmm3
addss xmm2, dword [0x10117030]
mov ecx, dword [esp + 0x68]
movss dword [esp + 0x40], xmm0
addss xmm0, dword [esp + 0x70]
mov edi, dword [esp + 0x40]
mov dword [esp + 0xb4], 0
push dword [esp + 0xb4]
mov dword [esp + 0xb4], 0
push dword [esp + 0xb4]
movss dword [esp + 0x4c], xmm2
subss xmm2, xmm3
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
movss dword [esp + 0x48], xmm3
movaps xmm3, xmm1
push dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mulss xmm2, dword [0x10116f48]
push edi
push esi
push 0
call fcn.1004e340
mov ecx, dword [esp + 0xf0]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10049950
push dword [esp + 0x48]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0x48]
push edi
push esi
call fcn.10029d30
movss xmm0, dword [0x10116f8c]
movss xmm1, dword [esp + 0x100]
subss xmm1, xmm0
mov esi, dword [esp + 0x48]
subss xmm0, dword [esp + 0xa8]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc4], 0x3f800000
push dword [esp + 0xc4]
movss xmm2, dword [esi + 0x3780]
mulss xmm0, dword [esp + 0x84]
mov dword [esp + 0xc4], 0x40000000
push dword [esp + 0xc4]
movss dword [esp + 0x90], xmm1
addss xmm0, dword [esp + 0x68]
movss xmm1, dword [0x10117038]
addss xmm0, dword [0x10116f48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x94], xmm0
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.1005f4e0
mov edi, dword [esp + 0x108]
add esp, 0x20
jmp 0x100629a5
mov esi, dword [esp + 0x38]
call fcn.10037d50
cmp byte [esp + 0xe], 0
mov edx, dword [0x101203a8]
je 0x10062a5e
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x14c]
sub eax, 4
mov dword [esp + 0x9c], eax
jb 0x100629f4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x100629f9
mov eax, dword [esp + 0x9c]
add ecx, 4
add edi, 4
sub eax, 4
mov dword [esp + 0x9c], eax
jae 0x100629d5
cmp eax, 0xfffffffc
je 0x10062a59
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10062a35
cmp dword [esp + 0x9c], 0xfffffffd
je 0x10062a59
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10062a35
cmp dword [esp + 0x9c], 0xfffffffe
je 0x10062a59
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10062a35
cmp dword [esp + 0x9c], 0xffffffff
je 0x10062a59
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10062a59
mov eax, dword [edx + 0x3eb4]
cmp eax, dword [esi + 0x46e0]
je 0x10062a47
test eax, eax
jne 0x10062a50
mov word [edx + 0x3ec4], 0x101
or dword [edx + 0x46e8], 4
jmp 0x10062a5e
mov byte [esp + 0xe], 0
mov ecx, dword [edx + 0x3e68]
mov al, byte [esp + 0xe]
pop edi
pop esi
dec dword [ecx + 0xe4]
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.100f238c
mov esp, ebp
pop ebp
ret