4050a5:	c3                   	ret
4050a6:	8b c0                	mov    %eax,%eax
4050a8:	55                   	push   %ebp
4050a9:	8b ec                	mov    %esp,%ebp
4050ab:	83 c4 e0             	add    $0xffffffe0,%esp
4050ae:	53                   	push   %ebx
4050af:	56                   	push   %esi
4050b0:	57                   	push   %edi
4050b1:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4050b4:	8b f2                	mov    %edx,%esi
4050b6:	89 45 fc             	mov    %eax,-0x4(%ebp)
4050b9:	8b 5d fc             	mov    -0x4(%ebp),%ebx
4050bc:	8b 1b                	mov    (%ebx),%ebx
4050be:	8b 45 08             	mov    0x8(%ebp),%eax
4050c1:	8b 38                	mov    (%eax),%edi
4050c3:	85 ff                	test   %edi,%edi
4050c5:	7f 1a                	jg     0x4050e1
4050c7:	85 ff                	test   %edi,%edi
4050c9:	7d 07                	jge    0x4050d2
4050cb:	b0 04                	mov    $0x4,%al
4050cd:	e8 7e d7 ff ff       	call   0x402850
4050d2:	8b 45 fc             	mov    -0x4(%ebp),%eax
4050d5:	8b d6                	mov    %esi,%edx
4050d7:	e8 c4 ff ff ff       	call   0x4050a0
4050dc:	e9 4a 01 00 00       	jmp    0x40522b
4050e1:	33 c0                	xor    %eax,%eax
4050e3:	89 45 f0             	mov    %eax,-0x10(%ebp)
4050e6:	85 db                	test   %ebx,%ebx
4050e8:	74 0b                	je     0x4050f5
4050ea:	83 eb 04             	sub    $0x4,%ebx
4050ed:	8b 03                	mov    (%ebx),%eax
4050ef:	89 45 f0             	mov    %eax,-0x10(%ebp)
4050f2:	83 eb 04             	sub    $0x4,%ebx
4050f5:	33 c0                	xor    %eax,%eax
4050f7:	8a 46 01             	mov    0x1(%esi),%al
4050fa:	01 c6                	add    %eax,%esi
4050fc:	8b c6                	mov    %esi,%eax
4050fe:	8b 50 02             	mov    0x2(%eax),%edx
405101:	89 55 e8             	mov    %edx,-0x18(%ebp)
405104:	8b 50 06             	mov    0x6(%eax),%edx
405107:	85 d2                	test   %edx,%edx
405109:	74 04                	je     0x40510f
40510b:	8b 32                	mov    (%edx),%esi
40510d:	eb 02                	jmp    0x405111
40510f:	33 f6                	xor    %esi,%esi
405111:	8b c7                	mov    %edi,%eax
405113:	f7 6d e8             	imull  -0x18(%ebp)
405116:	89 45 e4             	mov    %eax,-0x1c(%ebp)
405119:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40511c:	99                   	cltd
40511d:	f7 ff                	idiv   %edi
40511f:	3b 45 e8             	cmp    -0x18(%ebp),%eax
405122:	74 07                	je     0x40512b
405124:	b0 04                	mov    $0x4,%al
405126:	e8 25 d7 ff ff       	call   0x402850
40512b:	83 45 e4 08          	addl   $0x8,-0x1c(%ebp)
40512f:	85 db                	test   %ebx,%ebx
405131:	74 05                	je     0x405138
405133:	83 3b 01             	cmpl   $0x1,(%ebx)
405136:	75 35                	jne    0x40516d
405138:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40513b:	3b 7d f0             	cmp    -0x10(%ebp),%edi
40513e:	7d 1d                	jge    0x40515d
405140:	85 f6                	test   %esi,%esi
405142:	74 19                	je     0x40515d
405144:	8b c3                	mov    %ebx,%eax
405146:	83 c0 08             	add    $0x8,%eax
405149:	8b d7                	mov    %edi,%edx
40514b:	0f af 55 e8          	imul   -0x18(%ebp),%edx
40514f:	03 c2                	add    %edx,%eax
405151:	8b 4d f0             	mov    -0x10(%ebp),%ecx
405154:	2b cf                	sub    %edi,%ecx
405156:	8b d6                	mov    %esi,%edx
405158:	e8 3b ff ff ff       	call   0x405098
40515d:	8d 45 e0             	lea    -0x20(%ebp),%eax
405160:	8b 55 e4             	mov    -0x1c(%ebp),%edx
405163:	e8 cc d5 ff ff       	call   0x402734
405168:	8b 5d e0             	mov    -0x20(%ebp),%ebx
40516b:	eb 5e                	jmp    0x4051cb
40516d:	ff 0b                	decl   (%ebx)
40516f:	8b 45 e4             	mov    -0x1c(%ebp),%eax
405172:	e8 7d d5 ff ff       	call   0x4026f4
405177:	8b d8                	mov    %eax,%ebx
405179:	8b 45 f0             	mov    -0x10(%ebp),%eax
40517c:	89 45 ec             	mov    %eax,-0x14(%ebp)
40517f:	3b 7d ec             	cmp    -0x14(%ebp),%edi
405182:	7d 03                	jge    0x405187
405184:	89 7d ec             	mov    %edi,-0x14(%ebp)
405187:	85 f6                	test   %esi,%esi
405189:	74 2a                	je     0x4051b5
40518b:	8b 55 ec             	mov    -0x14(%ebp),%edx
40518e:	0f af 55 e8          	imul   -0x18(%ebp),%edx
405192:	8b c3                	mov    %ebx,%eax
405194:	83 c0 08             	add    $0x8,%eax
405197:	33 c9                	xor    %ecx,%ecx
405199:	e8 2e db ff ff       	call   0x402ccc
40519e:	8b 45 ec             	mov    -0x14(%ebp),%eax
4051a1:	50                   	push   %eax
4051a2:	8b 55 fc             	mov    -0x4(%ebp),%edx
4051a5:	8b 12                	mov    (%edx),%edx
4051a7:	8b c3                	mov    %ebx,%eax
4051a9:	83 c0 08             	add    $0x8,%eax
4051ac:	8b ce                	mov    %esi,%ecx
4051ae:	e8 d5 fe ff ff       	call   0x405088
4051b3:	eb 16                	jmp    0x4051cb
4051b5:	8b 4d ec             	mov    -0x14(%ebp),%ecx
4051b8:	0f af 4d e8          	imul   -0x18(%ebp),%ecx
4051bc:	8b d3                	mov    %ebx,%edx
4051be:	83 c2 08             	add    $0x8,%edx
4051c1:	8b 45 fc             	mov    -0x4(%ebp),%eax
4051c4:	8b 00                	mov    (%eax),%eax
4051c6:	e8 25 d7 ff ff       	call   0x4028f0
4051cb:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)
4051d1:	83 c3 04             	add    $0x4,%ebx
4051d4:	89 3b                	mov    %edi,(%ebx)
4051d6:	83 c3 04             	add    $0x4,%ebx
4051d9:	8b d7                	mov    %edi,%edx
4051db:	2b 55 f0             	sub    -0x10(%ebp),%edx
4051de:	0f af 55 e8          	imul   -0x18(%ebp),%edx
4051e2:	8b 45 e8             	mov    -0x18(%ebp),%eax
4051e5:	0f af 45 f0          	imul   -0x10(%ebp),%eax
4051e9:	03 c3                	add    %ebx,%eax
4051eb:	33 c9                	xor    %ecx,%ecx
4051ed:	e8 da da ff ff       	call   0x402ccc
4051f2:	83 7d f8 01          	cmpl   $0x1,-0x8(%ebp)
4051f6:	7e 2e                	jle    0x405226
4051f8:	83 45 08 04          	addl   $0x4,0x8(%ebp)
4051fc:	ff 4d f8             	decl   -0x8(%ebp)
4051ff:	4f                   	dec    %edi
405200:	85 ff                	test   %edi,%edi
405202:	7c 22                	jl     0x405226
405204:	47                   	inc    %edi
405205:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
40520c:	8b 45 08             	mov    0x8(%ebp),%eax
40520f:	50                   	push   %eax
405210:	8b 45 f4             	mov    -0xc(%ebp),%eax
405213:	8d 04 83             	lea    (%ebx,%eax,4),%eax
405216:	8b 4d f8             	mov    -0x8(%ebp),%ecx
405219:	8b d6                	mov    %esi,%edx
40521b:	e8 88 fe ff ff       	call   0x4050a8
405220:	ff 45 f4             	incl   -0xc(%ebp)
405223:	4f                   	dec    %edi
405224:	75 e6                	jne    0x40520c
405226:	8b 45 fc             	mov    -0x4(%ebp),%eax
405229:	89 18                	mov    %ebx,(%eax)
40522b:	5f                   	pop    %edi
40522c:	5e                   	pop    %esi
40522d:	5b                   	pop    %ebx
40522e:	8b e5                	mov    %ebp,%esp
405230:	5d                   	pop    %ebp
405231:	c2 04 00             	ret    $0x4
405234:	54                   	push   %esp
405235:	83 04 24 04          	addl   $0x4,(%esp)
405239:	e8 6a fe ff ff       	call   0x4050a8
40523e:	c3                   	ret
40523f:	90                   	nop
405240:	8b 08                	mov    (%eax),%ecx
405242:	85 c9                	test   %ecx,%ecx
405244:	74 33                	je     0x405279
405246:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
40524c:	f0 ff 49 f8          	lock decl -0x8(%ecx)
405250:	75 27                	jne    0x405279
405252:	50                   	push   %eax
405253:	89 c8                	mov    %ecx,%eax
405255:	31 c9                	xor    %ecx,%ecx
405257:	8a 4a 01             	mov    0x1(%edx),%cl
40525a:	8b 54 11 06          	mov    0x6(%ecx,%edx,1),%edx
40525e:	85 d2                	test   %edx,%edx
405260:	74 0e                	je     0x405270
405262:	8b 48 fc             	mov    -0x4(%eax),%ecx
405265:	85 c9                	test   %ecx,%ecx
405267:	74 07                	je     0x405270
405269:	8b 12                	mov    (%edx),%edx
40526b:	e8 68 f8 ff ff       	call   0x404ad8
405270:	83 e8 08             	sub    $0x8,%eax
405273:	e8 9c d4 ff ff       	call   0x402714
405278:	58                   	pop    %eax
405279:	c3                   	ret
40527a:	8b c0                	mov    %eax,%eax
40527c:	53                   	push   %ebx
40527d:	8b 18                	mov    (%eax),%ebx
40527f:	85 d2                	test   %edx,%edx
405281:	74 04                	je     0x405287
405283:	f0 ff 42 f8          	lock incl -0x8(%edx)
405287:	85 db                	test   %ebx,%ebx
405289:	74 14                	je     0x40529f
40528b:	f0 ff 4b f8          	lock decl -0x8(%ebx)
40528f:	75 0e                	jne    0x40529f
405291:	50                   	push   %eax
405292:	52                   	push   %edx
405293:	89 ca                	mov    %ecx,%edx
405295:	ff 43 f8             	incl   -0x8(%ebx)
405298:	e8 a3 ff ff ff       	call   0x405240
40529d:	5a                   	pop    %edx
40529e:	58                   	pop    %eax
40529f:	89 10                	mov    %edx,(%eax)
4052a1:	5b                   	pop    %ebx
4052a2:	c3                   	ret
4052a3:	90                   	nop
4052a4:	83 c4 e4             	add    $0xffffffe4,%esp
4052a7:	6a 1c                	push   $0x1c
4052a9:	8d 54 24 04          	lea    0x4(%esp),%edx
4052ad:	52                   	push   %edx
4052ae:	50                   	push   %eax
4052af:	e8 50 c0 ff ff       	call   0x401304
4052b4:	81 7c 24 10 00 10 00 	cmpl   $0x1000,0x10(%esp)
4052bb:	00
4052bc:	75 06                	jne    0x4052c4
4052be:	8b 44 24 04          	mov    0x4(%esp),%eax
4052c2:	eb 02                	jmp    0x4052c6
4052c4:	33 c0                	xor    %eax,%eax
4052c6:	83 c4 1c             	add    $0x1c,%esp
4052c9:	c3                   	ret
4052ca:	8b c0                	mov    %eax,%eax
4052cc:	e8 d3 ff ff ff       	call   0x4052a4
4052d1:	c3                   	ret
4052d2:	8b c0                	mov    %eax,%eax
4052d4:	53                   	push   %ebx
4052d5:	56                   	push   %esi
4052d6:	81 c4 f8 fe ff ff    	add    $0xfffffef8,%esp
4052dc:	8b d8                	mov    %eax,%ebx
4052de:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)
4052e2:	75 2b                	jne    0x40530f
4052e4:	68 05 01 00 00       	push   $0x105
4052e9:	8d 44 24 04          	lea    0x4(%esp),%eax
4052ed:	50                   	push   %eax
4052ee:	8b 43 04             	mov    0x4(%ebx),%eax
4052f1:	50                   	push   %eax
4052f2:	e8 9d bf ff ff       	call   0x401294
4052f7:	8b c4                	mov    %esp,%eax
4052f9:	b2 01                	mov    $0x1,%dl
4052fb:	e8 10 02 00 00       	call   0x405510
405300:	8b f0                	mov    %eax,%esi
405302:	89 73 10             	mov    %esi,0x10(%ebx)
405305:	85 f6                	test   %esi,%esi
405307:	75 06                	jne    0x40530f
405309:	8b 43 04             	mov    0x4(%ebx),%eax
40530c:	89 43 10             	mov    %eax,0x10(%ebx)
40530f:	8b 43 10             	mov    0x10(%ebx),%eax
405312:	81 c4 08 01 00 00    	add    $0x108,%esp
405318:	5e                   	pop    %esi
405319:	5b                   	pop    %ebx
40531a:	c3                   	ret
40531b:	90                   	nop
40531c:	8b 15 34 90 46 00    	mov    0x469034,%edx
405322:	85 d2                	test   %edx,%edx
405324:	74 1d                	je     0x405343
405326:	3b 42 04             	cmp    0x4(%edx),%eax
405329:	74 0a                	je     0x405335
40532b:	3b 42 08             	cmp    0x8(%edx),%eax
40532e:	74 05                	je     0x405335
405330:	3b 42 0c             	cmp    0xc(%edx),%eax
405333:	75 08                	jne    0x40533d
405335:	8b c2                	mov    %edx,%eax
405337:	e8 98 ff ff ff       	call   0x4052d4
40533c:	c3                   	ret
40533d:	8b 12                	mov    (%edx),%edx
40533f:	85 d2                	test   %edx,%edx
405341:	75 e3                	jne    0x405326
405343:	c3                   	ret
405344:	eb 06                	jmp    0x40534c
405346:	50                   	push   %eax
405347:	e8 08 bf ff ff       	call   0x401254
40534c:	8a 10                	mov    (%eax),%dl
40534e:	84 d2                	test   %dl,%dl
405350:	74 05                	je     0x405357
405352:	80 fa 5c             	cmp    $0x5c,%dl
405355:	75 ef                	jne    0x405346
405357:	c3                   	ret
405358:	55                   	push   %ebp
405359:	8b ec                	mov    %esp,%ebp
40535b:	81 c4 b0 fd ff ff    	add    $0xfffffdb0,%esp
405361:	53                   	push   %ebx
405362:	56                   	push   %esi
405363:	57                   	push   %edi
405364:	89 55 f8             	mov    %edx,-0x8(%ebp)
405367:	89 45 fc             	mov    %eax,-0x4(%ebp)
40536a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40536d:	89 45 f4             	mov    %eax,-0xc(%ebp)
405370:	68 ec 54 40 00       	push   $0x4054ec
405375:	e8 22 bf ff ff       	call   0x40129c
40537a:	8b f0                	mov    %eax,%esi
40537c:	85 f6                	test   %esi,%esi
40537e:	74 40                	je     0x4053c0
405380:	68 fc 54 40 00       	push   $0x4054fc
405385:	56                   	push   %esi
405386:	e8 19 bf ff ff       	call   0x4012a4
40538b:	89 c3                	mov    %eax,%ebx
40538d:	85 db                	test   %ebx,%ebx
40538f:	74 2f                	je     0x4053c0
405391:	68 05 01 00 00       	push   $0x105
405396:	8d 85 b1 fd ff ff    	lea    -0x24f(%ebp),%eax
40539c:	50                   	push   %eax
40539d:	8b 45 fc             	mov    -0x4(%ebp),%eax
4053a0:	50                   	push   %eax
4053a1:	ff d3                	call   *%ebx
4053a3:	85 c0                	test   %eax,%eax
4053a5:	74 19                	je     0x4053c0
4053a7:	8b 45 f8             	mov    -0x8(%ebp),%eax
4053aa:	50                   	push   %eax
4053ab:	8d 85 b1 fd ff ff    	lea    -0x24f(%ebp),%eax
4053b1:	50                   	push   %eax
4053b2:	8b 45 fc             	mov    -0x4(%ebp),%eax
4053b5:	50                   	push   %eax
4053b6:	e8 11 bf ff ff       	call   0x4012cc
4053bb:	e9 22 01 00 00       	jmp    0x4054e2
4053c0:	8b 45 fc             	mov    -0x4(%ebp),%eax
4053c3:	80 38 5c             	cmpb   $0x5c,(%eax)
4053c6:	75 38                	jne    0x405400
4053c8:	8b 45 fc             	mov    -0x4(%ebp),%eax
4053cb:	80 78 01 5c          	cmpb   $0x5c,0x1(%eax)
4053cf:	0f 85 0d 01 00 00    	jne    0x4054e2
4053d5:	8b 45 fc             	mov    -0x4(%ebp),%eax
4053d8:	83 c0 02             	add    $0x2,%eax
4053db:	e8 64 ff ff ff       	call   0x405344
4053e0:	8b f0                	mov    %eax,%esi
4053e2:	80 3e 00             	cmpb   $0x0,(%esi)
4053e5:	0f 84 f7 00 00 00    	je     0x4054e2
4053eb:	8d 46 01             	lea    0x1(%esi),%eax
4053ee:	e8 51 ff ff ff       	call   0x405344
4053f3:	8b f0                	mov    %eax,%esi
4053f5:	80 3e 00             	cmpb   $0x0,(%esi)
4053f8:	0f 84 e4 00 00 00    	je     0x4054e2
4053fe:	eb 06                	jmp    0x405406
405400:	8b 75 fc             	mov    -0x4(%ebp),%esi
405403:	83 c6 02             	add    $0x2,%esi
405406:	8b de                	mov    %esi,%ebx
405408:	2b 5d fc             	sub    -0x4(%ebp),%ebx
40540b:	8d 43 01             	lea    0x1(%ebx),%eax
40540e:	50                   	push   %eax
40540f:	8b 45 fc             	mov    -0x4(%ebp),%eax
405412:	50                   	push   %eax
405413:	8d 85 b1 fd ff ff    	lea    -0x24f(%ebp),%eax
405419:	50                   	push   %eax
40541a:	e8 ad be ff ff       	call   0x4012cc
40541f:	e9 a1 00 00 00       	jmp    0x4054c5
405424:	8d 46 01             	lea    0x1(%esi),%eax
405427:	e8 18 ff ff ff       	call   0x405344
40542c:	8b f8                	mov    %eax,%edi
40542e:	8b c7                	mov    %edi,%eax
405430:	2b c6                	sub    %esi,%eax
405432:	8b d0                	mov    %eax,%edx
405434:	03 d3                	add    %ebx,%edx
405436:	42                   	inc    %edx
405437:	81 fa 05 01 00 00    	cmp    $0x105,%edx
40543d:	0f 8f 9f 00 00 00    	jg     0x4054e2
405443:	40                   	inc    %eax
405444:	50                   	push   %eax
405445:	56                   	push   %esi
405446:	8d 85 b1 fd ff ff    	lea    -0x24f(%ebp),%eax