4167ae:	e8 45 42 ff ff       	call   0x40a9f8
4167b3:	6a 10                	push   $0x10
4167b5:	6a 00                	push   $0x0
4167b7:	83 c6 30             	add    $0x30,%esi
4167ba:	56                   	push   %esi
4167bb:	e8 40 3a 00 00       	call   0x41a200
4167c0:	83 c4 0c             	add    $0xc,%esp
4167c3:	f6 45 08 08          	testb  $0x8,0x8(%ebp)
4167c7:	74 7a                	je     0x416843
4167c9:	8b 45 f0             	mov    -0x10(%ebp),%eax
4167cc:	8b 08                	mov    (%eax),%ecx
4167ce:	83 c1 03             	add    $0x3,%ecx
4167d1:	81 f9 00 80 00 00    	cmp    $0x8000,%ecx
4167d7:	0f 83 a4 fc ff ff    	jae    0x416481
4167dd:	50                   	push   %eax
4167de:	e8 22 42 ff ff       	call   0x40aa05
4167e3:	89 45 08             	mov    %eax,0x8(%ebp)
4167e6:	3d c0 1f 00 00       	cmp    $0x1fc0,%eax
4167eb:	0f 87 90 fc ff ff    	ja     0x416481
4167f1:	8b 7f 30             	mov    0x30(%edi),%edi
4167f4:	8d 48 40             	lea    0x40(%eax),%ecx
4167f7:	3b f9                	cmp    %ecx,%edi
4167f9:	73 0d                	jae    0x416808
4167fb:	2b c7                	sub    %edi,%eax
4167fd:	83 c0 40             	add    $0x40,%eax
416800:	50                   	push   %eax
416801:	8b cb                	mov    %ebx,%ecx
416803:	e8 fe a8 fe ff       	call   0x401106
416808:	8b 33                	mov    (%ebx),%esi
41680a:	33 ff                	xor    %edi,%edi
41680c:	83 c6 40             	add    $0x40,%esi
41680f:	39 7d 08             	cmp    %edi,0x8(%ebp)
416812:	76 2f                	jbe    0x416843
416814:	8b 5d f0             	mov    -0x10(%ebp),%ebx
416817:	8b 03                	mov    (%ebx),%eax
416819:	83 c0 03             	add    $0x3,%eax
41681c:	3d 00 80 00 00       	cmp    $0x8000,%eax
416821:	0f 83 5a fc ff ff    	jae    0x416481
416827:	8b cb                	mov    %ebx,%ecx
416829:	e8 21 2f ff ff       	call   0x40974f
41682e:	c1 e8 08             	shr    $0x8,%eax
416831:	6a 08                	push   $0x8
416833:	8b cb                	mov    %ebx,%ecx
416835:	88 04 37             	mov    %al,(%edi,%esi,1)
416838:	e8 fb 2e ff ff       	call   0x409738
41683d:	47                   	inc    %edi
41683e:	3b 7d 08             	cmp    0x8(%ebp),%edi
416841:	72 d1                	jb     0x416814
416843:	b0 01                	mov    $0x1,%al
416845:	e9 39 fc ff ff       	jmp    0x416483
41684a:	55                   	push   %ebp
41684b:	8b ec                	mov    %esp,%ebp
41684d:	83 ec 1c             	sub    $0x1c,%esp
416850:	53                   	push   %ebx
416851:	56                   	push   %esi
416852:	8b f1                	mov    %ecx,%esi
416854:	80 be 48 4c 00 00 00 	cmpb   $0x0,0x4c48(%esi)
41685b:	57                   	push   %edi
41685c:	c6 86 58 4c 00 00 01 	movb   $0x1,0x4c58(%esi)
416863:	75 49                	jne    0x4168ae
416865:	ff 75 08             	push   0x8(%ebp)
416868:	e8 85 eb ff ff       	call   0x4153f2
41686d:	8b ce                	mov    %esi,%ecx
41686f:	e8 9b b7 ff ff       	call   0x41200f
416874:	84 c0                	test   %al,%al
416876:	0f 84 18 06 00 00    	je     0x416e94
41687c:	8d be 80 00 00 00    	lea    0x80(%esi),%edi
416882:	57                   	push   %edi
416883:	8d 5e 04             	lea    0x4(%esi),%ebx
416886:	53                   	push   %ebx
416887:	8b ce                	mov    %esi,%ecx
416889:	e8 a5 d8 ff ff       	call   0x414133
41688e:	84 c0                	test   %al,%al
416890:	0f 84 fe 05 00 00    	je     0x416e94
416896:	8d 86 94 00 00 00    	lea    0x94(%esi),%eax
41689c:	50                   	push   %eax
41689d:	57                   	push   %edi
41689e:	53                   	push   %ebx
41689f:	8b ce                	mov    %esi,%ecx
4168a1:	e8 a9 d9 ff ff       	call   0x41424f
4168a6:	84 c0                	test   %al,%al
4168a8:	0f 84 e6 05 00 00    	je     0x416e94
4168ae:	8d 7e 04             	lea    0x4(%esi),%edi
4168b1:	8b 86 f8 e6 00 00    	mov    0xe6f8(%esi),%eax
4168b7:	21 46 70             	and    %eax,0x70(%esi)
4168ba:	8b 07                	mov    (%edi),%eax
4168bc:	3b 46 7c             	cmp    0x7c(%esi),%eax
4168bf:	7c 6b                	jl     0x41692c
4168c1:	8d 9e 80 00 00 00    	lea    0x80(%esi),%ebx
4168c7:	8b 8e 88 00 00 00    	mov    0x88(%esi),%ecx
4168cd:	8b 03                	mov    (%ebx),%eax
4168cf:	8d 44 08 ff          	lea    -0x1(%eax,%ecx,1),%eax
4168d3:	8b 0f                	mov    (%edi),%ecx
4168d5:	3b c8                	cmp    %eax,%ecx
4168d7:	7f 0d                	jg     0x4168e6
4168d9:	75 42                	jne    0x41691d
4168db:	8b 46 08             	mov    0x8(%esi),%eax
4168de:	3b 86 84 00 00 00    	cmp    0x84(%esi),%eax
4168e4:	7c 37                	jl     0x41691d
4168e6:	80 be 90 00 00 00 00 	cmpb   $0x0,0x90(%esi)
4168ed:	0f 85 9a 05 00 00    	jne    0x416e8d
4168f3:	53                   	push   %ebx
4168f4:	57                   	push   %edi
4168f5:	8b ce                	mov    %esi,%ecx
4168f7:	e8 37 d8 ff ff       	call   0x414133
4168fc:	84 c0                	test   %al,%al
4168fe:	0f 84 90 05 00 00    	je     0x416e94
416904:	8d 86 94 00 00 00    	lea    0x94(%esi),%eax
41690a:	50                   	push   %eax
41690b:	53                   	push   %ebx
41690c:	57                   	push   %edi
41690d:	8b ce                	mov    %esi,%ecx
41690f:	e8 3b d9 ff ff       	call   0x41424f
416914:	84 c0                	test   %al,%al
416916:	75 af                	jne    0x4168c7
416918:	e9 77 05 00 00       	jmp    0x416e94
41691d:	8b ce                	mov    %esi,%ecx
41691f:	e8 eb b6 ff ff       	call   0x41200f
416924:	84 c0                	test   %al,%al
416926:	0f 84 61 05 00 00    	je     0x416e8d
41692c:	8b 86 30 4b 00 00    	mov    0x4b30(%esi),%eax
416932:	8b 4e 70             	mov    0x70(%esi),%ecx
416935:	8b d0                	mov    %eax,%edx
416937:	2b d1                	sub    %ecx,%edx
416939:	23 96 f8 e6 00 00    	and    0xe6f8(%esi),%edx
41693f:	81 fa 04 10 00 00    	cmp    $0x1004,%edx
416945:	73 3e                	jae    0x416985
416947:	3b c1                	cmp    %ecx,%eax
416949:	74 3a                	je     0x416985
41694b:	8b ce                	mov    %esi,%ecx
41694d:	e8 1b e6 ff ff       	call   0x414f6d
416952:	8b 86 54 4c 00 00    	mov    0x4c54(%esi),%eax
416958:	3b 86 44 4c 00 00    	cmp    0x4c44(%esi),%eax
41695e:	0f 8f 30 05 00 00    	jg     0x416e94
416964:	7c 12                	jl     0x416978
416966:	8b 86 50 4c 00 00    	mov    0x4c50(%esi),%eax
41696c:	3b 86 40 4c 00 00    	cmp    0x4c40(%esi),%eax
416972:	0f 87 1c 05 00 00    	ja     0x416e94
416978:	80 be 48 4c 00 00 00 	cmpb   $0x0,0x4c48(%esi)
41697f:	0f 85 04 09 00 00    	jne    0x417289
416985:	8b cf                	mov    %edi,%ecx
416987:	e8 7e 2d ff ff       	call   0x40970a
41698c:	8b 9e 18 01 00 00    	mov    0x118(%esi),%ebx
416992:	25 fe ff 00 00       	and    $0xfffe,%eax
416997:	3b 84 9e 98 00 00 00 	cmp    0x98(%esi,%ebx,4),%eax
41699e:	73 29                	jae    0x4169c9
4169a0:	6a 10                	push   $0x10
4169a2:	59                   	pop    %ecx
4169a3:	2b cb                	sub    %ebx,%ecx
4169a5:	d3 e8                	shr    %cl,%eax
4169a7:	0f b6 8c 30 1c 01 00 	movzbl 0x11c(%eax,%esi,1),%ecx
4169ae:	00
4169af:	03 4f 04             	add    0x4(%edi),%ecx
4169b2:	8b d1                	mov    %ecx,%edx
4169b4:	c1 ea 03             	shr    $0x3,%edx
4169b7:	01 17                	add    %edx,(%edi)
4169b9:	83 e1 07             	and    $0x7,%ecx
4169bc:	89 4f 04             	mov    %ecx,0x4(%edi)
4169bf:	0f b7 9c 46 1c 05 00 	movzwl 0x51c(%esi,%eax,2),%ebx
4169c6:	00
4169c7:	eb 5b                	jmp    0x416a24
4169c9:	6a 0f                	push   $0xf
4169cb:	5a                   	pop    %edx
4169cc:	8d 4b 01             	lea    0x1(%ebx),%ecx
4169cf:	3b ca                	cmp    %edx,%ecx
4169d1:	73 18                	jae    0x4169eb
4169d3:	8d 9c 8e 98 00 00 00 	lea    0x98(%esi,%ecx,4),%ebx
4169da:	3b 03                	cmp    (%ebx),%eax
4169dc:	72 0b                	jb     0x4169e9
4169de:	41                   	inc    %ecx
4169df:	83 c3 04             	add    $0x4,%ebx
4169e2:	83 f9 0f             	cmp    $0xf,%ecx
4169e5:	72 f3                	jb     0x4169da
4169e7:	eb 02                	jmp    0x4169eb
4169e9:	8b d1                	mov    %ecx,%edx
4169eb:	8b 4f 04             	mov    0x4(%edi),%ecx
4169ee:	03 ca                	add    %edx,%ecx
4169f0:	8b d9                	mov    %ecx,%ebx
4169f2:	83 e1 07             	and    $0x7,%ecx
4169f5:	89 4f 04             	mov    %ecx,0x4(%edi)
4169f8:	c1 eb 03             	shr    $0x3,%ebx
4169fb:	01 1f                	add    %ebx,(%edi)
4169fd:	2b 84 96 94 00 00 00 	sub    0x94(%esi,%edx,4),%eax
416a04:	6a 10                	push   $0x10
416a06:	59                   	pop    %ecx
416a07:	2b ca                	sub    %edx,%ecx
416a09:	d3 e8                	shr    %cl,%eax
416a0b:	03 84 96 d8 00 00 00 	add    0xd8(%esi,%edx,4),%eax
416a12:	3b 86 94 00 00 00    	cmp    0x94(%esi),%eax
416a18:	72 02                	jb     0x416a1c
416a1a:	33 c0                	xor    %eax,%eax
416a1c:	0f b7 9c 46 1c 0d 00 	movzwl 0xd1c(%esi,%eax,2),%ebx
416a23:	00
416a24:	b8 00 01 00 00       	mov    $0x100,%eax
416a29:	3b d8                	cmp    %eax,%ebx
416a2b:	73 39                	jae    0x416a66
416a2d:	80 be 38 4c 00 00 00 	cmpb   $0x0,0x4c38(%esi)
416a34:	74 1c                	je     0x416a52
416a36:	8b 46 70             	mov    0x70(%esi),%eax
416a39:	8d 48 01             	lea    0x1(%eax),%ecx
416a3c:	89 4e 70             	mov    %ecx,0x70(%esi)
416a3f:	50                   	push   %eax
416a40:	8d 8e 38 4b 00 00    	lea    0x4b38(%esi),%ecx
416a46:	e8 eb b7 ff ff       	call   0x412236
416a4b:	88 18                	mov    %bl,(%eax)
416a4d:	e9 5f fe ff ff       	jmp    0x4168b1
416a52:	8b 4e 70             	mov    0x70(%esi),%ecx
416a55:	8b 86 34 4b 00 00    	mov    0x4b34(%esi),%eax
416a5b:	88 1c 08             	mov    %bl,(%eax,%ecx,1)
416a5e:	ff 46 70             	incl   0x70(%esi)
416a61:	e9 4b fe ff ff       	jmp    0x4168b1
416a66:	81 fb 06 01 00 00    	cmp    $0x106,%ebx
416a6c:	0f 82 f4 03 00 00    	jb     0x416e66
416a72:	8d 83 fa fe ff ff    	lea    -0x106(%ebx),%eax
416a78:	83 f8 08             	cmp    $0x8,%eax
416a7b:	73 08                	jae    0x416a85
416a7d:	83 c0 02             	add    $0x2,%eax
416a80:	89 45 f4             	mov    %eax,-0xc(%ebp)
416a83:	eb 3c                	jmp    0x416ac1
416a85:	8b d8                	mov    %eax,%ebx
416a87:	c1 eb 02             	shr    $0x2,%ebx
416a8a:	83 e0 03             	and    $0x3,%eax
416a8d:	4b                   	dec    %ebx
416a8e:	83 c8 04             	or     $0x4,%eax
416a91:	8b cb                	mov    %ebx,%ecx
416a93:	d3 e0                	shl    %cl,%eax
416a95:	40                   	inc    %eax
416a96:	40                   	inc    %eax
416a97:	89 45 f4             	mov    %eax,-0xc(%ebp)
416a9a:	85 db                	test   %ebx,%ebx
416a9c:	76 23                	jbe    0x416ac1
416a9e:	8b cf                	mov    %edi,%ecx
416aa0:	e8 65 2c ff ff       	call   0x40970a
416aa5:	6a 10                	push   $0x10
416aa7:	59                   	pop    %ecx
416aa8:	2b cb                	sub    %ebx,%ecx
416aaa:	d3 e8                	shr    %cl,%eax
416aac:	01 45 f4             	add    %eax,-0xc(%ebp)
416aaf:	8b 47 04             	mov    0x4(%edi),%eax
416ab2:	03 c3                	add    %ebx,%eax
416ab4:	8b c8                	mov    %eax,%ecx
416ab6:	c1 e9 03             	shr    $0x3,%ecx
416ab9:	01 0f                	add    %ecx,(%edi)
416abb:	83 e0 07             	and    $0x7,%eax
416abe:	89 47 04             	mov    %eax,0x4(%edi)
416ac1:	8b 45 f4             	mov    -0xc(%ebp),%eax
416ac4:	8b cf                	mov    %edi,%ecx
416ac6:	89 45 08             	mov    %eax,0x8(%ebp)
416ac9:	e8 3c 2c ff ff       	call   0x40970a
416ace:	8b 96 04 10 00 00    	mov    0x1004(%esi),%edx
416ad4:	25 fe ff 00 00       	and    $0xfffe,%eax
416ad9:	3b 84 96 84 0f 00 00 	cmp    0xf84(%esi,%edx,4),%eax
416ae0:	73 29                	jae    0x416b0b
416ae2:	6a 10                	push   $0x10
416ae4:	59                   	pop    %ecx
416ae5:	2b ca                	sub    %edx,%ecx
416ae7:	d3 e8                	shr    %cl,%eax
416ae9:	0f b6 8c 30 08 10 00 	movzbl 0x1008(%eax,%esi,1),%ecx
416af0:	00
416af1:	03 4f 04             	add    0x4(%edi),%ecx
416af4:	8b d1                	mov    %ecx,%edx
416af6:	c1 ea 03             	shr    $0x3,%edx
416af9:	01 17                	add    %edx,(%edi)
416afb:	83 e1 07             	and    $0x7,%ecx
416afe:	89 4f 04             	mov    %ecx,0x4(%edi)
416b01:	0f b7 84 46 08 14 00 	movzwl 0x1408(%esi,%eax,2),%eax
416b08:	00
416b09:	eb 5b                	jmp    0x416b66
416b0b:	6a 0f                	push   $0xf
416b0d:	5b                   	pop    %ebx
416b0e:	8d 4a 01             	lea    0x1(%edx),%ecx
416b11:	3b cb                	cmp    %ebx,%ecx
416b13:	73 18                	jae    0x416b2d
416b15:	8d 94 8e 84 0f 00 00 	lea    0xf84(%esi,%ecx,4),%edx
416b1c:	3b 02                	cmp    (%edx),%eax
416b1e:	72 0b                	jb     0x416b2b
416b20:	41                   	inc    %ecx
416b21:	83 c2 04             	add    $0x4,%edx
416b24:	83 f9 0f             	cmp    $0xf,%ecx
416b27:	72 f3                	jb     0x416b1c
416b29:	eb 02                	jmp    0x416b2d
416b2b:	8b d9                	mov    %ecx,%ebx
416b2d:	8b 4f 04             	mov    0x4(%edi),%ecx
416b30:	03 cb                	add    %ebx,%ecx
416b32:	8b d1                	mov    %ecx,%edx
416b34:	83 e1 07             	and    $0x7,%ecx
416b37:	89 4f 04             	mov    %ecx,0x4(%edi)
416b3a:	c1 ea 03             	shr    $0x3,%edx
416b3d:	01 17                	add    %edx,(%edi)
416b3f:	2b 84 9e 80 0f 00 00 	sub    0xf80(%esi,%ebx,4),%eax
416b46:	6a 10                	push   $0x10
416b48:	59                   	pop    %ecx
416b49:	2b cb                	sub    %ebx,%ecx
416b4b:	d3 e8                	shr    %cl,%eax
416b4d:	03 84 9e c4 0f 00 00 	add    0xfc4(%esi,%ebx,4),%eax
416b54:	3b 86 80 0f 00 00    	cmp    0xf80(%esi),%eax
416b5a:	72 02                	jb     0x416b5e
416b5c:	33 c0                	xor    %eax,%eax
416b5e:	0f b7 84 46 08 1c 00 	movzwl 0x1c08(%esi,%eax,2),%eax
416b65:	00
416b66:	83 f8 04             	cmp    $0x4,%eax
416b69:	73 09                	jae    0x416b74
416b6b:	40                   	inc    %eax
416b6c:	89 45 f8             	mov    %eax,-0x8(%ebp)
416b6f:	e9 15 01 00 00       	jmp    0x416c89
416b74:	8b d8                	mov    %eax,%ebx
416b76:	d1 eb                	shr    $1,%ebx
416b78:	83 e0 01             	and    $0x1,%eax
416b7b:	4b                   	dec    %ebx
416b7c:	83 c8 02             	or     $0x2,%eax
416b7f:	8b cb                	mov    %ebx,%ecx
416b81:	d3 e0                	shl    %cl,%eax
416b83:	40                   	inc    %eax
416b84:	89 45 f8             	mov    %eax,-0x8(%ebp)
416b87:	85 db                	test   %ebx,%ebx
416b89:	0f 86 fa 00 00 00    	jbe    0x416c89
416b8f:	83 fb 04             	cmp    $0x4,%ebx
416b92:	0f 82 ce 00 00 00    	jb     0x416c66
416b98:	76 28                	jbe    0x416bc2
416b9a:	8b cf                	mov    %edi,%ecx
416b9c:	e8 6e bb ff ff       	call   0x41270f
416ba1:	6a 24                	push   $0x24
416ba3:	59                   	pop    %ecx
416ba4:	2b cb                	sub    %ebx,%ecx
416ba6:	d3 e8                	shr    %cl,%eax
416ba8:	c1 e0 04             	shl    $0x4,%eax
416bab:	01 45 f8             	add    %eax,-0x8(%ebp)
416bae:	8b 47 04             	mov    0x4(%edi),%eax
416bb1:	8d 5c 18 fc          	lea    -0x4(%eax,%ebx,1),%ebx
416bb5:	8b c3                	mov    %ebx,%eax
416bb7:	c1 e8 03             	shr    $0x3,%eax
416bba:	01 07                	add    %eax,(%edi)
416bbc:	83 e3 07             	and    $0x7,%ebx
416bbf:	89 5f 04             	mov    %ebx,0x4(%edi)
416bc2:	8b cf                	mov    %edi,%ecx
416bc4:	e8 41 2b ff ff       	call   0x40970a
416bc9:	8b 9e f0 1e 00 00    	mov    0x1ef0(%esi),%ebx
416bcf:	25 fe ff 00 00       	and    $0xfffe,%eax
416bd4:	3b 84 9e 70 1e 00 00 	cmp    0x1e70(%esi,%ebx,4),%eax
416bdb:	73 29                	jae    0x416c06
416bdd:	6a 10                	push   $0x10
416bdf:	59                   	pop    %ecx
416be0:	2b cb                	sub    %ebx,%ecx
416be2:	d3 e8                	shr    %cl,%eax
416be4:	0f b6 8c 30 f4 1e 00 	movzbl 0x1ef4(%eax,%esi,1),%ecx
416beb:	00
416bec:	03 4f 04             	add    0x4(%edi),%ecx
416bef:	8b d1                	mov    %ecx,%edx
416bf1:	c1 ea 03             	shr    $0x3,%edx
416bf4:	01 17                	add    %edx,(%edi)