4053b2:	74 01                	je     0x4053b5
4053b4:	4d                   	dec    %ebp
4053b5:	80 7c 2e ff 00       	cmpb   $0x0,-0x1(%esi,%ebp,1)
4053ba:	0f 95 c0             	setne  %al
4053bd:	0a d8                	or     %al,%bl
4053bf:	74 07                	je     0x4053c8
4053c1:	8b 04 24             	mov    (%esp),%eax
4053c4:	89 28                	mov    %ebp,(%eax)
4053c6:	eb 07                	jmp    0x4053cf
4053c8:	8b 04 24             	mov    (%esp),%eax
4053cb:	33 d2                	xor    %edx,%edx
4053cd:	89 10                	mov    %edx,(%eax)
4053cf:	8b 44 24 08          	mov    0x8(%esp),%eax
4053d3:	8b 54 24 0c          	mov    0xc(%esp),%edx
4053d7:	83 c4 14             	add    $0x14,%esp
4053da:	5d                   	pop    %ebp
4053db:	5f                   	pop    %edi
4053dc:	5e                   	pop    %esi
4053dd:	5b                   	pop    %ebx
4053de:	c3                   	ret
4053df:	90                   	nop
4053e0:	85 c0                	test   %eax,%eax
4053e2:	74 03                	je     0x4053e7
4053e4:	8b 40 fc             	mov    -0x4(%eax),%eax
4053e7:	c3                   	ret
4053e8:	e8 f3 ff ff ff       	call   0x4053e0
4053ed:	48                   	dec    %eax
4053ee:	c3                   	ret
4053ef:	90                   	nop
4053f0:	55                   	push   %ebp
4053f1:	8b ec                	mov    %esp,%ebp
4053f3:	ff 75 08             	push   0x8(%ebp)
4053f6:	e8 49 fa ff ff       	call   0x404e44
4053fb:	5d                   	pop    %ebp
4053fc:	c2 04 00             	ret    $0x4
4053ff:	90                   	nop
405400:	e9 13 f8 ff ff       	jmp    0x404c18
405405:	c3                   	ret
405406:	8b c0                	mov    %eax,%eax
405408:	e8 af 02 00 00       	call   0x4056bc
40540d:	c3                   	ret
40540e:	8b c0                	mov    %eax,%eax
405410:	55                   	push   %ebp
405411:	8b ec                	mov    %esp,%ebp
405413:	83 c4 e0             	add    $0xffffffe0,%esp
405416:	53                   	push   %ebx
405417:	56                   	push   %esi
405418:	57                   	push   %edi
405419:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40541c:	8b f2                	mov    %edx,%esi
40541e:	89 45 fc             	mov    %eax,-0x4(%ebp)
405421:	8b 5d fc             	mov    -0x4(%ebp),%ebx
405424:	8b 1b                	mov    (%ebx),%ebx
405426:	8b 45 08             	mov    0x8(%ebp),%eax
405429:	8b 38                	mov    (%eax),%edi
40542b:	85 ff                	test   %edi,%edi
40542d:	7f 1a                	jg     0x405449
40542f:	85 ff                	test   %edi,%edi
405431:	7d 07                	jge    0x40543a
405433:	b0 04                	mov    $0x4,%al
405435:	e8 9a d4 ff ff       	call   0x4028d4
40543a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40543d:	8b d6                	mov    %esi,%edx
40543f:	e8 c4 ff ff ff       	call   0x405408
405444:	e9 4a 01 00 00       	jmp    0x405593
405449:	33 c0                	xor    %eax,%eax
40544b:	89 45 f0             	mov    %eax,-0x10(%ebp)
40544e:	85 db                	test   %ebx,%ebx
405450:	74 0b                	je     0x40545d
405452:	83 eb 04             	sub    $0x4,%ebx
405455:	8b 03                	mov    (%ebx),%eax
405457:	89 45 f0             	mov    %eax,-0x10(%ebp)
40545a:	83 eb 04             	sub    $0x4,%ebx
40545d:	33 c0                	xor    %eax,%eax
40545f:	8a 46 01             	mov    0x1(%esi),%al
405462:	01 c6                	add    %eax,%esi
405464:	8b c6                	mov    %esi,%eax
405466:	8b 50 02             	mov    0x2(%eax),%edx
405469:	89 55 e8             	mov    %edx,-0x18(%ebp)
40546c:	8b 50 06             	mov    0x6(%eax),%edx
40546f:	85 d2                	test   %edx,%edx
405471:	74 04                	je     0x405477
405473:	8b 32                	mov    (%edx),%esi
405475:	eb 02                	jmp    0x405479
405477:	33 f6                	xor    %esi,%esi
405479:	8b c7                	mov    %edi,%eax
40547b:	f7 6d e8             	imull  -0x18(%ebp)
40547e:	89 45 e4             	mov    %eax,-0x1c(%ebp)
405481:	8b 45 e4             	mov    -0x1c(%ebp),%eax
405484:	99                   	cltd
405485:	f7 ff                	idiv   %edi
405487:	3b 45 e8             	cmp    -0x18(%ebp),%eax
40548a:	74 07                	je     0x405493
40548c:	b0 04                	mov    $0x4,%al
40548e:	e8 41 d4 ff ff       	call   0x4028d4
405493:	83 45 e4 08          	addl   $0x8,-0x1c(%ebp)
405497:	85 db                	test   %ebx,%ebx
405499:	74 05                	je     0x4054a0
40549b:	83 3b 01             	cmpl   $0x1,(%ebx)
40549e:	75 35                	jne    0x4054d5
4054a0:	89 5d e0             	mov    %ebx,-0x20(%ebp)
4054a3:	3b 7d f0             	cmp    -0x10(%ebp),%edi
4054a6:	7d 1d                	jge    0x4054c5
4054a8:	85 f6                	test   %esi,%esi
4054aa:	74 19                	je     0x4054c5
4054ac:	8b c3                	mov    %ebx,%eax
4054ae:	83 c0 08             	add    $0x8,%eax
4054b1:	8b d7                	mov    %edi,%edx
4054b3:	0f af 55 e8          	imul   -0x18(%ebp),%edx
4054b7:	03 c2                	add    %edx,%eax
4054b9:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4054bc:	2b cf                	sub    %edi,%ecx
4054be:	8b d6                	mov    %esi,%edx
4054c0:	e8 3b ff ff ff       	call   0x405400
4054c5:	8d 45 e0             	lea    -0x20(%ebp),%eax
4054c8:	8b 55 e4             	mov    -0x1c(%ebp),%edx
4054cb:	e8 e8 d2 ff ff       	call   0x4027b8
4054d0:	8b 5d e0             	mov    -0x20(%ebp),%ebx
4054d3:	eb 5e                	jmp    0x405533
4054d5:	ff 0b                	decl   (%ebx)
4054d7:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4054da:	e8 99 d2 ff ff       	call   0x402778
4054df:	8b d8                	mov    %eax,%ebx
4054e1:	8b 45 f0             	mov    -0x10(%ebp),%eax
4054e4:	89 45 ec             	mov    %eax,-0x14(%ebp)
4054e7:	3b 7d ec             	cmp    -0x14(%ebp),%edi
4054ea:	7d 03                	jge    0x4054ef
4054ec:	89 7d ec             	mov    %edi,-0x14(%ebp)
4054ef:	85 f6                	test   %esi,%esi
4054f1:	74 2a                	je     0x40551d
4054f3:	8b 55 ec             	mov    -0x14(%ebp),%edx
4054f6:	0f af 55 e8          	imul   -0x18(%ebp),%edx
4054fa:	8b c3                	mov    %ebx,%eax
4054fc:	83 c0 08             	add    $0x8,%eax
4054ff:	33 c9                	xor    %ecx,%ecx
405501:	e8 66 d8 ff ff       	call   0x402d6c
405506:	8b 45 ec             	mov    -0x14(%ebp),%eax
405509:	50                   	push   %eax
40550a:	8b 55 fc             	mov    -0x4(%ebp),%edx
40550d:	8b 12                	mov    (%edx),%edx
40550f:	8b c3                	mov    %ebx,%eax
405511:	83 c0 08             	add    $0x8,%eax
405514:	8b ce                	mov    %esi,%ecx
405516:	e8 d5 fe ff ff       	call   0x4053f0
40551b:	eb 16                	jmp    0x405533
40551d:	8b 4d ec             	mov    -0x14(%ebp),%ecx
405520:	0f af 4d e8          	imul   -0x18(%ebp),%ecx
405524:	8b d3                	mov    %ebx,%edx
405526:	83 c2 08             	add    $0x8,%edx
405529:	8b 45 fc             	mov    -0x4(%ebp),%eax
40552c:	8b 00                	mov    (%eax),%eax
40552e:	e8 41 d4 ff ff       	call   0x402974
405533:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)
405539:	83 c3 04             	add    $0x4,%ebx
40553c:	89 3b                	mov    %edi,(%ebx)
40553e:	83 c3 04             	add    $0x4,%ebx
405541:	8b d7                	mov    %edi,%edx
405543:	2b 55 f0             	sub    -0x10(%ebp),%edx
405546:	0f af 55 e8          	imul   -0x18(%ebp),%edx
40554a:	8b 45 e8             	mov    -0x18(%ebp),%eax
40554d:	0f af 45 f0          	imul   -0x10(%ebp),%eax
405551:	03 c3                	add    %ebx,%eax
405553:	33 c9                	xor    %ecx,%ecx
405555:	e8 12 d8 ff ff       	call   0x402d6c
40555a:	83 7d f8 01          	cmpl   $0x1,-0x8(%ebp)
40555e:	7e 2e                	jle    0x40558e
405560:	83 45 08 04          	addl   $0x4,0x8(%ebp)
405564:	ff 4d f8             	decl   -0x8(%ebp)
405567:	4f                   	dec    %edi
405568:	85 ff                	test   %edi,%edi
40556a:	7c 22                	jl     0x40558e
40556c:	47                   	inc    %edi
40556d:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
405574:	8b 45 08             	mov    0x8(%ebp),%eax
405577:	50                   	push   %eax
405578:	8b 45 f4             	mov    -0xc(%ebp),%eax
40557b:	8d 04 83             	lea    (%ebx,%eax,4),%eax
40557e:	8b 4d f8             	mov    -0x8(%ebp),%ecx
405581:	8b d6                	mov    %esi,%edx
405583:	e8 88 fe ff ff       	call   0x405410
405588:	ff 45 f4             	incl   -0xc(%ebp)
40558b:	4f                   	dec    %edi
40558c:	75 e6                	jne    0x405574
40558e:	8b 45 fc             	mov    -0x4(%ebp),%eax
405591:	89 18                	mov    %ebx,(%eax)
405593:	5f                   	pop    %edi
405594:	5e                   	pop    %esi
405595:	5b                   	pop    %ebx
405596:	8b e5                	mov    %ebp,%esp
405598:	5d                   	pop    %ebp
405599:	c2 04 00             	ret    $0x4
40559c:	54                   	push   %esp
40559d:	83 04 24 04          	addl   $0x4,(%esp)
4055a1:	e8 6a fe ff ff       	call   0x405410
4055a6:	c3                   	ret
4055a7:	90                   	nop
4055a8:	53                   	push   %ebx
4055a9:	85 c0                	test   %eax,%eax
4055ab:	74 12                	je     0x4055bf
4055ad:	8b d8                	mov    %eax,%ebx
4055af:	83 eb 04             	sub    $0x4,%ebx
4055b2:	8b 1b                	mov    (%ebx),%ebx
4055b4:	53                   	push   %ebx
4055b5:	51                   	push   %ecx
4055b6:	33 c9                	xor    %ecx,%ecx
4055b8:	e8 0b 00 00 00       	call   0x4055c8
4055bd:	5b                   	pop    %ebx
4055be:	c3                   	ret
4055bf:	8b c1                	mov    %ecx,%eax
4055c1:	e8 f6 00 00 00       	call   0x4056bc
4055c6:	5b                   	pop    %ebx
4055c7:	c3                   	ret
4055c8:	55                   	push   %ebp
4055c9:	8b ec                	mov    %esp,%ebp
4055cb:	83 c4 f0             	add    $0xfffffff0,%esp
4055ce:	53                   	push   %ebx
4055cf:	56                   	push   %esi
4055d0:	57                   	push   %edi
4055d1:	8b f9                	mov    %ecx,%edi
4055d3:	89 55 f8             	mov    %edx,-0x8(%ebp)
4055d6:	89 45 fc             	mov    %eax,-0x4(%ebp)
4055d9:	8b 75 0c             	mov    0xc(%ebp),%esi
4055dc:	33 db                	xor    %ebx,%ebx
4055de:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
4055e2:	0f 84 ba 00 00 00    	je     0x4056a2
4055e8:	8b 45 f8             	mov    -0x8(%ebp),%eax
4055eb:	89 45 f0             	mov    %eax,-0x10(%ebp)
4055ee:	85 ff                	test   %edi,%edi
4055f0:	7d 04                	jge    0x4055f6
4055f2:	03 f7                	add    %edi,%esi
4055f4:	33 ff                	xor    %edi,%edi
4055f6:	8b 45 fc             	mov    -0x4(%ebp),%eax
4055f9:	83 e8 04             	sub    $0x4,%eax
4055fc:	8b 00                	mov    (%eax),%eax
4055fe:	3b c7                	cmp    %edi,%eax
405600:	7d 02                	jge    0x405604
405602:	8b f8                	mov    %eax,%edi
405604:	8b d0                	mov    %eax,%edx
405606:	2b d7                	sub    %edi,%edx
405608:	3b f2                	cmp    %edx,%esi
40560a:	7e 02                	jle    0x40560e
40560c:	8b f2                	mov    %edx,%esi
40560e:	85 f6                	test   %esi,%esi
405610:	7d 02                	jge    0x405614
405612:	33 f6                	xor    %esi,%esi
405614:	85 f6                	test   %esi,%esi
405616:	0f 8e 86 00 00 00    	jle    0x4056a2
40561c:	8b 45 f0             	mov    -0x10(%ebp),%eax
40561f:	0f b6 40 01          	movzbl 0x1(%eax),%eax
405623:	01 45 f0             	add    %eax,-0x10(%ebp)
405626:	8b 45 f0             	mov    -0x10(%ebp),%eax
405629:	8b 40 02             	mov    0x2(%eax),%eax
40562c:	89 45 f4             	mov    %eax,-0xc(%ebp)
40562f:	8b 45 f0             	mov    -0x10(%ebp),%eax
405632:	8b 40 06             	mov    0x6(%eax),%eax
405635:	85 c0                	test   %eax,%eax
405637:	74 07                	je     0x405640
405639:	8b 00                	mov    (%eax),%eax
40563b:	89 45 f0             	mov    %eax,-0x10(%ebp)
40563e:	eb 05                	jmp    0x405645
405640:	33 c0                	xor    %eax,%eax
405642:	89 45 f0             	mov    %eax,-0x10(%ebp)
405645:	8b c6                	mov    %esi,%eax
405647:	f7 6d f4             	imull  -0xc(%ebp)
40564a:	83 c0 08             	add    $0x8,%eax
40564d:	e8 26 d1 ff ff       	call   0x402778
405652:	8b d8                	mov    %eax,%ebx
405654:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)
40565a:	83 c3 04             	add    $0x4,%ebx
40565d:	89 33                	mov    %esi,(%ebx)
40565f:	83 c3 04             	add    $0x4,%ebx
405662:	0f af 7d f4          	imul   -0xc(%ebp),%edi
405666:	01 7d fc             	add    %edi,-0x4(%ebp)
405669:	85 f6                	test   %esi,%esi
40566b:	7e 35                	jle    0x4056a2
40566d:	83 7d f0 00          	cmpl   $0x0,-0x10(%ebp)
405671:	74 1f                	je     0x405692
405673:	8b d6                	mov    %esi,%edx
405675:	0f af 55 f4          	imul   -0xc(%ebp),%edx
405679:	8b c3                	mov    %ebx,%eax
40567b:	33 c9                	xor    %ecx,%ecx
40567d:	e8 ea d6 ff ff       	call   0x402d6c
405682:	56                   	push   %esi
405683:	8b 4d f0             	mov    -0x10(%ebp),%ecx
405686:	8b 55 fc             	mov    -0x4(%ebp),%edx
405689:	8b c3                	mov    %ebx,%eax
40568b:	e8 60 fd ff ff       	call   0x4053f0
405690:	eb 10                	jmp    0x4056a2
405692:	8b ce                	mov    %esi,%ecx
405694:	0f af 4d f4          	imul   -0xc(%ebp),%ecx
405698:	8b d3                	mov    %ebx,%edx
40569a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40569d:	e8 d2 d2 ff ff       	call   0x402974
4056a2:	8b 45 08             	mov    0x8(%ebp),%eax
4056a5:	8b 55 f8             	mov    -0x8(%ebp),%edx
4056a8:	e8 5b fd ff ff       	call   0x405408
4056ad:	8b 45 08             	mov    0x8(%ebp),%eax
4056b0:	89 18                	mov    %ebx,(%eax)
4056b2:	5f                   	pop    %edi
4056b3:	5e                   	pop    %esi
4056b4:	5b                   	pop    %ebx
4056b5:	8b e5                	mov    %ebp,%esp
4056b7:	5d                   	pop    %ebp
4056b8:	c2 08 00             	ret    $0x8
4056bb:	90                   	nop
4056bc:	8b 08                	mov    (%eax),%ecx
4056be:	85 c9                	test   %ecx,%ecx
4056c0:	74 33                	je     0x4056f5
4056c2:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
4056c8:	f0 ff 49 f8          	lock decl -0x8(%ecx)
4056cc:	75 27                	jne    0x4056f5
4056ce:	50                   	push   %eax
4056cf:	89 c8                	mov    %ecx,%eax
4056d1:	31 c9                	xor    %ecx,%ecx
4056d3:	8a 4a 01             	mov    0x1(%edx),%cl
4056d6:	8b 54 11 06          	mov    0x6(%ecx,%edx,1),%edx
4056da:	85 d2                	test   %edx,%edx
4056dc:	74 0e                	je     0x4056ec
4056de:	8b 48 fc             	mov    -0x4(%eax),%ecx
4056e1:	85 c9                	test   %ecx,%ecx
4056e3:	74 07                	je     0x4056ec
4056e5:	8b 12                	mov    (%edx),%edx
4056e7:	e8 2c f5 ff ff       	call   0x404c18
4056ec:	83 e8 08             	sub    $0x8,%eax
4056ef:	e8 a4 d0 ff ff       	call   0x402798
4056f4:	58                   	pop    %eax
4056f5:	c3                   	ret
4056f6:	8b c0                	mov    %eax,%eax
4056f8:	53                   	push   %ebx
4056f9:	8b 18                	mov    (%eax),%ebx
4056fb:	85 d2                	test   %edx,%edx
4056fd:	74 04                	je     0x405703
4056ff:	f0 ff 42 f8          	lock incl -0x8(%edx)
405703:	85 db                	test   %ebx,%ebx
405705:	74 14                	je     0x40571b
405707:	f0 ff 4b f8          	lock decl -0x8(%ebx)
40570b:	75 0e                	jne    0x40571b
40570d:	50                   	push   %eax
40570e:	52                   	push   %edx
40570f:	89 ca                	mov    %ecx,%edx
405711:	ff 43 f8             	incl   -0x8(%ebx)
405714:	e8 a3 ff ff ff       	call   0x4056bc
405719:	5a                   	pop    %edx
40571a:	58                   	pop    %eax
40571b:	89 10                	mov    %edx,(%eax)
40571d:	5b                   	pop    %ebx
40571e:	c3                   	ret
40571f:	90                   	nop
405720:	85 c0                	test   %eax,%eax
405722:	74 04                	je     0x405728