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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x4bf380]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x56e3a0]
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [ecx + 0x3da8]
mov edi, edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x40], ecx
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x3da8]
mov dword [esp + 0xbc], edx
cmp byte [edx + 0x8f], 0
je 0x4407b3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00485c99
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x3e3c], 1
mov eax, dword [edx + 0x244]
mov dword [esp + 0x44], eax
je 0x4407d0
movss xmm1, dword [ecx + 0x3e40]
jmp 0x4407d8
movss xmm1, dword [edx + 0x180]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x44081a
cmp dword [edx + 0x170], 0
movss xmm0, dword [edx + 0x208]
jne 0x4407fa
cmp dword [ecx + 0x416c], 0
je 0x440802
movss xmm0, dword [edx + 0x1d8]
subss xmm0, dword [edx + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x492d90]
maxss xmm1, xmm0
mov dword [ecx + 0x3e3c], 0
mov ecx, dword [esp + 0x54]
cvttss2si esi, xmm1
call fcn.00416ca0
call fcn.00417b30
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0x84], ecx
test cl, 8
jne 0x440863
mov edx, ecx
mov ecx, edi
call fcn.00443e50
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
test ecx, 0x6000000
jne 0x44088f
mov eax, dword [edx + 0x50cc]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x4408c9
mov eax, dword [edx + 0x50cc]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x9c]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x4408df
mov eax, dword [edx + 0x50cc]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x377c]
and eax, 2
movd xmm5, esi
mov dword [esp + 0x84], eax
and ecx, 0x10002
mov eax, dword [esp + 0xbc]
cvtdq2ps xmm5, xmm5
mov dword [esp + 0xa0], ecx
movss xmm0, dword [eax + 0xd4]
movss xmm4, dword [eax + 0xd0]
mov eax, dword [0x56e3a0]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm4
movss xmm3, dword [eax + 0x3768]
addss xmm3, xmm3
addss xmm3, dword [eax + 0x3b44]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm3
movss dword [esp + 0x5c], xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x84], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm3
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x118]
subss xmm5, xmm1
movaps xmm1, xmm4
push edi
push eax
maxss xmm0, xmm5
addss xmm1, xmm0
movss dword [esp + 0x30], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xc0], xmm1
addss xmm0, xmm3
addss xmm0, xmm2
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x492d10]
cvttss2si esi, xmm0
mov dword [esp + 0xd4], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x30]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x492d38]
mulss xmm3, dword [0x492cfc]
movaps xmm0, xmm4
movss dword [esp + 0x70], xmm4
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x8c], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x5c]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x492cec]
movaps xmm1, xmm2
mulss xmm3, dword [0x492d38]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x48]
movss dword [esp + 0x88], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xe8], xmm3
subss xmm1, xmm0
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x492f00]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
mulss xmm2, dword [0x492f0c]
mov dword [esp + 0x2c], 0
movss xmm3, dword [0x492e20]
movss xmm6, dword [0x492cc4]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x492d74]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0xdc], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x28], xmm1
movaps xmm2, xmm0
movss xmm1, dword [edi + 4]
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x80], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0xbc], xmm3
test eax, 0x8000000
je 0x440c26
comiss xmm7, xmm1
xorps xmm4, xmm4
movaps xmm2, xmm1
movaps xmm5, xmm7
jbe 0x440b82
movss xmm4, dword [0x492f10]
movaps xmm2, xmm7
movaps xmm5, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x58], xmm7
jbe 0x440bab
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x492efc]
subss xmm0, xmm4
movss dword [esp + 0x58], xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm7
minss xmm0, xmm5
movaps xmm1, xmm7
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x493160]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm1
call fcn.0043f3e0
movss xmm0, dword [esp + 0x28]
add esp, 8
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x20], xmm0
jmp 0x440c75
test eax, 0x10000000
je 0x440c75
lea eax, [esp + 0x6c]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x98]
call fcn.0040b3b0
movss xmm0, dword [esp + 0x98]
add esp, 4
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x7c], xmm0
mov ecx, dword [0x56e3a0]
lea edx, [ecx + 0x3f1c]
mov byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf], 0
mov eax, dword [ecx + 0x3e38]
or eax, 8
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x3e38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xc4], eax
cmp dword [edx], ecx
jne 0x440ce4
test ecx, ecx
je 0x440cc4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x440cc9
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041ea40
mov edi, dword [esp + 0x9c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0xc4]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x4412ed
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x40]
movaps xmm0, xmm1
push ecx
mov ecx, 0x490b4c
movss dword [esp + 0x40], xmm1
addss xmm0, dword [eax + 0x377c]
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x3c], xmm0
call fcn.00436b90
mov eax, dword [0x56e3a0]
add esp, 4
mov ecx, dword [eax + 0x3de0]
test ecx, ecx
je 0x4411da
cmp ecx, dword [eax + 0x3e50]
jne 0x4411da
mov eax, dword [esp + 0x40]
movss xmm0, dword [eax + 0x359c]
subss xmm0, dword [esp + 0xb8]
movss xmm1, dword [eax + 0x3598]
subss xmm1, dword [esp + 0xc0]
movss xmm4, dword [eax + 0xcc8]
movss xmm3, dword [eax + 0xccc]
subss xmm4, dword [esp + 0xc0]
subss xmm3, dword [esp + 0xb8]
movaps xmm2, xmm0
movss dword [esp + 0xd0], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x492d90]
addss xmm2, xmm0
movss dword [esp + 0x74], xmm4
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm1
movss dword [esp + 0xac], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x440e6a
movss xmm0, dword [esp + 0x70]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x440e6a
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x492df8]
xorps xmm0, xmm0
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x492d38]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x440e62
addss xmm1, dword [0x492d90]
movss dword [esp + 0x14], xmm1
mov al, 1
mov byte [esp + 0xd], al
jmp 0x440e7c
mov al, byte [esp + 0xd]
movss xmm2, dword [0x492df8]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x493180]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc4], xmm0
movsd xmm0, qword [esp + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0xc4]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa8]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x1c]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xd0]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xd0]
subss xmm3, xmm0
movss dword [esp + 0x98], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x1c]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x90]
subss xmm0, dword [esp + 0xa4]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xa8]
movss dword [esp + 0xc4], xmm5
movss dword [esp + 0xd0], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x38], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x90]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x90]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x4411d2
movss xmm0, dword [esp + 0xa4]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x28]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x28]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x4411d2
movss xmm1, dword [esp + 0x98]
movaps xmm7, xmm6
movss xmm2, dword [esp + 0xac]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x74]
mulss xmm7, dword [esp + 0x74]
movss xmm4, dword [esp + 0xa8]
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xac], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xb0], xmm6
subss xmm0, dword [esp + 0xa4]
mulss xmm1, dword [esp + 0xd0]
mulss xmm0, dword [esp + 0xc4]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x90]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x38]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x4410da
movss xmm0, dword [esp + 0xa4]
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x28]
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x28]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x44111a
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xe0]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x80]
call fcn.0040aa80
movss xmm4, dword [esp + 0xb4]
add esp, 0xc
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm3, dword [esp + 0xa4]
subss xmm6, xmm5
subss xmm7, dword [esp + 0x28]
subss xmm3, xmm5
movaps xmm1, xmm4
movss xmm4, dword [esp + 0x90]
subss xmm1, dword [esp + 0x28]
subss xmm4, xmm5
movaps xmm2, xmm3
mulss xmm3, xmm7
mulss xmm6, xmm1
movaps xmm0, xmm4
mulss xmm2, xmm1
mulss xmm0, xmm1
subss xmm3, xmm6
mulss xmm7, xmm4
subss xmm2, xmm0
movss xmm0, dword [0x492d90]
movaps xmm5, xmm0
subss xmm6, xmm7
divss xmm3, xmm2
divss xmm6, xmm2
movss xmm2, dword [0x492cd8]
subss xmm5, xmm3
movss dword [esp + 0x20], xmm2
comiss xmm2, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x4411a3
movaps xmm1, xmm2
jmp 0x4411aa
movaps xmm1, xmm0
minss xmm1, xmm5
divss xmm3, xmm1
movss dword [esp + 0x58], xmm1
comiss xmm2, xmm3
ja 0x4411c6
movaps xmm2, xmm0
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x4411da
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x4411e7
call fcn.00418c30
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0x24]
cmp dword [esp + 0xa0], 0x10000
mov esi, dword [esp + 0xc8]
jne 0x44159a
mov ecx, dword [0x56e3a0]
lea edx, [esp + 0xd8]
movss xmm0, dword [esp + 0xcc]
push ecx
movss dword [esp + 0xe0], xmm3
mov eax, dword [ecx + 0x3da8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x3da8]
mov ecx, str.alpha
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0xdc], xmm0
call fcn.00436b90
mov eax, dword [0x56e3a0]
add esp, 4
mov ecx, dword [eax + 0x3de0]
test ecx, ecx
je 0x44159a
cmp ecx, dword [eax + 0x3e50]
jne 0x44159a
mov eax, dword [esp + 0x40]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x492d90]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xccc]
subss xmm3, dword [esp + 0x34]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x441582
xorps xmm4, xmm4
jmp 0x441589
test eax, 0x2000000
je 0x4411e7
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0xd8]
push ecx
mov ecx, 0x490b50
movss dword [esp + 0xdc], xmm0
movss dword [esp + 0xe0], xmm0
call fcn.00436b90
mov edx, dword [0x56e3a0]
add esp, 4
mov eax, dword [edx + 0x3de0]
test eax, eax
je 0x441454
cmp eax, dword [edx + 0x3e50]
jne 0x441454
mov ecx, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x24]
movss xmm1, dword [0x492d90]
subss xmm4, xmm1
movss xmm3, dword [ecx + 0xcc8]
subss xmm3, dword [esp + 0x48]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x44137d
movss dword [esp + 0x20], xmm0
jmp 0x44138a
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
movss xmm2, dword [ecx + 0xccc]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x4413a6
xorps xmm3, xmm3
jmp 0x4413ad
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [edi + 4]
movaps xmm2, xmm1
movss xmm6, dword [edi + 8]
subss xmm2, xmm3
movss dword [esp + 0x58], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x4413d2
xorps xmm3, xmm3
jmp 0x4413d9
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x492e94]
movss xmm2, dword [0x492d38]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si esi, xmm3
jbe 0x4413ff
xorps xmm3, xmm3
jmp 0x441406
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or esi, eax
comiss xmm0, xmm6
jbe 0x441421
xorps xmm1, xmm1
jmp 0x441425
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, esi
cmp dword [ecx + 0x50d8], eax
jne 0x44144c
movss xmm0, dword [ecx + 0x50d0]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 0xd], al
jmp 0x441458
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x441473
call fcn.00418c30
mov edx, dword [0x56e3a0]
mov eax, dword [edx + 0x3da8]
movss xmm0, dword [esp + 0xb4]
movss xmm2, dword [esp + 0x34]
push ecx
mov byte [eax + 0x8c], 1
mov ecx, 0x490b54
mov eax, dword [edx + 0x3da8]
lea edx, [esp + 0xdc]
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0xe0], xmm0
call fcn.00436b90
mov eax, dword [0x56e3a0]
add esp, 4
mov ecx, dword [eax + 0x3de0]
test ecx, ecx
je 0x4411e7
mov dl, byte [esp + 0xd]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x3e50]
jne 0x4411e7
mov eax, dword [esp + 0x40]
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0x34]
movaps xmm0, xmm3
movss xmm1, dword [0x492d90]
movss xmm4, dword [eax + 0xccc]
subss xmm0, xmm1
subss xmm4, xmm2
divss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm4
ja 0x441565
movaps xmm0, xmm1
minss xmm0, xmm4
mov al, byte [esp + 0xe]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xf], al
jmp 0x4411f3
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xd], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x56e3a0]
dec dword [edx + 0x3f1c]
mov eax, dword [edx + 0x3f24]
mov ecx, dword [edx + 0x3f1c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3e38], eax
mov edx, dword [esp + 0x10]
test edx, 0x100
jne 0x4415e5
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x377c]
call fcn.004178f0
call fcn.00417b30
mov edx, dword [esp + 0x10]
test dl, dl
js 0x44164d
mov ecx, dword [esp + 0x54]
cmp ecx, 0xffffffff
jae 0x44164d
mov al, byte [ecx]
mov byte [esp + 0xe], al
test al, al
je 0x44160b
cmp al, 0x23
jne 0x441605
cmp byte [ecx + 1], al
je 0x44160b
inc ecx
cmp ecx, 0xffffffff
jb 0x4415f2
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je 0x44164d
test edx, 0x100
je 0x44163b
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x377c]
call fcn.004178f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edx, ecx
mov ecx, eax
push 0
call fcn.00435a20
mov edx, dword [esp + 0x14]
add esp, 4
test edx, 0x100
jne 0x441896
mov eax, dword [0x56e3a0]
mov ecx, dword [eax + 0x3e38]
or ecx, 0x10
mov dword [eax + 0x3e38], ecx
add eax, 0x3f1c
mov dword [esp + 0x98], ecx
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
cmp dword [eax], ecx
jne 0x4416ca
mov edx, dword [eax]
inc edx
mov dword [esp + 0xac], edx
test ecx, ecx
je 0x4416b0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xac]
mov ecx, eax
mov eax, dword [esp + 0x54]
sar ecx, 1
add ecx, dword [esp + 0x38]
jmp 0x4416b5
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.0041ea40
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x98]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x54]
inc dword [eax]
test dl, 2
je 0x4416ee
movss xmm1, dword [0x492d90]
jmp 0x4416f3
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xc8]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe4], xmm1
test dl, dl
jns 0x441741
push str.Current
call fcn.004360f0
mov edx, dword [esp + 0x14]
add esp, 4
movss xmm0, dword [esp + 0x5c]
and edx, 0x180e0040
movaps xmm1, xmm0
mov dword [esp + 0x98], edx
mulss xmm1, dword [0x492df4]
mov ecx, str.current
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x38], xmm1
movaps xmm1, xmm0
addss xmm1, xmm0
movss dword [esp + 0x78], xmm1
push dword [esp + 0x78]
movss dword [esp + 0xb0], xmm1
push dword [esp + 0x78]
push edx
lea edx, [esp + 0xe4]
call fcn.00442e00
add esp, 0xc
cmp dword [esp + 0x64], 0
je 0x44186b
push str.Original
call fcn.004360f0
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [esp + 0x64]
je 0x4417cc
movss xmm1, dword [0x492d90]
jmp 0x4417d1
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf8]
movss dword [esp + 0xf8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x108], xmm1
push dword [esp + 0x3c]
push dword [esp + 0xa0]
call fcn.00442e00
add esp, 0xc
test al, al
je 0x44186b
xor eax, eax
cmp dword [esp + 0x84], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x68]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xd], 1
mov edx, dword [0x56e3a0]
dec dword [edx + 0x3f1c]
mov eax, dword [edx + 0x3f24]
mov ecx, dword [edx + 0x3f1c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3e38], eax
call fcn.00417c60
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x1b], 0
jne 0x4418a8
cmp byte [esp + 0xf], 0
je 0x4419ae
test edx, 0x8000000
je 0x441986
movss xmm2, dword [esp + 0x58]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x20]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.0040b3b0
mov ecx, dword [esp + 0x44]
add esp, 4
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x492d90]
movss dword [ecx + 0x50d0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [ecx + 0x50d4], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x44191a
xorps xmm3, xmm3
jmp 0x441921
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x492e94]
movss xmm2, dword [0x492d38]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x441947
xorps xmm3, xmm3
jmp 0x44194e
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x441969
xorps xmm1, xmm1
jmp 0x44196d
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x50d8], eax
jmp 0x4419ae
test edx, 0x10000000
je 0x4419ae
movss xmm0, dword [esp + 0x14]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xe], 0
test al, 0x20
jne 0x441bf3
cmp dword [esp + 0xa0], 0x10000
jne 0x4419d7
movss xmm0, dword [esp + 0xcc]
jmp 0x4419e0
movss xmm0, dword [esp + 0xb4]
addss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x48]
call fcn.004179b0
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x64], ecx
test eax, 0x100000
jne 0x441a0f
test eax, 0x700000
jne 0x441a56
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.0043f4d0
add esp, 4
test al, al
je 0x441a4e
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x3de0], 0
je 0x441a44
cmp byte [eax + 0x3ded], 0
mov byte [esp + 0xe], 1
je 0x441a49
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x441a64
test eax, 0x700000
jne 0x441a82
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.0043f4d0
add esp, 4
or byte [esp + 0xd], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x441a90
test eax, 0x700000
jne 0x441aad
mov eax, dword [esp + 0x64]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.0043f4d0
add esp, 4
or byte [esp + 0xd], al
cmp byte [esp + 0xe], 0
mov ecx, dword [0x56e3a0]
mov eax, dword [ecx + 0x3da8]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x3da8]
mov ecx, dword [edx + 0x188]
mov eax, dword [edx + 0x190]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x180], eax
lea eax, [ecx - 1]
mov dword [edx + 0x188], eax
mov eax, dword [esp + 0x10]
je 0x441bf3
test eax, 0x8000000
je 0x441bf3
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x441b29
movss xmm6, dword [0x492f10]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x441b46
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x492efc]
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 [0x492cc4]
movaps xmm7, xmm1
mulss xmm1, dword [0x492e20]
divss xmm7, xmm0
addss xmm1, dword [0x492cc4]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x493160]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x441bfb
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm2
jbe 0x441bfb
comiss xmm2, xmm4
jb 0x441bc8
movss xmm1, dword [esp + 0x58]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x441bc4
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [0x492d38]
jmp 0x441bde
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x441bfb
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm1, dword [0x492d38]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.0040b3b0
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [0x493160]
cmp byte [esp + 0xd], 0
je 0x441d6b
test eax, 0x8000000
je 0x441cf9
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm3, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x68], xmm7
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x7c], xmm1
jbe 0x441c4d
movss xmm4, dword [0x492f10]
movaps xmm3, xmm1
movaps xmm5, xmm0
comiss xmm3, xmm7
movaps xmm2, xmm7
movss dword [esp + 0x58], xmm2
jbe 0x441c76
movss xmm0, dword [0x492efc]
movaps xmm2, xmm3
subss xmm0, xmm4
movss dword [esp + 0x58], xmm2
movaps xmm3, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x14], xmm2
minss xmm0, xmm5
movaps xmm1, xmm2
subss xmm3, xmm5
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x492e20]
addss xmm0, dword [0x492cc4]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x492cc4]
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmm6
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x24], xmm1
call fcn.0043f3e0
movss xmm3, dword [esp + 0x28]
add esp, 8
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x20], xmm0
jmp 0x441d71
test eax, 0x10000000
je 0x441d6b
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x6c]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x80]
movss xmm0, dword [edi]
lea ecx, [esp + 0x94]
movss dword [esp + 0x58], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x24], xmm3
call fcn.0040b3b0
movss xmm0, dword [esp + 0x98]
add esp, 4
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x7c], xmm0
movss xmm3, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3728]
comiss xmm0, xmm2
movss xmm0, dword [0x492d90]
jbe 0x441d92
xorps xmm1, xmm1
jmp 0x441d99
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x492e94]
mov dword [esp + 0xd8], 0x3f800000
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xdc], 0x3f800000
addss xmm1, dword [0x492d38]
mov dword [esp + 0xe0], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x64], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x54], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xf8], ecx
or eax, 0x808080
mov dword [esp + 0x110], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0xd8]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xfc], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x100], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xdc]
mov dword [esp + 0x10c], eax
lea eax, [esp + 0xe0]
push eax
call fcn.0040b3b0
movss xmm0, dword [esp + 0xdc]
xorps xmm1, xmm1
movss xmm2, dword [0x492d90]
add esp, 4
comiss xmm1, xmm0
jbe 0x441e95
xorps xmm3, xmm3
jmp 0x441e9c
movaps xmm3, xmm2
minss xmm3, xmm0
movss xmm4, dword [0x492e94]
movss xmm0, dword [0x492d38]
movss xmm5, dword [esp + 0xdc]
comiss xmm1, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x441ecb
xorps xmm3, xmm3
jmp 0x441ed2
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0xe0]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x441ef6
xorps xmm3, xmm3
jmp 0x441efd
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0xe4]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x441f21
xorps xmm3, xmm3
jmp 0x441f28
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x68]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
comiss xmm1, xmm5
mov dword [esp + 0x80], eax
jbe 0x441f50
xorps xmm3, xmm3
jmp 0x441f57
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x60]
comiss xmm1, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si edx, xmm3
jbe 0x441f73
xorps xmm3, xmm3
jmp 0x441f7a
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x7c]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm1, xmm5
jbe 0x441f9b
xorps xmm3, xmm3
jmp 0x441fa2
movaps xmm3, xmm2
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 0x40]
movss xmm5, dword [eax + 0x3728]
comiss xmm1, xmm5
jbe 0x441fc9
xorps xmm3, xmm3
jmp 0x441fd0
movaps xmm3, xmm2
minss xmm3, xmm5
mov eax, dword [esp + 0x10]
mulss xmm3, xmm4
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
addss xmm3, xmm0
cvttss2si ecx, xmm3
shl ecx, 0x18
or ecx, edx
mov dword [esp + 0x7c], ecx
test eax, 0x4000000
je 0x4426cd
movss xmm1, dword [esp + 0x70]
movaps xmm3, xmm0
movss xmm4, dword [esp + 0x88]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
mov esi, dword [esp + 0x44]
addss xmm4, xmm1
cvttss2si ecx, xmm1
mulss xmm4, xmm0
imul ecx
movss dword [esp + 0x38], xmm3
movss dword [esp + 0xac], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x60], eax
movd xmm1, eax
lea eax, [esp + 0xe8]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x492e20]
divss xmm1, dword [0x492e20]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x492df8]
mulss xmm1, dword [0x492df8]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0xa0], xmm1
call fcn.00429040
movss xmm0, dword [esp + 0x8c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x5c]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.00427bb0
movss xmm0, dword [esp + 0x68]
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 + 0x68]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0xd0], 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 + 0x88]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0x94]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x94]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [esp + 0x60]
mov edx, edi
cvtsd2ss xmm0, xmm0
mov ecx, esi
mulss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push dword [esp + eax*4 + 0x10c]
push dword [esp + eax*4 + 0x10c]
push dword [esi + 0x18]
call fcn.0042aa60
mov eax, dword [esp + 0x7c]
add esp, 0x1c
movss xmm2, dword [0x492d90]
inc eax
movss xmm3, dword [esp + 0x38]
cmp eax, 6
movss xmm4, dword [esp + 0xac]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x98]
jl 0x442060
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x492dd8]
mulss xmm0, dword [0x492df8]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x88]
addss xmm2, dword [esp + 0x70]
cvtsd2ss xmm3, xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm2
movss xmm1, dword [esp + 0x8c]
movss dword [esp + 0x38], xmm3
mulss xmm0, dword [0x492d38]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
mulss xmm0, dword [0x492d38]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x4c], xmm0
je 0x4422c1
mulss xmm1, dword [0x492d50]
jmp 0x4422c9
mulss xmm1, dword [0x492d3c]
movaps xmm0, xmm1
movss dword [esp + 0x8c], xmm1
divss xmm0, dword [0x492db0]
cvttss2si edi, xmm0
cmp edi, 9
jge 0x4422ed
mov edi, 9
jmp 0x4422f7
mov eax, 0x20
cmp edi, eax
cmovg edi, eax
push edi
push dword [esp + 0x84]
lea eax, [esp + 0x50]
movaps xmm2, xmm1
push eax
mov ecx, esi
call fcn.0042a0e0
movss xmm2, dword [esp + 0x8c]
lea eax, [esp + 0x48]
addss xmm2, dword [0x492d90]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x74]
push eax
call fcn.0042a020
movss xmm2, dword [esp + 0x8c]
lea eax, [esp + 0x48]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x5c]
push edi
push eax
call fcn.0042a020
movss xmm3, dword [esp + 0x1c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x38]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x28]
movaps xmm0, xmm5
mov eax, dword [0x56e3a0]
mov ecx, esi
movss xmm6, dword [esp + 0xc0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0xac]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xb0]
addss xmm2, xmm6
movss dword [esp + 0x78], xmm2
movss dword [esp + 0xe0], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x30]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x98]
mulss xmm5, dword [esp + 0xac]
addss xmm2, xmm7
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x98]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xac]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x68], xmm4
addss xmm3, xmm7
movss dword [esp + 0xf0], xmm4
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x3b4c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x3b50]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0xf4], xmm3
movss dword [esp + 0xb4], xmm0
call fcn.00427990
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x68]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0xac]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
mov edx, dword [esp + 0x80]
movss xmm5, dword [esp + 0x28]
movss xmm4, dword [esp + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
movss xmm7, dword [esp + 0x60]
movss xmm6, dword [esp + 0x1c]
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
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
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
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], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
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], xmm2
movss dword [eax + 4], xmm3
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
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
mov ecx, dword [esp + 0x64]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
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
inc dword [esi + 0x28]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
push ecx
mov dword [esp], 0x3fc00000
mov word [eax], cx
mov ecx, esi
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
push dword [esp + 0x70]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
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 + 0xf0]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00429df0
movss xmm0, dword [0x492d90]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x58]
comiss xmm1, xmm2
jbe 0x442647
xorps xmm5, xmm5
jmp 0x44264e
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x20]
comiss xmm1, xmm2
jbe 0x44265e
xorps xmm4, xmm4
jmp 0x442665
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x60]
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
mov esi, dword [esp + 0xc8]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x60]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x74], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x1c]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0x78], xmm2
jmp 0x442a30
test eax, 0x2000000
je 0x442a3b
movss xmm1, dword [esp + 0x48]
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm1
mov eax, dword [esp + 0x54]
addss xmm0, xmm2
mov ecx, dword [esp + 0x80]
addss xmm1, xmm2
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x50]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x40]
push eax
addss xmm0, xmm2
movss dword [esp + 0x80], xmm1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x44], xmm0
call fcn.00429c70
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xe8]
movss xmm0, dword [esp + 0x70]
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
push eax
movss dword [esp + 0xfc], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x40]
push eax
movss dword [esp + 0x104], xmm0
call fcn.00429c70
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.0040bd70
movss xmm2, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x492d90]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x4427bc
xorps xmm3, xmm3
jmp 0x4427c3
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x24]
movss xmm7, dword [esp + 0x48]
movss xmm2, dword [0x492d38]
mulss xmm3, xmm4
movss xmm5, dword [0x492dd8]
addss xmm3, xmm7
addss xmm3, xmm2
cvttss2si eax, xmm3
movaps xmm3, xmm7
addss xmm7, xmm4
addss xmm3, xmm5
movd xmm6, eax
cvtdq2ps xmm6, xmm6
subss xmm7, xmm5
comiss xmm3, xmm6
jbe 0x442812
movss dword [esp + 0x74], xmm3
jmp 0x442825
comiss xmm6, xmm7
jbe 0x44281f
movss dword [esp + 0x74], xmm7
jmp 0x442825
movss dword [esp + 0x74], xmm6
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x58]
comiss xmm0, xmm3
jbe 0x442838
xorps xmm1, xmm1
jmp 0x44283c
minss xmm1, xmm3
movss xmm3, dword [esp + 0x34]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm5
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x442877
movss dword [esp + 0x78], xmm1
jmp 0x44288a
comiss xmm2, xmm0
jbe 0x442884
movss dword [esp + 0x78], xmm0
jmp 0x44288a
movss dword [esp + 0x78], xmm2
movss xmm2, dword [esp + 0xb4]
movaps xmm1, xmm4
divss xmm1, dword [0x492e20]
mov esi, dword [esp + 0x44]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0xd8], xmm2
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0xe8], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xfc]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xf0]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xf4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x100]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xec]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xf4], xmm0
call fcn.00429c70
movss xmm1, dword [esp + 0x38]
mov ecx, edi
movss xmm3, dword [esp + 0x34]
cmp ecx, 6
jl 0x4428d0
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0xb4]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x2c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm1
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.0040bd70
mov esi, dword [esp + 0xd8]
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x492dd8]
mov ecx, dword [esp + 0x54]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [0x492d90]
movss xmm2, dword [esp + 0xc4]
push dword [esp + 0x3c]
subss xmm2, dword [0x492d90]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0x3c]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x492d38]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x58]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3728]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00440530
add esp, 0x20
xorps xmm1, xmm1
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x9c]
cmp byte [esp + 0xf], 0
je 0x442a55
movss xmm2, dword [0x492e30]
movss dword [esp + 0xbc], xmm2
jmp 0x442a5d
movss xmm2, dword [0x492e20]
test ecx, 0xff000000
je 0x442aa7
comiss xmm1, xmm2
jae 0x442aa7
push 0xb
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x7c]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.00429040
mov eax, dword [esp + 0x44]
mov ecx, eax
push dword [esp + 0x7c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.00428890
mov eax, dword [esp + 0x44]
mov dword [eax + 0x54], 0
jmp 0x442aab
mov eax, dword [esp + 0x44]
test dword [esp + 0x6c], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xbc]
movaps xmm2, xmm1
addss xmm2, dword [0x492d90]
je 0x442b28
comiss xmm0, xmm2
jae 0x442b28
subss xmm2, dword [0x492d38]
push 0xb
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
mov ecx, eax
call fcn.00429040
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x74]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.00427bb0
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xbc]
mov dword [eax + 0x54], 0
test dword [esp + 0x54], 0xff000000
je 0x442b85
comiss xmm0, xmm1
jae 0x442b85
subss xmm1, dword [0x492d38]
push 0xb
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm1
mov ecx, eax
call fcn.00429040
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x5c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.00427bb0
mov eax, dword [esp + 0x44]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xa0], 0x10000
jne 0x442d39
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x442bae
movss dword [esp + 0xa0], xmm1
jmp 0x442bc3
movss xmm0, dword [0x492d90]
minss xmm0, xmm2
movss dword [esp + 0xa0], xmm0
movss xmm3, dword [esp + 0xcc]
xor edx, edx
movss xmm0, dword [esp + 0x34]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x5c]
movss dword [esp + 0xec], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x24]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
movss dword [esp + 0xf8], xmm2
subss xmm2, xmm3
movss dword [esp + 0xfc], xmm0
push dword [esp + 0xfc]
movss dword [esp + 0xf4], xmm3
xorps xmm3, xmm3
push dword [esp + 0xfc]
mov edi, dword [esp + 0xf8]
push dword [esp + 0xfc]
mulss xmm2, dword [0x492d38]
push edi
push 0
call fcn.0042ed10
mov ecx, dword [esp + 0x98]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.00429c70
push dword [esp + 0xf4]
xorps xmm0, xmm0
push dword [esp + 0xf4]
push dword [esp + 0xf4]
push edi
call fcn.0040bd70
movss xmm1, dword [0x492d90]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xdc]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xb0]
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x60], xmm2
addss xmm1, dword [esp + 0x4c]
addss xmm1, dword [0x492d38]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x492dd8]
movd xmm0, eax
mov eax, dword [esp + 0x58]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3728]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00440530
add esp, 0x20
call fcn.00417c60
cmp byte [esp + 0xd], 0
mov edi, dword [0x56e3a0]
je 0x442dcf
mov ecx, dword [esp + 0x9c]
lea esi, [esp + 0x114]
xor edx, edx
cmp dword [esp + 0x84], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x442d86
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x442d8b
add esi, 4
add ecx, 4
sub edx, 4
jae 0x442d75
cmp edx, 0xfffffffc
je 0x442dca
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x442db8
cmp edx, 0xfffffffd
je 0x442dca
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x442db8
cmp edx, 0xfffffffe
je 0x442dca
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x442db8
cmp edx, 0xffffffff
je 0x442dca
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x442dca
or dword [edi + 0x3e58], 4
mov word [edi + 0x3df0], 0x101
jmp 0x442dcf
mov byte [esp + 0xd], 0
mov ecx, dword [edi + 0x3da8]
mov al, byte [esp + 0xd]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00485c99
mov esp, ebp
pop ebp
ret