40174d:	6a 00                	push   $0x0
40174f:	56                   	push   %esi
401750:	e8 ef fc ff ff       	call   0x401444
401755:	85 c0                	test   %eax,%eax
401757:	75 0a                	jne    0x401763
401759:	c7 05 c4 85 6a 00 01 	movl   $0x1,0x6a85c4
401760:	00 00 00
401763:	8b c3                	mov    %ebx,%eax
401765:	e8 8a fd ff ff       	call   0x4014f4
40176a:	8b df                	mov    %edi,%ebx
40176c:	81 fb e8 85 6a 00    	cmp    $0x6a85e8,%ebx
401772:	75 a7                	jne    0x40171b
401774:	8b 44 24 04          	mov    0x4(%esp),%eax
401778:	33 d2                	xor    %edx,%edx
40177a:	89 10                	mov    %edx,(%eax)
40177c:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
401781:	74 19                	je     0x40179c
401783:	8b 44 24 04          	mov    0x4(%esp),%eax
401787:	8b 54 24 08          	mov    0x8(%esp),%edx
40178b:	89 10                	mov    %edx,(%eax)
40178d:	8b 44 24 0c          	mov    0xc(%esp),%eax
401791:	2b 44 24 08          	sub    0x8(%esp),%eax
401795:	8b 54 24 04          	mov    0x4(%esp),%edx
401799:	89 42 04             	mov    %eax,0x4(%edx)
40179c:	83 c4 14             	add    $0x14,%esp
40179f:	5d                   	pop    %ebp
4017a0:	5f                   	pop    %edi
4017a1:	5e                   	pop    %esi
4017a2:	5b                   	pop    %ebx
4017a3:	c3                   	ret
4017a4:	53                   	push   %ebx
4017a5:	56                   	push   %esi
4017a6:	57                   	push   %edi
4017a7:	55                   	push   %ebp
4017a8:	83 c4 f4             	add    $0xfffffff4,%esp
4017ab:	89 4c 24 04          	mov    %ecx,0x4(%esp)
4017af:	89 14 24             	mov    %edx,(%esp)
4017b2:	8b d0                	mov    %eax,%edx
4017b4:	8b ea                	mov    %edx,%ebp
4017b6:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
4017bc:	03 14 24             	add    (%esp),%edx
4017bf:	81 c2 ff 0f 00 00    	add    $0xfff,%edx
4017c5:	81 e2 00 f0 ff ff    	and    $0xfffff000,%edx
4017cb:	89 54 24 08          	mov    %edx,0x8(%esp)
4017cf:	8b 44 24 04          	mov    0x4(%esp),%eax
4017d3:	89 28                	mov    %ebp,(%eax)
4017d5:	8b 44 24 08          	mov    0x8(%esp),%eax
4017d9:	2b c5                	sub    %ebp,%eax
4017db:	8b 54 24 04          	mov    0x4(%esp),%edx
4017df:	89 42 04             	mov    %eax,0x4(%edx)
4017e2:	8b 35 e8 85 6a 00    	mov    0x6a85e8,%esi
4017e8:	eb 3c                	jmp    0x401826
4017ea:	8b 5e 08             	mov    0x8(%esi),%ebx
4017ed:	8b 7e 0c             	mov    0xc(%esi),%edi
4017f0:	03 fb                	add    %ebx,%edi
4017f2:	3b eb                	cmp    %ebx,%ebp
4017f4:	76 02                	jbe    0x4017f8
4017f6:	8b dd                	mov    %ebp,%ebx
4017f8:	3b 7c 24 08          	cmp    0x8(%esp),%edi
4017fc:	76 04                	jbe    0x401802
4017fe:	8b 7c 24 08          	mov    0x8(%esp),%edi
401802:	3b fb                	cmp    %ebx,%edi
401804:	76 1e                	jbe    0x401824
401806:	6a 04                	push   $0x4
401808:	68 00 10 00 00       	push   $0x1000
40180d:	2b fb                	sub    %ebx,%edi
40180f:	57                   	push   %edi
401810:	53                   	push   %ebx
401811:	e8 26 fc ff ff       	call   0x40143c
401816:	85 c0                	test   %eax,%eax
401818:	75 0a                	jne    0x401824
40181a:	8b 44 24 04          	mov    0x4(%esp),%eax
40181e:	33 d2                	xor    %edx,%edx
401820:	89 10                	mov    %edx,(%eax)
401822:	eb 0a                	jmp    0x40182e
401824:	8b 36                	mov    (%esi),%esi
401826:	81 fe e8 85 6a 00    	cmp    $0x6a85e8,%esi
40182c:	75 bc                	jne    0x4017ea
40182e:	83 c4 0c             	add    $0xc,%esp
401831:	5d                   	pop    %ebp
401832:	5f                   	pop    %edi
401833:	5e                   	pop    %esi
401834:	5b                   	pop    %ebx
401835:	c3                   	ret
401836:	8b c0                	mov    %eax,%eax
401838:	53                   	push   %ebx
401839:	56                   	push   %esi
40183a:	57                   	push   %edi
40183b:	55                   	push   %ebp
40183c:	51                   	push   %ecx
40183d:	8b d8                	mov    %eax,%ebx
40183f:	8b f3                	mov    %ebx,%esi
401841:	81 c6 ff 0f 00 00    	add    $0xfff,%esi
401847:	81 e6 00 f0 ff ff    	and    $0xfffff000,%esi
40184d:	89 34 24             	mov    %esi,(%esp)
401850:	8b eb                	mov    %ebx,%ebp
401852:	03 ea                	add    %edx,%ebp
401854:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
40185a:	8b 04 24             	mov    (%esp),%eax
40185d:	89 01                	mov    %eax,(%ecx)
40185f:	8b c5                	mov    %ebp,%eax
401861:	2b 04 24             	sub    (%esp),%eax
401864:	89 41 04             	mov    %eax,0x4(%ecx)
401867:	8b 35 e8 85 6a 00    	mov    0x6a85e8,%esi
40186d:	eb 38                	jmp    0x4018a7
40186f:	8b 5e 08             	mov    0x8(%esi),%ebx
401872:	8b 7e 0c             	mov    0xc(%esi),%edi
401875:	03 fb                	add    %ebx,%edi
401877:	3b 1c 24             	cmp    (%esp),%ebx
40187a:	73 03                	jae    0x40187f
40187c:	8b 1c 24             	mov    (%esp),%ebx
40187f:	3b ef                	cmp    %edi,%ebp
401881:	73 02                	jae    0x401885
401883:	8b fd                	mov    %ebp,%edi
401885:	3b fb                	cmp    %ebx,%edi
401887:	76 1c                	jbe    0x4018a5
401889:	68 00 40 00 00       	push   $0x4000
40188e:	2b fb                	sub    %ebx,%edi
401890:	57                   	push   %edi
401891:	53                   	push   %ebx
401892:	e8 ad fb ff ff       	call   0x401444
401897:	85 c0                	test   %eax,%eax
401899:	75 0a                	jne    0x4018a5
40189b:	c7 05 c4 85 6a 00 02 	movl   $0x2,0x6a85c4
4018a2:	00 00 00
4018a5:	8b 36                	mov    (%esi),%esi
4018a7:	81 fe e8 85 6a 00    	cmp    $0x6a85e8,%esi
4018ad:	75 c0                	jne    0x40186f
4018af:	5a                   	pop    %edx
4018b0:	5d                   	pop    %ebp
4018b1:	5f                   	pop    %edi
4018b2:	5e                   	pop    %esi
4018b3:	5b                   	pop    %ebx
4018b4:	c3                   	ret
4018b5:	8d 40 00             	lea    0x0(%eax),%eax
4018b8:	53                   	push   %ebx
4018b9:	56                   	push   %esi
4018ba:	57                   	push   %edi
4018bb:	55                   	push   %ebp
4018bc:	83 c4 f8             	add    $0xfffffff8,%esp
4018bf:	8b f2                	mov    %edx,%esi
4018c1:	8b f8                	mov    %eax,%edi
4018c3:	bd f8 85 6a 00       	mov    $0x6a85f8,%ebp
4018c8:	81 c7 ff 3f 00 00    	add    $0x3fff,%edi
4018ce:	81 e7 00 c0 ff ff    	and    $0xffffc000,%edi
4018d4:	8b 5d 00             	mov    0x0(%ebp),%ebx
4018d7:	eb 33                	jmp    0x40190c
4018d9:	3b 7b 0c             	cmp    0xc(%ebx),%edi
4018dc:	7f 2c                	jg     0x40190a
4018de:	8b ce                	mov    %esi,%ecx
4018e0:	8b d7                	mov    %edi,%edx
4018e2:	8b 43 08             	mov    0x8(%ebx),%eax
4018e5:	e8 ba fe ff ff       	call   0x4017a4
4018ea:	83 3e 00             	cmpl   $0x0,(%esi)
4018ed:	74 50                	je     0x40193f
4018ef:	8b 46 04             	mov    0x4(%esi),%eax
4018f2:	01 43 08             	add    %eax,0x8(%ebx)
4018f5:	8b 46 04             	mov    0x4(%esi),%eax
4018f8:	29 43 0c             	sub    %eax,0xc(%ebx)
4018fb:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
4018ff:	75 3e                	jne    0x40193f
401901:	8b c3                	mov    %ebx,%eax
401903:	e8 ec fb ff ff       	call   0x4014f4
401908:	eb 35                	jmp    0x40193f
40190a:	8b 1b                	mov    (%ebx),%ebx
40190c:	3b dd                	cmp    %ebp,%ebx
40190e:	75 c9                	jne    0x4018d9
401910:	8b d6                	mov    %esi,%edx
401912:	8b c7                	mov    %edi,%eax
401914:	e8 f7 fc ff ff       	call   0x401610
401919:	83 3e 00             	cmpl   $0x0,(%esi)
40191c:	74 21                	je     0x40193f
40191e:	8b cc                	mov    %esp,%ecx
401920:	8b d6                	mov    %esi,%edx
401922:	8b c5                	mov    %ebp,%eax
401924:	e8 e3 fb ff ff       	call   0x40150c
401929:	83 3c 24 00          	cmpl   $0x0,(%esp)
40192d:	75 a5                	jne    0x4018d4
40192f:	8b cc                	mov    %esp,%ecx
401931:	8b 56 04             	mov    0x4(%esi),%edx
401934:	8b 06                	mov    (%esi),%eax
401936:	e8 b1 fd ff ff       	call   0x4016ec
40193b:	33 c0                	xor    %eax,%eax
40193d:	89 06                	mov    %eax,(%esi)
40193f:	59                   	pop    %ecx
401940:	5a                   	pop    %edx
401941:	5d                   	pop    %ebp
401942:	5f                   	pop    %edi
401943:	5e                   	pop    %esi
401944:	5b                   	pop    %ebx
401945:	c3                   	ret
401946:	8b c0                	mov    %eax,%eax
401948:	53                   	push   %ebx
401949:	56                   	push   %esi
40194a:	57                   	push   %edi
40194b:	55                   	push   %ebp
40194c:	83 c4 ec             	add    $0xffffffec,%esp
40194f:	89 0c 24             	mov    %ecx,(%esp)
401952:	8b fa                	mov    %edx,%edi
401954:	8b f0                	mov    %eax,%esi
401956:	bd f8 85 6a 00       	mov    $0x6a85f8,%ebp
40195b:	81 c7 ff 3f 00 00    	add    $0x3fff,%edi
401961:	81 e7 00 c0 ff ff    	and    $0xffffc000,%edi
401967:	8b 5d 00             	mov    0x0(%ebp),%ebx
40196a:	eb 02                	jmp    0x40196e
40196c:	8b 1b                	mov    (%ebx),%ebx
40196e:	3b dd                	cmp    %ebp,%ebx
401970:	74 05                	je     0x401977
401972:	3b 73 08             	cmp    0x8(%ebx),%esi
401975:	75 f5                	jne    0x40196c
401977:	3b 73 08             	cmp    0x8(%ebx),%esi
40197a:	75 57                	jne    0x4019d3
40197c:	3b 7b 0c             	cmp    0xc(%ebx),%edi
40197f:	0f 8e 96 00 00 00    	jle    0x401a1b
401985:	8d 4c 24 04          	lea    0x4(%esp),%ecx
401989:	8b d7                	mov    %edi,%edx
40198b:	2b 53 0c             	sub    0xc(%ebx),%edx
40198e:	8b 43 08             	mov    0x8(%ebx),%eax
401991:	03 43 0c             	add    0xc(%ebx),%eax
401994:	e8 db fc ff ff       	call   0x401674
401999:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
40199e:	74 33                	je     0x4019d3
4019a0:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4019a4:	8d 54 24 04          	lea    0x4(%esp),%edx
4019a8:	8b c5                	mov    %ebp,%eax
4019aa:	e8 5d fb ff ff       	call   0x40150c
4019af:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
4019b4:	75 b1                	jne    0x401967
4019b6:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4019ba:	8b 54 24 08          	mov    0x8(%esp),%edx
4019be:	8b 44 24 04          	mov    0x4(%esp),%eax
4019c2:	e8 25 fd ff ff       	call   0x4016ec
4019c7:	8b 04 24             	mov    (%esp),%eax
4019ca:	33 d2                	xor    %edx,%edx
4019cc:	89 10                	mov    %edx,(%eax)
4019ce:	e9 90 00 00 00       	jmp    0x401a63
4019d3:	8d 4c 24 04          	lea    0x4(%esp),%ecx
4019d7:	8b d7                	mov    %edi,%edx
4019d9:	8b c6                	mov    %esi,%eax
4019db:	e8 94 fc ff ff       	call   0x401674
4019e0:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
4019e5:	74 34                	je     0x401a1b
4019e7:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4019eb:	8d 54 24 04          	lea    0x4(%esp),%edx
4019ef:	8b c5                	mov    %ebp,%eax
4019f1:	e8 16 fb ff ff       	call   0x40150c
4019f6:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
4019fb:	0f 85 66 ff ff ff    	jne    0x401967
401a01:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
401a05:	8b 54 24 08          	mov    0x8(%esp),%edx
401a09:	8b 44 24 04          	mov    0x4(%esp),%eax
401a0d:	e8 da fc ff ff       	call   0x4016ec
401a12:	8b 04 24             	mov    (%esp),%eax
401a15:	33 d2                	xor    %edx,%edx
401a17:	89 10                	mov    %edx,(%eax)
401a19:	eb 48                	jmp    0x401a63
401a1b:	8b 6b 08             	mov    0x8(%ebx),%ebp
401a1e:	3b f5                	cmp    %ebp,%esi
401a20:	75 3a                	jne    0x401a5c
401a22:	3b 7b 0c             	cmp    0xc(%ebx),%edi
401a25:	7f 35                	jg     0x401a5c
401a27:	8b 0c 24             	mov    (%esp),%ecx
401a2a:	8b d7                	mov    %edi,%edx
401a2c:	8b c5                	mov    %ebp,%eax
401a2e:	e8 71 fd ff ff       	call   0x4017a4
401a33:	8b 04 24             	mov    (%esp),%eax
401a36:	83 38 00             	cmpl   $0x0,(%eax)
401a39:	74 28                	je     0x401a63
401a3b:	8b 04 24             	mov    (%esp),%eax
401a3e:	8b 40 04             	mov    0x4(%eax),%eax
401a41:	01 43 08             	add    %eax,0x8(%ebx)
401a44:	8b 04 24             	mov    (%esp),%eax
401a47:	8b 40 04             	mov    0x4(%eax),%eax
401a4a:	29 43 0c             	sub    %eax,0xc(%ebx)
401a4d:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
401a51:	75 10                	jne    0x401a63
401a53:	8b c3                	mov    %ebx,%eax
401a55:	e8 9a fa ff ff       	call   0x4014f4
401a5a:	eb 07                	jmp    0x401a63
401a5c:	8b 04 24             	mov    (%esp),%eax
401a5f:	33 d2                	xor    %edx,%edx
401a61:	89 10                	mov    %edx,(%eax)
401a63:	83 c4 14             	add    $0x14,%esp
401a66:	5d                   	pop    %ebp
401a67:	5f                   	pop    %edi
401a68:	5e                   	pop    %esi
401a69:	5b                   	pop    %ebx
401a6a:	c3                   	ret
401a6b:	90                   	nop
401a6c:	53                   	push   %ebx
401a6d:	56                   	push   %esi
401a6e:	57                   	push   %edi
401a6f:	83 c4 ec             	add    $0xffffffec,%esp
401a72:	8b f9                	mov    %ecx,%edi
401a74:	89 14 24             	mov    %edx,(%esp)
401a77:	8d 98 ff 3f 00 00    	lea    0x3fff(%eax),%ebx
401a7d:	81 e3 00 c0 ff ff    	and    $0xffffc000,%ebx
401a83:	8b 34 24             	mov    (%esp),%esi
401a86:	03 f0                	add    %eax,%esi
401a88:	81 e6 00 c0 ff ff    	and    $0xffffc000,%esi
401a8e:	3b de                	cmp    %esi,%ebx
401a90:	73 5b                	jae    0x401aed
401a92:	8b cf                	mov    %edi,%ecx
401a94:	8b d6                	mov    %esi,%edx
401a96:	2b d3                	sub    %ebx,%edx
401a98:	8b c3                	mov    %ebx,%eax
401a9a:	e8 99 fd ff ff       	call   0x401838
401a9f:	8d 4c 24 04          	lea    0x4(%esp),%ecx
401aa3:	8b d7                	mov    %edi,%edx
401aa5:	b8 f8 85 6a 00       	mov    $0x6a85f8,%eax
401aaa:	e8 5d fa ff ff       	call   0x40150c
401aaf:	8b 5c 24 04          	mov    0x4(%esp),%ebx
401ab3:	85 db                	test   %ebx,%ebx
401ab5:	74 1f                	je     0x401ad6
401ab7:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
401abb:	8b 54 24 08          	mov    0x8(%esp),%edx
401abf:	8b c3                	mov    %ebx,%eax
401ac1:	e8 26 fc ff ff       	call   0x4016ec
401ac6:	8b 44 24 0c          	mov    0xc(%esp),%eax
401aca:	89 44 24 04          	mov    %eax,0x4(%esp)
401ace:	8b 44 24 10          	mov    0x10(%esp),%eax
401ad2:	89 44 24 08          	mov    %eax,0x8(%esp)
401ad6:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
401adb:	74 14                	je     0x401af1
401add:	8d 54 24 04          	lea    0x4(%esp),%edx
401ae1:	b8 f8 85 6a 00       	mov    $0x6a85f8,%eax
401ae6:	e8 91 fa ff ff       	call   0x40157c
401aeb:	eb 04                	jmp    0x401af1
401aed:	33 c0                	xor    %eax,%eax
401aef:	89 07                	mov    %eax,(%edi)
401af1:	83 c4 14             	add    $0x14,%esp
401af4:	5f                   	pop    %edi
401af5:	5e                   	pop    %esi
401af6:	5b                   	pop    %ebx
401af7:	c3                   	ret
401af8:	55                   	push   %ebp
401af9:	8b ec                	mov    %esp,%ebp
401afb:	33 d2                	xor    %edx,%edx
401afd:	55                   	push   %ebp
401afe:	68 ae 1b 40 00       	push   $0x401bae
401b03:	64 ff 32             	push   %fs:(%edx)
401b06:	64 89 22             	mov    %esp,%fs:(%edx)
401b09:	68 c8 85 6a 00       	push   $0x6a85c8
401b0e:	e8 39 f9 ff ff       	call   0x40144c
401b13:	80 3d 4d 80 6a 00 00 	cmpb   $0x0,0x6a804d
401b1a:	74 0a                	je     0x401b26
401b1c:	68 c8 85 6a 00       	push   $0x6a85c8
401b21:	e8 2e f9 ff ff       	call   0x401454
401b26:	b8 e8 85 6a 00       	mov    $0x6a85e8,%eax
401b2b:	e8 8c f9 ff ff       	call   0x4014bc