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

Disassembly:
push 0xffffffffffffffff
push 0x4d5eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push ebp
push esi
push edi
mov di, word [ebx]
mov esi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 0
imul di, word [esi + 0x86]
mov ebp, dword [esi + 0x80]
mov dword [esp + 0x1c], 0
push 0xde1
mov dword [esp + 0xa0], 0
call dword [sym.imp.OPENGL32.dll_glEnable]
mov eax, dword [esi + 0x70]
push eax
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
push 0xff
push 0xff
push 0xff
call dword [sym.imp.OPENGL32.dll_glColor3ub]
push 4
call dword [sym.imp.OPENGL32.dll_glBegin]
movsx eax, word [ebx]
movsx ecx, word [esi + 0x84]
sub ecx, eax
mov dword [esp + 0x24], 0
test ecx, ecx
jle 0x459299
movsx ecx, di
lea ecx, [ecx + ecx*2]
shl ecx, 3
mov dword [esp + 0x30], ecx
jmp 0x458eb6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea ebx, [eax + eax*2]
lea edi, [ecx + ebp]
mov dword [esp + 0x28], 0
movsx ecx, word [edx + 0x86]
shl ebx, 3
sub ecx, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + ebp]
add ebx, edi
test ecx, ecx
jle 0x459268
mov al, byte [ebp + 0xc]
mov dword [esp + 0x10], 0
cmp al, 0xa
jne 0x458fb6
cmp byte [esi + 0xc], 0xa
jne 0x458fb6
cmp byte [edi + 0xc], 0xa
jne 0x458fb6
push esi
push edi
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.00473480
add esp, 0x10
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 1
call fcn.004051b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov byte [esp + 0xa8], 0
call dword [sym.imp.OPENGL32.dll_glNormal3f]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov dword [esp + 0x10], 1
cmp byte [ebx + 0xc], 0xa
jne 0x459088
cmp byte [esi + 0xc], 0xa
jne 0x459088
cmp byte [edi + 0xc], 0xa
jne 0x459088
cmp word [esp + 0x10], 2
jge 0x459088
push ebx
push edi
lea ecx, [esp + 0x84]
push esi
push ecx
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0x64]
push eax
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 2
call fcn.004051b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov byte [esp + 0xa8], 0
call dword [sym.imp.OPENGL32.dll_glNormal3f]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push edx
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push eax
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
inc dword [esp + 0x10]
cmp byte [ebp + 0xc], 0xa
jne 0x459158
cmp byte [esi + 0xc], 0xa
jne 0x459158
cmp byte [ebx + 0xc], 0xa
jne 0x459227
cmp word [esp + 0x10], 2
jge 0x459158
push esi
push ebx
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.00473480
add esp, 0x10
lea ecx, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 3
call fcn.004051b0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov byte [esp + 0xa8], 0
call dword [sym.imp.OPENGL32.dll_glNormal3f]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
inc dword [esp + 0x10]
cmp byte [ebx + 0xc], 0xa
jne 0x459227
cmp byte [ebp + 0xc], 0xa
jne 0x459227
cmp byte [edi + 0xc], 0xa
jne 0x459227
cmp word [esp + 0x10], 2
jge 0x459227
push ebx
push edi
lea edx, [esp + 0x78]
push ebp
push edx
call fcn.00473480
add esp, 0x10
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 4
call fcn.004051b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov byte [esp + 0xa8], 0
call dword [sym.imp.OPENGL32.dll_glNormal3f]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
push ecx
push edx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glTexCoord2f]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, dword [edi]
push ecx
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glVertex3f]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x28]
mov ax, word [ecx]
movsx ecx, ax
add edx, eax
lea eax, [ecx + ecx*2]
mov dword [esp + 0x28], edx
shl eax, 3
add ebp, eax
add esi, eax
add edi, eax
add ebx, eax
mov eax, dword [esp + 0x20]
movsx eax, word [eax + 0x86]
sub eax, ecx
movsx ecx, dx
cmp ecx, eax
jl 0x458ee5
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x24]
mov ebp, edi
mov ax, word [edx]
mov edx, dword [esp + 0x20]
add ecx, eax
movsx edx, word [edx + 0x84]
movsx eax, ax
mov dword [esp + 0x24], ecx
sub edx, eax
movsx ecx, cx
cmp ecx, edx
jl 0x458eb2
call dword [sym.imp.OPENGL32.dll_glEnd]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glDisable]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 4