40dd9c:	89 45 bc             	mov    %eax,-0x44(%ebp)
40dd9f:	eb 07                	jmp    0x40dda8
40dda1:	c7 45 bc 00 00 00 00 	movl   $0x0,-0x44(%ebp)
40dda8:	83 7d bc 00          	cmpl   $0x0,-0x44(%ebp)
40ddac:	0f 85 2c 0e 00 00    	jne    0x40ebde
40ddb2:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40ddb5:	81 e1 00 40 00 00    	and    $0x4000,%ecx
40ddbb:	74 6e                	je     0x40de2b
40ddbd:	e8 24 47 ff ff       	call   0x4024e6
40ddc2:	85 c0                	test   %eax,%eax
40ddc4:	74 41                	je     0x40de07
40ddc6:	e8 bf 5c ff ff       	call   0x403a8a
40ddcb:	85 c0                	test   %eax,%eax
40ddcd:	74 38                	je     0x40de07
40ddcf:	8d 95 d8 fc ff ff    	lea    -0x328(%ebp),%edx
40ddd5:	52                   	push   %edx
40ddd6:	e8 22 53 ff ff       	call   0x4030fd
40dddb:	83 c4 04             	add    $0x4,%esp
40ddde:	50                   	push   %eax
40dddf:	6a 20                	push   $0x20
40dde1:	8d 85 d0 fc ff ff    	lea    -0x330(%ebp),%eax
40dde7:	50                   	push   %eax
40dde8:	e8 44 4c ff ff       	call   0x402a31
40dded:	83 c4 0c             	add    $0xc,%esp
40ddf0:	89 85 1c fd ff ff    	mov    %eax,-0x2e4(%ebp)
40ddf6:	8b 8d 1c fd ff ff    	mov    -0x2e4(%ebp),%ecx
40ddfc:	51                   	push   %ecx
40ddfd:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40de00:	e8 97 4f ff ff       	call   0x402d9c
40de05:	eb 24                	jmp    0x40de2b
40de07:	8d 95 c8 fc ff ff    	lea    -0x338(%ebp),%edx
40de0d:	52                   	push   %edx
40de0e:	e8 ea 52 ff ff       	call   0x4030fd
40de13:	83 c4 04             	add    $0x4,%esp
40de16:	89 85 18 fd ff ff    	mov    %eax,-0x2e8(%ebp)
40de1c:	8b 85 18 fd ff ff    	mov    -0x2e8(%ebp),%eax
40de22:	50                   	push   %eax
40de23:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40de26:	e8 87 3e ff ff       	call   0x401cb2
40de2b:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40de2e:	81 e1 00 80 00 00    	and    $0x8000,%ecx
40de34:	74 29                	je     0x40de5f
40de36:	8b 55 fc             	mov    -0x4(%ebp),%edx
40de39:	81 e2 00 18 00 00    	and    $0x1800,%edx
40de3f:	81 fa 00 08 00 00    	cmp    $0x800,%edx
40de45:	75 09                	jne    0x40de50
40de47:	c7 45 b8 01 00 00 00 	movl   $0x1,-0x48(%ebp)
40de4e:	eb 07                	jmp    0x40de57
40de50:	c7 45 b8 00 00 00 00 	movl   $0x0,-0x48(%ebp)
40de57:	8b 45 b8             	mov    -0x48(%ebp),%eax
40de5a:	89 45 b0             	mov    %eax,-0x50(%ebp)
40de5d:	eb 21                	jmp    0x40de80
40de5f:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40de62:	81 e1 00 60 00 00    	and    $0x6000,%ecx
40de68:	75 09                	jne    0x40de73
40de6a:	c7 45 b4 01 00 00 00 	movl   $0x1,-0x4c(%ebp)
40de71:	eb 07                	jmp    0x40de7a
40de73:	c7 45 b4 00 00 00 00 	movl   $0x0,-0x4c(%ebp)
40de7a:	8b 55 b4             	mov    -0x4c(%ebp),%edx
40de7d:	89 55 b0             	mov    %edx,-0x50(%ebp)
40de80:	83 7d b0 00          	cmpl   $0x0,-0x50(%ebp)
40de84:	74 0d                	je     0x40de93
40de86:	8b 45 fc             	mov    -0x4(%ebp),%eax
40de89:	25 00 04 00 00       	and    $0x400,%eax
40de8e:	89 45 ac             	mov    %eax,-0x54(%ebp)
40de91:	eb 0c                	jmp    0x40de9f
40de93:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40de96:	81 e1 00 10 00 00    	and    $0x1000,%ecx
40de9c:	89 4d ac             	mov    %ecx,-0x54(%ebp)
40de9f:	83 7d ac 00          	cmpl   $0x0,-0x54(%ebp)
40dea3:	0f 84 92 01 00 00    	je     0x40e03b
40dea9:	8b 55 fc             	mov    -0x4(%ebp),%edx
40deac:	81 e2 00 80 00 00    	and    $0x8000,%edx
40deb2:	74 27                	je     0x40dedb
40deb4:	8b 45 fc             	mov    -0x4(%ebp),%eax
40deb7:	25 00 18 00 00       	and    $0x1800,%eax
40debc:	3d 00 18 00 00       	cmp    $0x1800,%eax
40dec1:	75 09                	jne    0x40decc
40dec3:	c7 45 a8 01 00 00 00 	movl   $0x1,-0x58(%ebp)
40deca:	eb 07                	jmp    0x40ded3
40decc:	c7 45 a8 00 00 00 00 	movl   $0x0,-0x58(%ebp)
40ded3:	8b 4d a8             	mov    -0x58(%ebp),%ecx
40ded6:	89 4d a4             	mov    %ecx,-0x5c(%ebp)
40ded9:	eb 07                	jmp    0x40dee2
40dedb:	c7 45 a4 00 00 00 00 	movl   $0x0,-0x5c(%ebp)
40dee2:	83 7d a4 00          	cmpl   $0x0,-0x5c(%ebp)
40dee6:	0f 84 4f 01 00 00    	je     0x40e03b
40deec:	6a 7b                	push   $0x7b
40deee:	8d 95 c0 fc ff ff    	lea    -0x340(%ebp),%edx
40def4:	52                   	push   %edx
40def5:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40def8:	e8 6c 59 ff ff       	call   0x403869
40defd:	89 85 e8 fd ff ff    	mov    %eax,-0x218(%ebp)
40df03:	8d 85 b8 fc ff ff    	lea    -0x348(%ebp),%eax
40df09:	50                   	push   %eax
40df0a:	e8 27 3c ff ff       	call   0x401b36
40df0f:	83 c4 04             	add    $0x4,%esp
40df12:	50                   	push   %eax
40df13:	8d 8d b0 fc ff ff    	lea    -0x350(%ebp),%ecx
40df19:	51                   	push   %ecx
40df1a:	8b 8d e8 fd ff ff    	mov    -0x218(%ebp),%ecx
40df20:	e8 a6 51 ff ff       	call   0x4030cb
40df25:	89 85 e4 fd ff ff    	mov    %eax,-0x21c(%ebp)
40df2b:	8b 95 e4 fd ff ff    	mov    -0x21c(%ebp),%edx
40df31:	52                   	push   %edx
40df32:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40df35:	e8 18 48 ff ff       	call   0x402752
40df3a:	8d 85 e8 fc ff ff    	lea    -0x318(%ebp),%eax
40df40:	50                   	push   %eax
40df41:	e8 93 5c ff ff       	call   0x403bd9
40df46:	83 c4 04             	add    $0x4,%esp
40df49:	e8 78 47 ff ff       	call   0x4026c6
40df4e:	85 c0                	test   %eax,%eax
40df50:	75 4a                	jne    0x40df9c
40df52:	8d 8d e8 fc ff ff    	lea    -0x318(%ebp),%ecx
40df58:	51                   	push   %ecx
40df59:	6a 2c                	push   $0x2c
40df5b:	8d 95 a8 fc ff ff    	lea    -0x358(%ebp),%edx
40df61:	52                   	push   %edx
40df62:	e8 ca 4a ff ff       	call   0x402a31
40df67:	83 c4 0c             	add    $0xc,%esp
40df6a:	89 85 e0 fd ff ff    	mov    %eax,-0x220(%ebp)
40df70:	68 b8 7d 49 00       	push   $0x497db8
40df75:	8d 85 a0 fc ff ff    	lea    -0x360(%ebp),%eax
40df7b:	50                   	push   %eax
40df7c:	8b 8d e0 fd ff ff    	mov    -0x220(%ebp),%ecx
40df82:	e8 14 31 ff ff       	call   0x40109b
40df87:	89 85 dc fd ff ff    	mov    %eax,-0x224(%ebp)
40df8d:	8b 8d dc fd ff ff    	mov    -0x224(%ebp),%ecx
40df93:	51                   	push   %ecx
40df94:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40df97:	e8 b6 47 ff ff       	call   0x402752
40df9c:	68 bc 7d 49 00       	push   $0x497dbc
40dfa1:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40dfa4:	e8 9c 4f ff ff       	call   0x402f45
40dfa9:	8d 95 e0 fc ff ff    	lea    -0x320(%ebp),%edx
40dfaf:	52                   	push   %edx
40dfb0:	e8 22 31 ff ff       	call   0x4010d7
40dfb5:	83 c4 04             	add    $0x4,%esp
40dfb8:	e8 29 45 ff ff       	call   0x4024e6
40dfbd:	85 c0                	test   %eax,%eax
40dfbf:	74 75                	je     0x40e036
40dfc1:	e8 8c 3d ff ff       	call   0x401d52
40dfc6:	85 c0                	test   %eax,%eax
40dfc8:	74 6c                	je     0x40e036
40dfca:	e8 f7 46 ff ff       	call   0x4026c6
40dfcf:	85 c0                	test   %eax,%eax
40dfd1:	75 63                	jne    0x40e036
40dfd3:	8d 85 e0 fc ff ff    	lea    -0x320(%ebp),%eax
40dfd9:	50                   	push   %eax
40dfda:	6a 20                	push   $0x20
40dfdc:	8d 8d 98 fc ff ff    	lea    -0x368(%ebp),%ecx
40dfe2:	51                   	push   %ecx
40dfe3:	e8 49 4a ff ff       	call   0x402a31
40dfe8:	83 c4 0c             	add    $0xc,%esp
40dfeb:	89 85 d8 fd ff ff    	mov    %eax,-0x228(%ebp)
40dff1:	6a 20                	push   $0x20
40dff3:	8d 95 90 fc ff ff    	lea    -0x370(%ebp),%edx
40dff9:	52                   	push   %edx
40dffa:	8b 8d d8 fd ff ff    	mov    -0x228(%ebp),%ecx
40e000:	e8 64 58 ff ff       	call   0x403869
40e005:	89 85 d4 fd ff ff    	mov    %eax,-0x22c(%ebp)
40e00b:	8d 45 f4             	lea    -0xc(%ebp),%eax
40e00e:	50                   	push   %eax
40e00f:	8d 8d 88 fc ff ff    	lea    -0x378(%ebp),%ecx
40e015:	51                   	push   %ecx
40e016:	8b 8d d4 fd ff ff    	mov    -0x22c(%ebp),%ecx
40e01c:	e8 aa 50 ff ff       	call   0x4030cb
40e021:	89 85 d0 fd ff ff    	mov    %eax,-0x230(%ebp)
40e027:	8b 95 d0 fd ff ff    	mov    -0x230(%ebp),%edx
40e02d:	52                   	push   %edx
40e02e:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40e031:	e8 66 4d ff ff       	call   0x402d9c
40e036:	e9 9e 0b 00 00       	jmp    0x40ebd9
40e03b:	8d 8d 08 fd ff ff    	lea    -0x2f8(%ebp),%ecx
40e041:	e8 7e 43 ff ff       	call   0x4023c4
40e046:	8d 8d 00 fd ff ff    	lea    -0x300(%ebp),%ecx
40e04c:	e8 73 43 ff ff       	call   0x4023c4
40e051:	8d 8d ec fd ff ff    	lea    -0x214(%ebp),%ecx
40e057:	e8 68 43 ff ff       	call   0x4023c4
40e05c:	8d 8d f8 fc ff ff    	lea    -0x308(%ebp),%ecx
40e062:	e8 5d 43 ff ff       	call   0x4023c4
40e067:	8d 8d 10 fd ff ff    	lea    -0x2f0(%ebp),%ecx
40e06d:	e8 52 43 ff ff       	call   0x4023c4
40e072:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e075:	25 00 80 00 00       	and    $0x8000,%eax
40e07a:	74 29                	je     0x40e0a5
40e07c:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e07f:	81 e1 00 18 00 00    	and    $0x1800,%ecx
40e085:	81 f9 00 08 00 00    	cmp    $0x800,%ecx
40e08b:	75 09                	jne    0x40e096
40e08d:	c7 45 a0 01 00 00 00 	movl   $0x1,-0x60(%ebp)
40e094:	eb 07                	jmp    0x40e09d
40e096:	c7 45 a0 00 00 00 00 	movl   $0x0,-0x60(%ebp)
40e09d:	8b 55 a0             	mov    -0x60(%ebp),%edx
40e0a0:	89 55 98             	mov    %edx,-0x68(%ebp)
40e0a3:	eb 20                	jmp    0x40e0c5
40e0a5:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e0a8:	25 00 60 00 00       	and    $0x6000,%eax
40e0ad:	75 09                	jne    0x40e0b8
40e0af:	c7 45 9c 01 00 00 00 	movl   $0x1,-0x64(%ebp)
40e0b6:	eb 07                	jmp    0x40e0bf
40e0b8:	c7 45 9c 00 00 00 00 	movl   $0x0,-0x64(%ebp)
40e0bf:	8b 4d 9c             	mov    -0x64(%ebp),%ecx
40e0c2:	89 4d 98             	mov    %ecx,-0x68(%ebp)
40e0c5:	83 7d 98 00          	cmpl   $0x0,-0x68(%ebp)
40e0c9:	74 0e                	je     0x40e0d9
40e0cb:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e0ce:	81 e2 00 04 00 00    	and    $0x400,%edx
40e0d4:	89 55 94             	mov    %edx,-0x6c(%ebp)
40e0d7:	eb 0b                	jmp    0x40e0e4
40e0d9:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e0dc:	25 00 10 00 00       	and    $0x1000,%eax
40e0e1:	89 45 94             	mov    %eax,-0x6c(%ebp)
40e0e4:	83 7d 94 00          	cmpl   $0x0,-0x6c(%ebp)
40e0e8:	0f 84 a9 01 00 00    	je     0x40e297
40e0ee:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e0f1:	81 e1 00 80 00 00    	and    $0x8000,%ecx
40e0f7:	74 29                	je     0x40e122
40e0f9:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e0fc:	81 e2 00 18 00 00    	and    $0x1800,%edx
40e102:	81 fa 00 08 00 00    	cmp    $0x800,%edx
40e108:	75 09                	jne    0x40e113
40e10a:	c7 45 90 01 00 00 00 	movl   $0x1,-0x70(%ebp)
40e111:	eb 07                	jmp    0x40e11a
40e113:	c7 45 90 00 00 00 00 	movl   $0x0,-0x70(%ebp)
40e11a:	8b 45 90             	mov    -0x70(%ebp),%eax
40e11d:	89 45 88             	mov    %eax,-0x78(%ebp)
40e120:	eb 21                	jmp    0x40e143
40e122:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e125:	81 e1 00 60 00 00    	and    $0x6000,%ecx
40e12b:	75 09                	jne    0x40e136
40e12d:	c7 45 8c 01 00 00 00 	movl   $0x1,-0x74(%ebp)
40e134:	eb 07                	jmp    0x40e13d
40e136:	c7 45 8c 00 00 00 00 	movl   $0x0,-0x74(%ebp)
40e13d:	8b 55 8c             	mov    -0x74(%ebp),%edx
40e140:	89 55 88             	mov    %edx,-0x78(%ebp)
40e143:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40e147:	0f 84 89 00 00 00    	je     0x40e1d6
40e14d:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e150:	25 00 07 00 00       	and    $0x700,%eax
40e155:	3d 00 06 00 00       	cmp    $0x600,%eax
40e15a:	75 7a                	jne    0x40e1d6
40e15c:	8d 8d 80 fc ff ff    	lea    -0x380(%ebp),%ecx
40e162:	51                   	push   %ecx
40e163:	e8 7a 5b ff ff       	call   0x403ce2
40e168:	83 c4 04             	add    $0x4,%esp
40e16b:	89 85 cc fd ff ff    	mov    %eax,-0x234(%ebp)
40e171:	8b 95 cc fd ff ff    	mov    -0x234(%ebp),%edx
40e177:	52                   	push   %edx
40e178:	8d 8d 08 fd ff ff    	lea    -0x2f8(%ebp),%ecx
40e17e:	e8 19 4c ff ff       	call   0x402d9c
40e183:	8d 85 78 fc ff ff    	lea    -0x388(%ebp),%eax
40e189:	50                   	push   %eax
40e18a:	e8 53 5b ff ff       	call   0x403ce2
40e18f:	83 c4 04             	add    $0x4,%esp
40e192:	89 85 c8 fd ff ff    	mov    %eax,-0x238(%ebp)
40e198:	8b 8d c8 fd ff ff    	mov    -0x238(%ebp),%ecx
40e19e:	51                   	push   %ecx
40e19f:	8d 8d 00 fd ff ff    	lea    -0x300(%ebp),%ecx
40e1a5:	e8 f2 4b ff ff       	call   0x402d9c
40e1aa:	8d 95 70 fc ff ff    	lea    -0x390(%ebp),%edx
40e1b0:	52                   	push   %edx
40e1b1:	e8 2c 5b ff ff       	call   0x403ce2
40e1b6:	83 c4 04             	add    $0x4,%esp
40e1b9:	89 85 c4 fd ff ff    	mov    %eax,-0x23c(%ebp)
40e1bf:	8b 85 c4 fd ff ff    	mov    -0x23c(%ebp),%eax
40e1c5:	50                   	push   %eax
40e1c6:	8d 8d ec fd ff ff    	lea    -0x214(%ebp),%ecx
40e1cc:	e8 cb 4b ff ff       	call   0x402d9c
40e1d1:	e9 9a 00 00 00       	jmp    0x40e270
40e1d6:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e1d9:	81 e1 00 80 00 00    	and    $0x8000,%ecx
40e1df:	74 2c                	je     0x40e20d
40e1e1:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e1e4:	81 e2 00 18 00 00    	and    $0x1800,%edx
40e1ea:	81 fa 00 08 00 00    	cmp    $0x800,%edx
40e1f0:	75 09                	jne    0x40e1fb
40e1f2:	c7 45 84 01 00 00 00 	movl   $0x1,-0x7c(%ebp)
40e1f9:	eb 07                	jmp    0x40e202
40e1fb:	c7 45 84 00 00 00 00 	movl   $0x0,-0x7c(%ebp)
40e202:	8b 45 84             	mov    -0x7c(%ebp),%eax
40e205:	89 85 7c ff ff ff    	mov    %eax,-0x84(%ebp)
40e20b:	eb 24                	jmp    0x40e231
40e20d:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e210:	81 e1 00 60 00 00    	and    $0x6000,%ecx
40e216:	75 09                	jne    0x40e221
40e218:	c7 45 80 01 00 00 00 	movl   $0x1,-0x80(%ebp)
40e21f:	eb 07                	jmp    0x40e228
40e221:	c7 45 80 00 00 00 00 	movl   $0x0,-0x80(%ebp)
40e228:	8b 55 80             	mov    -0x80(%ebp),%edx
40e22b:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)
40e231:	83 bd 7c ff ff ff 00 	cmpl   $0x0,-0x84(%ebp)
40e238:	74 36                	je     0x40e270
40e23a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e23d:	25 00 07 00 00       	and    $0x700,%eax
40e242:	3d 00 05 00 00       	cmp    $0x500,%eax
40e247:	75 27                	jne    0x40e270
40e249:	8d 8d 68 fc ff ff    	lea    -0x398(%ebp),%ecx
40e24f:	51                   	push   %ecx
40e250:	e8 8d 5a ff ff       	call   0x403ce2
40e255:	83 c4 04             	add    $0x4,%esp
40e258:	89 85 c0 fd ff ff    	mov    %eax,-0x240(%ebp)
40e25e:	8b 95 c0 fd ff ff    	mov    -0x240(%ebp),%edx
40e264:	52                   	push   %edx
40e265:	8d 8d ec fd ff ff    	lea    -0x214(%ebp),%ecx
40e26b:	e8 2c 4b ff ff       	call   0x402d9c
40e270:	8d 85 60 fc ff ff    	lea    -0x3a0(%ebp),%eax
40e276:	50                   	push   %eax
40e277:	e8 66 5a ff ff       	call   0x403ce2
40e27c:	83 c4 04             	add    $0x4,%esp
40e27f:	89 85 bc fd ff ff    	mov    %eax,-0x244(%ebp)
40e285:	8b 8d bc fd ff ff    	mov    -0x244(%ebp),%ecx
40e28b:	51                   	push   %ecx
40e28c:	8d 8d f8 fc ff ff    	lea    -0x308(%ebp),%ecx
40e292:	e8 05 4b ff ff       	call   0x402d9c
40e297:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e29a:	81 e2 00 80 00 00    	and    $0x8000,%edx
40e2a0:	74 33                	je     0x40e2d5
40e2a2:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e2a5:	25 00 18 00 00       	and    $0x1800,%eax
40e2aa:	3d 00 08 00 00       	cmp    $0x800,%eax
40e2af:	75 0c                	jne    0x40e2bd
40e2b1:	c7 85 78 ff ff ff 01 	movl   $0x1,-0x88(%ebp)
40e2b8:	00 00 00
40e2bb:	eb 0a                	jmp    0x40e2c7
40e2bd:	c7 85 78 ff ff ff 00 	movl   $0x0,-0x88(%ebp)
40e2c4:	00 00 00
40e2c7:	8b 8d 78 ff ff ff    	mov    -0x88(%ebp),%ecx
40e2cd:	89 8d 70 ff ff ff    	mov    %ecx,-0x90(%ebp)
40e2d3:	eb 2d                	jmp    0x40e302
40e2d5:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e2d8:	81 e2 00 60 00 00    	and    $0x6000,%edx
40e2de:	75 0c                	jne    0x40e2ec
40e2e0:	c7 85 74 ff ff ff 01 	movl   $0x1,-0x8c(%ebp)
40e2e7:	00 00 00
40e2ea:	eb 0a                	jmp    0x40e2f6
40e2ec:	c7 85 74 ff ff ff 00 	movl   $0x0,-0x8c(%ebp)
40e2f3:	00 00 00
40e2f6:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax
40e2fc:	89 85 70 ff ff ff    	mov    %eax,-0x90(%ebp)
40e302:	83 bd 70 ff ff ff 00 	cmpl   $0x0,-0x90(%ebp)
40e309:	0f 84 21 01 00 00    	je     0x40e430
40e30f:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e312:	81 e1 00 80 00 00    	and    $0x8000,%ecx
40e318:	74 35                	je     0x40e34f
40e31a:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e31d:	81 e2 00 18 00 00    	and    $0x1800,%edx
40e323:	81 fa 00 08 00 00    	cmp    $0x800,%edx
40e329:	75 0c                	jne    0x40e337