4070c1:	8d 3c 51             	lea    (%ecx,%edx,2),%edi
4070c4:	33 c0                	xor    %eax,%eax
4070c6:	3b f7                	cmp    %edi,%esi
4070c8:	74 0c                	je     0x4070d6
4070ca:	66 39 01             	cmp    %ax,(%ecx)
4070cd:	74 07                	je     0x4070d6
4070cf:	83 c1 02             	add    $0x2,%ecx
4070d2:	3b cf                	cmp    %edi,%ecx
4070d4:	75 f4                	jne    0x4070ca
4070d6:	2b ce                	sub    %esi,%ecx
4070d8:	d1 f9                	sar    $1,%ecx
4070da:	3b ca                	cmp    %edx,%ecx
4070dc:	75 6b                	jne    0x407149
4070de:	8b 45 0c             	mov    0xc(%ebp),%eax
4070e1:	8d 3c 4e             	lea    (%esi,%ecx,2),%edi
4070e4:	2b c2                	sub    %edx,%eax
4070e6:	0f 57 c9             	xorps  %xmm1,%xmm1
4070e9:	83 e0 f0             	and    $0xfffffff0,%eax
4070ec:	03 c1                	add    %ecx,%eax
4070ee:	8d 0c 46             	lea    (%esi,%eax,2),%ecx
4070f1:	eb 12                	jmp    0x407105
4070f3:	0f 28 c1             	movaps %xmm1,%xmm0
4070f6:	66 0f 75 07          	pcmpeqw (%edi),%xmm0
4070fa:	66 0f d7 c0          	pmovmskb %xmm0,%eax
4070fe:	85 c0                	test   %eax,%eax
407100:	75 07                	jne    0x407109
407102:	83 c7 10             	add    $0x10,%edi
407105:	3b f9                	cmp    %ecx,%edi
407107:	75 ea                	jne    0x4070f3
407109:	8b 45 0c             	mov    0xc(%ebp),%eax
40710c:	8d 0c 46             	lea    (%esi,%eax,2),%ecx
40710f:	3b f9                	cmp    %ecx,%edi
407111:	74 0e                	je     0x407121
407113:	33 c0                	xor    %eax,%eax
407115:	66 39 07             	cmp    %ax,(%edi)
407118:	74 07                	je     0x407121
40711a:	83 c7 02             	add    $0x2,%edi
40711d:	3b f9                	cmp    %ecx,%edi
40711f:	75 f4                	jne    0x407115
407121:	8b cf                	mov    %edi,%ecx
407123:	e9 ae fe ff ff       	jmp    0x406fd6
407128:	8b 55 08             	mov    0x8(%ebp),%edx
40712b:	8b ca                	mov    %edx,%ecx
40712d:	8b 45 0c             	mov    0xc(%ebp),%eax
407130:	8d 34 42             	lea    (%edx,%eax,2),%esi
407133:	3b d6                	cmp    %esi,%edx
407135:	74 0e                	je     0x407145
407137:	33 c0                	xor    %eax,%eax
407139:	66 39 01             	cmp    %ax,(%ecx)
40713c:	74 07                	je     0x407145
40713e:	83 c1 02             	add    $0x2,%ecx
407141:	3b ce                	cmp    %esi,%ecx
407143:	75 f4                	jne    0x407139
407145:	2b ca                	sub    %edx,%ecx
407147:	d1 f9                	sar    $1,%ecx
407149:	5f                   	pop    %edi
40714a:	8b c1                	mov    %ecx,%eax
40714c:	5e                   	pop    %esi
40714d:	5d                   	pop    %ebp
40714e:	c3                   	ret
40714f:	6a 10                	push   $0x10
407151:	68 80 fe 41 00       	push   $0x41fe80
407156:	e8 45 cd ff ff       	call   0x403ea0
40715b:	8b 75 08             	mov    0x8(%ebp),%esi
40715e:	89 75 e0             	mov    %esi,-0x20(%ebp)
407161:	85 f6                	test   %esi,%esi
407163:	75 23                	jne    0x407188
407165:	8b 45 0c             	mov    0xc(%ebp),%eax
407168:	c6 40 1c 01          	movb   $0x1,0x1c(%eax)
40716c:	c7 40 18 16 00 00 00 	movl   $0x16,0x18(%eax)
407173:	50                   	push   %eax
407174:	33 ff                	xor    %edi,%edi
407176:	57                   	push   %edi
407177:	57                   	push   %edi
407178:	57                   	push   %edi
407179:	57                   	push   %edi
40717a:	57                   	push   %edi
40717b:	e8 cc 02 00 00       	call   0x40744c
407180:	83 c4 18             	add    $0x18,%esp
407183:	83 c8 ff             	or     $0xffffffff,%eax
407186:	eb 40                	jmp    0x4071c8
407188:	8b 46 0c             	mov    0xc(%esi),%eax
40718b:	90                   	nop
40718c:	c1 e8 0c             	shr    $0xc,%eax
40718f:	56                   	push   %esi
407190:	a8 01                	test   $0x1,%al
407192:	74 08                	je     0x40719c
407194:	e8 68 55 00 00       	call   0x40c701
407199:	59                   	pop    %ecx
40719a:	eb e7                	jmp    0x407183
40719c:	33 ff                	xor    %edi,%edi
40719e:	89 7d e4             	mov    %edi,-0x1c(%ebp)
4071a1:	e8 41 f5 ff ff       	call   0x4066e7
4071a6:	59                   	pop    %ecx
4071a7:	89 7d fc             	mov    %edi,-0x4(%ebp)
4071aa:	ff 75 0c             	push   0xc(%ebp)
4071ad:	56                   	push   %esi
4071ae:	e8 33 00 00 00       	call   0x4071e6
4071b3:	59                   	pop    %ecx
4071b4:	59                   	pop    %ecx
4071b5:	8b f8                	mov    %eax,%edi
4071b7:	89 7d e4             	mov    %edi,-0x1c(%ebp)
4071ba:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
4071c1:	e8 18 00 00 00       	call   0x4071de
4071c6:	8b c7                	mov    %edi,%eax
4071c8:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4071cb:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
4071d2:	59                   	pop    %ecx
4071d3:	5f                   	pop    %edi
4071d4:	5e                   	pop    %esi
4071d5:	5b                   	pop    %ebx
4071d6:	c9                   	leave
4071d7:	c3                   	ret
4071d8:	8b 75 e0             	mov    -0x20(%ebp),%esi
4071db:	8b 7d e4             	mov    -0x1c(%ebp),%edi
4071de:	56                   	push   %esi
4071df:	e8 17 f5 ff ff       	call   0x4066fb
4071e4:	59                   	pop    %ecx
4071e5:	c3                   	ret
4071e6:	8b ff                	mov    %edi,%edi
4071e8:	55                   	push   %ebp
4071e9:	8b ec                	mov    %esp,%ebp
4071eb:	56                   	push   %esi
4071ec:	8b 75 08             	mov    0x8(%ebp),%esi
4071ef:	85 f6                	test   %esi,%esi
4071f1:	75 23                	jne    0x407216
4071f3:	8b 45 0c             	mov    0xc(%ebp),%eax
4071f6:	50                   	push   %eax
4071f7:	c6 40 1c 01          	movb   $0x1,0x1c(%eax)
4071fb:	c7 40 18 16 00 00 00 	movl   $0x16,0x18(%eax)
407202:	33 c0                	xor    %eax,%eax
407204:	50                   	push   %eax
407205:	50                   	push   %eax
407206:	50                   	push   %eax
407207:	50                   	push   %eax
407208:	50                   	push   %eax
407209:	e8 3e 02 00 00       	call   0x40744c
40720e:	83 c4 18             	add    $0x18,%esp
407211:	83 c8 ff             	or     $0xffffffff,%eax
407214:	eb 5b                	jmp    0x407271
407216:	8b 46 0c             	mov    0xc(%esi),%eax
407219:	57                   	push   %edi
40721a:	83 cf ff             	or     $0xffffffff,%edi
40721d:	90                   	nop
40721e:	c1 e8 0d             	shr    $0xd,%eax
407221:	a8 01                	test   $0x1,%al
407223:	74 42                	je     0x407267
407225:	ff 75 0c             	push   0xc(%ebp)
407228:	56                   	push   %esi
407229:	e8 8c 3c 00 00       	call   0x40aeba
40722e:	56                   	push   %esi
40722f:	8b f8                	mov    %eax,%edi
407231:	e8 5b 3d 00 00       	call   0x40af91
407236:	83 c4 0c             	add    $0xc,%esp
407239:	ff 75 0c             	push   0xc(%ebp)
40723c:	56                   	push   %esi
40723d:	e8 81 3f 00 00       	call   0x40b1c3
407242:	59                   	pop    %ecx
407243:	50                   	push   %eax
407244:	e8 15 5c 00 00       	call   0x40ce5e
407249:	59                   	pop    %ecx
40724a:	59                   	pop    %ecx
40724b:	85 c0                	test   %eax,%eax
40724d:	79 05                	jns    0x407254
40724f:	83 cf ff             	or     $0xffffffff,%edi
407252:	eb 13                	jmp    0x407267
407254:	83 7e 1c 00          	cmpl   $0x0,0x1c(%esi)
407258:	74 0d                	je     0x407267
40725a:	ff 76 1c             	push   0x1c(%esi)
40725d:	e8 3d 35 00 00       	call   0x40a79f
407262:	83 66 1c 00          	andl   $0x0,0x1c(%esi)
407266:	59                   	pop    %ecx
407267:	56                   	push   %esi
407268:	e8 94 54 00 00       	call   0x40c701
40726d:	59                   	pop    %ecx
40726e:	8b c7                	mov    %edi,%eax
407270:	5f                   	pop    %edi
407271:	5e                   	pop    %esi
407272:	5d                   	pop    %ebp
407273:	c3                   	ret
407274:	8b ff                	mov    %edi,%edi
407276:	55                   	push   %ebp
407277:	8b ec                	mov    %esp,%ebp
407279:	83 ec 28             	sub    $0x28,%esp
40727c:	8d 4d d8             	lea    -0x28(%ebp),%ecx
40727f:	56                   	push   %esi
407280:	6a 00                	push   $0x0
407282:	e8 e3 f4 ff ff       	call   0x40676a
407287:	8d 45 d8             	lea    -0x28(%ebp),%eax
40728a:	50                   	push   %eax
40728b:	ff 75 08             	push   0x8(%ebp)
40728e:	e8 bc fe ff ff       	call   0x40714f
407293:	59                   	pop    %ecx
407294:	59                   	pop    %ecx
407295:	8d 4d d8             	lea    -0x28(%ebp),%ecx
407298:	8b f0                	mov    %eax,%esi
40729a:	e8 13 f5 ff ff       	call   0x4067b2
40729f:	8b c6                	mov    %esi,%eax
4072a1:	5e                   	pop    %esi
4072a2:	c9                   	leave
4072a3:	c3                   	ret
4072a4:	8b ff                	mov    %edi,%edi
4072a6:	56                   	push   %esi
4072a7:	8b f1                	mov    %ecx,%esi
4072a9:	80 7e 08 00          	cmpb   $0x0,0x8(%esi)
4072ad:	75 19                	jne    0x4072c8
4072af:	ff 15 28 90 41 00    	call   *0x419028
4072b5:	83 66 04 00          	andl   $0x0,0x4(%esi)
4072b9:	50                   	push   %eax
4072ba:	c6 46 08 01          	movb   $0x1,0x8(%esi)
4072be:	ff 15 88 90 41 00    	call   *0x419088
4072c4:	33 c0                	xor    %eax,%eax
4072c6:	5e                   	pop    %esi
4072c7:	c3                   	ret
4072c8:	8b 46 04             	mov    0x4(%esi),%eax
4072cb:	5e                   	pop    %esi
4072cc:	c3                   	ret
4072cd:	8b ff                	mov    %edi,%edi
4072cf:	55                   	push   %ebp
4072d0:	8b ec                	mov    %esp,%ebp
4072d2:	81 ec 28 03 00 00    	sub    $0x328,%esp
4072d8:	a1 c0 10 42 00       	mov    0x4210c0,%eax
4072dd:	33 c5                	xor    %ebp,%eax
4072df:	89 45 fc             	mov    %eax,-0x4(%ebp)
4072e2:	83 7d 08 ff          	cmpl   $0xffffffff,0x8(%ebp)
4072e6:	57                   	push   %edi
4072e7:	74 09                	je     0x4072f2
4072e9:	ff 75 08             	push   0x8(%ebp)
4072ec:	e8 4e cb ff ff       	call   0x403e3f
4072f1:	59                   	pop    %ecx
4072f2:	6a 50                	push   $0x50
4072f4:	8d 85 e0 fc ff ff    	lea    -0x320(%ebp),%eax
4072fa:	6a 00                	push   $0x0
4072fc:	50                   	push   %eax
4072fd:	e8 6e d7 ff ff       	call   0x404a70
407302:	68 cc 02 00 00       	push   $0x2cc
407307:	8d 85 30 fd ff ff    	lea    -0x2d0(%ebp),%eax
40730d:	6a 00                	push   $0x0
40730f:	50                   	push   %eax
407310:	e8 5b d7 ff ff       	call   0x404a70
407315:	8d 85 e0 fc ff ff    	lea    -0x320(%ebp),%eax
40731b:	83 c4 18             	add    $0x18,%esp
40731e:	89 85 d8 fc ff ff    	mov    %eax,-0x328(%ebp)
407324:	8d 85 30 fd ff ff    	lea    -0x2d0(%ebp),%eax
40732a:	89 85 dc fc ff ff    	mov    %eax,-0x324(%ebp)
407330:	89 85 e0 fd ff ff    	mov    %eax,-0x220(%ebp)
407336:	89 8d dc fd ff ff    	mov    %ecx,-0x224(%ebp)
40733c:	89 95 d8 fd ff ff    	mov    %edx,-0x228(%ebp)
407342:	89 9d d4 fd ff ff    	mov    %ebx,-0x22c(%ebp)
407348:	89 b5 d0 fd ff ff    	mov    %esi,-0x230(%ebp)
40734e:	89 bd cc fd ff ff    	mov    %edi,-0x234(%ebp)
407354:	66 8c 95 f8 fd ff ff 	data16 mov %ss,-0x208(%ebp)
40735b:	66 8c 8d ec fd ff ff 	data16 mov %cs,-0x214(%ebp)
407362:	66 8c 9d c8 fd ff ff 	data16 mov %ds,-0x238(%ebp)
407369:	66 8c 85 c4 fd ff ff 	data16 mov %es,-0x23c(%ebp)
407370:	66 8c a5 c0 fd ff ff 	data16 mov %fs,-0x240(%ebp)
407377:	66 8c ad bc fd ff ff 	data16 mov %gs,-0x244(%ebp)
40737e:	9c                   	pushf
40737f:	8f 85 f0 fd ff ff    	pop    -0x210(%ebp)
407385:	8b 45 04             	mov    0x4(%ebp),%eax
407388:	89 85 e8 fd ff ff    	mov    %eax,-0x218(%ebp)
40738e:	8d 45 04             	lea    0x4(%ebp),%eax
407391:	89 85 f4 fd ff ff    	mov    %eax,-0x20c(%ebp)
407397:	c7 85 30 fd ff ff 01 	movl   $0x10001,-0x2d0(%ebp)
40739e:	00 01 00
4073a1:	8b 40 fc             	mov    -0x4(%eax),%eax
4073a4:	89 85 e4 fd ff ff    	mov    %eax,-0x21c(%ebp)
4073aa:	8b 45 0c             	mov    0xc(%ebp),%eax
4073ad:	89 85 e0 fc ff ff    	mov    %eax,-0x320(%ebp)
4073b3:	8b 45 10             	mov    0x10(%ebp),%eax
4073b6:	89 85 e4 fc ff ff    	mov    %eax,-0x31c(%ebp)
4073bc:	8b 45 04             	mov    0x4(%ebp),%eax
4073bf:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
4073c5:	ff 15 60 90 41 00    	call   *0x419060
4073cb:	6a 00                	push   $0x0
4073cd:	8b f8                	mov    %eax,%edi
4073cf:	ff 15 68 90 41 00    	call   *0x419068
4073d5:	8d 85 d8 fc ff ff    	lea    -0x328(%ebp),%eax
4073db:	50                   	push   %eax
4073dc:	ff 15 64 90 41 00    	call   *0x419064
4073e2:	85 c0                	test   %eax,%eax
4073e4:	75 13                	jne    0x4073f9
4073e6:	85 ff                	test   %edi,%edi
4073e8:	75 0f                	jne    0x4073f9
4073ea:	83 7d 08 ff          	cmpl   $0xffffffff,0x8(%ebp)
4073ee:	74 09                	je     0x4073f9
4073f0:	ff 75 08             	push   0x8(%ebp)
4073f3:	e8 47 ca ff ff       	call   0x403e3f
4073f8:	59                   	pop    %ecx
4073f9:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4073fc:	33 cd                	xor    %ebp,%ecx
4073fe:	5f                   	pop    %edi
4073ff:	e8 c4 cc ff ff       	call   0x4040c8
407404:	c9                   	leave
407405:	c3                   	ret
407406:	8b ff                	mov    %edi,%edi
407408:	55                   	push   %ebp
407409:	8b ec                	mov    %esp,%ebp
40740b:	8b 45 08             	mov    0x8(%ebp),%eax
40740e:	a3 48 1e 42 00       	mov    %eax,0x421e48
407413:	5d                   	pop    %ebp
407414:	c3                   	ret
407415:	8b ff                	mov    %edi,%edi
407417:	55                   	push   %ebp
407418:	8b ec                	mov    %esp,%ebp
40741a:	83 ec 28             	sub    $0x28,%esp
40741d:	8d 4d d8             	lea    -0x28(%ebp),%ecx
407420:	6a 00                	push   $0x0
407422:	e8 43 f3 ff ff       	call   0x40676a
407427:	8d 45 d8             	lea    -0x28(%ebp),%eax
40742a:	50                   	push   %eax
40742b:	ff 75 18             	push   0x18(%ebp)
40742e:	ff 75 14             	push   0x14(%ebp)
407431:	ff 75 10             	push   0x10(%ebp)
407434:	ff 75 0c             	push   0xc(%ebp)
407437:	ff 75 08             	push   0x8(%ebp)
40743a:	e8 0d 00 00 00       	call   0x40744c
40743f:	83 c4 18             	add    $0x18,%esp
407442:	8d 4d d8             	lea    -0x28(%ebp),%ecx
407445:	e8 68 f3 ff ff       	call   0x4067b2
40744a:	c9                   	leave
40744b:	c3                   	ret
40744c:	8b ff                	mov    %edi,%edi
40744e:	55                   	push   %ebp
40744f:	8b ec                	mov    %esp,%ebp
407451:	56                   	push   %esi
407452:	57                   	push   %edi
407453:	8b 7d 1c             	mov    0x1c(%ebp),%edi
407456:	8b 07                	mov    (%edi),%eax
407458:	85 c0                	test   %eax,%eax
40745a:	75 0b                	jne    0x407467
40745c:	8b cf                	mov    %edi,%ecx
40745e:	e8 d7 f3 ff ff       	call   0x40683a
407463:	85 c0                	test   %eax,%eax
407465:	74 2a                	je     0x407491
407467:	8b b0 5c 03 00 00    	mov    0x35c(%eax),%esi
40746d:	85 f6                	test   %esi,%esi
40746f:	74 20                	je     0x407491
407471:	ff 75 18             	push   0x18(%ebp)
407474:	ff 75 14             	push   0x14(%ebp)
407477:	ff 75 10             	push   0x10(%ebp)
40747a:	ff 75 0c             	push   0xc(%ebp)
40747d:	ff 75 08             	push   0x8(%ebp)
407480:	8b ce                	mov    %esi,%ecx
407482:	ff 15 54 91 41 00    	call   *0x419154
407488:	ff d6                	call   *%esi
40748a:	83 c4 14             	add    $0x14,%esp
40748d:	5f                   	pop    %edi
40748e:	5e                   	pop    %esi
40748f:	5d                   	pop    %ebp