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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
call dword [sym.imp.OPENGL32.dll_glPushMatrix]
fld qword [ebp + 0x18]
fmul qword [ebp + 0x20]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xbff00000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xbff00000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xbff00000
fstp qword [esp + 0x70]
fld qword [ebp + 8]
fmul qword [0x515020]
mov dword [esp + 0x90], 0x9999999a
mov dword [esp + 0x94], 0x3fc99999
mov dword [esp + 0x88], 0x9999999a
mov dword [esp + 0x8c], 0x3fb99999
fptan
mov dword [esp + 0x40], 0x33333333
mov dword [esp + 0x44], 0x3fd33333
fstp st(0)
fdivr qword [ebp + 0x10]
fst qword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
fmul qword [0x5087a0]
push eax
push ecx
push 0
push 0
push 0
push 0
fstp qword [esp + 0x38]
call dword [sym.imp.OPENGL32.dll_glTranslated]
fld qword [esp + 0x70]
fmul qword [0x5104e8]
mov ebx, dword [sym.imp.OPENGL32.dll_glBegin]
mov esi, dword [sym.imp.OPENGL32.dll_glVertex3f]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
fstp qword [esp + 0x50]
push 5
call ebx
fld qword [0x508230]
fcomp qword [esp + 0x70]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
fnstsw ax
test ah, 0x41
je 0x4d9201
fld qword [esp + 0x18]
fadd qword [0x515018]
push ecx
fst qword [esp + 0x1c]
fmul qword [0x50f4d0]
fld st(0)
fcos
fmul qword [ebp + 0x10]
fstp qword [esp + 0x4c]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fadd qword [esp + 0x14]
fstp qword [esp + 0x84]
fld qword [esp + 0x5c]
fstp dword [esp]
fld qword [esp + 0x1c]
fcos
push ecx
fmul qword [esp + 0x70]
fstp dword [esp]
fld qword [esp + 0x20]
fsin
push ecx
fmul qword [esp + 0x6c]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glNormal3f]
fld qword [esp + 0x90]
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld qword [esp + 0x88]
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fld qword [esp + 0x40]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fld qword [esp + 0x60]
fcomp qword [0x50bae8]
fnstsw ax
test ah, 0x41
jne 0x4d9141
fld qword [esp + 0x60]
fcomp qword [0x508290]
fnstsw ax
test ah, 1
jne 0x4d9155
fld qword [esp + 0x90]
fmul qword [0x50bae8]
fstp qword [esp + 0x90]
fld qword [esp + 0x68]
fcomp qword [0x50bae8]
fnstsw ax
test ah, 0x41
jne 0x4d9177
fld qword [esp + 0x68]
fcomp qword [0x508290]
fnstsw ax
test ah, 1
jne 0x4d918b
fld qword [esp + 0x88]
fmul qword [0x50bae8]
fstp qword [esp + 0x88]
fld qword [esp + 0x58]
fcomp qword [0x50bae8]
fnstsw ax
test ah, 0x41
jne 0x4d91ad
fld qword [esp + 0x58]
fcomp qword [0x508290]
fnstsw ax
test ah, 1
jne 0x4d91bb
fld qword [esp + 0x40]
fmul qword [0x50bae8]
fstp qword [esp + 0x40]
fld qword [esp + 0x80]
push ecx
fstp dword [esp]
push 0
push 0
call esi
fld qword [esp + 0x10]
push ecx
fstp dword [esp]
fld qword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [esp + 0x50]
push ecx
fstp dword [esp]
call esi
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
fst qword [esp + 0x10]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x4d9094
mov edi, dword [sym.imp.OPENGL32.dll_glEnd]
call edi
push 5
call ebx
fld qword [0x508230]
fcomp qword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
fnstsw ax
test ah, 0x41
je 0x4d9352
fld qword [esp + 0x18]
fadd qword [0x515018]
fst qword [esp + 0x18]
fmul qword [0x50f4d0]
fld st(0)
fcos
fmul qword [ebp + 0x10]
fstp qword [esp + 0x48]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fcomp qword [0x50f4e8]
fnstsw ax
test ah, 1
je 0x4d9283
fld qword [esp + 0x38]
fchs
jmp 0x4d928b
fld qword [esp + 0x10]
fsub qword [esp + 0x38]
fstp qword [esp + 0x80]
fld qword [esp + 0x18]
fadd qword [0x515018]
sub esp, 8
sub esp, 8
fmul qword [0x50f4d0]
sub esp, 8
fld st(0)
fcos
fmul qword [ebp + 0x10]
fstp qword [esp + 0x90]
fsin
fmul qword [ebp + 0x10]
fld qword [esp + 0x98]
fsub qword [esp + 0x28]
fstp qword [esp + 0x10]
fld st(0)
fchs
fstp qword [esp + 8]
fld qword [esp + 0x90]
fchs
fstp qword [esp]
fld qword [esp + 0x48]
push 0
push 0
fsub st(1)
sub esp, 8
sub esp, 8
fstp qword [esp + 8]
fstp st(0)
fld qword [esp + 0x78]
fsub qword [esp + 0xa8]
fstp qword [esp]
call fcn.004d8f10
fld qword [esp + 0xb0]
add esp, 0x2c
fstp dword [esp]
push 0
push 0
call esi
fld qword [esp + 0x10]
push ecx
fstp dword [esp]
fld qword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [esp + 0x50]
push ecx
fstp dword [esp]
call esi
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
fst qword [esp + 0x10]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x4d9242
call edi
fld qword [esp + 0x28]
fadd qword [0x511968]
fst qword [esp + 0x28]
fcomp qword [0x50f4e8]
fnstsw ax
test ah, 1
jne 0x4d905b
fld qword [ebp + 0x18]
fsub qword [esp + 0x38]
fstp qword [ebp + 0x18]
fld qword [esp + 0x50]
fcomp qword [ebp + 0x18]
fnstsw ax
test ah, 1
je 0x4d94ae
push 5
call ebx
fld qword [0x508230]
fld qword [ebp + 0x18]
fld st(0)
fsub qword [esp + 0x50]
fstp qword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
fstp dword [esp + 0x18]
fld qword [esp + 0x50]
fstp dword [esp + 0x10]
fld st(0)
fmul qword [0x50f4d0]
push 0
push 0
sub esp, 8
sub esp, 8
fst qword [esp + 0x38]
fcos
fmul qword [ebp + 0x10]
fst qword [esp + 0x60]
fld qword [esp + 0x38]
fsin
fmul qword [ebp + 0x10]
fst qword [esp + 0x38]
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
fstp qword [esp + 0x58]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
fadd qword [0x515018]
fst qword [esp + 0x38]
fmul qword [0x50f4d0]
fld st(0)
fcos
fmul qword [ebp + 0x10]
fstp qword [esp + 0x90]
fsin
fmul qword [ebp + 0x10]
fld qword [esp + 0x48]
fsub st(1)
fstp qword [esp + 8]
fld qword [esp + 0x60]
fsub qword [esp + 0x90]
fstp qword [esp]
fld qword [esp + 0x68]
push edi
push ebx
fsub st(1)
sub esp, 8
sub esp, 8
fstp qword [esp + 8]
fstp st(0)
fld qword [esp + 0x70]
fsub qword [esp + 0xa8]
fstp qword [esp]
call fcn.004d8f10
mov edx, dword [esp + 0x48]
add esp, 0x30
fld qword [esp + 0x50]
push edx
push ecx
fstp dword [esp]
fld qword [esp + 0x48]
push ecx
fstp dword [esp]
call esi
mov eax, dword [esp + 0x10]
fld qword [esp + 0x30]
push eax
push ecx
fstp dword [esp]
fld qword [esp + 0x50]
push ecx
fstp dword [esp]
call esi
fld qword [esp + 0x20]
fcom qword [0x515010]
fnstsw ax
test ah, 0x41
jne 0x4d93ba
fstp st(0)
call dword [sym.imp.OPENGL32.dll_glEnd]
call dword [sym.imp.OPENGL32.dll_glPopMatrix]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret