40ab86:	8b cf                	mov    %edi,%ecx
40ab88:	ff d6                	call   *%esi
40ab8a:	c6 45 fc 03          	movb   $0x3,-0x4(%ebp)
40ab8e:	8d 7d c0             	lea    -0x40(%ebp),%edi
40ab91:	83 7d d4 10          	cmpl   $0x10,-0x2c(%ebp)
40ab95:	0f 43 7d c0          	cmovae -0x40(%ebp),%edi
40ab99:	8a 07                	mov    (%edi),%al
40ab9b:	3c 7f                	cmp    $0x7f,%al
40ab9d:	0f 84 b9 00 00 00    	je     0x40ac5c
40aba3:	84 c0                	test   %al,%al
40aba5:	0f 8e b1 00 00 00    	jle    0x40ac5c
40abab:	8b 45 bc             	mov    -0x44(%ebp),%eax
40abae:	8b 00                	mov    (%eax),%eax
40abb0:	8b 70 10             	mov    0x10(%eax),%esi
40abb3:	8b ce                	mov    %esi,%ecx
40abb5:	ff 15 3c f2 43 00    	call   *0x43f23c
40abbb:	8b 4d bc             	mov    -0x44(%ebp),%ecx
40abbe:	ff d6                	call   *%esi
40abc0:	0f b7 f0             	movzwl %ax,%esi
40abc3:	8a 07                	mov    (%edi),%al
40abc5:	89 75 bc             	mov    %esi,-0x44(%ebp)
40abc8:	3c 7f                	cmp    $0x7f,%al
40abca:	0f 84 8c 00 00 00    	je     0x40ac5c
40abd0:	8b 55 b8             	mov    -0x48(%ebp),%edx
40abd3:	84 c0                	test   %al,%al
40abd5:	0f 8e 84 00 00 00    	jle    0x40ac5f
40abdb:	0f be c8             	movsbl %al,%ecx
40abde:	8b c3                	mov    %ebx,%eax
40abe0:	2b c2                	sub    %edx,%eax
40abe2:	3b c8                	cmp    %eax,%ecx
40abe4:	73 79                	jae    0x40ac5f
40abe6:	2b d9                	sub    %ecx,%ebx
40abe8:	8b 4d e8             	mov    -0x18(%ebp),%ecx
40abeb:	3b cb                	cmp    %ebx,%ecx
40abed:	0f 82 3d 02 00 00    	jb     0x40ae30
40abf3:	8b 55 ec             	mov    -0x14(%ebp),%edx
40abf6:	8b c2                	mov    %edx,%eax
40abf8:	2b c1                	sub    %ecx,%eax
40abfa:	83 f8 01             	cmp    $0x1,%eax
40abfd:	72 34                	jb     0x40ac33
40abff:	8d 41 01             	lea    0x1(%ecx),%eax
40ac02:	83 fa 08             	cmp    $0x8,%edx
40ac05:	89 45 e8             	mov    %eax,-0x18(%ebp)
40ac08:	8d 45 d8             	lea    -0x28(%ebp),%eax
40ac0b:	0f 43 45 d8          	cmovae -0x28(%ebp),%eax
40ac0f:	2b cb                	sub    %ebx,%ecx
40ac11:	8d 34 58             	lea    (%eax,%ebx,2),%esi
40ac14:	8d 04 4d 02 00 00 00 	lea    0x2(,%ecx,2),%eax
40ac1b:	50                   	push   %eax
40ac1c:	8d 46 02             	lea    0x2(%esi),%eax
40ac1f:	56                   	push   %esi
40ac20:	50                   	push   %eax
40ac21:	e8 2a 28 01 00       	call   0x41d450
40ac26:	8b 45 bc             	mov    -0x44(%ebp),%eax
40ac29:	83 c4 0c             	add    $0xc,%esp
40ac2c:	66 89 06             	mov    %ax,(%esi)
40ac2f:	8b f0                	mov    %eax,%esi
40ac31:	eb 15                	jmp    0x40ac48
40ac33:	56                   	push   %esi
40ac34:	6a 01                	push   $0x1
40ac36:	53                   	push   %ebx
40ac37:	c6 45 a8 00          	movb   $0x0,-0x58(%ebp)
40ac3b:	8d 4d d8             	lea    -0x28(%ebp),%ecx
40ac3e:	ff 75 a8             	push   -0x58(%ebp)
40ac41:	6a 01                	push   $0x1
40ac43:	e8 88 19 00 00       	call   0x40c5d0
40ac48:	80 7f 01 00          	cmpb   $0x0,0x1(%edi)
40ac4c:	8d 47 01             	lea    0x1(%edi),%eax
40ac4f:	0f 4f f8             	cmovg  %eax,%edi
40ac52:	8a 07                	mov    (%edi),%al
40ac54:	3c 7f                	cmp    $0x7f,%al
40ac56:	0f 85 74 ff ff ff    	jne    0x40abd0
40ac5c:	8b 55 b8             	mov    -0x48(%ebp),%edx
40ac5f:	8b 45 ac             	mov    -0x54(%ebp),%eax
40ac62:	8b 4d e8             	mov    -0x18(%ebp),%ecx
40ac65:	89 4d bc             	mov    %ecx,-0x44(%ebp)
40ac68:	83 78 24 00          	cmpl   $0x0,0x24(%eax)
40ac6c:	8b 78 20             	mov    0x20(%eax),%edi
40ac6f:	7c 0e                	jl     0x40ac7f
40ac71:	7f 04                	jg     0x40ac77
40ac73:	85 ff                	test   %edi,%edi
40ac75:	74 08                	je     0x40ac7f
40ac77:	3b f9                	cmp    %ecx,%edi
40ac79:	76 04                	jbe    0x40ac7f
40ac7b:	2b f9                	sub    %ecx,%edi
40ac7d:	eb 02                	jmp    0x40ac81
40ac7f:	33 ff                	xor    %edi,%edi
40ac81:	8b 40 14             	mov    0x14(%eax),%eax
40ac84:	8b 75 1c             	mov    0x1c(%ebp),%esi
40ac87:	25 c0 01 00 00       	and    $0x1c0,%eax
40ac8c:	8b 5d 08             	mov    0x8(%ebp),%ebx
40ac8f:	83 f8 40             	cmp    $0x40,%eax
40ac92:	0f 84 84 00 00 00    	je     0x40ad1c
40ac98:	3d 00 01 00 00       	cmp    $0x100,%eax
40ac9d:	74 40                	je     0x40acdf
40ac9f:	57                   	push   %edi
40aca0:	56                   	push   %esi
40aca1:	ff 75 14             	push   0x14(%ebp)
40aca4:	8d 45 b0             	lea    -0x50(%ebp),%eax
40aca7:	ff 75 10             	push   0x10(%ebp)
40acaa:	50                   	push   %eax
40acab:	53                   	push   %ebx
40acac:	e8 ff fb ff ff       	call   0x40a8b0
40acb1:	8b 75 b8             	mov    -0x48(%ebp),%esi
40acb4:	33 ff                	xor    %edi,%edi
40acb6:	83 7d ec 08          	cmpl   $0x8,-0x14(%ebp)
40acba:	56                   	push   %esi
40acbb:	8b 10                	mov    (%eax),%edx
40acbd:	8b 48 04             	mov    0x4(%eax),%ecx
40acc0:	8d 45 d8             	lea    -0x28(%ebp),%eax
40acc3:	0f 43 45 d8          	cmovae -0x28(%ebp),%eax
40acc7:	50                   	push   %eax
40acc8:	51                   	push   %ecx
40acc9:	52                   	push   %edx
40acca:	8d 45 b0             	lea    -0x50(%ebp),%eax
40accd:	89 55 10             	mov    %edx,0x10(%ebp)
40acd0:	50                   	push   %eax
40acd1:	53                   	push   %ebx
40acd2:	89 4d 14             	mov    %ecx,0x14(%ebp)
40acd5:	e8 56 fc ff ff       	call   0x40a930
40acda:	83 c4 30             	add    $0x30,%esp
40acdd:	eb 60                	jmp    0x40ad3f
40acdf:	83 7d ec 08          	cmpl   $0x8,-0x14(%ebp)
40ace3:	8d 45 d8             	lea    -0x28(%ebp),%eax
40ace6:	52                   	push   %edx
40ace7:	0f 43 45 d8          	cmovae -0x28(%ebp),%eax
40aceb:	50                   	push   %eax
40acec:	ff 75 14             	push   0x14(%ebp)
40acef:	8d 45 b0             	lea    -0x50(%ebp),%eax
40acf2:	ff 75 10             	push   0x10(%ebp)
40acf5:	50                   	push   %eax
40acf6:	53                   	push   %ebx
40acf7:	e8 34 fc ff ff       	call   0x40a930
40acfc:	57                   	push   %edi
40acfd:	56                   	push   %esi
40acfe:	8b 08                	mov    (%eax),%ecx
40ad00:	8b 40 04             	mov    0x4(%eax),%eax
40ad03:	50                   	push   %eax
40ad04:	89 45 14             	mov    %eax,0x14(%ebp)
40ad07:	8d 45 b0             	lea    -0x50(%ebp),%eax
40ad0a:	51                   	push   %ecx
40ad0b:	50                   	push   %eax
40ad0c:	53                   	push   %ebx
40ad0d:	89 4d 10             	mov    %ecx,0x10(%ebp)
40ad10:	e8 9b fb ff ff       	call   0x40a8b0
40ad15:	83 c4 30             	add    $0x30,%esp
40ad18:	33 ff                	xor    %edi,%edi
40ad1a:	eb 20                	jmp    0x40ad3c
40ad1c:	83 7d ec 08          	cmpl   $0x8,-0x14(%ebp)
40ad20:	8d 45 d8             	lea    -0x28(%ebp),%eax
40ad23:	52                   	push   %edx
40ad24:	0f 43 45 d8          	cmovae -0x28(%ebp),%eax
40ad28:	50                   	push   %eax
40ad29:	ff 75 14             	push   0x14(%ebp)
40ad2c:	8d 45 b0             	lea    -0x50(%ebp),%eax
40ad2f:	ff 75 10             	push   0x10(%ebp)
40ad32:	50                   	push   %eax
40ad33:	53                   	push   %ebx
40ad34:	e8 f7 fb ff ff       	call   0x40a930
40ad39:	83 c4 18             	add    $0x18,%esp
40ad3c:	8b 75 b8             	mov    -0x48(%ebp),%esi
40ad3f:	8b 10                	mov    (%eax),%edx
40ad41:	8b 48 04             	mov    0x4(%eax),%ecx
40ad44:	8d 45 d8             	lea    -0x28(%ebp),%eax
40ad47:	83 7d ec 08          	cmpl   $0x8,-0x14(%ebp)
40ad4b:	89 55 10             	mov    %edx,0x10(%ebp)
40ad4e:	0f 43 45 d8          	cmovae -0x28(%ebp),%eax
40ad52:	29 75 bc             	sub    %esi,-0x44(%ebp)
40ad55:	ff 75 bc             	push   -0x44(%ebp)
40ad58:	89 4d 14             	mov    %ecx,0x14(%ebp)
40ad5b:	8d 04 70             	lea    (%eax,%esi,2),%eax
40ad5e:	50                   	push   %eax
40ad5f:	51                   	push   %ecx
40ad60:	52                   	push   %edx
40ad61:	8d 45 b0             	lea    -0x50(%ebp),%eax
40ad64:	50                   	push   %eax
40ad65:	53                   	push   %ebx
40ad66:	e8 c5 fb ff ff       	call   0x40a930
40ad6b:	8b 55 ac             	mov    -0x54(%ebp),%edx
40ad6e:	8b 75 a0             	mov    -0x60(%ebp),%esi
40ad71:	57                   	push   %edi
40ad72:	8b 08                	mov    (%eax),%ecx
40ad74:	8b 40 04             	mov    0x4(%eax),%eax
40ad77:	ff 75 1c             	push   0x1c(%ebp)
40ad7a:	89 4d 10             	mov    %ecx,0x10(%ebp)
40ad7d:	50                   	push   %eax
40ad7e:	51                   	push   %ecx
40ad7f:	56                   	push   %esi
40ad80:	53                   	push   %ebx
40ad81:	89 45 14             	mov    %eax,0x14(%ebp)
40ad84:	c7 42 20 00 00 00 00 	movl   $0x0,0x20(%edx)
40ad8b:	c7 42 24 00 00 00 00 	movl   $0x0,0x24(%edx)
40ad92:	e8 19 fb ff ff       	call   0x40a8b0
40ad97:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
40ad9a:	83 c4 30             	add    $0x30,%esp
40ad9d:	83 f9 10             	cmp    $0x10,%ecx
40ada0:	72 28                	jb     0x40adca
40ada2:	8b 55 c0             	mov    -0x40(%ebp),%edx
40ada5:	41                   	inc    %ecx
40ada6:	8b c2                	mov    %edx,%eax
40ada8:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
40adae:	72 10                	jb     0x40adc0
40adb0:	8b 50 fc             	mov    -0x4(%eax),%edx
40adb3:	83 c1 23             	add    $0x23,%ecx
40adb6:	2b c2                	sub    %edx,%eax
40adb8:	83 c0 fc             	add    $0xfffffffc,%eax
40adbb:	83 f8 1f             	cmp    $0x1f,%eax
40adbe:	77 75                	ja     0x40ae35
40adc0:	51                   	push   %ecx
40adc1:	52                   	push   %edx
40adc2:	e8 47 0b 01 00       	call   0x41b90e
40adc7:	83 c4 08             	add    $0x8,%esp
40adca:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40adcd:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)
40add4:	c7 45 d4 0f 00 00 00 	movl   $0xf,-0x2c(%ebp)
40addb:	c6 45 c0 00          	movb   $0x0,-0x40(%ebp)
40addf:	83 f9 08             	cmp    $0x8,%ecx
40ade2:	72 2e                	jb     0x40ae12
40ade4:	8b 55 d8             	mov    -0x28(%ebp),%edx
40ade7:	8d 0c 4d 02 00 00 00 	lea    0x2(,%ecx,2),%ecx
40adee:	8b c2                	mov    %edx,%eax
40adf0:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
40adf6:	72 10                	jb     0x40ae08
40adf8:	8b 50 fc             	mov    -0x4(%eax),%edx
40adfb:	83 c1 23             	add    $0x23,%ecx
40adfe:	2b c2                	sub    %edx,%eax
40ae00:	83 c0 fc             	add    $0xfffffffc,%eax
40ae03:	83 f8 1f             	cmp    $0x1f,%eax
40ae06:	77 2d                	ja     0x40ae35
40ae08:	51                   	push   %ecx
40ae09:	52                   	push   %edx
40ae0a:	e8 ff 0a 01 00       	call   0x41b90e
40ae0f:	83 c4 08             	add    $0x8,%esp
40ae12:	8b c6                	mov    %esi,%eax
40ae14:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40ae17:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40ae1e:	59                   	pop    %ecx
40ae1f:	5f                   	pop    %edi
40ae20:	5e                   	pop    %esi
40ae21:	5b                   	pop    %ebx
40ae22:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40ae25:	33 cd                	xor    %ebp,%ecx
40ae27:	e8 a4 0a 01 00       	call   0x41b8d0
40ae2c:	8b e5                	mov    %ebp,%esp
40ae2e:	5d                   	pop    %ebp
40ae2f:	c3                   	ret
40ae30:	e8 9b 0a 00 00       	call   0x40b8d0
40ae35:	e8 45 5c 01 00       	call   0x420a7f
40ae3a:	cc                   	int3
40ae3b:	cc                   	int3
40ae3c:	cc                   	int3
40ae3d:	cc                   	int3
40ae3e:	cc                   	int3
40ae3f:	cc                   	int3
40ae40:	55                   	push   %ebp
40ae41:	8b ec                	mov    %esp,%ebp
40ae43:	6a ff                	push   $0xffffffff
40ae45:	68 85 db 43 00       	push   $0x43db85
40ae4a:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40ae50:	50                   	push   %eax
40ae51:	83 ec 60             	sub    $0x60,%esp
40ae54:	a1 14 40 45 00       	mov    0x454014,%eax
40ae59:	33 c5                	xor    %ebp,%eax
40ae5b:	89 45 f0             	mov    %eax,-0x10(%ebp)
40ae5e:	53                   	push   %ebx
40ae5f:	56                   	push   %esi
40ae60:	57                   	push   %edi
40ae61:	50                   	push   %eax
40ae62:	8d 45 f4             	lea    -0xc(%ebp),%eax
40ae65:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40ae6b:	8b 55 24             	mov    0x24(%ebp),%edx
40ae6e:	8b 45 0c             	mov    0xc(%ebp),%eax
40ae71:	8b 7d 18             	mov    0x18(%ebp),%edi
40ae74:	8b 5d 20             	mov    0x20(%ebp),%ebx
40ae77:	89 45 94             	mov    %eax,-0x6c(%ebp)
40ae7a:	89 7d 9c             	mov    %edi,-0x64(%ebp)
40ae7d:	89 5d b4             	mov    %ebx,-0x4c(%ebp)
40ae80:	89 55 98             	mov    %edx,-0x68(%ebp)
40ae83:	85 d2                	test   %edx,%edx
40ae85:	74 11                	je     0x40ae98
40ae87:	8a 03                	mov    (%ebx),%al
40ae89:	3c 2b                	cmp    $0x2b,%al
40ae8b:	74 04                	je     0x40ae91
40ae8d:	3c 2d                	cmp    $0x2d,%al
40ae8f:	75 07                	jne    0x40ae98
40ae91:	b9 01 00 00 00       	mov    $0x1,%ecx
40ae96:	eb 02                	jmp    0x40ae9a
40ae98:	33 c9                	xor    %ecx,%ecx
40ae9a:	8b 47 14             	mov    0x14(%edi),%eax
40ae9d:	25 00 30 00 00       	and    $0x3000,%eax
40aea2:	89 4d b8             	mov    %ecx,-0x48(%ebp)
40aea5:	3d 00 30 00 00       	cmp    $0x3000,%eax
40aeaa:	74 07                	je     0x40aeb3
40aeac:	b8 9c dc 44 00       	mov    $0x44dc9c,%eax
40aeb1:	eb 21                	jmp    0x40aed4
40aeb3:	8d 71 02             	lea    0x2(%ecx),%esi
40aeb6:	3b f2                	cmp    %edx,%esi
40aeb8:	77 15                	ja     0x40aecf
40aeba:	80 3c 0b 30          	cmpb   $0x30,(%ebx,%ecx,1)
40aebe:	75 0f                	jne    0x40aecf
40aec0:	8a 44 0b 01          	mov    0x1(%ebx,%ecx,1),%al
40aec4:	3c 78                	cmp    $0x78,%al
40aec6:	74 04                	je     0x40aecc
40aec8:	3c 58                	cmp    $0x58,%al
40aeca:	75 03                	jne    0x40aecf
40aecc:	89 75 b8             	mov    %esi,-0x48(%ebp)
40aecf:	b8 a0 dc 44 00       	mov    $0x44dca0,%eax
40aed4:	50                   	push   %eax
40aed5:	53                   	push   %ebx
40aed6:	e8 65 9e 01 00       	call   0x424d40
40aedb:	89 45 a8             	mov    %eax,-0x58(%ebp)
40aede:	b8 2e 00 00 00       	mov    $0x2e,%eax
40aee3:	66 89 45 ec          	mov    %ax,-0x14(%ebp)
40aee7:	e8 9a 9e 01 00       	call   0x424d86
40aeec:	8b 00                	mov    (%eax),%eax
40aeee:	8a 00                	mov    (%eax),%al
40aef0:	88 45 ec             	mov    %al,-0x14(%ebp)
40aef3:	8d 45 ec             	lea    -0x14(%ebp),%eax
40aef6:	50                   	push   %eax
40aef7:	53                   	push   %ebx
40aef8:	e8 43 9e 01 00       	call   0x424d40
40aefd:	8b d8                	mov    %eax,%ebx
40aeff:	83 c4 10             	add    $0x10,%esp
40af02:	8b 47 30             	mov    0x30(%edi),%eax
40af05:	8b 78 04             	mov    0x4(%eax),%edi
40af08:	89 7d a4             	mov    %edi,-0x5c(%ebp)
40af0b:	8b 07                	mov    (%edi),%eax
40af0d:	8b 70 04             	mov    0x4(%eax),%esi
40af10:	8b ce                	mov    %esi,%ecx
40af12:	ff 15 3c f2 43 00    	call   *0x43f23c
40af18:	8b cf                	mov    %edi,%ecx
40af1a:	ff d6                	call   *%esi
40af1c:	8d 45 a0             	lea    -0x60(%ebp),%eax
40af1f:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
40af26:	50                   	push   %eax
40af27:	e8 64 15 00 00       	call   0x40c490
40af2c:	c7 45 fc ff ff ff ff 	movl   $0xffffffff,-0x4(%ebp)
40af33:	83 c4 04             	add    $0x4,%esp
40af36:	8b 7d a4             	mov    -0x5c(%ebp),%edi
40af39:	89 45 ac             	mov    %eax,-0x54(%ebp)
40af3c:	85 ff                	test   %edi,%edi
40af3e:	74 29                	je     0x40af69
40af40:	8b 07                	mov    (%edi),%eax
40af42:	8b 70 08             	mov    0x8(%eax),%esi
40af45:	8b ce                	mov    %esi,%ecx
40af47:	ff 15 3c f2 43 00    	call   *0x43f23c
40af4d:	8b cf                	mov    %edi,%ecx
40af4f:	ff d6                	call   *%esi
40af51:	8b f8                	mov    %eax,%edi
40af53:	85 ff                	test   %edi,%edi