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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
mov eax, dword [0x10162378]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [0x10167324]
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [edx + 0x4064]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x2c], edx
mov byte [eax + 0xe1], 1
mov eax, dword [edx + 0x4064]
mov dword [esp + 0xc0], eax
cmp byte [eax + 0xe4], 0
je 0x10094e84
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret
test byte [edx + 0x4988], 1
mov edi, dword [eax + 0x2a4]
mov dword [esp + 0x64], edi
je 0x10094ea1
movss xmm1, dword [edx + 0x4990]
jmp 0x10094ea9
movss xmm1, dword [eax + 0x1d8]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10094eea
cmp dword [eax + 0x1c8], 0
jne 0x10094ec8
cmp dword [edx + 0x4db4], 0
mov ecx, 0x260
je 0x10094ecd
mov ecx, 0x230
movss xmm0, dword [ecx + eax]
subss xmm0, dword [eax + 0x128]
addss xmm0, xmm1
movss xmm1, dword [0x1015ca30]
maxss xmm1, xmm0
mov ecx, dword [esp + 0xb4]
cvttss2si esi, xmm1
mov dword [edx + 0x4988], 0
mov dword [edx + 0x498c], 0
call fcn.100149e0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x5d54]
mov dword [esp + 0xe0], eax
test eax, eax
jne 0x10094f40
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x124]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5d54], eax
call fcn.10017980
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x5c], edx
test dl, 8
jne 0x10094f6c
mov ecx, dword [esp + 0x20]
call fcn.10099230
mov edx, dword [esp + 0x5c]
test edx, 0x6000000
jne 0x10094f95
mov eax, dword [esp + 0x2c]
mov ecx, 0xa900000
mov eax, dword [eax + 0x5d50]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10094f97
mov ecx, edx
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x10094fc6
mov eax, dword [esp + 0x2c]
mov edx, 0xa900000
mov eax, dword [eax + 0x5d50]
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10094fe0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x5d50]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc0]
mov edx, ecx
and ecx, 0x10002
and edx, 2
mov dword [esp + 0x6c], edx
mov dword [esp + 0xd4], ecx
movss xmm0, dword [eax + 0x12c]
movss xmm3, dword [eax + 0x128]
mov eax, dword [0x10167324]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x50], xmm3
movss xmm4, dword [eax + 0x3994]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3dcc]
mov eax, dword [esp + 0x2c]
movss xmm2, dword [eax + 0x39a8]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x84], xmm4
movaps xmm0, xmm2
sete al
addss xmm0, xmm4
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x138]
push dword [esp + 0x24]
subss xmm0, xmm1
movaps xmm1, xmm4
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0xc4], xmm0
addss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
addss xmm0, xmm4
movss dword [esp + 0x68], xmm0
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1015c9c0]
cvttss2si esi, xmm0
mov dword [esp + 0xd8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [esp + 0x6c]
add esp, 0xc
movaps xmm2, xmm3
movaps xmm1, xmm3
mulss xmm2, dword [0x1015c9e4]
mulss xmm1, dword [0x1015c9a8]
movaps xmm0, xmm2
movss dword [esp + 0x9c], xmm2
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x98], xmm1
movaps xmm4, xmm2
subss xmm4, xmm1
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x84]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x118], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1015c994]
mulss xmm1, dword [0x1015c9e4]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x50]
movss dword [esp + 0xc4], xmm4
movd xmm0, eax
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0x114], xmm1
mov ecx, dword [esp + 0x20]
movaps xmm2, xmm4
movss xmm5, dword [ecx + 4]
lea eax, [ecx + 4]
movss xmm7, dword [ecx + 8]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x3c], eax
lea eax, [ecx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0x4c], 0
and edx, 0x8000000
movaps xmm3, xmm7
movss dword [esp + 0x24], xmm5
subss xmm2, xmm0
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x38], xmm3
mov dword [esp + 0xa4], edx
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm2
mulss xmm0, dword [0x1015cc4c]
movaps xmm1, xmm2
mulss xmm1, dword [0x1015cc40]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x7c], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1015ca18]
movss xmm2, dword [0x1015cafc]
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x128], xmm0
movss xmm0, dword [ecx]
movss dword [esp + 0x78], xmm1
movaps xmm6, xmm0
movss dword [esp + 0x124], xmm1
movaps xmm1, xmm5
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x30], xmm6
movss dword [esp + 0x34], xmm1
movss dword [esp + 0xc0], xmm2
je 0x10095345
comiss xmm3, xmm1
movaps xmm7, xmm6
movaps xmm2, xmm1
movss dword [esp + 0x58], xmm7
movaps xmm5, xmm3
xorps xmm4, xmm4
jbe 0x1009529d
movss xmm4, dword [0x1015cc50]
movaps xmm2, xmm3
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x100952bd
movss xmm0, dword [0x1015cc3c]
movaps xmm7, xmm2
subss xmm0, xmm4
movss dword [esp + 0x58], xmm7
movaps xmm2, xmm6
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0xc], xmm7
minss xmm0, xmm5
movaps xmm1, xmm7
subss xmm2, xmm5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x1015cafc]
addss xmm0, dword [0x1015c964]
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, dword [0x1015c964]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x1015cef0]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.10093690
movss xmm0, dword [esp + 0x18]
add esp, 8
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x1009545c
test eax, 0x10000000
je 0x1009545c
ucomiss xmm5, dword [0x1015c950]
lahf
test ah, 0x44
jp 0x1009536e
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x34], xmm7
jmp case.0x100953ed.0
movss xmm1, dword [0x1015ca30]
call fcn.10001340
movaps xmm1, xmm0
movss xmm5, dword [esp + 0x24]
divss xmm1, dword [0x1015c9bc]
movss xmm2, dword [0x1015ca30]
cvttss2si eax, xmm1
movss xmm7, dword [esp + 0x58]
movaps xmm4, xmm2
movaps xmm3, xmm2
subss xmm3, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm7
subss xmm1, xmm0
movaps xmm0, xmm5
movss dword [esp + 0x38], xmm3
mulss xmm0, xmm1
subss xmm4, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm4, xmm7
mulss xmm0, xmm5
subss xmm1, xmm0
mulss xmm1, xmm7
movss dword [esp + 0x34], xmm1
cmp eax, 5
ja case.0x100953ed.5
jmp dword [eax*4 + 0x10097cbc]
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x34], xmm7
jmp 0x1009545c
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x34], xmm7
jmp 0x1009545c
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm7
jmp 0x1009545c
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm7
jmp 0x1009545c
movaps xmm0, xmm3
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x30], xmm7
mov ecx, dword [0x10167324]
lea edx, [ecx + 0x4aa0]
mov byte [esp + 0xb], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x4980]
or eax, 8
mov dword [esp + 0x10], edx
mov dword [ecx + 0x4980], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x74], eax
cmp dword [edx], ecx
jne 0x100954c1
test ecx, ecx
je 0x100954a8
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, ecx
jmp 0x100954ad
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100359f0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x74]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x18]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0x88], ecx
je 0x10095b3b
movss xmm1, dword [esp + 0x60]
lea edx, [esp + 0x100]
mov esi, dword [esp + 0x2c]
movaps xmm0, xmm1
push 0
mov ecx, 0x1015accc
movss dword [esp + 0x108], xmm1
addss xmm0, dword [esi + 0x39a8]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x104], xmm0
call fcn.10084dd0
mov eax, dword [0x10167324]
add esp, 4
mov ecx, dword [eax + 0x40b0]
test ecx, ecx
je 0x100959d6
cmp ecx, dword [eax + 0x49a8]
jne 0x100959d6
movss xmm0, dword [esi + 0x37e0]
subss xmm0, dword [esp + 0xa8]
movss xmm1, dword [esi + 0x37dc]
subss xmm1, dword [esp + 0xc8]
movss xmm4, dword [esi + 0xe08]
movss xmm3, dword [esi + 0xe0c]
subss xmm4, dword [esp + 0xc8]
subss xmm3, dword [esp + 0xa8]
movaps xmm2, xmm0
movss dword [esp + 0x68], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [0x1015ca30]
addss xmm2, xmm0
movss dword [esp + 0x10], xmm4
movss xmm0, dword [esp + 0xc4]
subss xmm0, xmm1
movss dword [esp + 0x70], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1009566d
movss xmm0, dword [esp + 0x9c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1009566d
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x100], xmm0
fld qword [esp + 0x100]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x100], xmm0
fld qword [esp + 0x100]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1015cad4]
xorps xmm0, xmm0
fstp qword [esp + 0x100]
movsd xmm1, qword [esp + 0x100]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1015c9e4]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x10095665
addss xmm1, dword [0x1015ca30]
movss dword [esp + 0xc], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1009567f
mov al, byte [esp + 0xb]
movss xmm2, dword [0x1015cad4]
movss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
mov byte [esp + 0x1e], al
xorps xmm0, xmmword [0x1015cf20]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x100], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x74], xmm0
movsd xmm0, qword [esp + 0x100]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x74]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xbc]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0xd8]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x68]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x68]
subss xmm3, xmm0
movss xmm7, dword [esp + 0x48]
movaps xmm0, xmm5
movss dword [esp + 0x80], xmm5
mulss xmm0, dword [esp + 0xd8]
movaps xmm5, xmm1
subss xmm5, xmm1
subss xmm7, dword [esp + 0xbc]
addss xmm4, xmm0
movaps xmm2, xmm3
movss xmm0, dword [esp + 0xac]
subss xmm2, xmm1
subss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xd8], xmm5
movss dword [esp + 0x44], xmm7
movaps xmm1, xmm0
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
subss xmm0, dword [esp + 0x8c]
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xac]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xac]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100959ce
movss xmm0, dword [esp + 0x8c]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x48]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esp + 0x48]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x100959ce
movss xmm1, dword [esp + 0x80]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x70]
mulss xmm6, dword [esp + 0x70]
movss xmm4, dword [esp + 0xbc]
subss xmm7, xmm0
movss xmm3, dword [esp + 0x8c]
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x100], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x104], xmm6
subss xmm0, xmm3
mulss xmm1, dword [esp + 0x74]
mulss xmm0, dword [esp + 0xd8]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xac]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x44]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x68]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100958d0
movaps xmm0, xmm3
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x48]
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x48]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10095919
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0xe4]
call fcn.10003b00
movss xmm3, dword [esp + 0x98]
add esp, 0xc
movss xmm4, dword [esp + 0xbc]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
subss xmm7, dword [esp + 0x48]
movaps xmm2, xmm4
subss xmm6, xmm5
subss xmm2, dword [esp + 0x48]
movss xmm4, dword [esp + 0xac]
movaps xmm1, xmm3
subss xmm4, xmm5
subss xmm1, xmm5
movaps xmm3, xmm2
mulss xmm6, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm3, xmm1
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1015ca30]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
movss xmm3, dword [0x1015c978]
subss xmm5, xmm0
movss dword [esp + 0x24], xmm3
comiss xmm3, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x1009599f
movaps xmm0, xmm3
jmp 0x100959a6
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm2, xmm0
movss dword [esp + 0x58], xmm0
comiss xmm3, xmm2
ja 0x100959c2
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x24], xmm3
mov byte [esp + 0x17], 1
mov byte [esp + 0xb], 1
jmp 0x100959d6
mov al, byte [esp + 0xb]
mov byte [esp + 0x1e], al
test byte [esp + 0x18], 8
jne 0x10095a58
mov eax, dword [0x10167324]
mov ecx, 1
mov esi, dword [eax + 0x4064]
mov dword [esp + 0x44], esi
call fcn.100152a0
test al, al
je 0x10095a58
mov ecx, 0x20
call fcn.100093f0
test al, al
je 0x10095a58
mov ecx, dword [esi + 0x11c]
xor edx, edx
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10003fd0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 0x4098], esi
jne 0x10095a4c
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10034370
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10018740
movss xmm2, dword [esp + 0x28]
cmp dword [esp + 0xd4], 0x10000
mov esi, dword [esp + 0xcc]
jne 0x10095e5c
mov ecx, dword [0x10167324]
lea edx, [esp + 0x78]
movss xmm0, dword [esp + 0xd0]
push 0
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
mov ecx, str.alpha
movss dword [eax + 0x128], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [eax + 0x12c], xmm2
mov byte [eax + 0x169], 1
movss dword [esp + 0x80], xmm0
call fcn.10084dd0
mov eax, dword [0x10167324]
add esp, 4
mov ecx, dword [eax + 0x40b0]
test ecx, ecx
je 0x10095e5c
cmp ecx, dword [eax + 0x49a8]
jne 0x10095e5c
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x60]
movss xmm1, dword [0x1015ca30]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe0c]
subss xmm3, dword [esp + 0x28]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10095e40
xorps xmm4, xmm4
jmp 0x10095e47
test eax, 0x2000000
je 0x10095a58
movss xmm0, dword [esp + 0x60]
lea edx, [esp + 0x78]
push 0
mov ecx, 0x1015acd0
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x80], xmm0
call fcn.10084dd0
mov ecx, dword [0x10167324]
add esp, 4
mov eax, dword [ecx + 0x40b0]
test eax, eax
je 0x10095cbf
cmp eax, dword [ecx + 0x49a8]
jne 0x10095cbf
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x60]
movss xmm1, dword [0x1015ca30]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xe08]
subss xmm2, dword [esp + 0x50]
movss dword [esp + 0x10], xmm3
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10095bcc
movss dword [esp + 0x24], xmm0
jmp 0x10095bd9
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x24], xmm4
movss xmm2, dword [eax + 0xe0c]
subss xmm2, dword [esp + 0x28]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10095bf5
xorps xmm3, xmm3
jmp 0x10095bfc
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5d58]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x58], xmm2
cmp eax, dword [ecx + 0x5d54]
jne 0x10095cb7
mov eax, dword [esp + 0x20]
movss xmm3, dword [eax]
comiss xmm0, xmm3
mov eax, dword [esp + 0x3c]
movss xmm4, dword [eax]
mov eax, dword [esp + 0x40]
movss xmm5, dword [eax]
jbe 0x10095c3d
xorps xmm2, xmm2
jmp 0x10095c44
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x1015cbc8]
movss xmm3, dword [0x1015c9e4]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x10095c6a
xorps xmm2, xmm2
jmp 0x10095c71
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x10095c8c
xorps xmm1, xmm1
jmp 0x10095c90
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x5d64], eax
jne 0x10095cb7
movss xmm0, dword [ecx + 0x5d5c]
movss dword [esp + 0xc], xmm0
mov al, 1
mov byte [esp + 0xb], al
jmp 0x10095cd7
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [0x1015ca30]
mov al, byte [esp + 0xb]
movss dword [esp + 0x10], xmm0
test byte [esp + 0x18], 8
mov byte [esp + 0x17], al
mov byte [esp + 0x1f], al
jne 0x10095d62
mov esi, dword [ecx + 0x4064]
mov ecx, 1
mov dword [esp + 0x44], esi
call fcn.100152a0
test al, al
je 0x10095d5c
mov ecx, 0x20
call fcn.100093f0
test al, al
je 0x10095d5c
mov ecx, dword [esi + 0x11c]
xor edx, edx
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10003fd0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 0x4098], esi
jne 0x10095d50
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10034370
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10018740
mov ecx, dword [0x10167324]
mov eax, dword [ecx + 0x4064]
lea edx, [esp + 0x78]
movss xmm0, dword [esp + 0xb0]
push 0
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
mov ecx, 0x1015acd4
movss dword [eax + 0x128], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0x12c], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x64]
mov byte [eax + 0x169], 1
movss dword [esp + 0x80], xmm0
call fcn.10084dd0
mov eax, dword [0x10167324]
add esp, 4
mov ecx, dword [eax + 0x40b0]
test ecx, ecx
je 0x10095a58
mov dl, byte [esp + 0xb]
mov byte [esp + 0x17], dl
cmp ecx, dword [eax + 0x49a8]
jne 0x10095a58
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [eax + 0xe0c]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x10]
comiss xmm0, xmm1
ja 0x10095e23
movss xmm0, dword [0x1015ca30]
minss xmm0, xmm1
mov al, byte [esp + 0x1f]
movss dword [esp + 0xc], xmm0
mov byte [esp + 0x1e], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x17], al
jmp 0x10095a5e
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
mov edx, dword [0x10167324]
dec dword [edx + 0x4aa0]
mov ecx, dword [edx + 0x4aa0]
mov eax, dword [edx + 0x4aa8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4980], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x68], ecx
jne 0x10095ead
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x39a8]
call fcn.100173a0
call fcn.10017980
mov eax, dword [esp + 0x18]
and eax, 0x80
mov dword [esp + 0x70], eax
jne 0x10095f1d
mov ecx, dword [esp + 0xb4]
cmp ecx, 0xffffffff
jae 0x10095f1d
mov dl, byte [ecx]
test dl, dl
je 0x10095eda
cmp dl, 0x23
jne 0x10095ed4
cmp byte [ecx + 1], dl
je 0x10095eda
inc ecx
cmp ecx, 0xffffffff
jb 0x10095ec4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x10095f1d
cmp dword [esp + 0x68], 0
je 0x10095f0f
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x39a8]
call fcn.100173a0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xb4]
mov edx, ecx
mov ecx, eax
push 0
call fcn.10083150
add esp, 4
cmp dword [esp + 0x68], 0
jne 0x1009614a
mov eax, dword [0x10167324]
lea edx, [eax + 0x4aa0]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x4980]
or ecx, 0x10
mov dword [eax + 0x4980], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x10095f7d
test ecx, ecx
je 0x10095f64
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, ecx
jmp 0x10095f69
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100359f0
mov edx, dword [esp + 0x68]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], edi
inc dword [edx]
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x20]
je 0x10095fa0
movss xmm1, dword [0x1015ca30]
jmp 0x10095fa5
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x70], 0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
movss dword [esp + 0x124], xmm0
movss dword [esp + 0x130], xmm1
movss xmm0, dword [eax]
mov eax, dword [esp + 0x40]
movss dword [esp + 0x128], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x12c], xmm0
je 0x10095ff5
push str.Current
call fcn.100838c0
add esp, 4
movss xmm1, dword [esp + 0x84]
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x124]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x1015cad0]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0x88], eax
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x84], xmm0
call fcn.10097d10
add esp, 8
cmp dword [esp + 0x94], 0
je 0x10096123
push str.Original
call fcn.100838c0
mov eax, dword [esp + 0x98]
add esp, 4
cmp dword [esp + 0x6c], 0
je 0x1009608b
movss xmm1, dword [0x1015ca30]
jmp 0x10096090
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x100]
movss dword [esp + 0x100], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x78]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x44]
push eax
push dword [esp + 0x84]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x114], xmm1
movss dword [esp + 0x84], xmm0
call fcn.10097d10
add esp, 8
test al, al
je 0x10096123
push dword [esp + 0x90]
push dword [esp + 0x98]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
mov edx, dword [0x10167324]
dec dword [edx + 0x4aa0]
mov eax, dword [edx + 0x4aa8]
mov ecx, dword [edx + 0x4aa0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4980], eax
call fcn.10017ae0
cmp byte [esp + 0x1e], 0
jne 0x1009615c
cmp byte [esp + 0x17], 0
je 0x10096253
cmp dword [esp + 0xa4], 0
je 0x1009627c
push dword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0x10]
call fcn.100046b0
mov edx, dword [esp + 0x30]
add esp, 4
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [0x1015ca30]
mov eax, dword [edx + 0x5d54]
mov dword [edx + 0x5d58], eax
mov eax, dword [esp + 0x3c]
movss dword [edx + 0x5d5c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edx + 0x5d60], xmm0
xorps xmm0, xmm0
movss xmm4, dword [eax]
mov eax, dword [esp + 0x40]
movss xmm5, dword [eax]
mov eax, dword [esp + 0x20]
movss xmm3, dword [eax]
comiss xmm0, xmm3
jbe 0x100961e9
xorps xmm2, xmm2
jmp 0x100961f0
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x1015cbc8]
movss xmm3, dword [0x1015c9e4]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x10096216
xorps xmm2, xmm2
jmp 0x1009621d
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10096238
xorps xmm1, xmm1
jmp 0x1009623c
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, ecx
mov dword [edx + 0x5d64], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x1f], 0
test al, 0x20
jne 0x100966c3
cmp dword [esp + 0xd4], 0x10000
jne 0x100962ad
movss xmm0, dword [esp + 0xd0]
jmp 0x100962b6
mov eax, dword [esp + 0x18]
test eax, 0x10000000
je 0x10096257
mov ecx, dword [esp + 0x20]
movss xmm0, dword [esp + 0xc]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [ecx + 8], xmm0
jmp 0x10096257
movss xmm0, dword [esp + 0xb0]
mov eax, dword [0x10167324]
addss xmm0, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x4064]
mov edx, dword [eax + 0x1e0]
lea ecx, [eax + 0x1e0]
subss xmm0, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x80], ecx
movss dword [esp + 0x70], xmm0
cmp edx, eax
jne 0x1009632c
inc edx
mov dword [esp + 0x44], edx
test eax, eax
je 0x1009630f
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10096314
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100359f0
movss xmm0, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1d8]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x6c]
inc dword [ecx + 0x1e0]
ucomiss xmm0, dword [0x1015c950]
lahf
test ah, 0x44
jp 0x1009635d
movss xmm0, dword [ecx + 0x27c]
mov eax, dword [esp + 0x74]
movss dword [ecx + 0x1d8], xmm0
and dword [eax + 0x4988], 0xfffffffe
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x3c], edx
test eax, 0x100000
jne 0x1009639b
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x10], ecx
jne 0x100963fb
mov dword [esp + 0x10], ecx
jmp 0x100963a4
and eax, 0x700000
mov dword [esp + 0x10], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x24]
call fcn.10093790
add esp, 4
test al, al
je 0x100963ef
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x40b0], 0
je 0x100963db
cmp byte [eax + 0x40bd], 0
mov byte [esp + 0x1f], 1
je 0x100963e0
mov byte [esp + 0x1f], 0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xb], 1
mov dword [esp + 0x10], ecx
jmp 0x100963f3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10096406
test ecx, ecx
jne 0x1009642a
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x24]
call fcn.10093790
mov ecx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10096435
test ecx, ecx
jne 0x10096454
mov eax, dword [esp + 0x3c]
mov ecx, str.hex
mov edx, dword [esp + 0x20]
or eax, 0x400004
push eax
call fcn.10093790
add esp, 4
or byte [esp + 0xb], al
cmp byte [esp + 0x1f], 0
xorps xmm2, xmm2
mov ecx, dword [0x10167324]
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov edx, dword [ecx + 0x4064]
mov ecx, dword [edx + 0x1e0]
mov eax, dword [edx + 0x1e8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1d8], eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x1e0], eax
je 0x10096590
cmp dword [esp + 0xa4], 0
je 0x10096590
movss xmm3, dword [ecx + 4]
lea eax, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea edx, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x100964d9
movss xmm6, dword [0x1015cc50]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x100964f6
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1015cc3c]
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 [0x1015c964]
movaps xmm7, xmm1
mulss xmm1, dword [0x1015cafc]
divss xmm7, xmm0
addss xmm1, dword [0x1015c964]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x1015cef0]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1009659c
movss xmm3, dword [esp + 0xc]
comiss xmm3, xmm2
jbe 0x1009659c
comiss xmm2, xmm4
jb 0x100966a1
movss xmm0, dword [esp + 0x58]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1009669e
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm0
mulss xmm2, dword [0x1015c9e4]
push edx
lea edx, [ecx + 4]
movaps xmm0, xmm3
call fcn.100046b0
mov ecx, dword [esp + 0x24]
add esp, 4
xorps xmm2, xmm2
movss xmm6, dword [0x1015cef0]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
cmp byte [esp + 0xb], 0
je 0x1009684b
cmp dword [esp + 0xa4], 0
je 0x100966db
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 4]
movaps xmm4, xmm1
movss xmm7, dword [edx]
movaps xmm3, xmm0
comiss xmm7, xmm0
movss dword [esp + 0x30], xmm1
movaps xmm5, xmm7
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x58], xmm4
jbe 0x100965fa
movss xmm2, dword [0x1015cc50]
movaps xmm3, xmm7
movaps xmm5, xmm0
comiss xmm3, xmm1
jbe 0x1009661a
movss xmm0, dword [0x1015cc3c]
movaps xmm4, xmm3
subss xmm0, xmm2
movss dword [esp + 0x58], xmm4
movaps xmm3, xmm1
movaps xmm2, xmm0
movaps xmm0, xmm3
movss dword [esp + 0xc], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm3, xmm5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x1015cafc]
addss xmm0, dword [0x1015c964]
divss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1015c964]
addss xmm3, xmm2
divss xmm1, xmm0
andps xmm3, xmm6
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x2c], xmm1
call fcn.10093690
movss xmm4, dword [esp + 0x18]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x24], xmm0
jmp 0x10096851
lea eax, [ecx + 4]
comiss xmm2, xmm7
jb 0x1009659c
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x1015c9e4]
push edx
mov edx, eax
jmp 0x1009657e
movss xmm6, dword [0x1015cef0]
xorps xmm2, xmm2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
jmp 0x100965a0
test eax, 0x10000000
je 0x1009684b
movss xmm5, dword [ecx + 4]
movss xmm4, dword [ecx]
movss xmm3, dword [edx]
ucomiss xmm5, xmm2
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x24], xmm5
lahf
movss dword [esp + 0x58], xmm3
test ah, 0x44
jp 0x10096725
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x30], xmm3
jmp 0x10096851
movss xmm1, dword [0x1015ca30]
movaps xmm0, xmm4
call fcn.10001340
movaps xmm1, xmm0
movss xmm5, dword [esp + 0x24]
divss xmm1, dword [0x1015c9bc]
movss xmm2, dword [0x1015ca30]
cvttss2si eax, xmm1
movss xmm3, dword [esp + 0x58]
movaps xmm4, xmm2
movaps xmm7, xmm2
subss xmm7, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm7, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
movss dword [esp + 0x38], xmm7
mulss xmm0, xmm1
subss xmm4, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm4, xmm3
mulss xmm0, xmm5
subss xmm1, xmm0
mulss xmm1, xmm3
movss dword [esp + 0x34], xmm1
cmp eax, 5
ja case.0x100967ab.5
jmp dword [eax*4 + 0x10097cd4]
movss xmm4, dword [esp + 0xc]
movss dword [esp + 0x30], xmm3
jmp 0x10096859
movss dword [esp + 0x30], xmm4
movss xmm4, dword [esp + 0xc]
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x34], xmm3
jmp 0x10096859
movss xmm4, dword [esp + 0xc]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x34], xmm3
jmp 0x10096859
movss dword [esp + 0x34], xmm4
movss xmm4, dword [esp + 0xc]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x38], xmm3
jmp 0x10096859
movss xmm4, dword [esp + 0xc]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x38], xmm3
jmp 0x10096859
movaps xmm0, xmm7
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm4
movss xmm4, dword [esp + 0xc]
movss dword [esp + 0x38], xmm0
jmp 0x10096859
movss xmm4, dword [esp + 0xc]
movss xmm2, dword [0x1015ca30]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x3954]
comiss xmm0, xmm1
ja 0x10096874
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, dword [0x1015cbc8]
movaps xmm1, xmm2
addss xmm0, dword [0x1015c9e4]
cvttss2si edx, xmm0
movaps xmm0, xmm4
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x74], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x40], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xe4], ecx
or eax, 0x808080
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x10], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xec], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xf0], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xf4], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0xf8], eax
call fcn.10001340
movaps xmm1, xmm0
movss xmm3, dword [0x1015ca30]
divss xmm1, dword [0x1015c9bc]
movaps xmm6, xmm3
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm0, xmm3
subss xmm6, xmm1
subss xmm0, xmm6
cmp eax, 5
ja case.0x10096941.5
jmp dword [eax*4 + 0x10097cec]
movaps xmm5, xmm0
xorps xmm0, xmm0
jmp 0x1009697f
movaps xmm4, xmm6
movaps xmm5, xmm3
xorps xmm0, xmm0
jmp 0x10096982
xorps xmm4, xmm4
movaps xmm5, xmm3
jmp 0x10096982
xorps xmm4, xmm4
movaps xmm5, xmm6
movaps xmm0, xmm3
jmp 0x10096982
movaps xmm4, xmm0
xorps xmm5, xmm5
movaps xmm0, xmm3
jmp 0x10096982
xorps xmm5, xmm5
movaps xmm0, xmm6
movaps xmm4, xmm3
xorps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1009698f
xorps xmm1, xmm1
jmp 0x10096996
movaps xmm1, xmm3
minss xmm1, xmm4
comiss xmm2, xmm5
movss xmm7, dword [0x1015cbc8]
movss xmm6, dword [0x1015c9e4]
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si ecx, xmm1
jbe 0x100969bc
xorps xmm1, xmm1
jmp 0x100969c3
movaps xmm1, xmm3
minss xmm1, xmm5
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm0
jbe 0x100969de
xorps xmm1, xmm1
jmp 0x100969e5
movaps xmm1, xmm3
minss xmm1, xmm0
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x2c]
movss xmm5, dword [eax + 0x3954]
comiss xmm2, xmm5
jbe 0x10096a13
movaps xmm4, xmm3
xorps xmm0, xmm0
minss xmm4, xmm5
jmp 0x10096a1d
movaps xmm0, xmm3
minss xmm0, xmm5
movaps xmm4, xmm0
movss xmm1, dword [esp + 0x30]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm2, xmm1
mov dword [esp + 0xd8], edx
jbe 0x10096a45
xorps xmm0, xmm0
jmp 0x10096a4c
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm2, xmm0
jbe 0x10096a68
xorps xmm1, xmm1
jmp 0x10096a6f
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm0
jbe 0x10096a90
xorps xmm1, xmm1
jmp 0x10096a97
movaps xmm1, xmm3
minss xmm1, xmm0
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm5
jbe 0x10096ab0
xorps xmm4, xmm4
mulss xmm4, xmm7
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x88], 0
mov dword [esp + 0x94], eax
je 0x100973e7
movss xmm1, dword [esp + 0x9c]
movaps xmm2, xmm6
movss xmm0, dword [esp + 0xc4]
mov eax, 0x2aaaaaab
divss xmm2, xmm1
mov esi, dword [esp + 0x64]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm4, xmm0
movss dword [esp + 0xb0], xmm2
imul ecx
mulss xmm4, xmm6
movss dword [esp + 0x30], xmm0
mov eax, 4
movss dword [esp + 0x38], xmm4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
movd xmm1, eax
lea eax, [esp + 0x114]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm3
divss xmm0, dword [0x1015cafc]
divss xmm1, dword [0x1015cafc]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x1015cad4]
mulss xmm1, dword [0x1015cad4]
subss xmm0, xmm2
addss xmm1, xmm2
movaps xmm2, xmm4
movaps xmm3, xmm0
movss dword [esp + 0xa4], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x78], xmm1
call fcn.1006c3a0
movss xmm0, dword [esp + 0x98]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x48]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1006af20
movss xmm0, dword [esp + 0x9c]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x9c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc4]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xb8], 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 + 0xc4]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x6c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x6c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc4]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xa4], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0xa4]
subss xmm2, dword [esp + 0xb8]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x20]
movss xmm3, dword [0x1015ca30]
mulss xmm0, dword [esp + 0xc4]
mov ecx, dword [esp + eax*4 + 0xe4]
mov eax, dword [esi + 0x18]
movss dword [esp + 0xa4], xmm2
addss xmm0, dword [esp + 0xa8]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
subss xmm0, dword [esp + 0x68]
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
mov dword [esp + 0x88], eax
movzx eax, cl
mov dword [esp + 0xb4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x6c], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + eax*4 + 0xe8]
movzx eax, cl
sub eax, dword [esp + 0xb4]
mov dword [esp + 0x70], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x6c]
shr ecx, 0x10
mov dword [esp + 0x44], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x88]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x9c]
cmp edx, edi
jae 0x10096e4f
movd xmm5, dword [esp + 0x9c]
movd xmm6, dword [esp + 0x44]
movd xmm7, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
movd xmm4, ecx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop word [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x68]
subss xmm0, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0x80]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x5c]
comiss xmm0, xmm1
jbe 0x10096ddc
xorps xmm2, xmm2
jmp 0x10096de3
movaps xmm2, xmm3
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm6
shl ecx, 8
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0xb4]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0xa4]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x10096da0
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
movss xmm2, dword [esp + 0xb0]
inc eax
movss xmm4, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
cmp eax, 6
jl 0x10096b51
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x1015caa8]
mulss xmm0, dword [0x1015cad4]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x9c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1e], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x30]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x9c]
mulss xmm2, xmm3
mulss xmm0, dword [0x1015c9e4]
mulss xmm2, dword [0x1015c9e4]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x44], xmm3
addss xmm2, dword [esp + 0xa8]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x54], xmm2
je 0x10096f1e
mulss xmm0, dword [0x1015c9f0]
jmp 0x10096f26
mulss xmm0, dword [0x1015c9e8]
movaps xmm1, xmm0
movss dword [esp + 0x98], xmm0
mov ecx, esi
call fcn.1006ac50
movss xmm2, dword [esp + 0x98]
mov edi, eax
push edi
push dword [esp + 0xdc]
lea eax, [esp + 0x58]
mov dword [esp + 0x90], edi
push eax
mov ecx, esi
call fcn.1006dde0
test dword [esp + 0x10], 0xff000000
movss xmm5, dword [esp + 0x98]
movss xmm2, dword [0x1015ca30]
movaps xmm4, xmm5
mov esi, dword [esp + 0xcc]
addss xmm4, xmm2
movss xmm3, dword [0x1015c9e4]
je 0x10097057
comiss xmm3, xmm4
ja 0x10097057
test edi, edi
jg 0x10096fc2
mov edi, dword [esp + 0x64]
subss xmm4, xmm3
push ecx
push 0x30
push 0
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
movaps xmm2, xmm4
call fcn.1006bfc0
dec dword [edi + 0x54]
jmp 0x1009701a
cmp edi, 3
jge 0x10096fce
mov eax, 3
jmp 0x10096fde
cmp edi, 0x200
mov eax, edi
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm4, xmm3
cvtdq2ps xmm1, xmm1
mov edi, dword [esp + 0x64]
dec eax
push eax
push ecx
lea eax, [esp + 0x58]
mov ecx, edi
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x18]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
movss xmm2, dword [0x1015ca30]
movss xmm3, dword [0x1015c9e4]
movss xmm5, dword [esp + 0x98]
mov dword [edi + 0x54], 0
jmp 0x1009705b
mov edi, dword [esp + 0x64]
test dword [esp + 0x40], 0xff000000
je 0x1009710d
comiss xmm3, xmm5
ja 0x1009710d
mov eax, dword [esp + 0x88]
test eax, eax
jg 0x1009709a
push ecx
subss xmm5, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x5c]
push eax
movaps xmm2, xmm5
call fcn.1006bfc0
dec dword [edi + 0x54]
jmp 0x100970eb
cmp eax, 3
jge 0x100970a6
mov eax, 3
jmp 0x100970b3
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x54]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x48]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
mov dword [edi + 0x54], 0
movss xmm3, dword [esp + 0x9c]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x44]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x48]
movaps xmm0, xmm4
mov ecx, edi
mov eax, dword [0x10167324]
movss xmm7, dword [esp + 0xc8]
mulss xmm0, xmm1
push 3
movss xmm6, dword [esp + 0xc0]
movss xmm5, dword [esp + 0xb0]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
push 3
addss xmm2, xmm7
movss dword [esp + 0x78], xmm2
movss dword [esp + 0xa4], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x50]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm5, xmm3
addss xmm2, dword [esp + 0xb0]
movss dword [esp + 0x64], xmm2
movss dword [esp + 0xa8], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
addss xmm5, xmm6
addss xmm1, xmm7
addss xmm5, dword [esp + 0xb0]
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x94]
movaps xmm0, xmm1
movss dword [esp + 0xb4], xmm5
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss dword [esp + 0x54], xmm5
movss xmm0, dword [eax + 0x3dd4]
addss xmm1, xmm6
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 0x3dd8]
movss dword [esp + 0x4c], xmm0
addss xmm2, xmm7
addss xmm1, dword [esp + 0xb0]
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x5c], xmm1
call fcn.1006ad00
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov edx, dword [esp + 0xa0]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x44]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x9c]
mov dword [eax], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x28]
mov word [eax], cx
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x48]
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x4c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
push ecx
mov dword [esp], 0x3fc00000
push dword [esp + 0x14]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x58]
add dword [edi + 0x34], 0x14
mov ecx, edi
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.1006dbb0
movss xmm3, dword [0x1015ca30]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x58]
comiss xmm2, xmm0
jbe 0x10097353
xorps xmm5, xmm5
jmp 0x1009735a
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [esp + 0x24]
comiss xmm2, xmm0
jbe 0x1009736a
xorps xmm4, xmm4
jmp 0x10097371
movaps xmm4, xmm3
minss xmm4, xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x80]
movss xmm1, dword [esp + 0x48]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x80]
subss xmm1, xmm0
mulss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x100], xmm1
mulss xmm0, xmm4
movss xmm4, dword [esp + 0xac]
addss xmm0, dword [esp + 0x8c]
subss xmm4, xmm0
mulss xmm4, xmm5
addss xmm4, xmm0
movss dword [esp + 0x104], xmm4
jmp 0x10097754
test dword [esp + 0x18], 0x2000000
je 0x1009775c
mov eax, dword [esp + 0x40]
mov ecx, edi
movss xmm0, dword [esp + 0xb8]
push eax
push edx
push edx
movss dword [esp + 0x120], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x130], xmm0
call fcn.1006d8e0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x114]
movss xmm0, dword [esp + 0xb8]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0x128], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x50]
mov ecx, edi
push eax
movss dword [esp + 0x130], xmm0
call fcn.1006d8e0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10006bd0
movss xmm3, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x1015ca30]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x100974ce
xorps xmm2, xmm2
jmp 0x100974d5
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x60]
movss xmm6, dword [esp + 0x50]
movss xmm3, dword [0x1015c9e4]
mulss xmm2, xmm7
movss xmm4, dword [0x1015caa8]
movss xmm5, dword [esp + 0xb8]
addss xmm2, xmm6
addss xmm6, xmm4
subss xmm5, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm6, xmm2
jbe 0x10097529
movss dword [esp + 0x100], xmm6
jmp 0x10097542
comiss xmm2, xmm5
jbe 0x10097539
movss dword [esp + 0x100], xmm5
jmp 0x10097542
movss dword [esp + 0x100], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x58]
comiss xmm0, xmm2
jbe 0x10097555
xorps xmm1, xmm1
jmp 0x10097559
minss xmm1, xmm2
movss xmm5, dword [esp + 0x28]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm4
addss xmm1, xmm5
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm5
addss xmm1, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10097597
movss dword [esp + 0x104], xmm1
jmp 0x100975b0
comiss xmm2, xmm0
jbe 0x100975a7
movss dword [esp + 0x104], xmm0
jmp 0x100975b0
movss dword [esp + 0x104], xmm2
movss xmm0, dword [esp + 0x5c]
movaps xmm1, xmm7
divss xmm1, dword [0x1015cafc]
mov esi, dword [esp + 0x64]
xor ecx, ecx
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x78], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe8]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x11c]
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x120], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xec]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x94], xmm0
call fcn.1006d8e0
movss xmm1, dword [esp + 0x88]
mov ecx, edi
movss xmm5, dword [esp + 0x28]
cmp ecx, 6
jl 0x100975f0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xb0]
push dword [esp + 0x4c]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm5
push dword [esp + 0x4c]
movss dword [esp + 0x5c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10006bd0
mov esi, dword [esp + 0xdc]
movss xmm1, dword [esp + 0x94]
addss xmm1, dword [0x1015caa8]
mov edi, dword [esp + 0x74]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm2
addss xmm0, dword [0x1015ca30]
movss xmm2, dword [esp + 0xc0]
push dword [esp + 0x5c]
subss xmm2, dword [0x1015ca30]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x74]
push dword [esp + 0x5c]
movss dword [esp + 0x68], xmm2
addss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1015c9e4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3954]
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10094c00
movss xmm3, dword [0x1015ca30]
add esp, 0x20
movss xmm6, dword [0x1015c9e4]
cmp byte [esp + 0x17], 0
je 0x1009777b
movss xmm4, dword [0x1015cb18]
mov ecx, 0xa
movss dword [esp + 0xc0], xmm4
jmp 0x10097788
movss xmm4, dword [0x1015cafc]
mov ecx, 6
test dword [esp + 0x94], 0xff000000
mov eax, dword [edi + 0x2c]
movzx eax, byte [eax + ecx + 0x1bc]
mov dword [esp + 0x5c], eax
je 0x10097844
comiss xmm6, xmm4
ja 0x10097844
test eax, eax
jg 0x100977d1
push ecx
push 0x30
push 0
lea eax, [esp + 0x10c]
movaps xmm2, xmm4
push eax
mov ecx, edi
call fcn.1006bfc0
dec dword [edi + 0x54]
jmp 0x10097825
cmp eax, 3
jge 0x100977dd
mov ecx, 3
jmp 0x100977ec
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0x108]
mov ecx, edi
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, xmm3
xorps xmm3, xmm3
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
push dword [esp + 0x94]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006bbf0
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x54], 0
test dword [esp + 0x10], 0xff000000
movss xmm5, dword [esp + 0xc0]
movss xmm2, dword [0x1015ca30]
movaps xmm4, xmm5
movss xmm3, dword [0x1015c9e4]
addss xmm4, xmm2
je 0x10097932
comiss xmm3, xmm4
ja 0x10097932
test eax, eax
jg 0x1009789f
push ecx
subss xmm4, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x10c]
push eax
movaps xmm2, xmm4
call fcn.1006bfc0
dec dword [edi + 0x54]
jmp 0x100978f7
cmp eax, 3
jge 0x100978ab
mov ecx, 3
jmp 0x100978ba
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, edi
lea eax, [esp + 0x108]
subss xmm4, xmm3
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x18]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
movss xmm2, dword [0x1015ca30]
movss xmm3, dword [0x1015c9e4]
movss xmm5, dword [esp + 0xc0]
mov dword [edi + 0x54], 0
test dword [esp + 0x40], 0xff000000
je 0x100979e7
comiss xmm3, xmm5
ja 0x100979e7
mov eax, dword [esp + 0x5c]
test eax, eax
jg 0x10097971
push ecx
subss xmm5, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x10c]
push eax
movaps xmm2, xmm5
call fcn.1006bfc0
dec dword [edi + 0x54]
jmp 0x100979c5
cmp eax, 3
jge 0x1009797d
mov eax, 3
jmp 0x1009798a
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x104]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x48]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
mov dword [edi + 0x54], 0
cmp dword [esp + 0xd4], 0x10000
jne 0x10097ba0
mov eax, dword [esp + 0x20]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x10097a11
movss dword [esp + 0x5c], xmm1
jmp 0x10097a23
movss xmm0, dword [0x1015ca30]
minss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movss xmm3, dword [esp + 0xd0]
xor edx, edx
movss xmm0, dword [esp + 0x28]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x84]
mov ecx, dword [esp + 0x64]
movss dword [esp + 0x118], xmm0
addss xmm0, dword [esp + 0x60]
mov dword [esp + 0x4c], 0
push dword [esp + 0x4c]
mov dword [esp + 0x4c], 0
push dword [esp + 0x4c]
movss dword [esp + 0x124], xmm2
subss xmm2, xmm3
movss dword [esp + 0x128], xmm0
push dword [esp + 0x128]
movss dword [esp + 0x120], xmm3
xorps xmm3, xmm3
push dword [esp + 0x128]
mov edi, dword [esp + 0x124]
push dword [esp + 0x128]
mulss xmm2, dword [0x1015c9e4]
push edi
push 0
call fcn.100737f0
mov ecx, dword [esp + 0xb0]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x128]
push eax
call fcn.1006d8e0
push dword [esp + 0x120]
xorps xmm0, xmm0
push dword [esp + 0x120]
push dword [esp + 0x120]
push edi
call fcn.10006bd0
movss xmm1, dword [0x1015ca30]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm2
movss xmm2, dword [esp + 0xe0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x6c]
push dword [esp + 0x5c]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
mulss xmm1, dword [esp + 0x78]
movss dword [esp + 0x68], xmm2
movss xmm2, dword [edi + 0x3954]
addss xmm1, dword [esp + 0x40]
addss xmm1, dword [0x1015c9e4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x9c]
addss xmm1, dword [0x1015caa8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10094c00
add esp, 0x20
jmp 0x10097ba4
mov edi, dword [esp + 0x2c]
call fcn.10017ae0
mov al, byte [esp + 0xb]
mov edx, dword [0x10167324]
test al, al
je 0x10097c82
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x134]
mov esi, dword [esp + 0x20]
sub eax, 4
mov dword [esp + 0x90], eax
jb 0x10097bff
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10097c08
mov eax, dword [esp + 0x90]
add ecx, 4
add esi, 4
sub eax, 4
mov dword [esp + 0x90], eax
jae 0x10097be0
cmp eax, 0xfffffffc
je 0x10097cb6
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10097c4c
cmp dword [esp + 0x90], 0xfffffffd
je 0x10097cb6
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10097c4c
cmp dword [esp + 0x90], 0xfffffffe
je 0x10097cb6
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10097c4c
cmp dword [esp + 0x90], 0xffffffff
je 0x10097cb6
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10097cb6
mov eax, dword [edi + 0x49a8]
test eax, eax
je 0x10097c7e
cmp word [edx + 0x5dc6], 0
jg 0x10097c7e
mov ecx, dword [edx + 0x40b0]
cmp ecx, eax
je 0x10097c6e
test ecx, ecx
jne 0x10097c77
mov word [edx + 0x40c0], 0x101
or dword [edx + 0x49b0], 4
mov al, byte [esp + 0xb]
cmp dword [esp + 0xe0], 0
jne 0x10097c96
mov dword [edi + 0x5d54], 0
mov ecx, dword [edx + 0x4064]
pop edi
pop esi
dec dword [ecx + 0x11c]
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x10097c82