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

Disassembly:
jmp 0x41b970
sub esp, 0x6c
push edi
mov edi, ecx
fld dword [edi + 0x24]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 0x44
jnp 0x41bad1
mov eax, dword [edi + 0x244]
test eax, eax
je 0x41bad1
mov eax, dword [edi + 0x68]
test eax, eax
push ebx
push ebp
push esi
je 0x41b9fd
mov eax, dword [edi + 0x19c]
xor esi, esi
test eax, eax
jle 0x41bace
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ebx
push ebp
push eax
mov eax, dword [edi + 0x198]
push ecx
mov ecx, dword [eax + esi*4]
push edx
call fcn.00401280
mov eax, dword [edi + 0x19c]
inc esi
cmp esi, eax
jl 0x41b9c0
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x6c
ret 0x14
mov esi, dword [sym.imp.opengl32.dll_glEnable]
push 0xbe2
call esi
push 0xde1
call esi
mov esi, dword [sym.imp.opengl32.dll_glTexParameteri]
push 0x2900
push 0x2802
push 0xde1
call esi
push 0x2900
push 0x2803
push 0xde1
call esi
fld dword [0x4b24c4]
mov ecx, dword [edi + 4]
fdiv dword [ecx + 0x2fc]
call fcn.00451684
mov dword [esp + 0x20], eax
call dword [sym.imp.opengl32.dll_glLoadIdentity]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x54]
dec eax
test ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], 0xffffffff
je 0x41ba7c
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], 1
mov ebx, dword [sym.imp.opengl32.dll_glTexCoord2f]
mov ebp, dword [sym.imp.opengl32.dll_glVertex2f]
mov ecx, eax
mov dword [esp + 0x18], ecx
mov edi, edi
mov edx, dword [edi + 0x54]
test edx, edx
je 0x41bad8
cmp ecx, dword [edi + 0x40]
jl 0x41badc
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x41c009
cmp eax, dword [edi + 0x40]
jl 0x41c011
call dword [sym.imp.opengl32.dll_glFlush]
mov esi, dword [sym.imp.opengl32.dll_glDisable]
push 0xbe2
call esi
push 0xde1
call esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x6c
ret 0x14
test ecx, ecx
jl 0x41ba9c
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x3c]
mov esi, dword [edx + eax*4]
fld dword [esi + 0x34]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 0x41
jne 0x41bff0
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx + 0x114]
test eax, eax
je 0x41bff0
mov eax, dword [ecx + 0x11c]
test eax, eax
je 0x41bff0
movzx edx, byte [esi + 0xc7]
mov eax, dword [edi + 0x6c]
test eax, eax
mov dword [esp + 0x74], edx
fild dword [esp + 0x74]
fmul dword [ecx + 0x50]
fmul dword [0x4b2b90]
je 0x41bb5a
mov eax, dword [edi + 0x178]
mov edx, dword [edi + 0x70]
fld dword [eax + 0xe4]
fmul dword [edx + 0x1d0]
fmul st(1)
fstp dword [esp + 0x2c]
fstp st(0)
jmp 0x41bb64
fmul dword [edi + 0x1d0]
fstp dword [esp + 0x2c]
fld dword [esp + 0x90]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 5
jp 0x41bba2
mov edx, dword [edi + 4]
fld dword [edx + 0x2fc]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 0x41
jne 0x41bba2
fld dword [esp + 0x2c]
fmul dword [edx + 0x304]
fmul dword [edx + 0x2fc]
fstp dword [esp + 0x2c]
mov eax, dword [edi + 0x60]
mov edx, dword [edi + 0x50]
push eax
mov eax, dword [ecx + 0x9c]
mov ecx, dword [edi + 4]
push edx
push eax
call fcn.00402103
mov edx, dword [esi + 0xf8]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax + 0x9c]
cmp edx, dword [ecx + 0xc]
jl 0x41bbde
mov dword [esi + 0xf8], 0
mov ecx, dword [esi + 0xf8]
fld dword [0x4b24c4]
mov edx, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [eax + 0xc0]
test ecx, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], 0x3f800000
je 0x41bc0e
mov dword [esp + 0x50], 0xbf800000
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x41bc20
fstp st(0)
fld dword [0x4b2b8c]
mov edx, dword [eax + 0x9c]
fld dword [0x4b24c4]
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [eax + 8]
cmp ecx, eax
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
jle 0x41bc5d
fild dword [esp + 0x54]
fidiv dword [esp + 0x58]
fstp dword [esp + 0x1c]
jmp 0x41bc69
jge 0x41bc69
fstp st(0)
fild dword [esp + 0x58]
fidiv dword [esp + 0x54]
fmul dword [esp + 0x50]
mov eax, dword [edi + 0x190]
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x168]
fstp dword [esp + 0x48]
mov dword [esp + 0x30], edx
fld dword [esp + 0x1c]
mov dword [esp + 0x38], 0
fmul st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fild dword [esp + 0x20]
fstp dword [esp + 0x24]
fld dword [eax + 0x16c]
fsub dword [eax + 0x168]
mov eax, dword [esp + 0x20]
test eax, eax
fdiv dword [esp + 0x24]
fmul dword [ecx + 0x300]
fstp dword [esp + 0x68]
jle 0x41bff0
jmp 0x41bcd0
fld dword [esp + 0x90]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 5
jp 0x41bcfb
fild dword [esp + 0x38]
mov eax, dword [edi + 4]
fmul dword [eax + 0x300]
fdiv dword [esp + 0x24]
fstp dword [esp + 0x10]
jmp 0x41bd06
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x200]
test ecx, ecx
je 0x41bd39
fld dword [esp + 0x10]
mov ecx, dword [eax + 0x1fc]
test ecx, ecx
fmul dword [0x4b24b4]
fstp dword [esp + 0x10]
je 0x41bd39
fld dword [esp + 0x10]
fadd dword [0x4b24b4]
fstp dword [esp + 0x10]
fld dword [esi + 0x3c]
mov ecx, dword [esp + 0x30]
fsub dword [esi + 0xa0]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
fmul dword [esp + 0x14]
push eax
push ecx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esi + 0x38]
fsub dword [esi + 0xa4]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
push edx
push eax
call fcn.00401415
mov eax, dword [edi + 0x190]
fld dword [eax + 0x150]
add esp, 0x14
fsub dword [eax + 0x158]
fmul dword [esp + 0x10]
fstp dword [esp + 0x70]
fld dword [eax + 0x154]
fsub dword [eax + 0x15c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x74]
call dword [sym.imp.opengl32.dll_glLoadIdentity]
fild dword [esp + 0x84]
mov eax, dword [edi + 0x50]
push 0
sub esp, 8
test eax, eax
fadd dword [esp + 0x34]
jne 0x41bde4
fadd dword [esi + 0xa4]
fstp dword [esp + 4]
fild dword [esp + 0x8c]
fadd dword [esi + 0xa0]
fadd dword [esp + 0x20]
jmp 0x41be44
fstp dword [esp + 4]
fild dword [esp + 0x8c]
fadd dword [esp + 0x20]
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glTranslatef]
fld dword [esp + 0x30]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov eax, dword [edi + 0x190]
fld dword [esp + 0x74]
fadd dword [eax + 0x15c]
push 0
sub esp, 8
fadd dword [esi + 0xa4]
fstp dword [esp + 4]
fld dword [eax + 0x158]
fadd dword [esi + 0xa0]
fadd dword [esp + 0x7c]
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glTranslatef]
fld dword [esi + 0x40]
push 0x3f800000
fsub dword [esi + 0xa8]
push 0
push 0
push ecx
fmul dword [esp + 0x20]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd dword [esi + 0xa8]
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
push 0x303
push 0x302
call dword [sym.imp.opengl32.dll_glBlendFunc]
mov eax, dword [edi + 0x50]
test eax, eax
je 0x41beae
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x310]
mov eax, dword [esp + 0x3c]
mov ecx, dword [edx + eax*4]
push ecx
push 0xde1
call dword [sym.imp.opengl32.dll_glBindTexture]
fld dword [esi + 0x48]
fsub dword [esi + 0xac]
fmul dword [esp + 0x10]
fadd dword [esi + 0xac]
fstp dword [esp + 0x74]
fld dword [esi + 0x50]
mov eax, dword [esp + 0x74]
fsub dword [esi + 0xb0]
push eax
push ecx
fmul dword [esp + 0x18]
fadd dword [esi + 0xb0]
fstp dword [esp]
push eax
call dword [sym.imp.opengl32.dll_glScalef]
mov edx, dword [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.opengl32.dll_glColor4f]
mov eax, dword [esi + 0xe4]
fld dword [eax + 0x120]
mov ecx, dword [esp + 0x6c]
fmul qword [0x4b2b80]
push 7
fidiv dword [ecx + 4]
fstp dword [esp + 0x50]
fld dword [eax + 0x124]
fmul qword [0x4b2b80]
fidiv dword [ecx + 8]
fstp dword [esp + 0x5c]
call dword [sym.imp.opengl32.dll_glBegin]
push 0
push 0
call ebx
fld dword [esp + 0x58]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
fld dword [esp + 0x4c]
push eax
fsub dword [esp + 0x4c]
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
push ecx
call ebp
push 0x3f800000
push 0
call ebx
fld dword [esp + 0x58]
fadd dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
push edx
push eax
call ebp
push 0x3f800000
push 0x3f800000
call ebx
fld dword [esp + 0x4c]
fadd dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
push ecx
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
push edx
call ebp
push 0
push 0x3f800000
call ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
fld dword [esp + 0x30]
fadd dword [esp + 0x68]
fstp dword [esp + 0x30]
fld dword [esp + 0x90]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 0x41
je 0x41bff0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x41bcd0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
add eax, edx
mov dword [esp + 0x18], eax
mov ecx, eax
mov eax, dword [esp + 0x40]
jmp 0x41ba90
test eax, eax
jl 0x41bab4
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
fld dword [esi + 0x34]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 0x41
jne 0x41c7fe
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax + 0x11c]
test ecx, ecx
je 0x41c7fe
fld dword [eax + 0x124]
mov edx, dword [eax + 0x9c]
fld dword [eax + 0x120]
mov ecx, dword [edx + 8]
mov ecx, dword [ecx]
fadd st(0), st(0)
lea edx, [esp + 0x44]
push edx
fidiv dword [ecx + 4]
lea eax, [esp + 0x44]
push eax
push ecx
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fadd st(0), st(0)
fidiv dword [ecx + 8]
fstp dword [esp + 0x50]
fld dword [esi + 0x40]
mov ecx, dword [esp + 0x50]
fchs
fstp dword [esp]
push ecx
push edx
call fcn.00401415
fld dword [esp + 0x54]
fmul dword [esi + 0x48]
add esp, 0x14
fld dword [esp + 0x44]
fmul dword [esi + 0x50]
fld dword [esi + 0x3c]
fsub dword [esi + 0xa0]
fcom dword [0x4b24c8]
fnstsw ax
test ah, 5
jp 0x41c0b7
fchs
fld dword [edi + 0x1ac]
fmul dword [esi + 0x48]
fadd st(1)
fmul dword [0x4b2b70]
fstp dword [esp + 0x70]
fstp st(0)
fld dword [esi + 0x38]
fsub dword [esi + 0xa4]
fcom dword [0x4b24c8]
fnstsw ax
test ah, 5
jp 0x41c0e6
fchs
fld dword [edi + 0x1b0]
mov eax, dword [edi + 0x190]
fmul dword [esi + 0x50]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
fadd st(1)
push edx
fmul dword [0x4b2b70]
fstp dword [esp + 0x70]
fstp st(0)
fild dword [esp + 0x90]
fstp dword [esp + 0x7c]
fild dword [esp + 0x94]
fstp dword [esp + 0x74]
fld dword [esi + 0x3c]
fsub st(2)
fadd dword [eax + 0x150]
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
fld dword [esi + 0x38]
fsub st(1)
fadd dword [eax + 0x154]
fstp dword [esp + 0x34]
mov eax, dword [eax + 0x168]
mov ecx, dword [esp + 0x34]
push eax
fstp st(0)
push ecx
fstp st(0)
push edx
call fcn.00401415
mov eax, dword [esp + 0x9c]
add esp, 0x14
test eax, eax
jl 0x41c1d0
mov eax, dword [esp + 0x8c]
test eax, eax
jl 0x41c1d0
fld dword [esp + 0x74]
fadd dword [esp + 0x70]
fld st(0)
fchs
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x41c7fc
fld dword [esp + 0x30]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x41c7fe
fld dword [esp + 0x6c]
fadd dword [esp + 0x68]
fld st(0)
fchs
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x41c7fc
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x41c7fe
movzx eax, byte [esi + 0xc7]
mov edx, dword [esi + 0xe4]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x6c]
test eax, eax
fild dword [esp + 0x74]
fmul dword [edx + 0x50]
fmul dword [0x4b2b90]
je 0x41c214
mov ecx, dword [edi + 0x178]
mov eax, dword [edi + 0x70]
fld dword [ecx + 0xe4]
fmul dword [eax + 0x1d0]
fmul st(1)
fstp dword [esp + 0x10]
fstp st(0)
jmp 0x41c21e
fmul dword [edi + 0x1d0]
fstp dword [esp + 0x10]
mov eax, dword [edx + 0x9c]
fld dword [esp + 0x90]
mov ecx, dword [eax + 8]
fcomp dword [0x4b24c8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
fnstsw ax
test ah, 5
jp 0x41c29d
mov ecx, dword [edi + 4]
fld dword [ecx + 0x2fc]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 0x41
jne 0x41c29d
mov eax, dword [edx + 0x108]
fld dword [esp + 0x10]
test eax, eax
je 0x41c277
fmul dword [ecx + 0x304]
fmul dword [ecx + 0x2fc]
jmp 0x41c299
mov eax, dword [ecx + 0x204]
test eax, eax
je 0x41c293
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x1c], 0
jne 0x41c293
fmul dword [ecx + 0x2fc]
jmp 0x41c299
fmul dword [0x4b24b4]
fstp dword [esp + 0x10]
movzx ecx, byte [esi + 0xc4]
fld dword [0x4b24c4]
fsub dword [edi + 0x1e4]
movzx eax, byte [esi + 0xc5]
mov dword [esp + 0x74], ecx
movzx ecx, byte [esi + 0xc6]
fild dword [esp + 0x74]
mov dword [esp + 0x74], eax
fmul dword [0x4b2b90]
fmul st(1)
fild dword [edi + 0x204]
fmul dword [0x4b2b90]
fmul dword [edi + 0x1e4]
faddp st(1)
fstp dword [esp + 0x50]
fild dword [esp + 0x74]
mov dword [esp + 0x74], ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x188]
test eax, eax
fmul dword [0x4b2b90]
fmul st(1)
fild dword [edi + 0x208]
fmul dword [0x4b2b90]
fmul dword [edi + 0x1e4]
faddp st(1)
fstp dword [esp + 0x4c]
fild dword [esp + 0x74]
fmul dword [0x4b2b90]
fmul st(1)
fild dword [edi + 0x20c]
fmul dword [0x4b2b90]
fmul dword [edi + 0x1e4]
faddp st(1)
fstp dword [esp + 0x48]
fstp st(0)
je 0x41c373
mov eax, dword [edx + 0x108]
test eax, eax
je 0x41c373
fld dword [esp + 0x50]
fmul dword [esp + 0x10]
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
fmul dword [esp + 0x10]
fstp dword [esp + 0x48]
mov edx, dword [edi + 0x60]
mov eax, dword [edi + 0x50]
push edx
mov edx, dword [esp + 0x74]
push eax
push edx
call fcn.00402103
mov edx, dword [esi + 0xf8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax + 0x9c]
cmp edx, dword [ecx + 0xc]
jl 0x41c3aa
mov dword [esi + 0xf8], 0
mov ecx, dword [esi + 0xf8]
fld dword [0x4b24c4]
mov edx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [eax + 0xc0]
test ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x60], 0x3f800000
je 0x41c3da
mov dword [esp + 0x60], 0xbf800000
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x41c3ec
fstp st(0)
fld dword [0x4b2b8c]
mov ecx, dword [esp + 0x54]
fld dword [0x4b24c4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp eax, ecx
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ecx
jle 0x41c41e
fild dword [esp + 0x24]
fidiv dword [esp + 0x58]
fstp dword [esp + 0x28]
jmp 0x41c42a
jge 0x41c42a
fstp st(0)
fild dword [esp + 0x58]
fidiv dword [esp + 0x24]
fmul dword [esp + 0x60]
mov eax, dword [edi + 0x190]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], 0
fstp dword [esp + 0x70]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fstp st(0)
fild dword [esp + 0x20]
fstp dword [esp + 0x24]
fld dword [eax + 0x16c]
fsub dword [eax + 0x168]
mov eax, dword [eax + 0x168]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
test eax, eax
fdiv dword [esp + 0x24]
fmul dword [edx + 0x300]
fstp dword [esp + 0x78]
jle 0x41c7fe
jmp 0x41c490
fld dword [esp + 0x90]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 5
jp 0x41c4bb
fild dword [esp + 0x58]
mov ecx, dword [edi + 4]
fmul dword [ecx + 0x300]
fdiv dword [esp + 0x24]
fstp dword [esp + 0x14]
jmp 0x41c4c6
mov edx, dword [esp + 0x90]
mov dword [esp + 0x14], edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x200]
test ecx, ecx
je 0x41c4f9
fld dword [esp + 0x14]
mov ecx, dword [eax + 0x1fc]
test ecx, ecx
fmul dword [0x4b24b4]
fstp dword [esp + 0x14]
je 0x41c4f9
fld dword [esp + 0x14]
fadd dword [0x4b24b4]
fstp dword [esp + 0x14]
fld dword [esi + 0x3c]
mov edx, dword [esp + 0x3c]
fsub dword [esi + 0xa0]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
fmul dword [esp + 0x18]
push ecx
push edx
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esi + 0x38]
fsub dword [esi + 0xa4]
fmul dword [esp + 0x20]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
push eax
push ecx
call fcn.00401415
mov eax, dword [edi + 0x190]
fld dword [eax + 0x150]
add esp, 0x14
fsub dword [eax + 0x158]
fmul dword [esp + 0x14]
fstp dword [esp + 0x6c]
fld dword [eax + 0x154]
fsub dword [eax + 0x15c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x74]
call dword [sym.imp.opengl32.dll_glLoadIdentity]
fild dword [esp + 0x84]
mov eax, dword [edi + 0x50]
push 0
sub esp, 8
test eax, eax
fadd dword [esp + 0x40]
jne 0x41c5a4
fadd dword [esi + 0xa4]
fstp dword [esp + 4]
fild dword [esp + 0x8c]
fadd dword [esi + 0xa0]
fadd dword [esp + 0x28]
jmp 0x41c604
fstp dword [esp + 4]
fild dword [esp + 0x8c]
fadd dword [esp + 0x28]
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glTranslatef]
fld dword [esp + 0x3c]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov eax, dword [edi + 0x190]
fld dword [esp + 0x74]
fadd dword [eax + 0x15c]
push 0
sub esp, 8
fadd dword [esi + 0xa4]
fstp dword [esp + 4]
fld dword [eax + 0x158]
fadd dword [esi + 0xa0]
fadd dword [esp + 0x78]
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glTranslatef]
fld dword [esi + 0x40]
push 0x3f800000
fsub dword [esi + 0xa8]
push 0
push 0
push ecx
fmul dword [esp + 0x24]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fadd dword [esi + 0xa8]
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov eax, dword [edi + 0x50]
test eax, eax
je 0x41c6af
mov edx, dword [esi + 0xe4]
mov eax, dword [edx + 0x108]
test eax, eax
je 0x41c683
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x188]
test ecx, ecx
push 1
je 0x41c665
push 1
jmp 0x41c66a
push 0x302
call dword [sym.imp.opengl32.dll_glBlendFunc]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x324]
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + eax*4]
push ecx
jmp 0x41c6a4
push 0x303
push 0x302
call dword [sym.imp.opengl32.dll_glBlendFunc]
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x310]
mov ecx, dword [esp + 0x38]
mov edx, dword [eax + ecx*4]
push edx
push 0xde1
call dword [sym.imp.opengl32.dll_glBindTexture]
fld dword [esi + 0x48]
fsub dword [esi + 0xac]
fmul dword [esp + 0x14]
fadd dword [esi + 0xac]
fstp dword [esp + 0x74]
fld dword [esi + 0x50]
mov eax, dword [esp + 0x74]
fsub dword [esi + 0xb0]
push eax
push ecx
fmul dword [esp + 0x1c]
fadd dword [esi + 0xb0]
fstp dword [esp]
push eax
call dword [sym.imp.opengl32.dll_glScalef]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call dword [sym.imp.opengl32.dll_glColor4f]
mov eax, dword [esi + 0xe4]
fld dword [eax + 0x120]
mov ecx, dword [esp + 0x54]
fmul qword [0x4b2b80]
push 7
fidiv dword [ecx + 4]
fstp dword [esp + 0x70]
fld dword [eax + 0x124]
fmul qword [0x4b2b80]
fidiv dword [ecx + 8]
fstp dword [esp + 0x68]
call dword [sym.imp.opengl32.dll_glBegin]
push 0
push 0
call ebx
fld dword [esp + 0x64]
fsub dword [esp + 0x28]
fstp dword [esp + 0x74]
fld dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
fsub dword [esp + 0x70]
push ecx
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
push edx
call ebp
push 0x3f800000
push 0
call ebx
fld dword [esp + 0x64]
fadd dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
push eax
push ecx
call ebp
push 0x3f800000
push 0x3f800000
call ebx
fld dword [esp + 0x6c]
fadd dword [esp + 0x70]
mov edx, dword [esp + 0x64]
push edx
fstp dword [esp + 0x70]
mov eax, dword [esp + 0x70]
push eax
call ebp
push 0
push 0x3f800000
call ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
fld dword [esp + 0x3c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x3c]
fld dword [esp + 0x90]
fcomp dword [0x4b24c8]
fnstsw ax
test ah, 1
je 0x41c7fe
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x41c490
jmp 0x41c7fe
fstp st(0)
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
jmp 0x41baa0