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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
push esi
push edi
mov edi, edx
mov edx, ecx
mov ecx, dword [0x5d77a0]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov dword [esp + 0xa4], eax
cmp byte [eax + 0xaf], 0
je 0x462cf2
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x46a8], 1
mov esi, dword [eax + 0x264]
mov dword [esp + 0x34], esi
je 0x462d0f
movss xmm1, dword [ecx + 0x46ac]
jmp 0x462d17
movss xmm1, dword [eax + 0x1a0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x462d59
cmp dword [eax + 0x190], 0
movss xmm0, dword [eax + 0x228]
jne 0x462d39
cmp dword [ecx + 0x4a04], 0
je 0x462d41
movss xmm0, dword [eax + 0x1f8]
subss xmm0, dword [eax + 0xf0]
addss xmm0, xmm1
movss xmm1, dword [0x54e2a0]
maxss xmm1, xmm0
mov dword [ecx + 0x46a8], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.00436610
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x5994]
mov dword [esp + 0x110], eax
test eax, eax
jne 0x462da0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5994], eax
call fcn.00438e20
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xa8], ecx
test cl, 8
jne 0x462dd2
mov edx, ecx
mov ecx, edi
call fcn.00466100
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x40]
test ecx, 0x6000000
jne 0x462dfe
mov eax, dword [edx + 0x5990]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xa8]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x462e35
mov eax, dword [edx + 0x5990]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0xbc]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x462e4b
mov eax, dword [edx + 0x5990]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x37dc]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xf4], ecx
movss xmm0, dword [eax + 0xf4]
movss xmm3, dword [eax + 0xf0]
mov eax, dword [0x5d77a0]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm3
movss xmm4, dword [eax + 0x37c8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bb8]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x68], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xa8], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x134]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
addss xmm0, xmm2
movss dword [esp + 0x84], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x54e244]
cvttss2si esi, xmm0
mov dword [esp + 0xf8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x3c]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm2, xmm1
mulss xmm4, dword [0x54e260]
mulss xmm2, dword [0x54e234]
movaps xmm0, xmm4
movss dword [esp + 0x9c], xmm4
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x70], xmm2
movaps xmm3, xmm4
subss xmm3, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x68]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x54e224]
movaps xmm1, xmm3
mulss xmm2, dword [0x54e260]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x60]
movss dword [esp + 0x80], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc4], xmm2
subss xmm1, xmm0
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0x28], xmm1
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x54e400]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
mulss xmm2, dword [0x54e40c]
mov dword [esp + 0x2c], 0
movss xmm6, dword [0x54e318]
movss xmm5, dword [0x54e204]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xf8], xmm0
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x54e290]
movss xmm1, dword [edi + 4]
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xfc], xmm2
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x18], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x88], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xa4], xmm6
test eax, 0x8000000
je 0x463192
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x4630ee
movss xmm3, dword [0x54e410]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x58], xmm7
jbe 0x463117
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x54e3fc]
subss xmm0, xmm3
movss dword [esp + 0x58], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x54e640]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x28], xmm1
call fcn.004619b0
movss xmm0, dword [esp + 0x2c]
add esp, 8
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x24], xmm0
jmp 0x4631e4
test eax, 0x10000000
je 0x4631e4
lea eax, [esp + 0x74]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x94]
call fcn.004297c0
movss xmm0, dword [esp + 0x94]
add esp, 4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
mov ecx, dword [0x5d77a0]
lea edx, [ecx + 0x4788]
mov byte [esp + 0xe], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x46a0]
or eax, 8
mov dword [esp + 0x20], edx
mov dword [ecx + 0x46a0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x5c], eax
cmp dword [edx], ecx
jne 0x463250
test ecx, ecx
je 0x463230
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x463235
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00440a70
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x463830
movss xmm1, dword [esp + 0x30]
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x40]
movaps xmm0, xmm1
push ecx
mov ecx, 0x54c6ac
movss dword [esp + 0x50], xmm1
addss xmm0, dword [eax + 0x37dc]
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x4c], xmm0
call fcn.00457aa0
mov eax, dword [0x5d77a0]
add esp, 4
mov ecx, dword [eax + 0x3e94]
test ecx, ecx
je 0x463742
cmp ecx, dword [eax + 0x46bc]
jne 0x463742
mov eax, dword [esp + 0x40]
movss xmm0, dword [eax + 0x36b4]
subss xmm0, dword [esp + 0xc0]
movss xmm1, dword [eax + 0x36b0]
subss xmm1, dword [esp + 0xc4]
movss xmm4, dword [eax + 0xdc0]
movss xmm3, dword [eax + 0xdc4]
subss xmm4, dword [esp + 0xc4]
subss xmm3, dword [esp + 0xc0]
movaps xmm2, xmm0
movss dword [esp + 0x20], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x94], xmm1
movss xmm1, dword [0x54e2a0]
addss xmm2, xmm0
movss dword [esp + 0xf0], xmm4
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm1
movss dword [esp + 0xac], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x4633d9
movss xmm0, dword [esp + 0x9c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x4633d9
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x54e2f8]
xorps xmm0, xmm0
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x54e260]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x4633d1
addss xmm1, dword [0x54e2a0]
movss dword [esp + 0x18], xmm1
mov al, 1
mov byte [esp + 0xe], al
jmp 0x4633eb
mov al, byte [esp + 0xe]
movss xmm2, dword [0x54e2f8]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mov byte [esp + 0x1f], al
xorps xmm0, xmmword [0x54e650]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
movsd xmm0, qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x5c]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa0]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x94]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x20]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x20]
subss xmm3, xmm0
movss dword [esp + 0xb4], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x94]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x84]
subss xmm0, dword [esp + 0x98]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xa0]
movss dword [esp + 0x94], xmm5
movss dword [esp + 0x5c], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x98]
movss dword [esp + 0x6c], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x84]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x84]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x46373a
movss xmm0, dword [esp + 0x98]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x28]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0x28]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x46373a
movss xmm1, dword [esp + 0xb4]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0xf0]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xf0]
mulss xmm0, dword [esp + 0xac]
mulss xmm6, dword [esp + 0xac]
movss xmm4, dword [esp + 0xa0]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x48], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x4c], xmm6
subss xmm0, dword [esp + 0x98]
mulss xmm1, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0x94]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x84]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x463640
movss xmm3, dword [esp + 0x28]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x98]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x463683
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x100]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x114]
call fcn.00428df0
movss xmm3, dword [esp + 0x34]
add esp, 0xc
movss xmm4, dword [esp + 0xa0]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x98]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x84]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x54e2a0]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
movss xmm3, dword [0x54e218]
subss xmm5, xmm0
movss dword [esp + 0x24], xmm3
comiss xmm3, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x46370b
movaps xmm0, xmm3
jmp 0x463712
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm2, xmm0
movss dword [esp + 0x58], xmm0
comiss xmm3, xmm2
ja 0x46372e
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x24], xmm3
mov byte [esp + 0x17], 1
mov byte [esp + 0xe], 1
jmp 0x463742
mov al, byte [esp + 0xe]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x463754
mov ecx, 0x54c6b0
call fcn.00439e80
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x30]
cmp dword [esp + 0xf4], 0x10000
mov esi, dword [esp + 0xec]
jne 0x463abe
mov ecx, dword [0x5d77a0]
lea edx, [esp + 0x48]
movss xmm0, dword [esp + 0xe8]
push ecx
movss dword [esp + 0x50], xmm4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, 0x54c6c8
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 0xf4], xmm3
mov byte [eax + 0x131], 1
movss dword [esp + 0x4c], xmm0
call fcn.00457aa0
mov eax, dword [0x5d77a0]
add esp, 4
mov ecx, dword [eax + 0x3e94]
test ecx, ecx
je 0x463abe
cmp ecx, dword [eax + 0x46bc]
jne 0x463abe
mov eax, dword [esp + 0x40]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [0x54e2a0]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdc4]
subss xmm3, dword [esp + 0x3c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x463aa6
xorps xmm4, xmm4
jmp 0x463aad
test eax, 0x2000000
je 0x463754
movss xmm0, dword [esp + 0x30]
lea edx, [esp + 0x48]
push ecx
mov ecx, 0x54c6b8
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm0
call fcn.00457aa0
mov ecx, dword [0x5d77a0]
add esp, 4
mov eax, dword [ecx + 0x3e94]
test eax, eax
je 0x4639a0
cmp eax, dword [ecx + 0x46bc]
jne 0x4639a0
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x30]
movss xmm1, dword [0x54e2a0]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0x60]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x4638b7
movss dword [esp + 0x24], xmm0
jmp 0x4638c4
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x24], xmm3
movss xmm2, dword [eax + 0xdc4]
subss xmm2, dword [esp + 0x3c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x4638e0
xorps xmm3, xmm3
jmp 0x4638e7
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5998]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x58], xmm2
cmp eax, dword [ecx + 0x5994]
jne 0x463998
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x46391e
xorps xmm2, xmm2
jmp 0x463925
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x54e3a4]
movss xmm3, dword [0x54e260]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x46394b
xorps xmm2, xmm2
jmp 0x463952
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 0x46396d
xorps xmm1, xmm1
jmp 0x463971
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x59a4], eax
jne 0x463998
movss xmm0, dword [ecx + 0x599c]
movss dword [esp + 0x18], xmm0
mov al, 1
mov byte [esp + 0xe], al
jmp 0x4639a4
mov al, byte [esp + 0xe]
mov byte [esp + 0x17], al
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x4639c4
mov ecx, 0x54c6bc
call fcn.00439e80
mov ecx, dword [0x5d77a0]
mov eax, dword [ecx + 0x3e48]
lea edx, [esp + 0x48]
movss xmm0, dword [esp + 0x78]
push ecx
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, 0x54c6c4
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x34]
mov byte [eax + 0x131], 1
movss dword [esp + 0x50], xmm0
call fcn.00457aa0
mov eax, dword [0x5d77a0]
add esp, 4
mov ecx, dword [eax + 0x3e94]
test ecx, ecx
je 0x463754
mov dl, byte [esp + 0xe]
mov byte [esp + 0x17], dl
cmp ecx, dword [eax + 0x46bc]
jne 0x463754
mov eax, dword [esp + 0x40]
movss xmm4, dword [esp + 0x30]
movss xmm3, dword [esp + 0x3c]
movaps xmm0, xmm4
movss xmm1, dword [0x54e2a0]
movss xmm2, dword [eax + 0xdc4]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x463a89
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xf]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0x17], al
jmp 0x463760
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xe], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x5d77a0]
dec dword [edx + 0x4788]
mov eax, dword [edx + 0x4790]
mov ecx, dword [edx + 0x4788]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46a0], eax
mov edx, dword [esp + 0x10]
test edx, 0x100
jne 0x463b09
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37dc]
call fcn.00438c10
call fcn.00438e20
mov edx, dword [esp + 0x10]
test dl, dl
js 0x463b71
mov ecx, dword [esp + 0x38]
cmp ecx, 0xffffffff
jae 0x463b71
mov al, byte [ecx]
mov byte [esp + 0xf], al
test al, al
je 0x463b2f
cmp al, 0x23
jne 0x463b29
cmp byte [ecx + 1], al
je 0x463b2f
inc ecx
cmp ecx, 0xffffffff
jb 0x463b16
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x463b71
test edx, 0x100
je 0x463b5f
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37dc]
call fcn.00438c10
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov edx, ecx
mov ecx, eax
push 0
call fcn.004566c0
mov edx, dword [esp + 0x14]
add esp, 4
test edx, 0x100
jne 0x463db1
mov eax, dword [0x5d77a0]
mov ecx, dword [eax + 0x46a0]
or ecx, 0x10
mov dword [eax + 0x46a0], ecx
add eax, 0x4788
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], ecx
cmp dword [eax], ecx
jne 0x463bee
mov edx, dword [eax]
inc edx
mov dword [esp + 0xac], edx
test ecx, ecx
je 0x463bd4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xac]
mov ecx, eax
mov eax, dword [esp + 0x38]
sar ecx, 1
add ecx, dword [esp + 0x6c]
jmp 0x463bd9
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.00440a70
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0xb4]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x38]
inc dword [eax]
test dl, 2
je 0x463c12
movss xmm1, dword [0x54e2a0]
jmp 0x463c17
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xec]
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 0x463c65
push str.Current
call fcn.00456d80
mov edx, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x68]
lea ecx, [esp + 0x48]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x54e2f4]
push ecx
mov dword [esp + 0xb8], edx
mov ecx, str.current
push edx
movss dword [esp + 0x74], xmm0
lea edx, [esp + 0xe0]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x54], xmm0
call fcn.00465340
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x463d86
push str.Original
call fcn.00456d80
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [ebp + 0xc]
je 0x463ceb
movss xmm1, dword [0x54e2a0]
jmp 0x463cf0
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]
lea eax, [esp + 0x48]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x6c]
push eax
push dword [esp + 0xb8]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x10c], xmm1
movss dword [esp + 0x54], xmm0
call fcn.00465340
add esp, 8
test al, al
je 0x463d86
xor eax, eax
cmp dword [esp + 0xa8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
mov edx, dword [0x5d77a0]
dec dword [edx + 0x4788]
mov eax, dword [edx + 0x4790]
mov ecx, dword [edx + 0x4788]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46a0], eax
call fcn.00438f50
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x1f], 0
jne 0x463dc3
cmp byte [esp + 0x17], 0
je 0x463ed5
test edx, 0x8000000
je 0x463ead
movss xmm2, dword [esp + 0x58]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x24]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.004297c0
mov ecx, dword [esp + 0x44]
add esp, 4
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x54e2a0]
mov eax, dword [ecx + 0x5994]
movss dword [ecx + 0x599c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x59a0], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5998], eax
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x463e41
xorps xmm2, xmm2
jmp 0x463e48
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x54e3a4]
movss xmm3, dword [0x54e260]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x463e6e
xorps xmm2, xmm2
jmp 0x463e75
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 0x463e90
xorps xmm1, xmm1
jmp 0x463e94
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x59a4], eax
jmp 0x463ed5
test edx, 0x10000000
je 0x463ed5
movss xmm0, dword [esp + 0x18]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xf], 0
test al, 0x20
jne 0x464117
cmp dword [esp + 0xf4], 0x10000
jne 0x463efe
movss xmm0, dword [esp + 0xe8]
jmp 0x463f04
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x60]
call fcn.00438cc0
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x38], ecx
test eax, 0x100000
jne 0x463f33
test eax, 0x700000
jne 0x463f7a
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.00461ab0
add esp, 4
test al, al
je 0x463f72
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x3e94], 0
je 0x463f68
cmp byte [eax + 0x3ea1], 0
mov byte [esp + 0xf], 1
je 0x463f6d
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x463f88
test eax, 0x700000
jne 0x463fa6
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.00461ab0
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x463fb4
test eax, 0x700000
jne 0x463fd1
mov eax, dword [esp + 0x38]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.00461ab0
add esp, 4
or byte [esp + 0xe], al
cmp byte [esp + 0xf], 0
mov ecx, dword [0x5d77a0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e48]
mov ecx, dword [edx + 0x1a8]
mov eax, dword [edx + 0x1b0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1a8], eax
mov eax, dword [esp + 0x10]
je 0x464117
test eax, 0x8000000
je 0x464117
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x46404d
movss xmm6, dword [0x54e410]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x46406a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x54e3fc]
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 [0x54e204]
movaps xmm7, xmm1
mulss xmm1, dword [0x54e318]
divss xmm7, xmm0
addss xmm1, dword [0x54e204]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x54e640]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x46411f
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x46411f
comiss xmm2, xmm4
jb 0x4640ec
movss xmm1, dword [esp + 0x58]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x4640e8
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x54e260]
jmp 0x464102
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x46411f
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x54e260]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.004297c0
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [0x54e640]
cmp byte [esp + 0xe], 0
je 0x464295
test eax, 0x8000000
je 0x464220
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x44], xmm1
jbe 0x464174
movss xmm4, dword [0x54e410]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x58], xmm3
jbe 0x46419d
movss xmm0, dword [0x54e3fc]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x58], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm0, dword [0x54e318]
addss xmm0, dword [0x54e204]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x54e204]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x28], xmm1
call fcn.004619b0
movss xmm3, dword [esp + 0x2c]
add esp, 8
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x46429b
test eax, 0x10000000
je 0x464295
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x74]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x88]
movss xmm0, dword [edi]
lea ecx, [esp + 0x90]
movss dword [esp + 0x58], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x28], xmm3
call fcn.004297c0
movss xmm0, dword [esp + 0x94]
add esp, 4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x3788]
comiss xmm0, xmm2
movss xmm0, dword [0x54e2a0]
jbe 0x4642bc
xorps xmm1, xmm1
jmp 0x4642c3
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x54e3a4]
mov dword [esp + 0x48], 0x3f800000
movss dword [esp + 0x54], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x4c], 0x3f800000
addss xmm1, dword [0x54e260]
mov dword [esp + 0x50], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x5c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x20], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x114], ecx
or eax, 0x808080
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x48]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x124], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x4c]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x50]
push eax
call fcn.004297c0
movss xmm3, dword [esp + 0x4c]
xorps xmm0, xmm0
movss xmm2, dword [0x54e2a0]
add esp, 4
comiss xmm0, xmm3
jbe 0x4643a7
xorps xmm1, xmm1
jmp 0x4643ae
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm5, dword [0x54e3a4]
movss xmm4, dword [0x54e260]
movss xmm3, dword [esp + 0x4c]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x4643da
xorps xmm1, xmm1
jmp 0x4643e1
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x50]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x464402
xorps xmm1, xmm1
jmp 0x464409
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x54]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
jbe 0x46442a
xorps xmm1, xmm1
jmp 0x464431
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x8c]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
comiss xmm0, xmm3
mov dword [esp + 0x94], eax
jbe 0x46445c
xorps xmm1, xmm1
jmp 0x464463
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x7c]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x46447f
xorps xmm1, xmm1
jmp 0x464486
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x44]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x4644a7
xorps xmm1, xmm1
jmp 0x4644ae
movaps xmm1, xmm2
minss xmm1, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x3788]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
ja 0x4644d3
movaps xmm0, xmm2
minss xmm0, xmm1
mov eax, dword [esp + 0x10]
mulss xmm0, xmm5
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
addss xmm0, xmm4
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x7c], edx
test eax, 0x4000000
je 0x464c90
movss xmm0, dword [esp + 0x9c]
movaps xmm3, xmm4
movss xmm5, dword [esp + 0x80]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm5, xmm0
movss dword [esp + 0xd8], xmm3
imul ecx
mulss xmm5, xmm4
mov ecx, 4
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movss dword [esp + 0xf8], xmm5
cmp eax, ecx
cmovle eax, ecx
xor esi, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], esi
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea eax, [esp + 0xd0]
mov edi, dword [ecx + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x54e318]
divss xmm1, dword [0x54e318]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x54e2f8]
mulss xmm1, dword [0x54e2f8]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x50], xmm1
call fcn.0044baf0
movss xmm0, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x28]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.0044a4b0
movss xmm0, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
mov dword [ecx + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x78], 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 + 0x80]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x38], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x38]
subss xmm2, dword [esp + 0x78]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + esi*4 + 0x114]
movss dword [esp + 0x38], xmm2
mulss xmm0, dword [esp + 0x80]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
addss xmm0, dword [esp + 0xc0]
subss xmm0, dword [esp + 0x90]
movaps xmm1, xmm0
movss dword [esp + 0xf0], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x54e2a0]
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x108], xmm0
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x6c], eax
movzx eax, cl
mov dword [esp + 0x88], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x8c], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x118]
mov dword [esp + 0x44], eax
movzx eax, cl
sub eax, dword [esp + 0x88]
mov dword [esp + 0xb4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x8c]
shr ecx, 0x10
mov dword [esp + 0xac], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x6c]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x44]
cmp edx, edi
jae 0x464855
movd xmm4, dword [esp + 0x44]
movd xmm5, dword [esp + 0xac]
movd xmm6, dword [esp + 0x8c]
movd xmm7, dword [esp + 0xb4]
mov esi, dword [esp + 0x88]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x90]
subss xmm0, dword [esp + 0x78]
mulss xmm1, dword [esp + 0xf0]
mulss xmm0, dword [esp + 0x38]
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x108]
comiss xmm0, xmm1
jbe 0x4647f2
xorps xmm2, xmm2
jmp 0x4647f6
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm7
shl ecx, 8
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x54e2a0]
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 0x4647b1
mov esi, dword [esp + 0x10]
movss xmm5, dword [esp + 0xf8]
inc esi
movss xmm3, dword [esp + 0xd8]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], esi
cmp esi, 6
jl 0x464562
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x54e2e0]
mulss xmm0, dword [0x54e2f8]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1f], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x80]
addss xmm3, dword [esp + 0x9c]
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm0, xmm3
movss dword [esp + 0x60], xmm2
mulss xmm0, dword [0x54e260]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm0, dword [0x54e260]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0x70]
je 0x464930
mulss xmm0, dword [0x54e26c]
jmp 0x464938
mulss xmm0, dword [0x54e264]
mov ecx, dword [esp + 0x34]
movaps xmm1, xmm0
movss dword [esp + 0x70], xmm0
call fcn.0044a0d0
mov esi, dword [esp + 0x94]
mov edi, eax
movss xmm2, dword [esp + 0x70]
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0x34]
push edi
push esi
push eax
call fcn.0044cbe0
movss xmm2, dword [esp + 0x70]
lea eax, [esp + 0xd8]
addss xmm2, dword [0x54e2a0]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x7c]
push eax
call fcn.0044cb20
movss xmm2, dword [esp + 0x70]
lea eax, [esp + 0xd8]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x28]
mov edi, dword [esp + 0x40]
mov ecx, edi
push eax
call fcn.0044cb20
movss xmm3, dword [esp + 0x44]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x60]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x28]
movaps xmm0, xmm5
mov eax, dword [0x5d77a0]
movss xmm6, dword [esp + 0xc4]
movaps xmm4, xmm3
mulss xmm0, xmm1
movss xmm7, dword [esp + 0xc0]
mulss xmm4, dword [esp + 0xa0]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xa0]
addss xmm2, xmm6
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0xb4], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x28]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x84]
mulss xmm5, dword [esp + 0x98]
addss xmm2, xmm7
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0xb8], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x84]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0x98]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x108], xmm4
addss xmm3, xmm7
movss dword [esp + 0xac], xmm4
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x3bc0]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xb0], xmm3
movss dword [esp + 0x60], xmm0
mov ecx, edi
movss xmm0, dword [eax + 0x3bc4]
push 3
push 3
movss dword [esp + 0xe0], xmm0
call fcn.0044a280
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov edx, dword [esp + 0xb8]
movss xmm0, dword [esp + 0x60]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xd8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
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 + 0x28]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb0]
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 + 0xac]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
push ecx
mov dword [esp], 0x3fc00000
push dword [esp + 0x78]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0xb4]
add dword [edi + 0x34], 0x14
mov ecx, edi
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0044c8f0
movss xmm1, dword [0x54e2a0]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x58]
comiss xmm0, xmm2
jbe 0x464c00
xorps xmm3, xmm3
jmp 0x464c07
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm2, dword [esp + 0x24]
comiss xmm0, xmm2
jbe 0x464c17
xorps xmm1, xmm1
jmp 0x464c1b
minss xmm1, xmm2
movss xmm0, dword [esp + 0xf8]
subss xmm0, dword [esp + 0x108]
movss xmm2, dword [esp + 0x28]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0x7c]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x108]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x48], xmm2
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x44]
subss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
jmp 0x465003
test eax, 0x2000000
je 0x464fff
movss xmm1, dword [esp + 0x60]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x20]
addss xmm0, xmm2
mov eax, dword [esp + 0x94]
addss xmm1, xmm2
push ecx
push eax
push eax
movss dword [esp + 0x34], xmm0
lea eax, [esp + 0x34]
movss xmm0, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x74]
movss dword [esp + 0xb0], xmm1
push eax
movss dword [esp + 0x44], xmm0
call fcn.0044c760
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xc8]
movss xmm0, dword [esp + 0x9c]
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
push 0
push 0
push eax
movss dword [esp + 0xdc], xmm0
lea eax, [esp + 0x74]
movss xmm0, dword [esp + 0x40]
push eax
movss dword [esp + 0xe4], xmm0
call fcn.0044c760
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xdc], xmm0
xorps xmm0, xmm0
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.0042b5c0
movss xmm3, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x54e2a0]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x464d91
xorps xmm2, xmm2
jmp 0x464d98
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x30]
movss xmm5, dword [esp + 0x60]
movss xmm4, dword [0x54e260]
mulss xmm2, xmm7
movss xmm6, dword [0x54e2e0]
addss xmm2, xmm5
addss xmm2, xmm4
cvttss2si eax, xmm2
movaps xmm2, xmm5
addss xmm5, xmm7
addss xmm2, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm5, xmm6
comiss xmm2, xmm3
jbe 0x464de7
movss dword [esp + 0x48], xmm2
jmp 0x464dfa
comiss xmm3, xmm5
jbe 0x464df4
movss dword [esp + 0x48], xmm5
jmp 0x464dfa
movss dword [esp + 0x48], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x58]
comiss xmm0, xmm2
jbe 0x464e0d
xorps xmm1, xmm1
jmp 0x464e11
minss xmm1, xmm2
movss xmm3, dword [esp + 0x3c]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x464e4c
movss dword [esp + 0x4c], xmm1
jmp 0x464e5f
comiss xmm2, xmm0
jbe 0x464e59
movss dword [esp + 0x4c], xmm0
jmp 0x464e5f
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0x78]
movaps xmm1, xmm7
divss xmm1, dword [0x54e318]
mov esi, dword [esp + 0x34]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm2
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x60], xmm1
movss dword [esp + 0xc8], xmm0
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x118]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xd0]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xd4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x11c]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x44], xmm0
call fcn.0044c760
movss xmm1, dword [esp + 0x60]
mov ecx, edi
movss xmm3, dword [esp + 0x3c]
cmp ecx, 6
jl 0x464ea0
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x78]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x30]
movaps xmm1, xmm3
movss dword [esp + 0x64], xmm2
addss xmm1, dword [esp + 0x68]
movss dword [esp + 0x60], 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 + 0x6c]
push dword [esp + 0x6c]
call fcn.0042b5c0
mov esi, dword [esp + 0xfc]
movss xmm1, dword [esp + 0x78]
addss xmm1, dword [0x54e2e0]
mov edi, dword [esp + 0x44]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [0x54e2a0]
movss xmm2, dword [esp + 0x88]
push dword [esp + 0x3c]
subss xmm2, dword [0x54e2a0]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x44]
push dword [esp + 0x3c]
movss dword [esp + 0x78], xmm2
addss xmm0, dword [esp + 0x54]
addss xmm0, dword [0x54e260]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x58]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3788]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.00462a90
mov edx, dword [esp + 0x9c]
add esp, 0x20
jmp 0x465003
mov edi, dword [esp + 0x34]
cmp byte [esp + 0x17], 0
mov ecx, dword [edi + 0x2c]
je 0x465025
movss xmm0, dword [0x54e328]
mov eax, 0xa
movss dword [esp + 0xa4], xmm0
jmp 0x465032
movss xmm0, dword [0x54e318]
mov eax, 6
movzx edi, byte [ecx + eax + 0x1bc]
movaps xmm2, xmm0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x48]
push edi
push edx
push eax
call fcn.0044cbe0
movss xmm2, dword [esp + 0xa4]
lea eax, [esp + 0x48]
addss xmm2, dword [0x54e2a0]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x7c]
push eax
call fcn.0044cb20
movss xmm2, dword [esp + 0xa4]
lea eax, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x28]
push eax
call fcn.0044cb20
cmp dword [esp + 0xf4], 0x10000
jne 0x465256
mov eax, dword [esp + 0xbc]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x4650ca
movss dword [esp + 0x5c], xmm1
jmp 0x4650dc
movss xmm0, dword [0x54e2a0]
minss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movss xmm3, dword [esp + 0xe8]
xor edx, edx
movss xmm0, dword [esp + 0x3c]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
movss dword [esp + 0xcc], xmm0
addss xmm0, dword [esp + 0x30]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
movss dword [esp + 0xd8], xmm2
subss xmm2, xmm3
movss dword [esp + 0xdc], xmm0
push dword [esp + 0xdc]
movss dword [esp + 0xd4], xmm3
xorps xmm3, xmm3
push dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
push dword [esp + 0xdc]
mulss xmm2, dword [0x54e260]
push edi
push 0
call fcn.00451220
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 + 0x44]
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0044c760
push dword [esp + 0xd4]
xorps xmm0, xmm0
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push edi
call fcn.0042b5c0
movss xmm1, dword [0x54e2a0]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xf8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x6c]
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x48]
movss dword [esp + 0x60], xmm2
movss xmm2, dword [edi + 0x3788]
addss xmm1, dword [esp + 0x54]
addss xmm1, dword [0x54e260]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x54e2e0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00462a90
add esp, 0x20
jmp 0x46525a
mov edi, dword [esp + 0x40]
call fcn.00438f50
mov dl, byte [esp + 0xe]
test dl, dl
je 0x465337
mov ecx, dword [esp + 0xbc]
lea esi, [esp + 0x130]
xor edx, edx
cmp dword [esp + 0xa8], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x4652a2
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4652ab
add esi, 4
add ecx, 4
sub edx, 4
jae 0x465291
cmp edx, 0xfffffffc
je 0x465335
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x4652dc
cmp edx, 0xfffffffd
je 0x465335
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x4652dc
cmp edx, 0xfffffffe
je 0x465335
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x4652dc
cmp edx, 0xffffffff
je 0x465335
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x465335
mov ecx, dword [edi + 0x46bc]
mov eax, dword [0x5d77a0]
test ecx, ecx
je 0x465309
mov edx, dword [eax + 0x3e94]
cmp edx, ecx
je 0x4652f9
test edx, edx
jne 0x465302
mov word [eax + 0x3ea4], 0x101
or dword [eax + 0x46c4], 4
mov dl, byte [esp + 0xe]
cmp dword [esp + 0x110], 0
jne 0x465321
mov dword [edi + 0x5994], 0
mov ecx, dword [eax + 0x3e48]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xe4]
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [0x5d77a0]
jmp 0x46530d