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

Disassembly:
sub esp, 0x60
push esi
mov esi, ecx
mov eax, dword [esi + 0x244]
test eax, eax
je 0x41b787
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x41a602
fld dword [esi + 0x80]
fcomp dword [0x54fb38]
fnstsw ax
test ah, 0x41
jnp 0x41b787
mov eax, dword [esi + 0x68]
test eax, eax
push ebx
push ebp
push edi
je 0x41a66c
mov eax, dword [esi + 0x19c]
xor edi, edi
test eax, eax
jle 0x41a66c
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
test edi, edi
jl 0x41b78e
cmp edi, dword [esi + 0x19c]
jge 0x41b78e
mov eax, dword [esi + 0x198]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0x178]
mov eax, dword [edx + 0xf8]
test eax, eax
je 0x41a661
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ebx
push ebp
push eax
push edx
call fcn.0041a5d0
mov eax, dword [esi + 0x19c]
inc edi
cmp edi, eax
jl 0x41a623
mov eax, dword [esp + 0x74]
xor ecx, ecx
cmp eax, ecx
mov ebx, 1
je 0x41a684
cmp dword [esi + 0x5c], ecx
mov dword [esp + 0x34], ebx
jne 0x41a688
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x6c], ecx
je 0x41a6a1
cmp eax, ecx
je 0x41a69d
mov eax, dword [esi + 0x70]
cmp dword [eax + 0x5c], ecx
mov dword [esp + 0x34], ebx
jne 0x41a6a1
mov dword [esp + 0x34], ecx
call fcn.0050a0d4
test eax, eax
je 0x41a6b7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov dword [esp + 0x38], eax
jmp 0x41a6bf
mov dword [esp + 0x38], 0
fild dword [esp + 0x78]
mov edi, dword [sym.imp.opengl32.dll_glEnable]
push 0xb20
fst dword [esp + 0x64]
fstp dword [esp + 0x14]
fild dword [esp + 0x80]
fst dword [esp + 0x68]
fstp dword [esp + 0x7c]
call edi
push 0xb10
call edi
push 0xbe2
call edi
push 0x303
push 0x302
call dword [sym.imp.opengl32.dll_glBlendFunc]
push 0x8074
call dword [sym.imp.opengl32.dll_glEnableClientState]
fld dword [0x54fb34]
fdiv dword [esp + 0x80]
mov ebp, dword [sym.imp.opengl32.dll_glVertex2f]
mov dword [esp + 0x30], ebx
fst dword [esp + 0x50]
fstp dword [esp + 0x7c]
nop
mov edi, dword [esp + 0x30]
cmp edi, 1
jne 0x41a740
mov byte [esp + 0x44], 0
jmp 0x41a753
mov eax, dword [esp + 0x34]
test eax, eax
sete al
dec al
and al, 0x64
add al, 0x64
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x44]
push eax
push eax
push eax
call dword [sym.imp.opengl32.dll_glColor3ub]
fild dword [esp + 0x30]
cmp edi, 1
fmul dword [esp + 0x50]
fstp dword [esp + 0x74]
jne 0x41a789
fld dword [esp + 0x10]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x10]
fld dword [esp + 0x78]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x78]
push 0x3f800000
call dword [sym.imp.opengl32.dll_glPointSize]
mov edi, dword [sym.imp.opengl32.dll_glLoadIdentity]
call edi
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.opengl32.dll_glTranslatef]
push 0
push ecx
push edx
call ebx
mov eax, dword [esi + 0x190]
fld dword [eax + 0x168]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov eax, dword [esi + 0x190]
fld dword [esp + 0x7c]
fadd dword [eax + 0x154]
push 0
sub esp, 8
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x80]
fstp dword [esp]
call ebx
push 0x58dcc0
push 0
push 0x1406
push 2
call dword [sym.imp.opengl32.dll_glVertexPointer]
push 8
push 0
push 2
call dword [sym.imp.opengl32.dll_glDrawArrays]
call edi
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x41b42d
mov eax, dword [esi + 0x1fc]
fld dword [esi + 0x1d4]
cmp eax, 3
jne 0x41a84a
fadd dword [esi + 0x28]
fld dword [esi + 0x1d8]
fmul dword [0x54fb3c]
fld st(1)
fsub st(1)
call fcn.004eaa58
fadd st(1)
mov edi, eax
mov dword [esp + 0x40], edi
call fcn.004eaa58
fstp st(0)
cmp edi, eax
mov dword [esp + 0x3c], eax
jne 0x41a87b
inc edi
mov dword [esp + 0x3c], edi
cmp dword [esi + 0x1fc], 1
je 0x41a95a
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x10]
push 0
push ecx
push edi
call ebx
mov edx, dword [esi + 0x190]
fld dword [edx + 0x168]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov eax, dword [esi + 0x190]
fld dword [esp + 0x7c]
fadd dword [eax + 0x154]
push 0
sub esp, 8
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x80]
fstp dword [esp]
call ebx
push 0x58dd08
push 0
push 0x1406
push 2
call dword [sym.imp.opengl32.dll_glVertexPointer]
push 8
push 0
push 2
call dword [sym.imp.opengl32.dll_glDrawArrays]
call dword [sym.imp.opengl32.dll_glLoadIdentity]
mov eax, dword [esp + 0x78]
push 0
push eax
push edi
call ebx
mov ecx, dword [esi + 0x190]
fld dword [ecx + 0x168]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
fld dword [esp + 0x78]
push 0
fchs
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fchs
fstp dword [esp]
call ebx
mov eax, dword [esi + 0x1fc]
dec eax
je 0x41ade0
dec eax
je 0x41abd0
dec eax
jne 0x41b0a5
fld dword [esi + 0x1dc]
push 2
fmul dword [0x54fb3c]
fstp dword [esp + 0x84]
fld dword [esi + 0x1e0]
fmul dword [0x54fb3c]
fstp dword [esp + 0x28]
call dword [sym.imp.opengl32.dll_glBegin]
mov ecx, dword [esi + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x80]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
push edi
push ebx
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
fld dword [esp + 0x80]
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
fchs
push edx
fstp dword [esp + 0x84]
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
push edx
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
fld dword [esp + 0x24]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x18]
fchs
push eax
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push eax
push ecx
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
fadd dword [esp + 0x90]
add esp, 0xc
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
push 0x40800000
call dword [sym.imp.opengl32.dll_glPointSize]
push 0
call dword [sym.imp.opengl32.dll_glBegin]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
push ebx
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
push 0x3f800000
call dword [sym.imp.opengl32.dll_glPointSize]
mov ebx, dword [sym.imp.opengl32.dll_glTranslatef]
jmp 0x41b0a5
push 3
call dword [sym.imp.opengl32.dll_glBegin]
xor eax, eax
mov dword [esp + 0x80], eax
lea edi, [eax + 0xf]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x1e0]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 0x1dc]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x5c], edi
fild dword [esp + 0x5c]
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0x98]
fstp dword [esp]
push ecx
push edx
call fcn.0049ba40
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
call fcn.0049ba90
fld dword [esp + 0x4c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0x2c
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov eax, edi
cmp eax, 0x168
mov dword [esp + 0x80], eax
jl 0x41abe1
mov edi, dword [sym.imp.opengl32.dll_glEnd]
call edi
push 0x40800000
call dword [sym.imp.opengl32.dll_glPointSize]
push 0
call dword [sym.imp.opengl32.dll_glBegin]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1dc]
lea edx, [esp + 0x18]
push edx
push eax
push 0
push ecx
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov eax, dword [esi + 0x22c]
test eax, eax
jne 0x41add9
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x1e0]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push 0
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0xc
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
call edi
jmp 0x41b0a5
mov eax, dword [esi + 0x2c4]
test eax, eax
mov dword [esp + 0x80], 0
jle 0x41b0a5
lea esp, [esp]
mov eax, dword [esp + 0x80]
test eax, eax
jl 0x41b78e
cmp eax, dword [esi + 0x2c4]
jge 0x41b78e
mov eax, dword [esi + 0x2c0]
mov ecx, dword [esp + 0x80]
mov edi, dword [eax + ecx*4]
call dword [sym.imp.opengl32.dll_glLoadIdentity]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
call ebx
mov ecx, dword [esi + 0x190]
fld dword [ecx + 0x168]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, dword [edi + 8]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call fcn.0049ba90
fld dword [esp + 0x2c]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
add esp, 0x14
push 0
sub esp, 8
fadd dword [esp + 0x88]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x20]
fadd dword [esp + 0x80]
fstp dword [esp]
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41af70
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esi + 0x13c]
jne 0x41af70
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x41aefd
push 0xff
push 0xff
push 0xff
call dword [sym.imp.opengl32.dll_glColor3ub]
push 0x40000000
call dword [sym.imp.opengl32.dll_glLineWidth]
mov edi, dword [sym.imp.opengl32.dll_glVertexPointer]
push 0x58dd08
push 0
push 0x1406
push 2
call edi
push 8
push 0
push 2
call dword [sym.imp.opengl32.dll_glDrawArrays]
push 0x3f800000
call dword [sym.imp.opengl32.dll_glLineWidth]
push 0x58dcc0
push 0
push 0x1406
push 2
call edi
push 8
push 0
push 2
call dword [sym.imp.opengl32.dll_glDrawArrays]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x41afae
push 0xc8
push 0xc8
push 0xc8
call dword [sym.imp.opengl32.dll_glColor3ub]
jmp 0x41afae
mov edi, dword [sym.imp.opengl32.dll_glVertexPointer]
push 0x58dd08
push 0
push 0x1406
push 2
call edi
push 8
push 0
push 2
call dword [sym.imp.opengl32.dll_glDrawArrays]
push 0x58dcc0
push 0
push 0x1406
push 2
call edi
push 8
push 0
push 2
call dword [sym.imp.opengl32.dll_glDrawArrays]
call dword [sym.imp.opengl32.dll_glLoadIdentity]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
call ebx
mov ecx, dword [esi + 0x190]
fld dword [ecx + 0x168]
push 0x3f800000
push 0
fchs
push 0
push ecx
fstp dword [esp]
call dword [sym.imp.opengl32.dll_glRotatef]
mov edi, dword [esp + 0x80]
test edi, edi
je 0x41b03c
push 1
call dword [sym.imp.opengl32.dll_glBegin]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
call ebp
fld dword [esp + 0x18]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
sub esp, 8
fadd dword [esp + 0x7c]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x7c]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
mov eax, dword [esi + 0x190]
fld dword [eax + 0x150]
push 0
fadd dword [esi + 8]
sub esp, 8
fadd dword [esp + 0x20]
fadd dword [esp + 0x80]
fstp dword [esp + 0x60]
fld dword [esp + 0x24]
fadd dword [eax + 0x154]
fadd dword [esp + 0x80]
fadd dword [esi + 0xc]
fstp dword [esp + 0x64]
fld dword [esp + 0x84]
fchs
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fchs
fstp dword [esp]
call ebx
mov eax, dword [esi + 0x2c4]
inc edi
cmp edi, eax
mov dword [esp + 0x80], edi
jl 0x41ae00
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x41b0b8
cmp eax, 3
jne 0x41b42d
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, edi
sub eax, edx
cmp eax, 0x1e
mov dword [esp + 0x24], eax
jl 0x41b0d5
mov dword [esp + 0x24], 0x1e
push 3
call dword [sym.imp.opengl32.dll_glBegin]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
sub edi, edx
mov dword [esp + 0x5c], edi
cmp eax, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x80], eax
jg 0x41b1aa
mov edi, edi
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0x98]
fstp dword [esp]
push 0x41100000
push 0x41100000
call fcn.0049ba40
mov eax, dword [edi + 0xd8]
add esp, 0x20
sub esp, 8
test eax, eax
mov eax, dword [esi + 0x190]
fld dword [eax + 0x154]
fadd dword [esi + 0xc]
fsub dword [esp + 0x24]
je 0x41b16c
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x28]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
jle 0x41b100
fild dword [esp + 0x3c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fild dword [esp + 0x88]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push ecx
push ecx
fstp dword [esp]
push 0x41100000
push 0x41100000
call fcn.0049ba40
mov eax, dword [edi + 0xd8]
add esp, 0x20
sub esp, 8
test eax, eax
mov eax, dword [esi + 0x190]
fld dword [eax + 0x154]
fadd dword [esi + 0xc]
fsub dword [esp + 0x24]
je 0x41b251
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x28]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov eax, dword [esi + 0x190]
fld dword [eax + 0x154]
fadd dword [esi + 0xc]
fsub dword [esp + 0x28]
fadd dword [esp + 0x7c]
jmp 0x41b28d
fadd dword [esp + 0x7c]
fadd dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x28]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
mov eax, dword [esi + 0x190]
fld dword [eax + 0x154]
fadd dword [esi + 0xc]
fsub dword [esp + 0x28]
fadd dword [esp + 0x74]
sub esp, 8
fadd dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [eax + 0x150]
fadd dword [esi + 8]
fadd dword [esp + 0x34]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x18]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
fld dword [esi + 0x1d8]
call fcn.004eaa58
cmp eax, 0x168
je 0x41b42d
fild dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
fstp dword [esp]
push 0x41100000
push 0x41100000
call fcn.0049ba40
mov eax, dword [esp + 0x64]
add esp, 0x20
push eax
push eax
push eax
call dword [sym.imp.opengl32.dll_glColor3ub]
fld dword [esp + 0x78]
mov eax, dword [esi + 0x190]
fadd dword [eax + 0x154]
push 0
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fadd dword [eax + 0x150]
fstp dword [esp]
call ebx
push 3
call dword [sym.imp.opengl32.dll_glBegin]
fld dword [esi + 0xc]
mov eax, dword [edi + 0xd8]
fsub dword [esp + 0x1c]
sub esp, 8
test eax, eax
je 0x41b3a3
fadd dword [esp + 0x84]
fadd dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fadd dword [esi + 8]
fadd dword [esp + 0x7c]
fstp dword [esp]
call ebp
fld dword [esp + 0x7c]
sub esp, 8
fadd dword [esp + 0x7c]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x7c]
fadd dword [esi + 8]
fstp dword [esp]
call ebp
fld dword [esi + 0xc]
fsub dword [esp + 0x28]
fadd dword [esp + 0x7c]
jmp 0x41b3e0
fadd dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fadd dword [esi + 8]
fadd dword [esp + 0x7c]
fstp dword [esp]
call ebp
fld dword [esp + 0x7c]
sub esp, 8
fadd dword [esp + 0x7c]
fadd dword [esi + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x7c]
fadd dword [esi + 8]
fstp dword [esp]
call ebp
fld dword [esi + 0xc]
fsub dword [esp + 0x28]
fadd dword [esp + 0x74]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x34]
fadd dword [esi + 8]
fadd dword [esp + 0x7c]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
fld dword [esp + 0x78]
mov eax, dword [esi + 0x190]
fchs
fsub dword [eax + 0x154]
push 0
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fchs
fsub dword [eax + 0x150]
fstp dword [esp]
call ebx
mov eax, dword [esi + 0x190]
fld dword [esp + 0x60]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
fadd dword [eax + 0x150]
fld dword [esp + 0x64]
fadd dword [eax + 0x154]
mov eax, dword [esp + 0x30]
cmp eax, 1
fstp dword [esp + 0x80]
jne 0x41b478
fadd dword [esp + 0x74]
fstp dword [esp + 0x24]
fld dword [esp + 0x80]
fadd dword [esp + 0x74]
jmp 0x41b48b
fsub dword [esp + 0x74]
fstp dword [esp + 0x24]
fld dword [esp + 0x80]
fsub dword [esp + 0x74]
mov eax, dword [esi + 0x6c]
fstp dword [esp + 0x80]
test eax, eax
jne 0x41b754
mov eax, dword [esi + 0x2b0]
test eax, eax
jle 0x41b78e
xor ebx, ebx
test eax, eax
mov dword [esp + 0x40], ebx
jle 0x41b754
lea esp, [esp]
test ebx, ebx
jl 0x41b78e
cmp ebx, dword [esi + 0x2b0]
jge 0x41b78e
mov eax, dword [esi + 0x2ac]
mov edi, dword [eax + ebx*4]
push 0xb10
call dword [sym.imp.opengl32.dll_glDisable]
test ebx, ebx
jle 0x41b5c5
push 0x3f800000
call dword [sym.imp.opengl32.dll_glPointSize]
lea eax, [ebx - 1]
test eax, eax
jl 0x41b78e
cmp eax, dword [esi + 0x2b0]
jge 0x41b78e
mov ecx, dword [esi + 0x2ac]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + edx*4 - 4]
mov ebx, dword [edi + 4]
sub ebx, dword [eax + 4]
mov dword [esp + 0x74], ebx
fild dword [esp + 0x74]
push 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], 0
fdivr dword [0x54fb34]
fstp dword [esp + 0x50]
call dword [sym.imp.opengl32.dll_glBegin]
test ebx, ebx
mov dword [esp + 0x74], 0
jl 0x41b5bb
jmp 0x41b560
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00471970
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41b5a2
fld dword [esp + 0x68]
sub esp, 8
fadd dword [esp + 0x88]
fstp dword [esp + 4]
fld dword [esp + 0x74]
fadd dword [esp + 0x2c]
fstp dword [esp]
call ebp
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
fadd dword [esp + 0x48]
inc eax
cmp eax, ebx
mov dword [esp + 0x74], eax
fstp dword [esp + 0x48]
jle 0x41b560
call dword [sym.imp.opengl32.dll_glEnd]
mov ebx, dword [esp + 0x40]
push 0xb10
call dword [sym.imp.opengl32.dll_glEnable]
push 0x40800000
call dword [sym.imp.opengl32.dll_glPointSize]
push 0
call dword [sym.imp.opengl32.dll_glBegin]
fld dword [esp + 0x80]
fadd dword [edi + 0xc]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x41b741
push 0xaaaa
push 1
call dword [sym.imp.opengl32.dll_glLineStipple]
push 0xb24
call dword [sym.imp.opengl32.dll_glEnable]
test ebx, ebx
je 0x41b6ac
push 1
call dword [sym.imp.opengl32.dll_glBegin]
fld dword [esp + 0x80]
fadd dword [edi + 0xc]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
fld dword [esp + 0x80]
sub esp, 8
fadd dword [edi + 0x14]
fadd dword [edi + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 0x10]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
push 0
call dword [sym.imp.opengl32.dll_glBegin]
fld dword [esp + 0x80]
fadd dword [edi + 0x14]
sub esp, 8
fadd dword [edi + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 0x10]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
mov ecx, dword [esi + 0x2b0]
dec ecx
cmp ebx, ecx
je 0x41b736
push 1
call dword [sym.imp.opengl32.dll_glBegin]
fld dword [esp + 0x80]
fadd dword [edi + 0xc]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
fld dword [esp + 0x80]
sub esp, 8
fadd dword [edi + 0x1c]
fadd dword [edi + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 0x18]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
push 0
call dword [sym.imp.opengl32.dll_glBegin]
fld dword [esp + 0x80]
fadd dword [edi + 0x1c]
sub esp, 8
fadd dword [edi + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fadd dword [edi + 0x18]
fadd dword [edi + 8]
fstp dword [esp]
call ebp
call dword [sym.imp.opengl32.dll_glEnd]
push 0xb24
call dword [sym.imp.opengl32.dll_glDisable]
mov eax, dword [esi + 0x2b0]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
jl 0x41b4c0
dec dword [esp + 0x30]
jns 0x41a730
mov esi, dword [sym.imp.opengl32.dll_glDisable]
push 0xb20
call esi
push 0xb10
call esi
push 0xbe2
call esi
push 0x8074
call dword [sym.imp.opengl32.dll_glDisableClientState]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x60
ret 0x10
call fcn.004fd76e
int3