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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
push esi
push edi
push 0
push 0
mov edi, ecx
push 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
mov ebx, dword [edi + 0xd4]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x14], ebx
jle 0x467ccc
add edi, 0xac
mov eax, edi
push esi
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
call fcn.004694b0
mov eax, dword [esp + 0x40]
fld qword [eax]
fcomp qword [0x5087e0]
fnstsw ax
test ah, 1
je 0x467bcc
mov ecx, edi
push esi
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x58], eax
call fcn.004694b0
mov ecx, dword [esp + 0x50]
fld qword [ecx + 8]
fcomp qword [0x5087e0]
fnstsw ax
test ah, 1
je 0x467bcc
mov edx, edi
push esi
mov eax, dword [edx]
mov dword [esp + 0x5c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x5c]
call fcn.004694b0
mov edx, dword [esp + 0x60]
fld qword [edx + 0x10]
fcomp qword [0x5087e0]
fnstsw ax
test ah, 1
jne 0x467cc3
call dword [sym.imp.OPENGL32.dll_glPushMatrix]
mov eax, edi
push esi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
call fcn.004694b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x20]
mov ecx, dword [eax]
push esi
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], edx
call fcn.004694b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov eax, edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], edx
mov ebp, dword [esp + 0x30]
mov ecx, dword [eax]
push esi
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x78], edx
call fcn.004694b0
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glTranslated]
push 5
push 5
push 0x3ff00000
push 0
call sub.glut32.dll_glutSolidSphere
call dword [sym.imp.OPENGL32.dll_glPopMatrix]
mov ebx, dword [esp + 0x14]
inc esi
cmp esi, ebx
jl 0x467b18
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret