4127fb:	55                   	push   %ebp
4127fc:	8b ec                	mov    %esp,%ebp
4127fe:	51                   	push   %ecx
4127ff:	8b 45 08             	mov    0x8(%ebp),%eax
412802:	53                   	push   %ebx
412803:	56                   	push   %esi
412804:	85 c0                	test   %eax,%eax
412806:	75 15                	jne    0x41281d
412808:	e8 22 7f ff ff       	call   0x40a72f
41280d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
412813:	e8 b1 4c ff ff       	call   0x4074c9
412818:	e9 a2 01 00 00       	jmp    0x4129bf
41281d:	8b 40 0c             	mov    0xc(%eax),%eax
412820:	90                   	nop
412821:	33 c9                	xor    %ecx,%ecx
412823:	c1 e8 0d             	shr    $0xd,%eax
412826:	41                   	inc    %ecx
412827:	84 c1                	test   %al,%cl
412829:	0f 84 90 01 00 00    	je     0x4129bf
41282f:	8b 45 08             	mov    0x8(%ebp),%eax
412832:	8b 40 0c             	mov    0xc(%eax),%eax
412835:	90                   	nop
412836:	c1 e8 0c             	shr    $0xc,%eax
412839:	84 c1                	test   %al,%cl
41283b:	0f 85 7e 01 00 00    	jne    0x4129bf
412841:	8b 45 08             	mov    0x8(%ebp),%eax
412844:	8b 40 0c             	mov    0xc(%eax),%eax
412847:	90                   	nop
412848:	d1 e8                	shr    $1,%eax
41284a:	84 c1                	test   %al,%cl
41284c:	8b 45 08             	mov    0x8(%ebp),%eax
41284f:	74 0e                	je     0x41285f
412851:	6a 10                	push   $0x10
412853:	59                   	pop    %ecx
412854:	83 c0 0c             	add    $0xc,%eax
412857:	f0 09 08             	lock or %ecx,(%eax)
41285a:	e9 60 01 00 00       	jmp    0x4129bf
41285f:	83 c0 0c             	add    $0xc,%eax
412862:	f0 09 08             	lock or %ecx,(%eax)
412865:	8b 45 08             	mov    0x8(%ebp),%eax
412868:	8b 40 0c             	mov    0xc(%eax),%eax
41286b:	90                   	nop
41286c:	a9 c0 04 00 00       	test   $0x4c0,%eax
412871:	75 0c                	jne    0x41287f
412873:	ff 75 08             	push   0x8(%ebp)
412876:	e8 4b f1 ff ff       	call   0x4119c6
41287b:	59                   	pop    %ecx
41287c:	33 c9                	xor    %ecx,%ecx
41287e:	41                   	inc    %ecx
41287f:	8b 45 08             	mov    0x8(%ebp),%eax
412882:	8b 58 08             	mov    0x8(%eax),%ebx
412885:	3b d9                	cmp    %ecx,%ebx
412887:	75 09                	jne    0x412892
412889:	8b 08                	mov    (%eax),%ecx
41288b:	8a 09                	mov    (%ecx),%cl
41288d:	88 4d ff             	mov    %cl,-0x1(%ebp)
412890:	eb 04                	jmp    0x412896
412892:	c6 45 ff 00          	movb   $0x0,-0x1(%ebp)
412896:	8b 48 04             	mov    0x4(%eax),%ecx
412899:	89 08                	mov    %ecx,(%eax)
41289b:	8b 45 08             	mov    0x8(%ebp),%eax
41289e:	57                   	push   %edi
41289f:	50                   	push   %eax
4128a0:	8b 70 18             	mov    0x18(%eax),%esi
4128a3:	8b 78 04             	mov    0x4(%eax),%edi
4128a6:	e8 18 89 ff ff       	call   0x40b1c3
4128ab:	56                   	push   %esi
4128ac:	57                   	push   %edi
4128ad:	50                   	push   %eax
4128ae:	e8 6f ec ff ff       	call   0x411522
4128b3:	8b 4d 08             	mov    0x8(%ebp),%ecx
4128b6:	83 c4 10             	add    $0x10,%esp
4128b9:	89 41 08             	mov    %eax,0x8(%ecx)
4128bc:	8b 45 08             	mov    0x8(%ebp),%eax
4128bf:	5f                   	pop    %edi
4128c0:	8b 50 08             	mov    0x8(%eax),%edx
4128c3:	85 d2                	test   %edx,%edx
4128c5:	0f 84 d9 00 00 00    	je     0x4129a4
4128cb:	83 fa 01             	cmp    $0x1,%edx
4128ce:	0f 84 d0 00 00 00    	je     0x4129a4
4128d4:	83 fa ff             	cmp    $0xffffffff,%edx
4128d7:	0f 84 c7 00 00 00    	je     0x4129a4
4128dd:	8b 40 0c             	mov    0xc(%eax),%eax
4128e0:	90                   	nop
4128e1:	a8 06                	test   $0x6,%al
4128e3:	75 5e                	jne    0x412943
4128e5:	ff 75 08             	push   0x8(%ebp)
4128e8:	e8 d6 88 ff ff       	call   0x40b1c3
4128ed:	59                   	pop    %ecx
4128ee:	83 f8 ff             	cmp    $0xffffffff,%eax
4128f1:	74 36                	je     0x412929
4128f3:	ff 75 08             	push   0x8(%ebp)
4128f6:	e8 c8 88 ff ff       	call   0x40b1c3
4128fb:	59                   	pop    %ecx
4128fc:	83 f8 fe             	cmp    $0xfffffffe,%eax
4128ff:	74 28                	je     0x412929
412901:	ff 75 08             	push   0x8(%ebp)
412904:	e8 ba 88 ff ff       	call   0x40b1c3
412909:	ff 75 08             	push   0x8(%ebp)
41290c:	8b f0                	mov    %eax,%esi
41290e:	c1 fe 06             	sar    $0x6,%esi
412911:	e8 ad 88 ff ff       	call   0x40b1c3
412916:	59                   	pop    %ecx
412917:	83 e0 3f             	and    $0x3f,%eax
41291a:	59                   	pop    %ecx
41291b:	6b c8 38             	imul   $0x38,%eax,%ecx
41291e:	8b 04 b5 a8 21 42 00 	mov    0x4221a8(,%esi,4),%eax
412925:	03 c1                	add    %ecx,%eax
412927:	eb 05                	jmp    0x41292e
412929:	b8 e8 11 42 00       	mov    $0x4211e8,%eax
41292e:	8a 40 28             	mov    0x28(%eax),%al
412931:	24 82                	and    $0x82,%al
412933:	3c 82                	cmp    $0x82,%al
412935:	75 0c                	jne    0x412943
412937:	8b 45 08             	mov    0x8(%ebp),%eax
41293a:	6a 20                	push   $0x20
41293c:	59                   	pop    %ecx
41293d:	83 c0 0c             	add    $0xc,%eax
412940:	f0 09 08             	lock or %ecx,(%eax)
412943:	8b 55 08             	mov    0x8(%ebp),%edx
412946:	81 7a 18 00 02 00 00 	cmpl   $0x200,0x18(%edx)
41294d:	75 26                	jne    0x412975
41294f:	8b 42 0c             	mov    0xc(%edx),%eax
412952:	90                   	nop
412953:	c1 e8 06             	shr    $0x6,%eax
412956:	a8 01                	test   $0x1,%al
412958:	74 18                	je     0x412972
41295a:	8b 45 08             	mov    0x8(%ebp),%eax
41295d:	8b 40 0c             	mov    0xc(%eax),%eax
412960:	90                   	nop
412961:	c1 e8 08             	shr    $0x8,%eax
412964:	a8 01                	test   $0x1,%al
412966:	75 0a                	jne    0x412972
412968:	8b 45 08             	mov    0x8(%ebp),%eax
41296b:	c7 40 18 00 10 00 00 	movl   $0x1000,0x18(%eax)
412972:	8b 55 08             	mov    0x8(%ebp),%edx
412975:	8b 32                	mov    (%edx),%esi
412977:	83 fb 01             	cmp    $0x1,%ebx
41297a:	75 17                	jne    0x412993
41297c:	0f b6 0e             	movzbl (%esi),%ecx
41297f:	0f b6 45 ff          	movzbl -0x1(%ebp),%eax
412983:	66 c1 e1 08          	shl    $0x8,%cx
412987:	66 0b c8             	or     %ax,%cx
41298a:	ff 4a 08             	decl   0x8(%edx)
41298d:	0f b7 c1             	movzwl %cx,%eax
412990:	46                   	inc    %esi
412991:	eb 0a                	jmp    0x41299d
412993:	0f b7 06             	movzwl (%esi),%eax
412996:	83 42 08 fe          	addl   $0xfffffffe,0x8(%edx)
41299a:	83 c6 02             	add    $0x2,%esi
41299d:	89 32                	mov    %esi,(%edx)
41299f:	0f b7 c0             	movzwl %ax,%eax
4129a2:	eb 20                	jmp    0x4129c4
4129a4:	33 c9                	xor    %ecx,%ecx
4129a6:	85 d2                	test   %edx,%edx
4129a8:	0f 95 c1             	setne  %cl
4129ab:	83 c0 0c             	add    $0xc,%eax
4129ae:	8d 0c cd 08 00 00 00 	lea    0x8(,%ecx,8),%ecx
4129b5:	f0 09 08             	lock or %ecx,(%eax)
4129b8:	8b 45 08             	mov    0x8(%ebp),%eax
4129bb:	83 60 08 00          	andl   $0x0,0x8(%eax)
4129bf:	b8 ff ff 00 00       	mov    $0xffff,%eax
4129c4:	5e                   	pop    %esi
4129c5:	5b                   	pop    %ebx
4129c6:	c9                   	leave
4129c7:	c3                   	ret
4129c8:	8b ff                	mov    %edi,%edi
4129ca:	55                   	push   %ebp
4129cb:	8b ec                	mov    %esp,%ebp
4129cd:	5d                   	pop    %ebp
4129ce:	e9 97 fc ff ff       	jmp    0x41266a
4129d3:	8b ff                	mov    %edi,%edi
4129d5:	55                   	push   %ebp
4129d6:	8b ec                	mov    %esp,%ebp
4129d8:	5d                   	pop    %ebp
4129d9:	e9 1b fe ff ff       	jmp    0x4127f9
4129de:	8b ff                	mov    %edi,%edi
4129e0:	55                   	push   %ebp
4129e1:	8b ec                	mov    %esp,%ebp
4129e3:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
4129e7:	74 14                	je     0x4129fd
4129e9:	8b 45 08             	mov    0x8(%ebp),%eax
4129ec:	eb 01                	jmp    0x4129ef
4129ee:	40                   	inc    %eax
4129ef:	8a 08                	mov    (%eax),%cl
4129f1:	80 f9 30             	cmp    $0x30,%cl
4129f4:	74 f8                	je     0x4129ee
4129f6:	84 c9                	test   %cl,%cl
4129f8:	0f 95 c0             	setne  %al
4129fb:	5d                   	pop    %ebp
4129fc:	c3                   	ret
4129fd:	b0 01                	mov    $0x1,%al
4129ff:	5d                   	pop    %ebp
412a00:	c3                   	ret
412a01:	8b ff                	mov    %edi,%edi
412a03:	55                   	push   %ebp
412a04:	8b ec                	mov    %esp,%ebp
412a06:	83 7d 18 00          	cmpl   $0x0,0x18(%ebp)
412a0a:	75 0b                	jne    0x412a17
412a0c:	8b 45 0c             	mov    0xc(%ebp),%eax
412a0f:	80 38 35             	cmpb   $0x35,(%eax)
412a12:	0f 9d c0             	setge  %al
412a15:	5d                   	pop    %ebp
412a16:	c3                   	ret
412a17:	e8 07 1c 00 00       	call   0x414623
412a1c:	85 c0                	test   %eax,%eax
412a1e:	75 2d                	jne    0x412a4d
412a20:	8b 55 0c             	mov    0xc(%ebp),%edx
412a23:	8a 02                	mov    (%edx),%al
412a25:	3c 35                	cmp    $0x35,%al
412a27:	7f 20                	jg     0x412a49
412a29:	7c 60                	jl     0x412a8b
412a2b:	ff 75 14             	push   0x14(%ebp)
412a2e:	8d 42 01             	lea    0x1(%edx),%eax
412a31:	50                   	push   %eax
412a32:	e8 a7 ff ff ff       	call   0x4129de
412a37:	59                   	pop    %ecx
412a38:	59                   	pop    %ecx
412a39:	84 c0                	test   %al,%al
412a3b:	75 0c                	jne    0x412a49
412a3d:	3b 55 08             	cmp    0x8(%ebp),%edx
412a40:	74 49                	je     0x412a8b
412a42:	8a 42 ff             	mov    -0x1(%edx),%al
412a45:	24 01                	and    $0x1,%al
412a47:	5d                   	pop    %ebp
412a48:	c3                   	ret
412a49:	b0 01                	mov    $0x1,%al
412a4b:	5d                   	pop    %ebp
412a4c:	c3                   	ret
412a4d:	3d 00 02 00 00       	cmp    $0x200,%eax
412a52:	75 19                	jne    0x412a6d
412a54:	ff 75 14             	push   0x14(%ebp)
412a57:	ff 75 0c             	push   0xc(%ebp)
412a5a:	e8 7f ff ff ff       	call   0x4129de
412a5f:	59                   	pop    %ecx
412a60:	59                   	pop    %ecx
412a61:	84 c0                	test   %al,%al
412a63:	74 26                	je     0x412a8b
412a65:	83 7d 10 2d          	cmpl   $0x2d,0x10(%ebp)
412a69:	74 20                	je     0x412a8b
412a6b:	eb dc                	jmp    0x412a49
412a6d:	3d 00 01 00 00       	cmp    $0x100,%eax
412a72:	75 17                	jne    0x412a8b
412a74:	ff 75 14             	push   0x14(%ebp)
412a77:	ff 75 0c             	push   0xc(%ebp)
412a7a:	e8 5f ff ff ff       	call   0x4129de
412a7f:	59                   	pop    %ecx
412a80:	59                   	pop    %ecx
412a81:	84 c0                	test   %al,%al
412a83:	74 06                	je     0x412a8b
412a85:	83 7d 10 2d          	cmpl   $0x2d,0x10(%ebp)
412a89:	74 be                	je     0x412a49
412a8b:	32 c0                	xor    %al,%al
412a8d:	5d                   	pop    %ebp
412a8e:	c3                   	ret
412a8f:	8b ff                	mov    %edi,%edi
412a91:	55                   	push   %ebp
412a92:	8b ec                	mov    %esp,%ebp
412a94:	51                   	push   %ecx
412a95:	56                   	push   %esi
412a96:	57                   	push   %edi
412a97:	8b 7d 08             	mov    0x8(%ebp),%edi
412a9a:	33 c9                	xor    %ecx,%ecx
412a9c:	85 ff                	test   %edi,%edi
412a9e:	75 22                	jne    0x412ac2
412aa0:	8b 45 20             	mov    0x20(%ebp),%eax
412aa3:	6a 16                	push   $0x16
412aa5:	5e                   	pop    %esi
412aa6:	50                   	push   %eax
412aa7:	51                   	push   %ecx
412aa8:	51                   	push   %ecx
412aa9:	51                   	push   %ecx
412aaa:	51                   	push   %ecx
412aab:	51                   	push   %ecx
412aac:	c6 40 1c 01          	movb   $0x1,0x1c(%eax)
412ab0:	89 70 18             	mov    %esi,0x18(%eax)
412ab3:	e8 94 49 ff ff       	call   0x40744c
412ab8:	83 c4 18             	add    $0x18,%esp
412abb:	8b c6                	mov    %esi,%eax
412abd:	e9 c3 00 00 00       	jmp    0x412b85
412ac2:	53                   	push   %ebx
412ac3:	39 4d 0c             	cmp    %ecx,0xc(%ebp)
412ac6:	76 1e                	jbe    0x412ae6
412ac8:	8b 55 10             	mov    0x10(%ebp),%edx
412acb:	8b c2                	mov    %edx,%eax
412acd:	88 0f                	mov    %cl,(%edi)
412acf:	85 d2                	test   %edx,%edx
412ad1:	7f 02                	jg     0x412ad5
412ad3:	8b c1                	mov    %ecx,%eax
412ad5:	40                   	inc    %eax
412ad6:	39 45 0c             	cmp    %eax,0xc(%ebp)
412ad9:	77 04                	ja     0x412adf
412adb:	6a 22                	push   $0x22
412add:	eb 09                	jmp    0x412ae8
412adf:	8b 5d 14             	mov    0x14(%ebp),%ebx
412ae2:	85 db                	test   %ebx,%ebx
412ae4:	75 1f                	jne    0x412b05
412ae6:	6a 16                	push   $0x16
412ae8:	8b 45 20             	mov    0x20(%ebp),%eax
412aeb:	5e                   	pop    %esi
412aec:	50                   	push   %eax
412aed:	51                   	push   %ecx
412aee:	51                   	push   %ecx
412aef:	51                   	push   %ecx
412af0:	51                   	push   %ecx
412af1:	89 70 18             	mov    %esi,0x18(%eax)
412af4:	51                   	push   %ecx
412af5:	c6 40 1c 01          	movb   $0x1,0x1c(%eax)
412af9:	e8 4e 49 ff ff       	call   0x40744c
412afe:	83 c4 18             	add    $0x18,%esp
412b01:	8b c6                	mov    %esi,%eax
412b03:	eb 7f                	jmp    0x412b84
412b05:	8b 43 08             	mov    0x8(%ebx),%eax
412b08:	8d 77 01             	lea    0x1(%edi),%esi
412b0b:	89 45 fc             	mov    %eax,-0x4(%ebp)
412b0e:	c6 07 30             	movb   $0x30,(%edi)
412b11:	85 d2                	test   %edx,%edx
412b13:	7e 16                	jle    0x412b2b
412b15:	8a 18                	mov    (%eax),%bl
412b17:	84 db                	test   %bl,%bl
412b19:	74 03                	je     0x412b1e
412b1b:	40                   	inc    %eax
412b1c:	eb 02                	jmp    0x412b20
412b1e:	b3 30                	mov    $0x30,%bl
412b20:	88 1e                	mov    %bl,(%esi)
412b22:	46                   	inc    %esi
412b23:	4a                   	dec    %edx
412b24:	85 d2                	test   %edx,%edx
412b26:	7f ed                	jg     0x412b15
412b28:	8b 5d 14             	mov    0x14(%ebp),%ebx
412b2b:	88 0e                	mov    %cl,(%esi)
412b2d:	85 d2                	test   %edx,%edx
412b2f:	78 28                	js     0x412b59
412b31:	ff 75 1c             	push   0x1c(%ebp)
412b34:	ff 75 18             	push   0x18(%ebp)
412b37:	ff 33                	push   (%ebx)
412b39:	50                   	push   %eax
412b3a:	ff 75 fc             	push   -0x4(%ebp)
412b3d:	e8 bf fe ff ff       	call   0x412a01
412b42:	83 c4 14             	add    $0x14,%esp
412b45:	84 c0                	test   %al,%al
412b47:	74 10                	je     0x412b59
412b49:	eb 03                	jmp    0x412b4e
412b4b:	c6 06 30             	movb   $0x30,(%esi)
412b4e:	4e                   	dec    %esi
412b4f:	8a 06                	mov    (%esi),%al
412b51:	3c 39                	cmp    $0x39,%al
412b53:	74 f6                	je     0x412b4b
412b55:	fe c0                	inc    %al
412b57:	88 06                	mov    %al,(%esi)