40bfc1:	eb 0a                	jmp    0x40bfcd
40bfc3:	b8 0a 00 00 00       	mov    $0xa,%eax
40bfc8:	3b f0                	cmp    %eax,%esi
40bfca:	0f 42 f0             	cmovb  %eax,%esi
40bfcd:	33 c9                	xor    %ecx,%ecx
40bfcf:	8b c6                	mov    %esi,%eax
40bfd1:	83 c0 01             	add    $0x1,%eax
40bfd4:	0f 92 c1             	setb   %cl
40bfd7:	f7 d9                	neg    %ecx
40bfd9:	0b c8                	or     %eax,%ecx
40bfdb:	81 f9 ff ff ff 7f    	cmp    $0x7fffffff,%ecx
40bfe1:	0f 87 a8 00 00 00    	ja     0x40c08f
40bfe7:	03 c9                	add    %ecx,%ecx
40bfe9:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
40bfef:	72 33                	jb     0x40c024
40bff1:	8d 41 23             	lea    0x23(%ecx),%eax
40bff4:	3b c1                	cmp    %ecx,%eax
40bff6:	0f 86 93 00 00 00    	jbe    0x40c08f
40bffc:	50                   	push   %eax
40bffd:	e8 dc f8 00 00       	call   0x41b8de
40c002:	83 c4 04             	add    $0x4,%esp
40c005:	85 c0                	test   %eax,%eax
40c007:	0f 84 8c 00 00 00    	je     0x40c099
40c00d:	8d 50 23             	lea    0x23(%eax),%edx
40c010:	83 e2 e0             	and    $0xffffffe0,%edx
40c013:	89 55 fc             	mov    %edx,-0x4(%ebp)
40c016:	89 55 f4             	mov    %edx,-0xc(%ebp)
40c019:	89 42 fc             	mov    %eax,-0x4(%edx)
40c01c:	8d 47 10             	lea    0x10(%edi),%eax
40c01f:	89 45 f0             	mov    %eax,-0x10(%ebp)
40c022:	eb 2f                	jmp    0x40c053
40c024:	85 c9                	test   %ecx,%ecx
40c026:	74 19                	je     0x40c041
40c028:	51                   	push   %ecx
40c029:	e8 b0 f8 00 00       	call   0x41b8de
40c02e:	8d 57 10             	lea    0x10(%edi),%edx
40c031:	89 45 fc             	mov    %eax,-0x4(%ebp)
40c034:	89 55 f0             	mov    %edx,-0x10(%ebp)
40c037:	83 c4 04             	add    $0x4,%esp
40c03a:	8b d0                	mov    %eax,%edx
40c03c:	89 55 f4             	mov    %edx,-0xc(%ebp)
40c03f:	eb 12                	jmp    0x40c053
40c041:	33 d2                	xor    %edx,%edx
40c043:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
40c04a:	89 55 fc             	mov    %edx,-0x4(%ebp)
40c04d:	8d 57 10             	lea    0x10(%edi),%edx
40c050:	89 55 f0             	mov    %edx,-0x10(%ebp)
40c053:	8b 55 f4             	mov    -0xc(%ebp),%edx
40c056:	8b cb                	mov    %ebx,%ecx
40c058:	8b 45 f8             	mov    -0x8(%ebp),%eax
40c05b:	89 17                	mov    %edx,(%edi)
40c05d:	8b 7d f0             	mov    -0x10(%ebp),%edi
40c060:	89 0f                	mov    %ecx,(%edi)
40c062:	8b 7d fc             	mov    -0x4(%ebp),%edi
40c065:	89 30                	mov    %esi,(%eax)
40c067:	8b 45 08             	mov    0x8(%ebp),%eax
40c06a:	0f b7 d0             	movzwl %ax,%edx
40c06d:	8b c2                	mov    %edx,%eax
40c06f:	c1 e2 10             	shl    $0x10,%edx
40c072:	0b c2                	or     %edx,%eax
40c074:	d1 e9                	shr    $1,%ecx
40c076:	f3 ab                	rep stos %eax,%es:(%edi)
40c078:	13 c9                	adc    %ecx,%ecx
40c07a:	66 f3 ab             	rep stos %ax,%es:(%edi)
40c07d:	8b 45 fc             	mov    -0x4(%ebp),%eax
40c080:	33 c9                	xor    %ecx,%ecx
40c082:	5e                   	pop    %esi
40c083:	5f                   	pop    %edi
40c084:	66 89 0c 58          	mov    %cx,(%eax,%ebx,2)
40c088:	5b                   	pop    %ebx
40c089:	8b e5                	mov    %ebp,%esp
40c08b:	5d                   	pop    %ebp
40c08c:	c2 08 00             	ret    $0x8
40c08f:	e8 6c 51 ff ff       	call   0x401200
40c094:	e8 07 52 ff ff       	call   0x4012a0
40c099:	e8 e1 49 01 00       	call   0x420a7f
40c09e:	cc                   	int3
40c09f:	cc                   	int3
40c0a0:	55                   	push   %ebp
40c0a1:	8b ec                	mov    %esp,%ebp
40c0a3:	83 ec 08             	sub    $0x8,%esp
40c0a6:	8b 45 08             	mov    0x8(%ebp),%eax
40c0a9:	53                   	push   %ebx
40c0aa:	56                   	push   %esi
40c0ab:	8b 75 0c             	mov    0xc(%ebp),%esi
40c0ae:	8b d9                	mov    %ecx,%ebx
40c0b0:	89 45 f8             	mov    %eax,-0x8(%ebp)
40c0b3:	81 fe ff ff ff 7f    	cmp    $0x7fffffff,%esi
40c0b9:	0f 87 b1 00 00 00    	ja     0x40c170
40c0bf:	c7 43 14 0f 00 00 00 	movl   $0xf,0x14(%ebx)
40c0c6:	83 fe 10             	cmp    $0x10,%esi
40c0c9:	73 1a                	jae    0x40c0e5
40c0cb:	56                   	push   %esi
40c0cc:	50                   	push   %eax
40c0cd:	53                   	push   %ebx
40c0ce:	89 73 10             	mov    %esi,0x10(%ebx)
40c0d1:	e8 7a 13 01 00       	call   0x41d450
40c0d6:	83 c4 0c             	add    $0xc,%esp
40c0d9:	c6 04 1e 00          	movb   $0x0,(%esi,%ebx,1)
40c0dd:	5e                   	pop    %esi
40c0de:	5b                   	pop    %ebx
40c0df:	8b e5                	mov    %ebp,%esp
40c0e1:	5d                   	pop    %ebp
40c0e2:	c2 08 00             	ret    $0x8
40c0e5:	57                   	push   %edi
40c0e6:	8b fe                	mov    %esi,%edi
40c0e8:	83 cf 0f             	or     $0xf,%edi
40c0eb:	81 ff ff ff ff 7f    	cmp    $0x7fffffff,%edi
40c0f1:	76 27                	jbe    0x40c11a
40c0f3:	b9 00 00 00 80       	mov    $0x80000000,%ecx
40c0f8:	bf ff ff ff 7f       	mov    $0x7fffffff,%edi
40c0fd:	83 c1 23             	add    $0x23,%ecx
40c100:	51                   	push   %ecx
40c101:	e8 d8 f7 00 00       	call   0x41b8de
40c106:	8b c8                	mov    %eax,%ecx
40c108:	83 c4 04             	add    $0x4,%esp
40c10b:	85 c9                	test   %ecx,%ecx
40c10d:	74 6b                	je     0x40c17a
40c10f:	8d 41 23             	lea    0x23(%ecx),%eax
40c112:	83 e0 e0             	and    $0xffffffe0,%eax
40c115:	89 48 fc             	mov    %ecx,-0x4(%eax)
40c118:	eb 2e                	jmp    0x40c148
40c11a:	b8 16 00 00 00       	mov    $0x16,%eax
40c11f:	3b f8                	cmp    %eax,%edi
40c121:	0f 42 f8             	cmovb  %eax,%edi
40c124:	8d 47 01             	lea    0x1(%edi),%eax
40c127:	3d 00 10 00 00       	cmp    $0x1000,%eax
40c12c:	72 09                	jb     0x40c137
40c12e:	8d 48 23             	lea    0x23(%eax),%ecx
40c131:	3b c8                	cmp    %eax,%ecx
40c133:	76 40                	jbe    0x40c175
40c135:	eb c9                	jmp    0x40c100
40c137:	85 c0                	test   %eax,%eax
40c139:	74 0b                	je     0x40c146
40c13b:	50                   	push   %eax
40c13c:	e8 9d f7 00 00       	call   0x41b8de
40c141:	83 c4 04             	add    $0x4,%esp
40c144:	eb 02                	jmp    0x40c148
40c146:	33 c0                	xor    %eax,%eax
40c148:	56                   	push   %esi
40c149:	ff 75 f8             	push   -0x8(%ebp)
40c14c:	89 45 fc             	mov    %eax,-0x4(%ebp)
40c14f:	50                   	push   %eax
40c150:	89 03                	mov    %eax,(%ebx)
40c152:	89 73 10             	mov    %esi,0x10(%ebx)
40c155:	89 7b 14             	mov    %edi,0x14(%ebx)
40c158:	e8 f3 12 01 00       	call   0x41d450
40c15d:	8b 45 fc             	mov    -0x4(%ebp),%eax
40c160:	83 c4 0c             	add    $0xc,%esp
40c163:	5f                   	pop    %edi
40c164:	c6 04 06 00          	movb   $0x0,(%esi,%eax,1)
40c168:	5e                   	pop    %esi
40c169:	5b                   	pop    %ebx
40c16a:	8b e5                	mov    %ebp,%esp
40c16c:	5d                   	pop    %ebp
40c16d:	c2 08 00             	ret    $0x8
40c170:	e8 2b 51 ff ff       	call   0x4012a0
40c175:	e8 86 50 ff ff       	call   0x401200
40c17a:	e8 00 49 01 00       	call   0x420a7f
40c17f:	cc                   	int3
40c180:	55                   	push   %ebp
40c181:	8b ec                	mov    %esp,%ebp
40c183:	6a ff                	push   $0xffffffff
40c185:	68 25 dd 43 00       	push   $0x43dd25
40c18a:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40c190:	50                   	push   %eax
40c191:	83 ec 18             	sub    $0x18,%esp
40c194:	a1 14 40 45 00       	mov    0x454014,%eax
40c199:	33 c5                	xor    %ebp,%eax
40c19b:	89 45 f0             	mov    %eax,-0x10(%ebp)
40c19e:	53                   	push   %ebx
40c19f:	56                   	push   %esi
40c1a0:	57                   	push   %edi
40c1a1:	50                   	push   %eax
40c1a2:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c1a5:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40c1ab:	8b 7d 08             	mov    0x8(%ebp),%edi
40c1ae:	8d 4d e4             	lea    -0x1c(%ebp),%ecx
40c1b1:	6a 00                	push   $0x0
40c1b3:	89 7d e8             	mov    %edi,-0x18(%ebp)
40c1b6:	e8 95 ee 00 00       	call   0x41b050
40c1bb:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
40c1c2:	8b 35 40 62 45 00    	mov    0x456240,%esi
40c1c8:	8b 1d a0 61 45 00    	mov    0x4561a0,%ebx
40c1ce:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40c1d1:	85 f6                	test   %esi,%esi
40c1d3:	75 2f                	jne    0x40c204
40c1d5:	56                   	push   %esi
40c1d6:	8d 4d ec             	lea    -0x14(%ebp),%ecx
40c1d9:	e8 72 ee 00 00       	call   0x41b050
40c1de:	39 35 40 62 45 00    	cmp    %esi,0x456240
40c1e4:	75 10                	jne    0x40c1f6
40c1e6:	a1 b8 53 45 00       	mov    0x4553b8,%eax
40c1eb:	40                   	inc    %eax
40c1ec:	a3 b8 53 45 00       	mov    %eax,0x4553b8
40c1f1:	a3 40 62 45 00       	mov    %eax,0x456240
40c1f6:	8d 4d ec             	lea    -0x14(%ebp),%ecx
40c1f9:	e8 aa ee 00 00       	call   0x41b0a8
40c1fe:	8b 35 40 62 45 00    	mov    0x456240,%esi
40c204:	8b 57 04             	mov    0x4(%edi),%edx
40c207:	8d 0c b5 00 00 00 00 	lea    0x0(,%esi,4),%ecx
40c20e:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40c211:	3b 72 0c             	cmp    0xc(%edx),%esi
40c214:	73 0c                	jae    0x40c222
40c216:	8b 42 08             	mov    0x8(%edx),%eax
40c219:	8b 3c 01             	mov    (%ecx,%eax,1),%edi
40c21c:	85 ff                	test   %edi,%edi
40c21e:	75 6a                	jne    0x40c28a
40c220:	eb 05                	jmp    0x40c227
40c222:	33 ff                	xor    %edi,%edi
40c224:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40c227:	80 7a 14 00          	cmpb   $0x0,0x14(%edx)
40c22b:	74 13                	je     0x40c240
40c22d:	e8 fc ef 00 00       	call   0x41b22e
40c232:	3b 70 0c             	cmp    0xc(%eax),%esi
40c235:	73 0d                	jae    0x40c244
40c237:	8b 40 08             	mov    0x8(%eax),%eax
40c23a:	8b 7d ec             	mov    -0x14(%ebp),%edi
40c23d:	8b 3c 07             	mov    (%edi,%eax,1),%edi
40c240:	85 ff                	test   %edi,%edi
40c242:	75 46                	jne    0x40c28a
40c244:	85 db                	test   %ebx,%ebx
40c246:	74 04                	je     0x40c24c
40c248:	8b fb                	mov    %ebx,%edi
40c24a:	eb 3e                	jmp    0x40c28a
40c24c:	ff 75 e8             	push   -0x18(%ebp)
40c24f:	8d 45 e0             	lea    -0x20(%ebp),%eax
40c252:	50                   	push   %eax
40c253:	e8 d8 06 00 00       	call   0x40c930
40c258:	83 c4 08             	add    $0x8,%esp
40c25b:	83 f8 ff             	cmp    $0xffffffff,%eax
40c25e:	74 50                	je     0x40c2b0
40c260:	8b 7d e0             	mov    -0x20(%ebp),%edi
40c263:	89 7d e8             	mov    %edi,-0x18(%ebp)
40c266:	57                   	push   %edi
40c267:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
40c26b:	e8 92 ef 00 00       	call   0x41b202
40c270:	8b 07                	mov    (%edi),%eax
40c272:	83 c4 04             	add    $0x4,%esp
40c275:	8b 70 04             	mov    0x4(%eax),%esi
40c278:	8b ce                	mov    %esi,%ecx
40c27a:	ff 15 3c f2 43 00    	call   *0x43f23c
40c280:	8b cf                	mov    %edi,%ecx
40c282:	ff d6                	call   *%esi
40c284:	89 3d a0 61 45 00    	mov    %edi,0x4561a0
40c28a:	8d 4d e4             	lea    -0x1c(%ebp),%ecx
40c28d:	e8 16 ee 00 00       	call   0x41b0a8
40c292:	8b c7                	mov    %edi,%eax
40c294:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40c297:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40c29e:	59                   	pop    %ecx
40c29f:	5f                   	pop    %edi
40c2a0:	5e                   	pop    %esi
40c2a1:	5b                   	pop    %ebx
40c2a2:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40c2a5:	33 cd                	xor    %ebp,%ecx
40c2a7:	e8 24 f6 00 00       	call   0x41b8d0
40c2ac:	8b e5                	mov    %ebp,%esp
40c2ae:	5d                   	pop    %ebp
40c2af:	c3                   	ret
40c2b0:	e8 0b 7f ff ff       	call   0x4041c0
40c2b5:	cc                   	int3
40c2b6:	cc                   	int3
40c2b7:	cc                   	int3
40c2b8:	cc                   	int3
40c2b9:	cc                   	int3
40c2ba:	cc                   	int3
40c2bb:	cc                   	int3
40c2bc:	cc                   	int3
40c2bd:	cc                   	int3
40c2be:	cc                   	int3
40c2bf:	cc                   	int3
40c2c0:	55                   	push   %ebp
40c2c1:	8b ec                	mov    %esp,%ebp
40c2c3:	56                   	push   %esi
40c2c4:	57                   	push   %edi
40c2c5:	8b fa                	mov    %edx,%edi
40c2c7:	8b f1                	mov    %ecx,%esi
40c2c9:	3b f7                	cmp    %edi,%esi
40c2cb:	74 52                	je     0x40c31f
40c2cd:	0f 1f 00             	nopl   (%eax)
40c2d0:	8b 4e 14             	mov    0x14(%esi),%ecx
40c2d3:	83 f9 08             	cmp    $0x8,%ecx
40c2d6:	72 2d                	jb     0x40c305
40c2d8:	8b 06                	mov    (%esi),%eax
40c2da:	8d 0c 4d 02 00 00 00 	lea    0x2(,%ecx,2),%ecx
40c2e1:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
40c2e7:	72 12                	jb     0x40c2fb
40c2e9:	8b 50 fc             	mov    -0x4(%eax),%edx
40c2ec:	83 c1 23             	add    $0x23,%ecx
40c2ef:	2b c2                	sub    %edx,%eax
40c2f1:	83 c0 fc             	add    $0xfffffffc,%eax
40c2f4:	83 f8 1f             	cmp    $0x1f,%eax
40c2f7:	77 2a                	ja     0x40c323
40c2f9:	8b c2                	mov    %edx,%eax
40c2fb:	51                   	push   %ecx
40c2fc:	50                   	push   %eax
40c2fd:	e8 0c f6 00 00       	call   0x41b90e
40c302:	83 c4 08             	add    $0x8,%esp
40c305:	33 c0                	xor    %eax,%eax
40c307:	c7 46 10 00 00 00 00 	movl   $0x0,0x10(%esi)
40c30e:	c7 46 14 07 00 00 00 	movl   $0x7,0x14(%esi)
40c315:	66 89 06             	mov    %ax,(%esi)
40c318:	83 c6 18             	add    $0x18,%esi
40c31b:	3b f7                	cmp    %edi,%esi
40c31d:	75 b1                	jne    0x40c2d0
40c31f:	5f                   	pop    %edi
40c320:	5e                   	pop    %esi
40c321:	5d                   	pop    %ebp
40c322:	c3                   	ret
40c323:	e8 57 47 01 00       	call   0x420a7f
40c328:	cc                   	int3
40c329:	cc                   	int3
40c32a:	cc                   	int3
40c32b:	cc                   	int3
40c32c:	cc                   	int3
40c32d:	cc                   	int3
40c32e:	cc                   	int3
40c32f:	cc                   	int3
40c330:	55                   	push   %ebp
40c331:	8b ec                	mov    %esp,%ebp
40c333:	83 ec 10             	sub    $0x10,%esp
40c336:	8b 45 10             	mov    0x10(%ebp),%eax
40c339:	53                   	push   %ebx
40c33a:	8b d9                	mov    %ecx,%ebx
40c33c:	89 45 f0             	mov    %eax,-0x10(%ebp)
40c33f:	b9 ff ff ff 7f       	mov    $0x7fffffff,%ecx
40c344:	8b c1                	mov    %ecx,%eax
40c346:	56                   	push   %esi
40c347:	8b 53 10             	mov    0x10(%ebx),%edx
40c34a:	2b c2                	sub    %edx,%eax
40c34c:	8b 75 08             	mov    0x8(%ebp),%esi
40c34f:	89 55 fc             	mov    %edx,-0x4(%ebp)
40c352:	57                   	push   %edi
40c353:	3b c6                	cmp    %esi,%eax
40c355:	0f 82 20 01 00 00    	jb     0x40c47b
40c35b:	8d 04 32             	lea    (%edx,%esi,1),%eax
40c35e:	8b 73 14             	mov    0x14(%ebx),%esi
40c361:	8b f8                	mov    %eax,%edi
40c363:	89 45 f8             	mov    %eax,-0x8(%ebp)
40c366:	83 cf 0f             	or     $0xf,%edi
40c369:	89 75 f4             	mov    %esi,-0xc(%ebp)
40c36c:	3b f9                	cmp    %ecx,%edi
40c36e:	76 29                	jbe    0x40c399
40c370:	8b f9                	mov    %ecx,%edi
40c372:	b8 00 00 00 80       	mov    $0x80000000,%eax
40c377:	83 c0 23             	add    $0x23,%eax
40c37a:	50                   	push   %eax
40c37b:	e8 5e f5 00 00       	call   0x41b8de
40c380:	83 c4 04             	add    $0x4,%esp