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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [0x1011f00c]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x1012274c]
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 0x1005e810
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.100f1854
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x46c8], 1
mov eax, dword [edx + 0x264]
mov dword [esp + 0x68], eax
je 0x1005e82d
movss xmm1, dword [ecx + 0x46d0]
jmp 0x1005e835
movss xmm1, dword [edx + 0x1a0]
xorps xmm0, xmm0
movss dword [esp + 0x10], xmm0
comiss xmm0, xmm1
movss xmm0, dword [0x10117ec0]
jbe 0x1005e880
cmp dword [edx + 0x190], 0
movss xmm2, dword [edx + 0x228]
jne 0x1005e865
cmp dword [ecx + 0x4a24], 0
je 0x1005e86d
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.1003a3c0
call fcn.1003cf40
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 0x1005e8d3
mov edx, ecx
mov ecx, edi
call fcn.10062810
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x38]
test ecx, 0x6000000
jne 0x1005e8ff
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 0x1005e939
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 0x1005e94f
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 [0x10117f50]
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 [0x10117e7c]
mulss xmm1, dword [0x10117e50]
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 [0x10117f50]
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10117e40]
movaps xmm2, xmm4
mulss xmm1, dword [0x10117e7c]
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 [0x10118068]
movss dword [esp + 0x20], xmm2
movss xmm4, dword [edi + 4]
movaps xmm3, xmm2
mulss xmm3, dword [0x10118074]
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 [0x10117ea8]
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 [0x10118078]
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 0x1005ecb9
comiss xmm5, xmm4
movaps xmm6, xmm1
movaps xmm2, xmm4
movaps xmm7, xmm5
jbe 0x1005ebde
movaps xmm2, xmm5
movaps xmm7, xmm4
movaps xmm6, xmm0
comiss xmm2, xmm3
movaps xmm5, xmm3
movss dword [esp + 0x64], xmm5
jbe 0x1005ec07
movss xmm0, dword [0x10118064]
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 [0x10117f50]
addss xmm0, dword [0x10117e10]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm3, xmm6
addss xmm0, dword [0x10117e10]
andps xmm3, xmmword [0x101197f0]
divss xmm4, xmm0
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x4c], xmm4
cmp eax, dword [edi]
jne 0x1005ed17
mov eax, dword [ecx + 0x59d8]
cmp eax, dword [edi + 4]
jne 0x1005ed17
mov eax, dword [ecx + 0x59dc]
cmp eax, dword [edi + 8]
jne 0x1005ed17
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x1005eca0
movss xmm0, dword [ecx + 0x59cc]
movss dword [esp + 0x34], xmm0
ucomiss xmm5, xmm1
lahf
test ah, 0x44
jp 0x1005ed17
movss xmm0, dword [ecx + 0x59d0]
movss dword [esp + 0x4c], xmm0
jmp 0x1005ed17
test eax, 0x10000000
je 0x1005ed17
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.1002db10
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 [0x1012274c]
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 0x1005ed84
lea esi, [eax + 1]
test ecx, ecx
je 0x1005ed68
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x1005ed6d
mov eax, 8
cmp eax, esi
mov ecx, edx
cmovg esi, eax
push esi
call fcn.10044500
mov esi, dword [0x1012274c]
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 0x1005f3ab
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0x88]
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1011765c
movss dword [esp + 0x90], xmm1
addss xmm0, dword [eax + 0x37d4]
addss xmm0, dword [0x10117f50]
movss dword [esp + 0x8c], xmm0
call fcn.1005aab0
mov esi, dword [0x1012274c]
add esp, 4
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x1005f2c3
cmp eax, dword [esi + 0x46e0]
jne 0x1005f2c3
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 [0x10117ec0]
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 0x1005ef33
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1005ef33
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 [0x10117f30]
fstp qword [esp + 0x88]
movsd xmm0, qword [esp + 0x88]
cvtpd2ps xmm0, xmm0
movss xmm3, dword [esp + 0x10]
divss xmm0, xmm1
mulss xmm0, dword [0x10117e7c]
comiss xmm3, xmm0
movss dword [esp + 0x34], xmm0
jbe 0x1005ef2b
addss xmm0, dword [0x10117ec0]
movss dword [esp + 0x34], xmm0
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1005ef45
mov al, byte [esp + 0xe]
movss xmm1, dword [0x10117f30]
movss xmm0, dword [esp + 0x34]
xorps xmm0, xmmword [0x10119820]
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 0x1005f2bb
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 0x1005f2bb
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 0x1005f1b2
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 0x1005f1fe
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.1002d2b0
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 [0x10117ec0]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x10117e24]
movss dword [esp + 0x4c], xmm0
comiss xmm0, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x1005f28c
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
jmp 0x1005f299
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x64], xmm3
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x1005f2af
movaps xmm0, xmm1
minss xmm0, xmm2
movss dword [esp + 0x4c], xmm0
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
jmp 0x1005f2c3
mov al, byte [esp + 0xe]
mov byte [esp + 0x1f], al
test byte [esp + 0x14], 8
jne 0x1005f2d5
call fcn.1003df40
mov esi, dword [0x1012274c]
movss xmm2, dword [esp + 0x50]
cmp dword [esp + 0xd8], 0x10000
mov edi, dword [esp + 0xe8]
jne 0x1005f5ac
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.1005aab0
mov esi, dword [0x1012274c]
add esp, 4
mov edx, dword [esp + 0x38]
movss xmm1, dword [esp + 0x10]
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x1005f5b6
cmp eax, dword [esi + 0x46e0]
jne 0x1005f5b6
movss xmm3, dword [edx + 0xdbc]
movss xmm0, dword [esp + 0x70]
movss xmm2, dword [0x10117ec0]
subss xmm3, dword [esp + 0x50]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x1005f592
movaps xmm4, xmm1
jmp 0x1005f599
test eax, 0x2000000
je 0x1005f2d5
movss xmm0, dword [esp + 0x70]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x10117658
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.1005aab0
mov ecx, dword [0x1012274c]
add esp, 4
mov eax, dword [ecx + 0x3eb4]
test eax, eax
je 0x1005f483
cmp eax, dword [ecx + 0x46e0]
jne 0x1005f483
mov eax, dword [esp + 0x38]
movss xmm3, dword [esp + 0x70]
movss xmm1, dword [0x10117ec0]
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 0x1005f43e
movss dword [esp + 0x4c], xmm0
jmp 0x1005f44b
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 0x1005f467
movaps xmm3, xmm0
jmp 0x1005f46e
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 0x1005f49b
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [0x10117ec0]
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 0x1005f4b8
call fcn.1003df40
mov ecx, dword [0x1012274c]
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, 0x10117668
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.1005aab0
mov esi, dword [0x1012274c]
add esp, 4
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x1005f2d5
mov cl, byte [esp + 0xe]
mov byte [esp + 0xf], cl
cmp eax, dword [esi + 0x46e0]
jne 0x1005f2d5
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 0x1005f572
movss xmm0, dword [0x10117ec0]
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 0x1005f2db
movaps xmm4, xmm2
minss xmm4, xmm3
movaps xmm0, xmm2
mov byte [esp + 0xe], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
jmp 0x1005f5b6
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 0x1005f662
movss xmm2, dword [edx + 0x37d4]
mov edx, dword [esi + 0x3e68]
cmp byte [edx + 0xaf], 0
jne 0x1005f653
comiss xmm1, xmm2
jbe 0x1005f608
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.1003cf40
mov esi, dword [0x1012274c]
mov eax, dword [esp + 0x14]
test al, al
js 0x1005f72b
mov edx, dword [esp + 0x58]
cmp edx, 0xffffffff
jae 0x1005f72b
mov cl, byte [edx]
test cl, cl
je 0x1005f68d
cmp cl, 0x23
jne 0x1005f687
cmp byte [edx + 1], cl
je 0x1005f68d
inc edx
cmp edx, 0xffffffff
jb 0x1005f677
cmp dword [esp + 0x58], edx
je 0x1005f72b
cmp dword [esp + 0x54], 0
je 0x1005f717
mov ecx, dword [esi + 0x3e68]
mov eax, dword [esp + 0x38]
cmp byte [ecx + 0xaf], 0
movss xmm1, dword [eax + 0x37d4]
jne 0x1005f717
movss xmm3, dword [esp + 0x10]
comiss xmm3, xmm1
jbe 0x1005f6cc
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.10059920
mov esi, dword [0x1012274c]
add esp, 4
cmp dword [esp + 0x54], 0
jne 0x1005fbf1
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 0x1005f78b
inc edx
mov dword [esp + 0x88], edx
test ecx, ecx
je 0x1005f779
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
add eax, ecx
jmp 0x1005f77e
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10044500
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.1005a750
add esp, 4
lea esi, [edi + 8]
test al, al
je 0x1005f7f7
movss xmm0, dword [edi]
movss dword [0x101584d8], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x101584dc], xmm0
movss xmm0, dword [esi]
movss dword [0x101584e0], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [0x101584e4], xmm0
mov ecx, dword [0x1012274c]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x1005f83a
movss xmm1, dword [0x10118078]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1003c890
push ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x42200000
mov ecx, str.paste
mov dword [esp + 0x28], 0x42000000
call fcn.1005a750
add esp, 4
test al, al
je 0x1005f892
movss xmm0, dword [0x101584d8]
movss dword [edi], xmm0
movss xmm0, dword [0x101584dc]
movss dword [edi + 4], xmm0
movss xmm0, dword [0x101584e0]
movss dword [esi], xmm0
movss xmm0, dword [0x101584e4]
movss dword [edi + 0xc], xmm0
mov ecx, dword [0x1012274c]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x1005f8d5
movss xmm1, dword [0x10118078]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1003c890
push ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x42200000
mov ecx, 0x10117684
mov dword [esp + 0x28], 0x42000000
call fcn.1005a750
add esp, 4
test al, al
je 0x1005f92d
movss xmm0, dword [edi]
movss dword [0x101584e8], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x101584ec], xmm0
movss xmm0, dword [esi]
movss dword [0x101584f0], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [0x101584f4], xmm0
mov ecx, dword [0x1012274c]
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x1005f970
movss xmm1, dword [0x10118078]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1003c890
cmp dword [esp + 0x18], 0
je 0x1005f981
movss xmm1, dword [0x10117ec0]
jmp 0x1005f986
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.10061b50
mov ecx, dword [0x1012274c]
add esp, 8
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x1005fa32
movss xmm1, dword [0x10118078]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1003c890
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1005fad7
cmp dword [esp + 0x18], 0
je 0x1005fa4f
movss xmm1, dword [0x10117ec0]
jmp 0x1005fa54
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.10061b50
add esp, 8
test al, al
je 0x1005fad7
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 0x1005fae8
movss xmm2, dword [0x10117ec0]
jmp 0x1005faf0
movss xmm2, dword [0x101584f4]
movss xmm0, dword [0x101584ec]
mov ecx, dword [0x1012274c]
movss xmm1, dword [0x101584e8]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [0x101584f0]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm2
movss dword [0x101584f4], xmm1
mov eax, dword [ecx + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e68]
cmp byte [eax + 0xaf], 0
jne 0x1005fb77
movss xmm1, dword [0x10118078]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1003c890
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.10061b50
add esp, 8
test al, al
je 0x1005fbc8
push dword [esp + 0x9c]
push 0x101584e8
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
mov edx, dword [0x1012274c]
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.1003d070
jmp 0x1005fbf4
lea esi, [edi + 8]
cmp byte [esp + 0x1f], 0
jne 0x1005fc06
cmp byte [esp + 0xf], 0
je 0x1005fcd3
cmp dword [esp + 0x84], 0
je 0x1005fca7
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
jbe 0x1005fc2a
movaps xmm3, xmm1
jmp 0x1005fc32
movss xmm3, dword [0x10117e14]
movss xmm1, dword [esp + 0x4c]
comiss xmm1, xmm0
movss xmm2, dword [0x10117e18]
ja 0x1005fc48
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [0x10117ec0]
jb 0x1005fc5b
subss xmm0, xmm2
push esi
lea edx, [edi + 4]
mov ecx, edi
movaps xmm2, xmm3
call fcn.1002db10
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 0x1005fcdb
mov eax, dword [esp + 0x14]
test eax, 0x10000000
je 0x1005fcd7
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 0x1005fcd7
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov byte [esp + 0xf], 0
test al, 0x20
jne 0x10060089
cmp dword [esp + 0xd8], 0x10000
jne 0x1005fd00
movss xmm0, dword [esp + 0xf0]
jmp 0x1005fd09
movss xmm0, dword [esp + 0xf8]
addss xmm0, dword [0x10117f50]
subss xmm0, dword [esp + 0xec]
call fcn.1003cdc0
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x58], edx
test eax, 0x100000
jne 0x1005fd4a
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x18], ecx
jne 0x1005fda4
mov dword [esp + 0x18], ecx
jmp 0x1005fd53
and eax, 0x700000
mov dword [esp + 0x18], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.1005dc30
add esp, 4
test al, al
je 0x1005fd98
cmp dword [esi + 0x3eb4], 0
je 0x1005fd84
cmp byte [esi + 0x3ec1], 0
mov byte [esp + 0xf], 1
je 0x1005fd89
mov byte [esp + 0xf], 0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xe], 1
mov dword [esp + 0x18], ecx
jmp 0x1005fd9c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
test eax, 0x200000
jne 0x1005fdaf
test ecx, ecx
jne 0x1005fdd1
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.1005dc30
mov ecx, dword [esp + 0x1c]
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x14]
test eax, 0x400000
jne 0x1005fddc
test ecx, ecx
jne 0x1005fdf9
mov eax, dword [esp + 0x58]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1005dc30
add esp, 4
or byte [esp + 0xe], al
cmp byte [esp + 0xf], 0
mov ecx, dword [0x1012274c]
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 0x1005ff2f
cmp dword [esp + 0x84], 0
je 0x1005ff2f
movss xmm3, dword [edx]
movaps xmm6, xmm2
movss xmm5, dword [ecx]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1005fe7b
movss xmm6, dword [0x10118078]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1005fe98
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10118064]
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 [0x10117e10]
movaps xmm7, xmm1
mulss xmm1, dword [0x10117f50]
divss xmm7, xmm0
addss xmm1, dword [0x10117e10]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x101197f0]
comiss xmm2, xmm3
jb 0x1005ff2f
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
jbe 0x1005ff2f
comiss xmm2, xmm4
jb 0x1006006a
movss xmm1, dword [esp + 0x64]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006006a
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x4c]
mulss xmm2, dword [0x10117e7c]
push ecx
mov ecx, edi
call fcn.1002db10
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 0x1006010d
cmp dword [esp + 0x84], 0
je 0x1006009a
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 0x1005ff8f
movss xmm4, dword [0x10118078]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm5, xmm7
movss dword [esp + 0x64], xmm5
jbe 0x1005ffb8
movss xmm0, dword [0x10118064]
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 [0x10117f50]
addss xmm0, dword [0x10117e10]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm1, xmm4
addss xmm0, dword [0x10117e10]
andps xmm1, xmmword [0x101197f0]
divss xmm3, xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x4c], xmm3
cmp eax, dword [edi]
jne 0x1006010d
mov eax, dword [esi + 0x59d8]
cmp eax, dword [edi + 4]
jne 0x1006010d
mov eax, dword [esi + 0x59dc]
cmp eax, dword [edi + 8]
jne 0x1006010d
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1006004a
movss xmm0, dword [esi + 0x59cc]
movss dword [esp + 0x34], xmm0
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jp 0x1006010d
movss xmm0, dword [esi + 0x59d0]
movss dword [esp + 0x4c], xmm0
jmp 0x1006010d
comiss xmm2, xmm7
jb 0x1005ff2f
movss xmm1, dword [esp + 0x4c]
movaps xmm2, xmm4
mulss xmm1, dword [0x10117e7c]
jmp 0x1005ff18
movss xmm2, dword [esp + 0x10]
lea ecx, [edi + 8]
lea edx, [edi + 4]
jmp 0x1005ff33
test eax, 0x10000000
je 0x1006010d
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.1002db10
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 0x1006012d
movaps xmm1, xmm0
movss xmm0, dword [0x10117ec0]
jmp 0x1006013c
movss xmm0, dword [0x10117ec0]
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x10117ff0]
mov dword [esp + 0x20], 0x3f800000
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x24], 0x3f800000
addss xmm1, dword [0x10117e7c]
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.1002db10
movss xmm1, dword [esp + 0x24]
add esp, 4
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
movss xmm2, dword [0x10117ec0]
jbe 0x10060229
movaps xmm4, xmm0
jmp 0x10060230
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm1, dword [0x10117ff0]
movss xmm3, dword [0x10117e7c]
movss xmm5, dword [esp + 0x24]
comiss xmm0, xmm5
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x1006025c
movaps xmm4, xmm0
jmp 0x10060263
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 0x10060284
movaps xmm4, xmm0
jmp 0x1006028b
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 0x100602ac
movaps xmm4, xmm0
jmp 0x100602b3
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 0x100602de
movaps xmm4, xmm0
jmp 0x100602e5
movaps xmm4, xmm2
minss xmm4, xmm5
movss xmm5, dword [esp + 0xd4]
comiss xmm0, xmm5
mulss xmm4, xmm1
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x10060304
movaps xmm4, xmm0
jmp 0x1006030b
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 0x1006032f
movaps xmm4, xmm0
jmp 0x10060336
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 0x10060359
movaps xmm4, xmm0
jmp 0x10060360
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 0x10060e0a
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 [0x10117f50]
divss xmm1, dword [0x10117f50]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x10117f30]
mulss xmm1, dword [0x10117f30]
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.1004e0e0
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.1004cb10
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 [0x10117ec0]
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 0x100606e1
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 0x10060656
movaps xmm2, xmm0
jmp 0x1006065a
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 [0x10117ec0]
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 0x10060620
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 0x10060400
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm0
mulss xmm0, dword [0x10117f30]
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 [0x10117e7c]
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 0x100607c0
mulss xmm6, dword [0x10117e88]
jmp 0x100607c8
mulss xmm6, dword [0x10117e80]
movaps xmm0, xmm6
movss dword [esp + 0xc0], xmm6
divss xmm0, dword [0x10117ed8]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x100607ec
mov eax, 9
jmp 0x100607f6
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0xa8], 0xff000000
mov edx, 0x200
movss xmm5, dword [0x10117f54]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x84], eax
je 0x100608e0
comiss xmm3, xmm6
ja 0x100608e0
test eax, eax
jg 0x1006084f
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.1004dc60
dec dword [esi + 0x54]
jmp 0x100608a5
cmp eax, 3
jge 0x1006085b
mov ecx, 3
jmp 0x10060865
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 [0x10117ec0]
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1004e0e0
push dword [esp + 0xa8]
mov ecx, esi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1004d880
movss xmm3, dword [0x10117e7c]
mov edx, 0x200
movss xmm5, dword [0x10117f54]
movss xmm6, dword [esp + 0xc0]
mov dword [esi + 0x54], 0
jmp 0x100608e4
mov esi, dword [esp + 0x68]
test dword [esp + 0xac], 0xff000000
movaps xmm4, xmm6
movss xmm2, dword [0x10117ec0]
addss xmm4, xmm2
je 0x100609c0
comiss xmm3, xmm4
ja 0x100609c0
mov eax, dword [esp + 0x84]
test eax, eax
jg 0x10060938
push ecx
subss xmm4, xmm3
mov ecx, esi
push 0x30
push 0
lea eax, [esp + 0x94]
push eax
movaps xmm2, xmm4
call fcn.1004dc60
dec dword [esi + 0x54]
jmp 0x1006098a
cmp eax, 3
jge 0x10060944
mov ecx, 3
jmp 0x1006094e
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.1004e0e0
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.1004cb10
movss xmm2, dword [0x10117ec0]
movss xmm6, dword [esp + 0xc0]
mov dword [esi + 0x54], 0
test dword [esp + 0x58], 0xff000000
je 0x10060a83
movss xmm3, dword [0x10117e7c]
comiss xmm3, xmm6
ja 0x10060a83
mov eax, dword [esp + 0x84]
test eax, eax
jg 0x10060a0a
push ecx
subss xmm6, xmm3
mov ecx, esi
push 0x30
push 0
lea eax, [esp + 0x94]
push eax
movaps xmm2, xmm6
call fcn.1004dc60
dec dword [esi + 0x54]
jmp 0x10060a61
cmp eax, 3
jge 0x10060a16
mov eax, 3
jmp 0x10060a23
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 [0x10117f54]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1004e0e0
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.1004cb10
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 [0x1012274c]
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.1004c8b0
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.1004eef0
movss xmm1, dword [0x10117ec0]
movss xmm0, dword [esp + 0x10]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x64]
comiss xmm0, xmm2
jbe 0x10060d88
movaps xmm4, xmm0
jmp 0x10060d8f
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x10060d9f
movaps xmm3, xmm0
jmp 0x10060da6
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 0x10061103
test dword [esp + 0x14], 0x2000000
je 0x100610ff
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.1004ed70
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.1004ed70
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.1002f060
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
movss xmm1, dword [0x10117ec0]
jbe 0x10060f04
movaps xmm4, xmm0
jmp 0x10060f0b
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm7, dword [esp + 0x70]
movss xmm2, dword [esp + 0xec]
movss xmm3, dword [0x10117e7c]
mulss xmm4, xmm7
movss xmm6, dword [0x10117f00]
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 0x10060f78
comiss xmm5, xmm4
jbe 0x10060f67
movaps xmm3, xmm4
jmp 0x10060f6a
movaps xmm3, xmm5
movss dword [esp + 0x18], xmm3
movss xmm3, dword [0x10117e7c]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x64]
comiss xmm0, xmm2
jbe 0x10060f8b
movaps xmm1, xmm0
jmp 0x10060f8f
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 0x10060fde
comiss xmm2, xmm1
jbe 0x10060fd8
movss dword [esp + 0x30], xmm1
jmp 0x10060fde
movss dword [esp + 0x30], xmm2
movss xmm0, dword [esp + 0x98]
movaps xmm1, xmm7
divss xmm1, dword [0x10117f50]
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.1004ed70
movss xmm1, dword [esp + 0x78]
mov ecx, esi
movss xmm4, dword [esp + 0x50]
cmp ecx, 6
jl 0x10061020
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.1002f060
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 [0x10117f00]
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.1004ec00
movups xmm2, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
movss xmm1, dword [0x10117ec0]
movups xmmword [esp + 0x3c], xmm2
jbe 0x1006119a
movaps xmm3, xmm0
jmp 0x100611a1
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [0x10117ff0]
movss xmm2, dword [0x10117e7c]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x100611cd
movaps xmm3, xmm0
jmp 0x100611d4
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 0x100611f5
movaps xmm3, xmm0
jmp 0x100611fc
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 0x1006121d
movaps xmm5, xmm0
jmp 0x10061224
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.1004ec00
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x3c]
subss xmm0, dword [0x10117f2c]
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 [0x10117f5c]
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.1004ec00
movups xmm2, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
movss xmm1, dword [0x10117ec0]
movups xmmword [esp + 0x3c], xmm2
jbe 0x1006132f
movaps xmm4, xmm0
jmp 0x10061336
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [0x10117ff0]
movss xmm2, dword [0x10117e7c]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x10061362
movaps xmm4, xmm0
jmp 0x10061369
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 0x1006138a
movaps xmm4, xmm0
jmp 0x10061391
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 0x100613b2
movaps xmm4, xmm0
jmp 0x100613b9
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x10117f48]
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 [0x10117f58]
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.1004ec00
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x3c]
addss xmm0, dword [0x10117f5c]
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 [0x10117f2c]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x10117f00]
movss dword [esp + 0x38], xmm0
call fcn.1004ec00
movups xmm3, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm3
movss xmm1, dword [0x10117ec0]
movups xmmword [esp + 0x3c], xmm3
jbe 0x100614b4
movaps xmm2, xmm0
jmp 0x100614bb
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x10117ff0]
movss xmm3, dword [0x10117e7c]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x100614e7
movaps xmm2, xmm0
jmp 0x100614ee
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 0x1006150f
movaps xmm2, xmm0
jmp 0x10061516
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 0x10061537
movaps xmm5, xmm0
jmp 0x1006153e
movaps xmm5, xmm1
minss xmm5, xmm2
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10117f58]
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 [0x10117f48]
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.1004ec00
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x10117f2c]
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 [0x10117f5c]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x38], xmm0
call fcn.1004ec00
movups xmm2, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
movss xmm1, dword [0x10117ec0]
movups xmmword [esp + 0x3c], xmm2
jbe 0x10061632
movaps xmm4, xmm0
jmp 0x10061639
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [0x10117ff0]
movss xmm2, dword [0x10117e7c]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x10061665
movaps xmm4, xmm0
jmp 0x1006166c
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 0x1006168d
movaps xmm4, xmm0
jmp 0x10061694
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 0x100616b5
movaps xmm4, xmm0
jmp 0x100616bc
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 [0x10117f48]
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 [0x10117f58]
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.1004ec00
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x3c]
movss xmm3, dword [esp + 0x18]
subss xmm3, dword [0x10117f00]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x10117f5c]
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 [0x10117f2c]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm3
push eax
movss dword [esp + 0x38], xmm0
call fcn.1004ec00
movups xmm3, xmmword [edi]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm3
movss xmm1, dword [0x10117ec0]
movups xmmword [esp + 0x3c], xmm3
jbe 0x100617b4
movaps xmm2, xmm0
jmp 0x100617bb
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x10117ff0]
movss xmm3, dword [0x10117e7c]
movss xmm5, dword [esp + 0x40]
comiss xmm0, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x100617e7
movaps xmm2, xmm0
jmp 0x100617ee
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 0x1006180f
movaps xmm2, xmm0
jmp 0x10061816
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 0x10061837
movaps xmm5, xmm0
jmp 0x1006183e
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 [0x10117f58]
addss xmm2, dword [0x10117f48]
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.1004ec00
cmp dword [esp + 0xd8], 0x10000
jne 0x10061a61
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm2
jbe 0x100618d8
movss dword [esp + 0x98], xmm1
jmp 0x100618ed
movss xmm0, dword [0x10117ec0]
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 [0x10117f50]
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 [0x10117e7c]
push edi
push esi
push 0
call fcn.100538d0
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.1004ed70
push dword [esp + 0x48]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0x48]
push edi
push esi
call fcn.1002f060
movss xmm0, dword [0x10117ec0]
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 [0x10117f58]
addss xmm0, dword [0x10117e7c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x94], xmm0
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.1005e5a0
mov edi, dword [esp + 0x108]
add esp, 0x20
jmp 0x10061a65
mov esi, dword [esp + 0x38]
call fcn.1003d070
cmp byte [esp + 0xe], 0
mov edx, dword [0x1012274c]
je 0x10061b1e
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x14c]
sub eax, 4
mov dword [esp + 0x9c], eax
jb 0x10061ab4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10061ab9
mov eax, dword [esp + 0x9c]
add ecx, 4
add edi, 4
sub eax, 4
mov dword [esp + 0x9c], eax
jae 0x10061a95
cmp eax, 0xfffffffc
je 0x10061b19
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10061af5
cmp dword [esp + 0x9c], 0xfffffffd
je 0x10061b19
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10061af5
cmp dword [esp + 0x9c], 0xfffffffe
je 0x10061b19
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10061af5
cmp dword [esp + 0x9c], 0xffffffff
je 0x10061b19
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10061b19
mov eax, dword [edx + 0x3eb4]
cmp eax, dword [esi + 0x46e0]
je 0x10061b07
test eax, eax
jne 0x10061b10
mov word [edx + 0x3ec4], 0x101
or dword [edx + 0x46e8], 4
jmp 0x10061b1e
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.100f1854
mov esp, ebp
pop ebp
ret