Function at 0x413120
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
push ebx
mov ebx, ecx
mov dword [esp + 4], ebx
cmp byte [ebx + 0x8c], 0
jne 0x4140b5
push esi
push edi
call dword [sym.imp.OPENGL32.dll_glPushMatrix]
movss xmm0, dword [ebx + 0x40]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x3c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x38]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glTranslatef]
movss xmm0, dword [ebx + 0x2c]
sub esp, 0x10
mov esi, dword [sym.imp.OPENGL32.dll_glRotatef]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call esi
movss xmm0, dword [ebx + 0x30]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0
movss dword [esp], xmm0
call esi
movss xmm0, dword [ebx + 0x34]
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
movss dword [esp], xmm0
call esi
movss xmm0, dword [ebx + 0x28]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x20]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glScalef]
movss xmm0, dword [ebx + 0x4c]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x48]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x44]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor3f]
mov ebx, dword [sym.imp.OPENGL32.dll_glBegin]
push 7
call ebx
mov edi, dword [sym.imp.OPENGL32.dll_glVertex3f]
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f800000
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0
call edi
mov esi, dword [sym.imp.OPENGL32.dll_glEnd]
call esi
push 3
call ebx
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xbe4ccccd
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3fc00000
mov dword [esp], 0xbe4ccccd
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3fc00000
mov dword [esp], 0
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
xor ebx, ebx
test bl, 1
je 0x413342
movss xmm1, dword [0x41eca0]
jmp 0x413345
xorps xmm1, xmm1
movd xmm0, ebx
sub esp, 0xc
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0
mulss xmm0, dword [0x41e8a0]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call edi
inc ebx
cmp ebx, 8
jl 0x413333
call esi
mov esi, dword [sym.imp.OPENGL32.dll_glBegin]
push 3
call esi
xor ebx, ebx
test bl, 1
je 0x41338a
xorps xmm1, xmm1
jmp 0x413392
movss xmm1, dword [0x41eca0]
movd xmm0, ebx
sub esp, 0xc
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0
mulss xmm0, dword [0x41e8a0]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call edi
inc ebx
cmp ebx, 8
jl 0x413380
mov ebx, dword [sym.imp.OPENGL32.dll_glEnd]
call ebx
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 2
call esi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f800000
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0
call edi
call ebx
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 1
call esi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xbf800000
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call edi
call ebx
mov esi, dword [esp + 0xc]
cmp byte [esi + 0x64], 0
je 0x4140a9
cmp byte [esi + 0x98], 0
jne 0x4140a9
call dword [sym.imp.OPENGL32.dll_glPushMatrix]
movss xmm0, dword [esi + 0x34]
mulss xmm0, dword [0x41e88c]
mov esi, dword [esi + 0x70]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [0x41e8e0]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movsd xmm1, qword [esp + 0x28]
mov eax, dword [esp + 0xc]
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
cvtpd2ps xmm2, xmm1
movss xmm1, dword [esi + 4]
mulss xmm2, dword [eax + 0x24]
addss xmm2, dword [eax + 0x3c]
subss xmm1, xmm2
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x20], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [0x41e8e0]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movsd xmm1, qword [esp + 0x28]
mov eax, dword [esp + 0xc]
subsd xmm1, xmm0
movss xmm0, dword [esi]
fld qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
addss xmm1, dword [eax + 0x38]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
sub esp, 0xc
divsd xmm0, qword [0x41ec08]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f000000
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
call dword [sym.imp.OPENGL32.dll_glTranslatef]
mov esi, dword [esp + 0xc]
sub esp, 0x10
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esi + 0x34]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
subss xmm0, dword [0x41e9e8]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glRotatef]
movss xmm0, dword [esi + 0x4c]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x48]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x44]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor3f]
movsd xmm0, qword [0x41ecb8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
cvtsd2ss xmm0, xmm0
push 4
movss dword [esp + 0x14], xmm0
call dword [sym.imp.OPENGL32.dll_glBegin]
mov esi, 0xffffffec
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xba83126f
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x34], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x38]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x18]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 5
push ecx
mov dword [esp], 0xba83126f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x34], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x38]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x18]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
sub esp, 0xc
mov dword [esp + 8], 0xba83126f
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
cmp esi, 0x1e
jl 0x4136a4
call ebx
movsd xmm0, qword [0x41ec60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
cvtsd2ss xmm0, xmm0
push 4
movss dword [esp + 0x18], xmm0
call dword [sym.imp.OPENGL32.dll_glBegin]
mov esi, 0x96
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xba83126f
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x34], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x38]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x1c]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 5
push ecx
mov dword [esp], 0xba83126f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x34], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x38]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x1c]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
sub esp, 0xc
mov dword [esp + 8], 0xba83126f
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
cmp esi, 0xc8
jl 0x4137a5
call ebx
mov esi, dword [sym.imp.OPENGL32.dll_glBegin]
push 4
call esi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
movsd xmm0, qword [0x41ec70]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movsd xmm0, qword [0x41ec70]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [0x41ec60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movsd xmm1, qword [esp + 0x30]
sub esp, 0xc
subsd xmm1, xmm0
movss xmm0, dword [esp + 0x28]
mov dword [esp + 8], 0xba83126f
movss dword [esp + 4], xmm0
cvtpd2ps xmm1, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp], xmm1
call edi
movsd xmm0, qword [0x41ecb0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movsd xmm0, qword [0x41ecb0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [0x41ecb8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movsd xmm1, qword [esp + 0x30]
sub esp, 0xc
subsd xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
mov dword [esp + 8], 0xba83126f
movss dword [esp + 4], xmm0
cvtpd2ps xmm1, xmm1
movss dword [esp + 0x3c], xmm1
movss dword [esp], xmm1
call edi
call ebx
movsd xmm0, qword [0x41ec70]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
push 4
movss dword [esp + 0x10], xmm0
call esi
movss xmm1, dword [esp + 0xc]
mov esi, 0x78
mulss xmm1, dword [0x41e4f4]
movss dword [esp + 0x18], xmm1
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xbc23d70a
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 4
push ecx
mov dword [esp], 0xbc23d70a
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
movss xmm0, dword [esp + 0x18]
sub esp, 0xc
mov dword [esp + 8], 0xbc23d70a
movss dword [esp + 4], xmm0
mov dword [esp], 0
call edi
cmp esi, 0xb4
jl 0x4139b0
call ebx
push 4
call dword [sym.imp.OPENGL32.dll_glBegin]
mov esi, 0x78
nop word [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xbc23d70a
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 4
push ecx
mov dword [esp], 0xbc23d70a
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
movss xmm0, dword [esp + 0x18]
sub esp, 0xc
mov dword [esp + 8], 0xbc23d70a
movss dword [esp + 4], xmm0
mov dword [esp], 0
call edi
cmp esi, 0xb4
jl 0x413ac0
call ebx
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 1
call dword [sym.imp.OPENGL32.dll_glBegin]
mov esi, 0xffffffec
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xba83126f
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x18]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 5
push ecx
mov dword [esp], 0xba83126f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x18]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
cmp esi, 0x1e
jl 0x413bf8
call ebx
push 1
call dword [sym.imp.OPENGL32.dll_glBegin]
mov esi, 0x96
nop
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xba83126f
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x1c]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 5
push ecx
mov dword [esp], 0xba83126f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x1c]
cvtps2pd xmm1, xmm2
push ecx
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
cmp esi, 0xc8
jl 0x413cc0
call ebx
mov esi, dword [sym.imp.OPENGL32.dll_glBegin]
push 1
call esi
movss xmm0, dword [esp + 0x1c]
sub esp, 0xc
mov dword [esp + 8], 0xb727c5ac
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
call edi
movss xmm0, dword [esp + 0x20]
sub esp, 0xc
mov dword [esp + 8], 0xb727c5ac
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call edi
call ebx
push 1
call esi
mov esi, 0x78
nop word [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0xba83126f
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 4
push ecx
mov dword [esp], 0xba83126f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
cmp esi, 0xb4
jl 0x413de0
call ebx
mov esi, dword [sym.imp.OPENGL32.dll_glBegin]
push 1
call esi
movss xmm0, dword [esp + 0x18]
sub esp, 0xc
mov dword [esp + 8], 0xbba3d70a
movss dword [esp + 4], xmm0
mov dword [esp], 0
call edi
movsd xmm0, qword [0x41ec68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0xc]
sub esp, 8
mulsd xmm0, qword [0x41ec30]
cvtps2pd xmm1, xmm2
mov dword [esp + 4], 0xbba3d70a
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
movss dword [esp], xmm0
movsd xmm0, qword [0x41ec68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
call ebx
push 1
call esi
mov esi, 0x78
nop
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
push ecx
mov dword [esp], 0xba83126f
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
add esi, 4
xorps xmm0, xmm0
push ecx
mov dword [esp], 0xba83126f
cvtsi2ss xmm0, esi
mulss xmm0, dword [0x41e88c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x10]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtps2pd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
cmp esi, 0xb4
jl 0x413f50
call ebx
push 1
call dword [sym.imp.OPENGL32.dll_glBegin]
movss xmm0, dword [esp + 0x18]
sub esp, 0xc
mov dword [esp + 8], 0xbba3d70a
movss dword [esp + 4], xmm0
mov dword [esp], 0
call edi
movss xmm0, dword [esp + 0x30]
sub esp, 8
mov dword [esp + 4], 0xbba3d70a
movss dword [esp], xmm0
movsd xmm0, qword [0x41ec68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm0, xmmword [0x41ece0]
mulsd xmm0, qword [0x41ec30]
push ecx
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call edi
call ebx
call dword [sym.imp.OPENGL32.dll_glPopMatrix]
pop edi
pop esi
pop ebx
add esp, 0x34
jmp dword [sym.imp.OPENGL32.dll_glPopMatrix]
pop ebx
add esp, 0x34
ret