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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4deead
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4de929
call dword [sym.imp.OPENGL32.dll_glPushMatrix]
movss xmm0, dword [ebx + 0x3c]
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ebx + 0x4c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ebx + 0x5c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [ebx + 0x6c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ebx + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ebx + 0x50]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ebx + 0x60]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [ebx + 0x70]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ebx + 0x44]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [ebx + 0x54]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [ebx + 0x64]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [ebx + 0x74]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [ebx + 0x48]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ebx + 0x58]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [ebx + 0x68]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ebx + 0x78]
push eax
movss dword [esp + 0x70], xmm0
call dword [sym.imp.OPENGL32.dll_glMultMatrixf]
mov eax, dword [edi + 0x14]
cmp byte [eax + 0x5c], 0
je 0x4ded0c
push 1
call dword [sym.imp.OPENGL32.dll_glBegin]
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
mov ecx, dword [edi + 0x14]
xor esi, esi
mov ebx, dword [sym.imp.OPENGL32.dll_glVertex3f]
mov eax, dword [ecx + 0x20]
lea eax, [eax + eax*2]
test eax, eax
je 0x4de9fe
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
sub esp, 0xc
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + esi*4 + 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + esi*4 + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + esi*4]
movss dword [esp], xmm0
call ebx
mov eax, dword [edi + 0x14]
sub esp, 0xc
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + esi*4 + 8]
addss xmm0, dword [ecx + esi*4 + 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + esi*4 + 4]
addss xmm0, dword [ecx + esi*4 + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + esi*4]
addss xmm0, dword [eax + esi*4]
movss dword [esp], xmm0
call ebx
mov ecx, dword [edi + 0x14]
add esi, 3
mov eax, dword [ecx + 0x20]
lea eax, [eax + eax*2]
cmp esi, eax
jb 0x4de980
xor esi, esi
cmp dword [ecx + 0x18], esi
jbe 0x4dea99
nop dword [eax]
mov eax, dword [edi + 0x14]
sub esp, 0xc
mov eax, dword [eax + 0x64]
movss xmm0, dword [eax + esi*4 + 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + esi*4 + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + esi*4]
movss dword [esp], xmm0
call ebx
mov eax, dword [edi + 0x14]
sub esp, 0xc
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
movss xmm0, dword [ecx + esi*4 + 8]
movss xmm1, dword [ecx + esi*4 + 4]
addss xmm0, xmm0
movss xmm2, dword [ecx + esi*4]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm0, dword [eax + esi*4 + 8]
addss xmm1, dword [eax + esi*4 + 4]
addss xmm2, dword [eax + esi*4]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call ebx
mov ecx, dword [edi + 0x14]
add esi, 3
cmp esi, dword [ecx + 0x18]
jb 0x4dea10
xor ebx, ebx
cmp dword [ecx + 0x18], ebx
jbe 0x4deccd
mov edx, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x24]
mov eax, dword [edx + ebx*4]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ebx*4 + 4]
movss xmm0, dword [esi + ecx*4 + 8]
movss dword [esp + 0x1c], xmm0
movss xmm2, dword [esi + ecx*4 + 4]
lea eax, [eax + eax*2]
movss dword [esp + 0x28], xmm2
movss xmm0, dword [esi + eax*4]
movss xmm1, dword [esi + eax*4 + 4]
movaps xmm4, xmm0
subss xmm4, dword [esi + ecx*4]
movss xmm3, dword [esi + eax*4 + 8]
mov eax, dword [edx + ebx*4 + 8]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x10], xmm4
movaps xmm4, xmm1
subss xmm4, xmm2
movss dword [esp + 0x18], xmm3
lea eax, [eax + eax*2]
movaps xmm2, xmm3
movss xmm6, dword [esi + eax*4 + 4]
movss xmm7, dword [esi + eax*4 + 8]
subss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esi + eax*4]
subss xmm3, xmm0
movss dword [esp + 0x2c], xmm7
movaps xmm0, xmm4
movss dword [esp + 0xc], xmm2
movaps xmm2, xmm6
subss xmm2, xmm1
movaps xmm1, xmm7
subss xmm1, dword [esp + 0x18]
mulss xmm4, xmm3
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0xc]
movss xmm7, dword [esp + 0x14]
mulss xmm0, xmm2
subss xmm7, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm1
movss xmm1, dword [esp + 0xc]
movss dword [esp + 0x14], xmm7
subss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm2
movss xmm2, dword [0x54f610]
subss xmm0, xmm4
movss dword [esp + 0xc], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esi + ecx*4]
addss xmm0, dword [esi + eax*4]
mov eax, dword [edi + 0x14]
divss xmm0, xmm2
mov eax, dword [eax + 0x64]
movss dword [eax + ebx*4], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x28]
mov eax, dword [edi + 0x14]
addss xmm0, xmm6
mov eax, dword [eax + 0x64]
divss xmm0, xmm2
movss dword [eax + ebx*4 + 4], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x1c]
mov eax, dword [edi + 0x14]
addss xmm0, dword [esp + 0x2c]
mov eax, dword [eax + 0x64]
divss xmm0, xmm2
movss dword [eax + ebx*4 + 8], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm7
addss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4dec49
sqrtsd xmm0, xmm0
jmp 0x4dec4e
call fcn.005130f0
movss xmm2, dword [0x54f4f4]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm2
comiss xmm1, dword [0x54f408]
jbe 0x4dec73
divss xmm0, xmm1
mulss xmm0, dword [esp + 0x14]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x60]
movss dword [eax + ebx*4], xmm0
jbe 0x4dec8f
movaps xmm0, xmm2
divss xmm0, xmm1
mulss xmm0, dword [esp + 0xc]
jmp 0x4dec92
xorps xmm0, xmm0
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x60]
movss dword [eax + ebx*4 + 4], xmm0
jbe 0x4decaf
movaps xmm0, xmm2
divss xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
jmp 0x4decb2
xorps xmm0, xmm0
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x60]
movss dword [eax + ebx*4 + 8], xmm0
add ebx, 3
mov ecx, dword [edi + 0x14]
cmp ebx, dword [ecx + 0x18]
jb 0x4deaa4
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
call dword [sym.imp.OPENGL32.dll_glEnd]
push ecx
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glLineWidth]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4ded32
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x18], 0
je 0x4ded4b
cmp dword [esi + 0x18], 0
je 0x4ded4b
push 0xde1
call dword [sym.imp.OPENGL32.dll_glEnable]
push dword [esi + 0x18]
jmp 0x4ded3f
push 0xde1
call dword [sym.imp.OPENGL32.dll_glEnable]
push 1
mov eax, dword [sym.imp.OPENGL32.dll_glBindTexture]
push 0xde1
call eax
cmp byte [edi + 0x1d], 0
je 0x4dee6a
mov esi, dword [sym.imp.OPENGL32.dll_glEnableClientState]
push 0x8074
call esi
push 0x8075
call esi
push 0x8078
call esi
mov eax, dword [edi + 0x14]
push dword [eax + 0x6c]
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0x8892
mov eax, dword [eax]
call eax
push 0
push 0
push 0x1406
push 3
call dword [sym.imp.OPENGL32.dll_glVertexPointer]
mov eax, dword [edi + 0x14]
push dword [eax + 0x74]
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0x8892
mov eax, dword [eax]
call eax
push 0
push 0
push 0x1406
call dword [sym.imp.OPENGL32.dll_glNormalPointer]
mov eax, dword [edi + 0x14]
push dword [eax + 0x78]
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0x8892
mov eax, dword [eax]
call eax
push 0
push 0
push 0x1406
push 2
call dword [sym.imp.OPENGL32.dll_glTexCoordPointer]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4dedfb
cmp byte [eax + 0x1c], 0
je 0x4dedfb
movups xmm0, xmmword [eax + 0x20]
sub esp, 0x10
movups xmmword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov eax, dword [edi + 0x14]
push dword [eax + 0x70]
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0x8893
mov eax, dword [eax]
call eax
mov eax, dword [edi + 0x14]
push 0
push 0x1405
push dword [eax + 0x18]
push 4
call dword [sym.imp.OPENGL32.dll_glDrawElements]
mov eax, dword [sym.imp.glew32.dll___glewBindVertexArray]
push 0
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8893
mov eax, dword [eax]
call eax
mov esi, dword [sym.imp.OPENGL32.dll_glDisableClientState]
push 0x8074
call esi
push 0x8075
call esi
push 0x8078
call esi
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
test ebx, ebx
je 0x4deec9
call dword [sym.imp.OPENGL32.dll_glPopMatrix]
jmp 0x4deec9
push str.Unable_to_render_meshes__No_meshes_loaded_
push 2
push 0x221
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceModuleRenderer3D.cpp
call fcn.004ce750
mov ebx, dword [ebp + 0xc]
add esp, 0x10
cmp byte [ebx + 0xfc], 1
jne 0x4deedb
push 0
mov ecx, ebx
call fcn.00411f30
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc