40790c:	8b ff                	mov    %edi,%edi
40790e:	55                   	push   %ebp
40790f:	8b ec                	mov    %esp,%ebp
407911:	83 ec 54             	sub    $0x54,%esp
407914:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
407919:	33 c5                	xor    %ebp,%eax
40791b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40791e:	8b 45 0c             	mov    0xc(%ebp),%eax
407921:	53                   	push   %ebx
407922:	56                   	push   %esi
407923:	8b da                	mov    %edx,%ebx
407925:	89 45 c4             	mov    %eax,-0x3c(%ebp)
407928:	57                   	push   %edi
407929:	8b f1                	mov    %ecx,%esi
40792b:	89 5d b8             	mov    %ebx,-0x48(%ebp)
40792e:	33 ff                	xor    %edi,%edi
407930:	8b cb                	mov    %ebx,%ecx
407932:	89 7d bc             	mov    %edi,-0x44(%ebp)
407935:	e8 d7 20 00 00       	call   0x409a11
40793a:	85 c0                	test   %eax,%eax
40793c:	0f 84 b7 00 00 00    	je     0x4079f9
407942:	53                   	push   %ebx
407943:	ff 15 2c a4 44 00    	call   *0x44a42c
407949:	8b d8                	mov    %eax,%ebx
40794b:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40794e:	59                   	pop    %ecx
40794f:	50                   	push   %eax
407950:	53                   	push   %ebx
407951:	ff 15 28 a0 44 00    	call   *0x44a028
407957:	85 c0                	test   %eax,%eax
407959:	0f 84 9a 00 00 00    	je     0x4079f9
40795f:	0f bf 45 f0          	movswl -0x10(%ebp),%eax
407963:	0f bf 7d f4          	movswl -0xc(%ebp),%edi
407967:	2b f8                	sub    %eax,%edi
407969:	4f                   	dec    %edi
40796a:	89 7d bc             	mov    %edi,-0x44(%ebp)
40796d:	ff 75 c4             	push   -0x3c(%ebp)
407970:	83 65 c8 00          	andl   $0x0,-0x38(%ebp)
407974:	8b ce                	mov    %esi,%ecx
407976:	ff 75 08             	push   0x8(%ebp)
407979:	e8 15 05 00 00       	call   0x407e93
40797e:	8b c8                	mov    %eax,%ecx
407980:	ba f0 0a 44 00       	mov    $0x440af0,%edx
407985:	89 4d c4             	mov    %ecx,-0x3c(%ebp)
407988:	8b f1                	mov    %ecx,%esi
40798a:	89 55 c0             	mov    %edx,-0x40(%ebp)
40798d:	85 c9                	test   %ecx,%ecx
40798f:	0f 84 9a 00 00 00    	je     0x407a2f
407995:	85 db                	test   %ebx,%ebx
407997:	74 67                	je     0x407a00
407999:	80 3d 5b 90 44 00 00 	cmpb   $0x0,0x44905b
4079a0:	0f 85 f6 31 01 00    	jne    0x41ab9c
4079a6:	be a0 00 00 00       	mov    $0xa0,%esi
4079ab:	81 f9 a0 00 00 00    	cmp    $0xa0,%ecx
4079b1:	77 02                	ja     0x4079b5
4079b3:	8b f1                	mov    %ecx,%esi
4079b5:	6a 00                	push   $0x0
4079b7:	8d 45 c8             	lea    -0x38(%ebp),%eax
4079ba:	50                   	push   %eax
4079bb:	56                   	push   %esi
4079bc:	52                   	push   %edx
4079bd:	53                   	push   %ebx
4079be:	ff 15 0c a0 44 00    	call   *0x44a00c
4079c4:	85 c0                	test   %eax,%eax
4079c6:	74 5f                	je     0x407a27
4079c8:	33 c0                	xor    %eax,%eax
4079ca:	8b 55 c0             	mov    -0x40(%ebp),%edx
4079cd:	8b 4d c4             	mov    -0x3c(%ebp),%ecx
4079d0:	2b ce                	sub    %esi,%ecx
4079d2:	89 45 c8             	mov    %eax,-0x38(%ebp)
4079d5:	89 4d c4             	mov    %ecx,-0x3c(%ebp)
4079d8:	8d 14 72             	lea    (%edx,%esi,2),%edx
4079db:	89 55 c0             	mov    %edx,-0x40(%ebp)
4079de:	75 b5                	jne    0x407995
4079e0:	85 c0                	test   %eax,%eax
4079e2:	0f 85 e7 32 01 00    	jne    0x41accf
4079e8:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4079eb:	5f                   	pop    %edi
4079ec:	5e                   	pop    %esi
4079ed:	33 cd                	xor    %ebp,%ecx
4079ef:	5b                   	pop    %ebx
4079f0:	e8 3b f1 00 00       	call   0x416b30
4079f5:	c9                   	leave
4079f6:	c2 08 00             	ret    $0x8
4079f9:	33 db                	xor    %ebx,%ebx
4079fb:	e9 6d ff ff ff       	jmp    0x40796d
407a00:	8d 4d ac             	lea    -0x54(%ebp),%ecx
407a03:	51                   	push   %ecx
407a04:	8b 4d b8             	mov    -0x48(%ebp),%ecx
407a07:	8d 04 36             	lea    (%esi,%esi,1),%eax
407a0a:	50                   	push   %eax
407a0b:	e8 2b 21 00 00       	call   0x409b3b
407a10:	85 c0                	test   %eax,%eax
407a12:	74 08                	je     0x407a1c
407a14:	8d 04 36             	lea    (%esi,%esi,1),%eax
407a17:	39 45 ac             	cmp    %eax,-0x54(%ebp)
407a1a:	74 ac                	je     0x4079c8
407a1c:	ff 15 80 a0 44 00    	call   *0x44a080
407a22:	89 45 c8             	mov    %eax,-0x38(%ebp)
407a25:	eb b9                	jmp    0x4079e0
407a27:	ff 15 80 a0 44 00    	call   *0x44a080
407a2d:	eb 9b                	jmp    0x4079ca
407a2f:	8b 45 c8             	mov    -0x38(%ebp),%eax
407a32:	eb ac                	jmp    0x4079e0
407a34:	8b ff                	mov    %edi,%edi
407a36:	53                   	push   %ebx
407a37:	8b dc                	mov    %esp,%ebx
407a39:	51                   	push   %ecx
407a3a:	51                   	push   %ecx
407a3b:	83 e4 f8             	and    $0xfffffff8,%esp
407a3e:	83 c4 04             	add    $0x4,%esp
407a41:	55                   	push   %ebp
407a42:	8b 6b 04             	mov    0x4(%ebx),%ebp
407a45:	89 6c 24 04          	mov    %ebp,0x4(%esp)
407a49:	8b ec                	mov    %esp,%ebp
407a4b:	81 ec 58 04 00 00    	sub    $0x458,%esp
407a51:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
407a56:	33 c5                	xor    %ebp,%eax
407a58:	89 45 fc             	mov    %eax,-0x4(%ebp)
407a5b:	33 c0                	xor    %eax,%eax
407a5d:	88 95 c7 fb ff ff    	mov    %dl,-0x439(%ebp)
407a63:	40                   	inc    %eax
407a64:	56                   	push   %esi
407a65:	8b 73 0c             	mov    0xc(%ebx),%esi
407a68:	57                   	push   %edi
407a69:	89 85 b0 fb ff ff    	mov    %eax,-0x450(%ebp)
407a6f:	8b f9                	mov    %ecx,%edi
407a71:	88 45 ec             	mov    %al,-0x14(%ebp)
407a74:	33 c9                	xor    %ecx,%ecx
407a76:	b8 04 01 00 00       	mov    $0x104,%eax
407a7b:	89 bd ac fb ff ff    	mov    %edi,-0x454(%ebp)
407a81:	50                   	push   %eax
407a82:	89 45 f0             	mov    %eax,-0x10(%ebp)
407a85:	8d 85 e0 fd ff ff    	lea    -0x220(%ebp),%eax
407a8b:	51                   	push   %ecx
407a8c:	50                   	push   %eax
407a8d:	89 8d bc fb ff ff    	mov    %ecx,-0x444(%ebp)
407a93:	89 0d a8 67 43 00    	mov    %ecx,0x4367a8
407a99:	89 4d e8             	mov    %ecx,-0x18(%ebp)
407a9c:	e8 1c 05 01 00       	call   0x417fbd
407aa1:	83 c4 0c             	add    $0xc,%esp
407aa4:	c6 85 d4 fd ff ff 01 	movb   $0x1,-0x22c(%ebp)
407aab:	b8 04 01 00 00       	mov    $0x104,%eax
407ab0:	33 c9                	xor    %ecx,%ecx
407ab2:	89 85 d8 fd ff ff    	mov    %eax,-0x228(%ebp)
407ab8:	89 8d d0 fd ff ff    	mov    %ecx,-0x230(%ebp)
407abe:	50                   	push   %eax
407abf:	51                   	push   %ecx
407ac0:	8d 85 c8 fb ff ff    	lea    -0x438(%ebp),%eax
407ac6:	50                   	push   %eax
407ac7:	e8 f1 04 01 00       	call   0x417fbd
407acc:	83 c4 0c             	add    $0xc,%esp
407acf:	8d 8d e0 fd ff ff    	lea    -0x220(%ebp),%ecx
407ad5:	68 e9 7f 00 00       	push   $0x7fe9
407ada:	e8 11 69 00 00       	call   0x40e3f0
407adf:	85 c0                	test   %eax,%eax
407ae1:	0f 88 7a 33 01 00    	js     0x41ae61
407ae7:	68 e9 7f 00 00       	push   $0x7fe9
407aec:	8d 8d c8 fb ff ff    	lea    -0x438(%ebp),%ecx
407af2:	e8 f9 68 00 00       	call   0x40e3f0
407af7:	85 c0                	test   %eax,%eax
407af9:	0f 88 62 33 01 00    	js     0x41ae61
407aff:	6a 30                	push   $0x30
407b01:	59                   	pop    %ecx
407b02:	e8 c9 61 00 00       	call   0x40dcd0
407b07:	8b c8                	mov    %eax,%ecx
407b09:	89 8d b8 fb ff ff    	mov    %ecx,-0x448(%ebp)
407b0f:	85 c9                	test   %ecx,%ecx
407b11:	0f 84 38 33 01 00    	je     0x41ae4f
407b17:	89 0e                	mov    %ecx,(%esi)
407b19:	33 c0                	xor    %eax,%eax
407b1b:	89 01                	mov    %eax,(%ecx)
407b1d:	8d 77 4c             	lea    0x4c(%edi),%esi
407b20:	89 41 04             	mov    %eax,0x4(%ecx)
407b23:	40                   	inc    %eax
407b24:	89 41 08             	mov    %eax,0x8(%ecx)
407b27:	89 85 b4 fb ff ff    	mov    %eax,-0x44c(%ebp)
407b2d:	89 b5 c0 fb ff ff    	mov    %esi,-0x440(%ebp)
407b33:	39 47 48             	cmp    %eax,0x48(%edi)
407b36:	0f 82 0c 02 00 00    	jb     0x407d48
407b3c:	8b 3e                	mov    (%esi),%edi
407b3e:	8b d7                	mov    %edi,%edx
407b40:	8d 4a 02             	lea    0x2(%edx),%ecx
407b43:	66 8b 02             	mov    (%edx),%ax
407b46:	83 c2 02             	add    $0x2,%edx
407b49:	66 3b 85 bc fb ff ff 	cmp    -0x444(%ebp),%ax
407b50:	75 f1                	jne    0x407b43
407b52:	2b d1                	sub    %ecx,%edx
407b54:	8b cf                	mov    %edi,%ecx
407b56:	d1 fa                	sar    $1,%edx
407b58:	e8 93 a8 00 00       	call   0x4123f0
407b5d:	88 85 c6 fb ff ff    	mov    %al,-0x43a(%ebp)
407b63:	84 c0                	test   %al,%al
407b65:	75 0e                	jne    0x407b75
407b67:	8b 0d a8 67 43 00    	mov    0x4367a8,%ecx
407b6d:	85 c9                	test   %ecx,%ecx
407b6f:	0f 85 98 32 01 00    	jne    0x41ae0d
407b75:	80 7b 08 00          	cmpb   $0x0,0x8(%ebx)
407b79:	88 46 08             	mov    %al,0x8(%esi)
407b7c:	74 14                	je     0x407b92
407b7e:	8a d0                	mov    %al,%dl
407b80:	8b cf                	mov    %edi,%ecx
407b82:	e8 83 fc ff ff       	call   0x40780a
407b87:	8b cf                	mov    %edi,%ecx
407b89:	8b f0                	mov    %eax,%esi
407b8b:	e8 d0 60 00 00       	call   0x40dc60
407b90:	8b fe                	mov    %esi,%edi
407b92:	33 f6                	xor    %esi,%esi
407b94:	8b cf                	mov    %edi,%ecx
407b96:	89 35 a8 67 43 00    	mov    %esi,0x4367a8
407b9c:	e8 8b 04 00 00       	call   0x40802c
407ba1:	8b f8                	mov    %eax,%edi
407ba3:	83 ff 01             	cmp    $0x1,%edi
407ba6:	75 56                	jne    0x407bfe
407ba8:	80 bd c7 fb ff ff 00 	cmpb   $0x0,-0x439(%ebp)
407baf:	74 0e                	je     0x407bbf
407bb1:	56                   	push   %esi
407bb2:	ff 35 a8 67 43 00    	push   0x4367a8
407bb8:	e8 27 fd ff ff       	call   0x4078e4
407bbd:	59                   	pop    %ecx
407bbe:	59                   	pop    %ecx
407bbf:	8b 8d d0 fd ff ff    	mov    -0x230(%ebp),%ecx
407bc5:	85 c9                	test   %ecx,%ecx
407bc7:	74 08                	je     0x407bd1
407bc9:	51                   	push   %ecx
407bca:	ff 15 e0 a3 44 00    	call   *0x44a3e0
407bd0:	59                   	pop    %ecx
407bd1:	8b 4d e8             	mov    -0x18(%ebp),%ecx
407bd4:	89 75 e8             	mov    %esi,-0x18(%ebp)
407bd7:	85 c9                	test   %ecx,%ecx
407bd9:	74 08                	je     0x407be3
407bdb:	51                   	push   %ecx
407bdc:	ff 15 e0 a3 44 00    	call   *0x44a3e0
407be2:	59                   	pop    %ecx
407be3:	8b 4d fc             	mov    -0x4(%ebp),%ecx
407be6:	8b 85 b0 fb ff ff    	mov    -0x450(%ebp),%eax
407bec:	33 cd                	xor    %ebp,%ecx
407bee:	5f                   	pop    %edi
407bef:	5e                   	pop    %esi
407bf0:	e8 3b ef 00 00       	call   0x416b30
407bf5:	8b e5                	mov    %ebp,%esp
407bf7:	5d                   	pop    %ebp
407bf8:	8b e3                	mov    %ebx,%esp
407bfa:	5b                   	pop    %ebx
407bfb:	c2 08 00             	ret    $0x8
407bfe:	8b 0d f8 8d 44 00    	mov    0x448df8,%ecx
407c04:	85 c9                	test   %ecx,%ecx
407c06:	0f 84 e1 30 01 00    	je     0x41aced
407c0c:	51                   	push   %ecx
407c0d:	8d 8d e0 fd ff ff    	lea    -0x220(%ebp),%ecx
407c13:	e8 29 2a 00 00       	call   0x40a641
407c18:	e8 4b e8 ff ff       	call   0x406468
407c1d:	8b 4d e8             	mov    -0x18(%ebp),%ecx
407c20:	85 c9                	test   %ecx,%ecx
407c22:	0f 84 cf 30 01 00    	je     0x41acf7
407c28:	8d 51 02             	lea    0x2(%ecx),%edx
407c2b:	66 8b 01             	mov    (%ecx),%ax
407c2e:	83 c1 02             	add    $0x2,%ecx
407c31:	66 3b c6             	cmp    %si,%ax
407c34:	75 f5                	jne    0x407c2b
407c36:	2b ca                	sub    %edx,%ecx
407c38:	d1 f9                	sar    $1,%ecx
407c3a:	8b f1                	mov    %ecx,%esi
407c3c:	83 fe 03             	cmp    $0x3,%esi
407c3f:	76 1f                	jbe    0x407c60
407c41:	80 bd c6 fb ff ff 00 	cmpb   $0x0,-0x43a(%ebp)
407c48:	0f 85 b4 30 01 00    	jne    0x41ad02
407c4e:	8b 4d e8             	mov    -0x18(%ebp),%ecx
407c51:	85 c9                	test   %ecx,%ecx
407c53:	0f 84 de 30 01 00    	je     0x41ad37
407c59:	33 c0                	xor    %eax,%eax
407c5b:	66 89 44 71 fe       	mov    %ax,-0x2(%ecx,%esi,2)
407c60:	8d 46 01             	lea    0x1(%esi),%eax
407c63:	3d e7 7f 00 00       	cmp    $0x7fe7,%eax
407c68:	0f 87 ca 31 01 00    	ja     0x41ae38
407c6e:	8b 47 10             	mov    0x10(%edi),%eax
407c71:	33 c9                	xor    %ecx,%ecx
407c73:	66 39 08             	cmp    %cx,(%eax)
407c76:	0f 84 c6 30 01 00    	je     0x41ad42
407c7c:	50                   	push   %eax
407c7d:	8d 8d c8 fb ff ff    	lea    -0x438(%ebp),%ecx
407c83:	e8 b9 29 00 00       	call   0x40a641
407c88:	8b 8d d0 fd ff ff    	mov    -0x230(%ebp),%ecx
407c8e:	85 c9                	test   %ecx,%ecx
407c90:	0f 84 b6 30 01 00    	je     0x41ad4c
407c96:	8d 51 02             	lea    0x2(%ecx),%edx
407c99:	66 8b 01             	mov    (%ecx),%ax
407c9c:	83 c1 02             	add    $0x2,%ecx
407c9f:	66 3b 85 bc fb ff ff 	cmp    -0x444(%ebp),%ax
407ca6:	75 f1                	jne    0x407c99
407ca8:	2b ca                	sub    %edx,%ecx
407caa:	8d 46 01             	lea    0x1(%esi),%eax
407cad:	d1 f9                	sar    $1,%ecx
407caf:	33 f6                	xor    %esi,%esi
407cb1:	03 c1                	add    %ecx,%eax
407cb3:	3d e7 7f 00 00       	cmp    $0x7fe7,%eax
407cb8:	0f 87 65 31 01 00    	ja     0x41ae23
407cbe:	8b 47 10             	mov    0x10(%edi),%eax
407cc1:	66 39 30             	cmp    %si,(%eax)
407cc4:	74 14                	je     0x407cda
407cc6:	8b 47 14             	mov    0x14(%edi),%eax
407cc9:	85 c0                	test   %eax,%eax
407ccb:	0f 84 86 30 01 00    	je     0x41ad57
407cd1:	66 39 30             	cmp    %si,(%eax)
407cd4:	0f 84 7d 30 01 00    	je     0x41ad57
407cda:	8b 8d d0 fd ff ff    	mov    -0x230(%ebp),%ecx
407ce0:	85 c9                	test   %ecx,%ecx
407ce2:	74 71                	je     0x407d55
407ce4:	e8 62 88 00 00       	call   0x41054b
407ce9:	8b b5 c0 fb ff ff    	mov    -0x440(%ebp),%esi
407cef:	89 06                	mov    %eax,(%esi)
407cf1:	8b 4d e8             	mov    -0x18(%ebp),%ecx
407cf4:	85 c9                	test   %ecx,%ecx
407cf6:	74 65                	je     0x407d5d
407cf8:	e8 4e 88 00 00       	call   0x41054b
407cfd:	8b bd b8 fb ff ff    	mov    -0x448(%ebp),%edi
407d03:	89 46 04             	mov    %eax,0x4(%esi)
407d06:	83 7f 04 00          	cmpl   $0x0,0x4(%edi)
407d0a:	0f 85 a3 30 01 00    	jne    0x41adb3
407d10:	8b c8                	mov    %eax,%ecx
407d12:	e8 34 88 00 00       	call   0x41054b
407d17:	89 47 04             	mov    %eax,0x4(%edi)
407d1a:	8a 46 08             	mov    0x8(%esi),%al
407d1d:	88 47 10             	mov    %al,0x10(%edi)
407d20:	89 77 0c             	mov    %esi,0xc(%edi)
407d23:	8b 85 b4 fb ff ff    	mov    -0x44c(%ebp),%eax
407d29:	8b 8d ac fb ff ff    	mov    -0x454(%ebp),%ecx
407d2f:	40                   	inc    %eax
407d30:	8b 76 0c             	mov    0xc(%esi),%esi
407d33:	89 85 b4 fb ff ff    	mov    %eax,-0x44c(%ebp)
407d39:	89 b5 c0 fb ff ff    	mov    %esi,-0x440(%ebp)
407d3f:	3b 41 48             	cmp    0x48(%ecx),%eax
407d42:	0f 86 f4 fd ff ff    	jbe    0x407b3c
407d48:	33 f6                	xor    %esi,%esi
407d4a:	89 b5 b0 fb ff ff    	mov    %esi,-0x450(%ebp)
407d50:	e9 6a fe ff ff       	jmp    0x407bbf
407d55:	8d 8d c8 fb ff ff    	lea    -0x438(%ebp),%ecx
407d5b:	eb 87                	jmp    0x407ce4
407d5d:	8d 8d e0 fd ff ff    	lea    -0x220(%ebp),%ecx
407d63:	eb 93                	jmp    0x407cf8
407d65:	8b ff                	mov    %edi,%edi
407d67:	55                   	push   %ebp
407d68:	8b ec                	mov    %esp,%ebp
407d6a:	81 ec 2c 02 00 00    	sub    $0x22c,%esp
407d70:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
407d75:	33 c5                	xor    %ebp,%eax
407d77:	89 45 fc             	mov    %eax,-0x4(%ebp)
407d7a:	53                   	push   %ebx
407d7b:	56                   	push   %esi
407d7c:	8b f1                	mov    %ecx,%esi