56f4a9:	8b 46 1c             	mov    0x1c(%esi),%eax
56f4ac:	8b 4e 04             	mov    0x4(%esi),%ecx
56f4af:	33 d2                	xor    %edx,%edx
56f4b1:	2b d1                	sub    %ecx,%edx
56f4b3:	8b 08                	mov    (%eax),%ecx
56f4b5:	c7 04 91 00 20 00 00 	movl   $0x2000,(%ecx,%edx,4)
56f4bc:	33 d2                	xor    %edx,%edx
56f4be:	33 c0                	xor    %eax,%eax
56f4c0:	b9 01 00 00 00       	mov    $0x1,%ecx
56f4c5:	6a 01                	push   $0x1
56f4c7:	e8 8c 87 00 00       	call   0x577c58
56f4cc:	8b d8                	mov    %eax,%ebx
56f4ce:	85 c0                	test   %eax,%eax
56f4d0:	74 23                	je     0x56f4f5
56f4d2:	8b 43 1c             	mov    0x1c(%ebx),%eax
56f4d5:	8b 4b 04             	mov    0x4(%ebx),%ecx
56f4d8:	33 d2                	xor    %edx,%edx
56f4da:	2b d1                	sub    %ecx,%edx
56f4dc:	8b 08                	mov    (%eax),%ecx
56f4de:	c7 04 91 00 40 00 00 	movl   $0x4000,(%ecx,%edx,4)
56f4e5:	eb 05                	jmp    0x56f4ec
56f4e7:	e8 5c b6 fe ff       	call   0x55ab48
56f4ec:	89 37                	mov    %esi,(%edi)
56f4ee:	89 5f 04             	mov    %ebx,0x4(%edi)
56f4f1:	33 c0                	xor    %eax,%eax
56f4f3:	eb 19                	jmp    0x56f50e
56f4f5:	85 f6                	test   %esi,%esi
56f4f7:	74 07                	je     0x56f500
56f4f9:	8b c6                	mov    %esi,%eax
56f4fb:	e8 94 88 00 00       	call   0x577d94
56f500:	85 db                	test   %ebx,%ebx
56f502:	74 07                	je     0x56f50b
56f504:	8b c3                	mov    %ebx,%eax
56f506:	e8 89 88 00 00       	call   0x577d94
56f50b:	83 c8 ff             	or     $0xffffffff,%eax
56f50e:	5f                   	pop    %edi
56f50f:	5e                   	pop    %esi
56f510:	5b                   	pop    %ebx
56f511:	c3                   	ret
56f512:	90                   	nop
56f513:	90                   	nop
56f514:	53                   	push   %ebx
56f515:	56                   	push   %esi
56f516:	57                   	push   %edi
56f517:	55                   	push   %ebp
56f518:	83 c4 b0             	add    $0xffffffb0,%esp
56f51b:	8b f1                	mov    %ecx,%esi
56f51d:	89 54 24 04          	mov    %edx,0x4(%esp)
56f521:	89 04 24             	mov    %eax,(%esp)
56f524:	f6 44 24 06 01       	testb  $0x1,0x6(%esp)
56f529:	74 41                	je     0x56f56c
56f52b:	c7 44 24 28 01 00 00 	movl   $0x1,0x28(%esp)
56f532:	00
56f533:	8b 46 14             	mov    0x14(%esi),%eax
56f536:	48                   	dec    %eax
56f537:	7e 19                	jle    0x56f552
56f539:	8b 56 1c             	mov    0x1c(%esi),%edx
56f53c:	8b 46 1c             	mov    0x1c(%esi),%eax
56f53f:	8b 5a 04             	mov    0x4(%edx),%ebx
56f542:	8b 10                	mov    (%eax),%edx
56f544:	2b da                	sub    %edx,%ebx
56f546:	85 db                	test   %ebx,%ebx
56f548:	79 03                	jns    0x56f54d
56f54a:	83 c3 03             	add    $0x3,%ebx
56f54d:	c1 fb 02             	sar    $0x2,%ebx
56f550:	eb 02                	jmp    0x56f554
56f552:	33 db                	xor    %ebx,%ebx
56f554:	8b 46 0c             	mov    0xc(%esi),%eax
56f557:	8b 56 04             	mov    0x4(%esi),%edx
56f55a:	2b c2                	sub    %edx,%eax
56f55c:	89 44 24 2c          	mov    %eax,0x2c(%esp)
56f560:	8b 7e 08             	mov    0x8(%esi),%edi
56f563:	8b 46 10             	mov    0x10(%esi),%eax
56f566:	89 44 24 0c          	mov    %eax,0xc(%esp)
56f56a:	eb 40                	jmp    0x56f5ac
56f56c:	8b 56 14             	mov    0x14(%esi),%edx
56f56f:	4a                   	dec    %edx
56f570:	7e 19                	jle    0x56f58b
56f572:	8b 4e 1c             	mov    0x1c(%esi),%ecx
56f575:	8b 56 1c             	mov    0x1c(%esi),%edx
56f578:	8b 41 04             	mov    0x4(%ecx),%eax
56f57b:	8b 0a                	mov    (%edx),%ecx
56f57d:	2b c1                	sub    %ecx,%eax
56f57f:	85 c0                	test   %eax,%eax
56f581:	79 03                	jns    0x56f586
56f583:	83 c0 03             	add    $0x3,%eax
56f586:	c1 f8 02             	sar    $0x2,%eax
56f589:	eb 02                	jmp    0x56f58d
56f58b:	33 c0                	xor    %eax,%eax
56f58d:	89 44 24 28          	mov    %eax,0x28(%esp)
56f591:	bb 01 00 00 00       	mov    $0x1,%ebx
56f596:	8b 46 10             	mov    0x10(%esi),%eax
56f599:	8b 56 08             	mov    0x8(%esi),%edx
56f59c:	2b c2                	sub    %edx,%eax
56f59e:	89 44 24 2c          	mov    %eax,0x2c(%esp)
56f5a2:	8b 7e 04             	mov    0x4(%esi),%edi
56f5a5:	8b 46 0c             	mov    0xc(%esi),%eax
56f5a8:	89 44 24 0c          	mov    %eax,0xc(%esp)
56f5ac:	8b 54 24 0c          	mov    0xc(%esp),%edx
56f5b0:	3b fa                	cmp    %edx,%edi
56f5b2:	7c 17                	jl     0x56f5cb
56f5b4:	68 8d 03 00 00       	push   $0x38d
56f5b9:	68 96 0d 6a 00       	push   $0x6a0d96
56f5be:	68 84 0d 6a 00       	push   $0x6a0d84
56f5c3:	e8 78 b5 fe ff       	call   0x55ab40
56f5c8:	83 c4 0c             	add    $0xc,%esp
56f5cb:	8b 4e 08             	mov    0x8(%esi),%ecx
56f5ce:	8b 46 08             	mov    0x8(%esi),%eax
56f5d1:	2b c8                	sub    %eax,%ecx
56f5d3:	8b 56 1c             	mov    0x1c(%esi),%edx
56f5d6:	8b 0c 8a             	mov    (%edx,%ecx,4),%ecx
56f5d9:	8b 46 04             	mov    0x4(%esi),%eax
56f5dc:	8b 56 04             	mov    0x4(%esi),%edx
56f5df:	2b c2                	sub    %edx,%eax
56f5e1:	c1 e0 02             	shl    $0x2,%eax
56f5e4:	03 c8                	add    %eax,%ecx
56f5e6:	89 4c 24 08          	mov    %ecx,0x8(%esp)
56f5ea:	f6 44 24 04 01       	testb  $0x1,0x4(%esp)
56f5ef:	0f 85 e0 03 00 00    	jne    0x56f9d5
56f5f5:	e9 c8 03 00 00       	jmp    0x56f9c2
56f5fa:	53                   	push   %ebx
56f5fb:	8d 4c 24 14          	lea    0x14(%esp),%ecx
56f5ff:	51                   	push   %ecx
56f600:	8d 44 24 1c          	lea    0x1c(%esp),%eax
56f604:	50                   	push   %eax
56f605:	8d 54 24 24          	lea    0x24(%esp),%edx
56f609:	52                   	push   %edx
56f60a:	8d 4c 24 2c          	lea    0x2c(%esp),%ecx
56f60e:	51                   	push   %ecx
56f60f:	8d 44 24 34          	lea    0x34(%esp),%eax
56f613:	50                   	push   %eax
56f614:	8d 54 24 3c          	lea    0x3c(%esp),%edx
56f618:	52                   	push   %edx
56f619:	8b 4c 24 28          	mov    0x28(%esp),%ecx
56f61d:	8b d7                	mov    %edi,%edx
56f61f:	8b 44 24 24          	mov    0x24(%esp),%eax
56f623:	e8 b4 ed ff ff       	call   0x56e3dc
56f628:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
56f62c:	2b cf                	sub    %edi,%ecx
56f62e:	49                   	dec    %ecx
56f62f:	0f 8e 82 03 00 00    	jle    0x56f9b7
56f635:	53                   	push   %ebx
56f636:	8b 44 24 14          	mov    0x14(%esp),%eax
56f63a:	50                   	push   %eax
56f63b:	8b 54 24 1c          	mov    0x1c(%esp),%edx
56f63f:	52                   	push   %edx
56f640:	8b 4c 24 24          	mov    0x24(%esp),%ecx
56f644:	51                   	push   %ecx
56f645:	8b 44 24 2c          	mov    0x2c(%esp),%eax
56f649:	50                   	push   %eax
56f64a:	8b 54 24 34          	mov    0x34(%esp),%edx
56f64e:	52                   	push   %edx
56f64f:	8b 4c 24 3c          	mov    0x3c(%esp),%ecx
56f653:	51                   	push   %ecx
56f654:	8b 4c 24 28          	mov    0x28(%esp),%ecx
56f658:	8b d7                	mov    %edi,%edx
56f65a:	8b 44 24 24          	mov    0x24(%esp),%eax
56f65e:	e8 39 ee ff ff       	call   0x56e49c
56f663:	8b 44 24 24          	mov    0x24(%esp),%eax
56f667:	8b 54 24 20          	mov    0x20(%esp),%edx
56f66b:	2b c2                	sub    %edx,%eax
56f66d:	8b 74 24 10          	mov    0x10(%esp),%esi
56f671:	8b 6c 24 1c          	mov    0x1c(%esp),%ebp
56f675:	89 44 24 30          	mov    %eax,0x30(%esp)
56f679:	c7 44 24 34 7e 9a ff 	movl   $0xffff9a7e,0x34(%esp)
56f680:	ff
56f681:	8b 4c 24 20          	mov    0x20(%esp),%ecx
56f685:	8b 44 24 14          	mov    0x14(%esp),%eax
56f689:	3b c8                	cmp    %eax,%ecx
56f68b:	7d 24                	jge    0x56f6b1
56f68d:	8b 44 24 34          	mov    0x34(%esp),%eax
56f691:	99                   	cltd
56f692:	52                   	push   %edx
56f693:	50                   	push   %eax
56f694:	8b 06                	mov    (%esi),%eax
56f696:	99                   	cltd
56f697:	e8 e8 b9 fe ff       	call   0x55b084
56f69c:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f6a0:	c1 fa 0d             	sar    $0xd,%edx
56f6a3:	01 45 00             	add    %eax,0x0(%ebp)
56f6a6:	8b d3                	mov    %ebx,%edx
56f6a8:	c1 e2 02             	shl    $0x2,%edx
56f6ab:	03 ea                	add    %edx,%ebp
56f6ad:	ff 4c 24 30          	decl   0x30(%esp)
56f6b1:	8b 4c 24 24          	mov    0x24(%esp),%ecx
56f6b5:	8b 44 24 18          	mov    0x18(%esp),%eax
56f6b9:	3b c8                	cmp    %eax,%ecx
56f6bb:	7c 2d                	jl     0x56f6ea
56f6bd:	ff 4c 24 30          	decl   0x30(%esp)
56f6c1:	eb 27                	jmp    0x56f6ea
56f6c3:	6a ff                	push   $0xffffffff
56f6c5:	68 3f cd ff ff       	push   $0xffffcd3f
56f6ca:	8b 06                	mov    (%esi),%eax
56f6cc:	8b 14 9e             	mov    (%esi,%ebx,4),%edx
56f6cf:	03 c2                	add    %edx,%eax
56f6d1:	99                   	cltd
56f6d2:	e8 ad b9 fe ff       	call   0x55b084
56f6d7:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f6db:	01 45 00             	add    %eax,0x0(%ebp)
56f6de:	8b c3                	mov    %ebx,%eax
56f6e0:	c1 e0 02             	shl    $0x2,%eax
56f6e3:	c1 fa 0d             	sar    $0xd,%edx
56f6e6:	03 e8                	add    %eax,%ebp
56f6e8:	03 f0                	add    %eax,%esi
56f6ea:	8b 54 24 30          	mov    0x30(%esp),%edx
56f6ee:	83 44 24 30 ff       	addl   $0xffffffff,0x30(%esp)
56f6f3:	85 d2                	test   %edx,%edx
56f6f5:	7f cc                	jg     0x56f6c3
56f6f7:	8b 4c 24 24          	mov    0x24(%esp),%ecx
56f6fb:	8b 44 24 18          	mov    0x18(%esp),%eax
56f6ff:	3b c8                	cmp    %eax,%ecx
56f701:	7c 19                	jl     0x56f71c
56f703:	8b 44 24 34          	mov    0x34(%esp),%eax
56f707:	99                   	cltd
56f708:	52                   	push   %edx
56f709:	50                   	push   %eax
56f70a:	8b 06                	mov    (%esi),%eax
56f70c:	99                   	cltd
56f70d:	e8 72 b9 fe ff       	call   0x55b084
56f712:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f716:	c1 fa 0d             	sar    $0xd,%edx
56f719:	01 45 00             	add    %eax,0x0(%ebp)
56f71c:	8b 44 24 18          	mov    0x18(%esp),%eax
56f720:	8b 54 24 14          	mov    0x14(%esp),%edx
56f724:	2b c2                	sub    %edx,%eax
56f726:	8b 6c 24 10          	mov    0x10(%esp),%ebp
56f72a:	8b 74 24 1c          	mov    0x1c(%esp),%esi
56f72e:	89 44 24 38          	mov    %eax,0x38(%esp)
56f732:	c7 44 24 3c 9c fc ff 	movl   $0xfffffc9c,0x3c(%esp)
56f739:	ff
56f73a:	8b 4c 24 20          	mov    0x20(%esp),%ecx
56f73e:	8b 44 24 14          	mov    0x14(%esp),%eax
56f742:	3b c8                	cmp    %eax,%ecx
56f744:	7c 24                	jl     0x56f76a
56f746:	8b 44 24 3c          	mov    0x3c(%esp),%eax
56f74a:	99                   	cltd
56f74b:	52                   	push   %edx
56f74c:	50                   	push   %eax
56f74d:	8b 06                	mov    (%esi),%eax
56f74f:	99                   	cltd
56f750:	e8 2f b9 fe ff       	call   0x55b084
56f755:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f759:	c1 fa 0d             	sar    $0xd,%edx
56f75c:	01 45 00             	add    %eax,0x0(%ebp)
56f75f:	8b d3                	mov    %ebx,%edx
56f761:	c1 e2 02             	shl    $0x2,%edx
56f764:	03 ea                	add    %edx,%ebp
56f766:	ff 4c 24 38          	decl   0x38(%esp)
56f76a:	8b 4c 24 18          	mov    0x18(%esp),%ecx
56f76e:	8b 44 24 24          	mov    0x24(%esp),%eax
56f772:	3b c8                	cmp    %eax,%ecx
56f774:	7e 2d                	jle    0x56f7a3
56f776:	ff 4c 24 38          	decl   0x38(%esp)
56f77a:	eb 27                	jmp    0x56f7a3
56f77c:	6a ff                	push   $0xffffffff
56f77e:	68 4e fe ff ff       	push   $0xfffffe4e
56f783:	8b 06                	mov    (%esi),%eax
56f785:	8b 14 9e             	mov    (%esi,%ebx,4),%edx
56f788:	03 c2                	add    %edx,%eax
56f78a:	99                   	cltd
56f78b:	e8 f4 b8 fe ff       	call   0x55b084
56f790:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f794:	01 45 00             	add    %eax,0x0(%ebp)
56f797:	8b c3                	mov    %ebx,%eax
56f799:	c1 e0 02             	shl    $0x2,%eax
56f79c:	c1 fa 0d             	sar    $0xd,%edx
56f79f:	03 e8                	add    %eax,%ebp
56f7a1:	03 f0                	add    %eax,%esi
56f7a3:	8b 54 24 38          	mov    0x38(%esp),%edx
56f7a7:	83 44 24 38 ff       	addl   $0xffffffff,0x38(%esp)
56f7ac:	85 d2                	test   %edx,%edx
56f7ae:	7f cc                	jg     0x56f77c
56f7b0:	8b 4c 24 18          	mov    0x18(%esp),%ecx
56f7b4:	8b 44 24 24          	mov    0x24(%esp),%eax
56f7b8:	3b c8                	cmp    %eax,%ecx
56f7ba:	7e 19                	jle    0x56f7d5
56f7bc:	8b 44 24 3c          	mov    0x3c(%esp),%eax
56f7c0:	99                   	cltd
56f7c1:	52                   	push   %edx
56f7c2:	50                   	push   %eax
56f7c3:	8b 06                	mov    (%esi),%eax
56f7c5:	99                   	cltd
56f7c6:	e8 b9 b8 fe ff       	call   0x55b084
56f7cb:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f7cf:	c1 fa 0d             	sar    $0xd,%edx
56f7d2:	01 45 00             	add    %eax,0x0(%ebp)
56f7d5:	8b 44 24 24          	mov    0x24(%esp),%eax
56f7d9:	8b 54 24 20          	mov    0x20(%esp),%edx
56f7dd:	2b c2                	sub    %edx,%eax
56f7df:	8b 74 24 10          	mov    0x10(%esp),%esi
56f7e3:	8b 6c 24 1c          	mov    0x1c(%esp),%ebp
56f7e7:	89 44 24 40          	mov    %eax,0x40(%esp)
56f7eb:	c7 44 24 44 80 38 00 	movl   $0x3880,0x44(%esp)
56f7f2:	00
56f7f3:	8b 4c 24 20          	mov    0x20(%esp),%ecx
56f7f7:	8b 44 24 14          	mov    0x14(%esp),%eax
56f7fb:	3b c8                	cmp    %eax,%ecx
56f7fd:	7d 24                	jge    0x56f823
56f7ff:	8b 44 24 44          	mov    0x44(%esp),%eax
56f803:	99                   	cltd
56f804:	52                   	push   %edx
56f805:	50                   	push   %eax
56f806:	8b 06                	mov    (%esi),%eax
56f808:	99                   	cltd
56f809:	e8 76 b8 fe ff       	call   0x55b084
56f80e:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f812:	c1 fa 0d             	sar    $0xd,%edx
56f815:	01 45 00             	add    %eax,0x0(%ebp)
56f818:	8b d3                	mov    %ebx,%edx
56f81a:	c1 e2 02             	shl    $0x2,%edx
56f81d:	03 ea                	add    %edx,%ebp
56f81f:	ff 4c 24 40          	decl   0x40(%esp)
56f823:	8b 4c 24 24          	mov    0x24(%esp),%ecx
56f827:	8b 44 24 18          	mov    0x18(%esp),%eax
56f82b:	3b c8                	cmp    %eax,%ecx
56f82d:	7c 2d                	jl     0x56f85c
56f82f:	ff 4c 24 40          	decl   0x40(%esp)
56f833:	eb 27                	jmp    0x56f85c
56f835:	6a 00                	push   $0x0
56f837:	68 40 1c 00 00       	push   $0x1c40
56f83c:	8b 06                	mov    (%esi),%eax
56f83e:	8b 14 9e             	mov    (%esi,%ebx,4),%edx
56f841:	03 c2                	add    %edx,%eax
56f843:	99                   	cltd
56f844:	e8 3b b8 fe ff       	call   0x55b084
56f849:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f84d:	01 45 00             	add    %eax,0x0(%ebp)
56f850:	8b c3                	mov    %ebx,%eax
56f852:	c1 e0 02             	shl    $0x2,%eax
56f855:	c1 fa 0d             	sar    $0xd,%edx
56f858:	03 e8                	add    %eax,%ebp
56f85a:	03 f0                	add    %eax,%esi
56f85c:	8b 54 24 40          	mov    0x40(%esp),%edx
56f860:	83 44 24 40 ff       	addl   $0xffffffff,0x40(%esp)
56f865:	85 d2                	test   %edx,%edx
56f867:	7f cc                	jg     0x56f835
56f869:	8b 4c 24 24          	mov    0x24(%esp),%ecx
56f86d:	8b 44 24 18          	mov    0x18(%esp),%eax
56f871:	3b c8                	cmp    %eax,%ecx
56f873:	7c 19                	jl     0x56f88e
56f875:	8b 44 24 44          	mov    0x44(%esp),%eax
56f879:	99                   	cltd
56f87a:	52                   	push   %edx
56f87b:	50                   	push   %eax
56f87c:	8b 06                	mov    (%esi),%eax
56f87e:	99                   	cltd
56f87f:	e8 00 b8 fe ff       	call   0x55b084
56f884:	0f ac d0 0d          	shrd   $0xd,%edx,%eax
56f888:	c1 fa 0d             	sar    $0xd,%edx
56f88b:	01 45 00             	add    %eax,0x0(%ebp)