406dc3:	83 c0 20             	add    $0x20,%eax
406dc6:	e9 b3 00 00 00       	jmp    0x406e7e
406dcb:	53                   	push   %ebx
406dcc:	8b 5d 08             	mov    0x8(%ebp),%ebx
406dcf:	81 fb 00 01 00 00    	cmp    $0x100,%ebx
406dd5:	73 42                	jae    0x406e19
406dd7:	85 f6                	test   %esi,%esi
406dd9:	75 0d                	jne    0x406de8
406ddb:	53                   	push   %ebx
406ddc:	e8 ef 79 00 00       	call   0x40e7d0
406de1:	59                   	pop    %ecx
406de2:	85 c0                	test   %eax,%eax
406de4:	75 37                	jne    0x406e1d
406de6:	eb 7f                	jmp    0x406e67
406de8:	8b 46 04             	mov    0x4(%esi),%eax
406deb:	f6 04 58 01          	testb  $0x1,(%eax,%ebx,2)
406def:	74 76                	je     0x406e67
406df1:	8b 46 04             	mov    0x4(%esi),%eax
406df4:	8b d3                	mov    %ebx,%edx
406df6:	c1 fa 08             	sar    $0x8,%edx
406df9:	0f b6 ca             	movzbl %dl,%ecx
406dfc:	0f bf 04 48          	movswl (%eax,%ecx,2),%eax
406e00:	c1 e8 0f             	shr    $0xf,%eax
406e03:	83 e0 01             	and    $0x1,%eax
406e06:	85 c0                	test   %eax,%eax
406e08:	74 31                	je     0x406e3b
406e0a:	6a 02                	push   $0x2
406e0c:	88 55 fc             	mov    %dl,-0x4(%ebp)
406e0f:	88 5d fd             	mov    %bl,-0x3(%ebp)
406e12:	c6 45 fe 00          	movb   $0x0,-0x2(%ebp)
406e16:	58                   	pop    %eax
406e17:	eb 2c                	jmp    0x406e45
406e19:	85 f6                	test   %esi,%esi
406e1b:	75 d4                	jne    0x406df1
406e1d:	8b c3                	mov    %ebx,%eax
406e1f:	c1 f8 08             	sar    $0x8,%eax
406e22:	89 45 f0             	mov    %eax,-0x10(%ebp)
406e25:	e8 eb 78 00 00       	call   0x40e715
406e2a:	8b 55 f0             	mov    -0x10(%ebp),%edx
406e2d:	0f b6 ca             	movzbl %dl,%ecx
406e30:	0f b7 04 48          	movzwl (%eax,%ecx,2),%eax
406e34:	25 00 80 00 00       	and    $0x8000,%eax
406e39:	eb cb                	jmp    0x406e06
406e3b:	33 c0                	xor    %eax,%eax
406e3d:	88 5d fc             	mov    %bl,-0x4(%ebp)
406e40:	c6 45 fd 00          	movb   $0x0,-0x3(%ebp)
406e44:	40                   	inc    %eax
406e45:	6a 01                	push   $0x1
406e47:	ff 75 f4             	push   -0xc(%ebp)
406e4a:	8d 4d f8             	lea    -0x8(%ebp),%ecx
406e4d:	6a 03                	push   $0x3
406e4f:	51                   	push   %ecx
406e50:	50                   	push   %eax
406e51:	8d 45 fc             	lea    -0x4(%ebp),%eax
406e54:	50                   	push   %eax
406e55:	68 00 01 00 00       	push   $0x100
406e5a:	57                   	push   %edi
406e5b:	e8 c2 03 00 00       	call   0x407222
406e60:	83 c4 20             	add    $0x20,%esp
406e63:	85 c0                	test   %eax,%eax
406e65:	75 04                	jne    0x406e6b
406e67:	8b c3                	mov    %ebx,%eax
406e69:	eb 12                	jmp    0x406e7d
406e6b:	83 f8 01             	cmp    $0x1,%eax
406e6e:	0f b6 45 f8          	movzbl -0x8(%ebp),%eax
406e72:	74 09                	je     0x406e7d
406e74:	0f b6 4d f9          	movzbl -0x7(%ebp),%ecx
406e78:	c1 e0 08             	shl    $0x8,%eax
406e7b:	0b c1                	or     %ecx,%eax
406e7d:	5b                   	pop    %ebx
406e7e:	5f                   	pop    %edi
406e7f:	5e                   	pop    %esi
406e80:	c9                   	leave
406e81:	c3                   	ret
406e82:	55                   	push   %ebp
406e83:	8b ec                	mov    %esp,%ebp
406e85:	56                   	push   %esi
406e86:	57                   	push   %edi
406e87:	8b 7d 08             	mov    0x8(%ebp),%edi
406e8a:	33 f6                	xor    %esi,%esi
406e8c:	6a 2c                	push   $0x2c
406e8e:	56                   	push   %esi
406e8f:	57                   	push   %edi
406e90:	e8 5b 20 00 00       	call   0x408ef0
406e95:	83 c4 0c             	add    $0xc,%esp
406e98:	e8 b7 79 00 00       	call   0x40e854
406e9d:	89 07                	mov    %eax,(%edi)
406e9f:	e8 fc 79 00 00       	call   0x40e8a0
406ea4:	89 47 04             	mov    %eax,0x4(%edi)
406ea7:	e8 cd 79 00 00       	call   0x40e879
406eac:	8b 48 08             	mov    0x8(%eax),%ecx
406eaf:	33 c0                	xor    %eax,%eax
406eb1:	85 c9                	test   %ecx,%ecx
406eb3:	0f 94 c0             	sete   %al
406eb6:	89 47 08             	mov    %eax,0x8(%edi)
406eb9:	85 c9                	test   %ecx,%ecx
406ebb:	74 32                	je     0x406eef
406ebd:	53                   	push   %ebx
406ebe:	e8 52 78 00 00       	call   0x40e715
406ec3:	8b d8                	mov    %eax,%ebx
406ec5:	33 c0                	xor    %eax,%eax
406ec7:	66 39 04 73          	cmp    %ax,(%ebx,%esi,2)
406ecb:	7d 18                	jge    0x406ee5
406ecd:	8b d6                	mov    %esi,%edx
406ecf:	8b c6                	mov    %esi,%eax
406ed1:	c1 ea 03             	shr    $0x3,%edx
406ed4:	83 e0 07             	and    $0x7,%eax
406ed7:	0f b6 4c 3a 0c       	movzbl 0xc(%edx,%edi,1),%ecx
406edc:	0f ab c1             	bts    %eax,%ecx
406edf:	33 c0                	xor    %eax,%eax
406ee1:	88 4c 3a 0c          	mov    %cl,0xc(%edx,%edi,1)
406ee5:	46                   	inc    %esi
406ee6:	81 fe 00 01 00 00    	cmp    $0x100,%esi
406eec:	7c d9                	jl     0x406ec7
406eee:	5b                   	pop    %ebx
406eef:	8b c7                	mov    %edi,%eax
406ef1:	5f                   	pop    %edi
406ef2:	5e                   	pop    %esi
406ef3:	5d                   	pop    %ebp
406ef4:	c3                   	ret
406ef5:	55                   	push   %ebp
406ef6:	8b ec                	mov    %esp,%ebp
406ef8:	83 ec 10             	sub    $0x10,%esp
406efb:	56                   	push   %esi
406efc:	8b 75 0c             	mov    0xc(%ebp),%esi
406eff:	57                   	push   %edi
406f00:	85 f6                	test   %esi,%esi
406f02:	75 0f                	jne    0x406f13
406f04:	e8 70 79 00 00       	call   0x40e879
406f09:	8b 78 08             	mov    0x8(%eax),%edi
406f0c:	e8 43 79 00 00       	call   0x40e854
406f11:	eb 05                	jmp    0x406f18
406f13:	8b 7e 0c             	mov    0xc(%esi),%edi
406f16:	8b 06                	mov    (%esi),%eax
406f18:	89 45 f4             	mov    %eax,-0xc(%ebp)
406f1b:	85 ff                	test   %edi,%edi
406f1d:	75 1d                	jne    0x406f3c
406f1f:	8b 45 08             	mov    0x8(%ebp),%eax
406f22:	83 f8 61             	cmp    $0x61,%eax
406f25:	0f 8c c4 00 00 00    	jl     0x406fef
406f2b:	83 f8 7a             	cmp    $0x7a,%eax
406f2e:	0f 8f bb 00 00 00    	jg     0x406fef
406f34:	83 e8 20             	sub    $0x20,%eax
406f37:	e9 b3 00 00 00       	jmp    0x406fef
406f3c:	53                   	push   %ebx
406f3d:	8b 5d 08             	mov    0x8(%ebp),%ebx
406f40:	81 fb 00 01 00 00    	cmp    $0x100,%ebx
406f46:	73 42                	jae    0x406f8a
406f48:	85 f6                	test   %esi,%esi
406f4a:	75 0d                	jne    0x406f59
406f4c:	53                   	push   %ebx
406f4d:	e8 ee 77 00 00       	call   0x40e740
406f52:	59                   	pop    %ecx
406f53:	85 c0                	test   %eax,%eax
406f55:	75 37                	jne    0x406f8e
406f57:	eb 7f                	jmp    0x406fd8
406f59:	8b 46 04             	mov    0x4(%esi),%eax
406f5c:	f6 04 58 02          	testb  $0x2,(%eax,%ebx,2)
406f60:	74 76                	je     0x406fd8
406f62:	8b 46 04             	mov    0x4(%esi),%eax
406f65:	8b d3                	mov    %ebx,%edx
406f67:	c1 fa 08             	sar    $0x8,%edx
406f6a:	0f b6 ca             	movzbl %dl,%ecx
406f6d:	0f bf 04 48          	movswl (%eax,%ecx,2),%eax
406f71:	c1 e8 0f             	shr    $0xf,%eax
406f74:	83 e0 01             	and    $0x1,%eax
406f77:	85 c0                	test   %eax,%eax
406f79:	74 31                	je     0x406fac
406f7b:	6a 02                	push   $0x2
406f7d:	88 55 fc             	mov    %dl,-0x4(%ebp)
406f80:	88 5d fd             	mov    %bl,-0x3(%ebp)
406f83:	c6 45 fe 00          	movb   $0x0,-0x2(%ebp)
406f87:	58                   	pop    %eax
406f88:	eb 2c                	jmp    0x406fb6
406f8a:	85 f6                	test   %esi,%esi
406f8c:	75 d4                	jne    0x406f62
406f8e:	8b c3                	mov    %ebx,%eax
406f90:	c1 f8 08             	sar    $0x8,%eax
406f93:	89 45 f0             	mov    %eax,-0x10(%ebp)
406f96:	e8 7a 77 00 00       	call   0x40e715
406f9b:	8b 55 f0             	mov    -0x10(%ebp),%edx
406f9e:	0f b6 ca             	movzbl %dl,%ecx
406fa1:	0f b7 04 48          	movzwl (%eax,%ecx,2),%eax
406fa5:	25 00 80 00 00       	and    $0x8000,%eax
406faa:	eb cb                	jmp    0x406f77
406fac:	33 c0                	xor    %eax,%eax
406fae:	88 5d fc             	mov    %bl,-0x4(%ebp)
406fb1:	c6 45 fd 00          	movb   $0x0,-0x3(%ebp)
406fb5:	40                   	inc    %eax
406fb6:	6a 01                	push   $0x1
406fb8:	ff 75 f4             	push   -0xc(%ebp)
406fbb:	8d 4d f8             	lea    -0x8(%ebp),%ecx
406fbe:	6a 03                	push   $0x3
406fc0:	51                   	push   %ecx
406fc1:	50                   	push   %eax
406fc2:	8d 45 fc             	lea    -0x4(%ebp),%eax
406fc5:	50                   	push   %eax
406fc6:	68 00 02 00 00       	push   $0x200
406fcb:	57                   	push   %edi
406fcc:	e8 51 02 00 00       	call   0x407222
406fd1:	83 c4 20             	add    $0x20,%esp
406fd4:	85 c0                	test   %eax,%eax
406fd6:	75 04                	jne    0x406fdc
406fd8:	8b c3                	mov    %ebx,%eax
406fda:	eb 12                	jmp    0x406fee
406fdc:	83 f8 01             	cmp    $0x1,%eax
406fdf:	0f b6 45 f8          	movzbl -0x8(%ebp),%eax
406fe3:	74 09                	je     0x406fee
406fe5:	0f b6 4d f9          	movzbl -0x7(%ebp),%ecx
406fe9:	c1 e0 08             	shl    $0x8,%eax
406fec:	0b c1                	or     %ecx,%eax
406fee:	5b                   	pop    %ebx
406fef:	5f                   	pop    %edi
406ff0:	5e                   	pop    %esi
406ff1:	c9                   	leave
406ff2:	c3                   	ret
406ff3:	55                   	push   %ebp
406ff4:	8b ec                	mov    %esp,%ebp
406ff6:	ff 75 08             	push   0x8(%ebp)
406ff9:	ff 15 44 40 42 00    	call   *0x424044
406fff:	5d                   	pop    %ebp
407000:	c3                   	ret
407001:	55                   	push   %ebp
407002:	8b ec                	mov    %esp,%ebp
407004:	6a 00                	push   $0x0
407006:	68 a0 0f 00 00       	push   $0xfa0
40700b:	ff 75 08             	push   0x8(%ebp)
40700e:	ff 15 40 40 42 00    	call   *0x424040
407014:	5d                   	pop    %ebp
407015:	c3                   	ret
407016:	55                   	push   %ebp
407017:	8b ec                	mov    %esp,%ebp
407019:	ff 75 08             	push   0x8(%ebp)
40701c:	ff 15 38 40 42 00    	call   *0x424038
407022:	5d                   	pop    %ebp
407023:	c3                   	ret
407024:	55                   	push   %ebp
407025:	8b ec                	mov    %esp,%ebp
407027:	ff 75 08             	push   0x8(%ebp)
40702a:	ff 15 3c 40 42 00    	call   *0x42403c
407030:	5d                   	pop    %ebp
407031:	c3                   	ret
407032:	55                   	push   %ebp
407033:	8b ec                	mov    %esp,%ebp
407035:	51                   	push   %ecx
407036:	56                   	push   %esi
407037:	57                   	push   %edi
407038:	6a 02                	push   $0x2
40703a:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40703d:	e8 ff e3 ff ff       	call   0x405441
407042:	8b 55 08             	mov    0x8(%ebp),%edx
407045:	33 c0                	xor    %eax,%eax
407047:	40                   	inc    %eax
407048:	8b f0                	mov    %eax,%esi
40704a:	89 42 08             	mov    %eax,0x8(%edx)
40704d:	8b 3c 85 08 41 43 00 	mov    0x434108(,%eax,4),%edi
407054:	8b ce                	mov    %esi,%ecx
407056:	85 ff                	test   %edi,%edi
407058:	74 11                	je     0x40706b
40705a:	3b fa                	cmp    %edx,%edi
40705c:	74 0d                	je     0x40706b
40705e:	40                   	inc    %eax
40705f:	89 42 08             	mov    %eax,0x8(%edx)
407062:	8b f0                	mov    %eax,%esi
407064:	8b ce                	mov    %esi,%ecx
407066:	83 f8 08             	cmp    $0x8,%eax
407069:	72 e2                	jb     0x40704d
40706b:	fe 81 30 41 43 00    	incb   0x434130(%ecx)
407071:	89 14 8d 08 41 43 00 	mov    %edx,0x434108(,%ecx,4)
407078:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40707b:	e8 19 e4 ff ff       	call   0x405499
407080:	5f                   	pop    %edi
407081:	5e                   	pop    %esi
407082:	c9                   	leave
407083:	c3                   	ret
407084:	55                   	push   %ebp
407085:	8b ec                	mov    %esp,%ebp
407087:	53                   	push   %ebx
407088:	8b d9                	mov    %ecx,%ebx
40708a:	57                   	push   %edi
40708b:	8b 7b 2c             	mov    0x2c(%ebx),%edi
40708e:	85 ff                	test   %edi,%edi
407090:	74 1f                	je     0x4070b1
407092:	56                   	push   %esi
407093:	ff 77 04             	push   0x4(%edi)
407096:	8b 77 08             	mov    0x8(%edi),%esi
407099:	8b ce                	mov    %esi,%ecx
40709b:	53                   	push   %ebx
40709c:	ff 75 08             	push   0x8(%ebp)
40709f:	ff 15 54 41 42 00    	call   *0x424154
4070a5:	ff d6                	call   *%esi
4070a7:	8b 3f                	mov    (%edi),%edi
4070a9:	83 c4 0c             	add    $0xc,%esp
4070ac:	85 ff                	test   %edi,%edi
4070ae:	75 e3                	jne    0x407093
4070b0:	5e                   	pop    %esi
4070b1:	5f                   	pop    %edi
4070b2:	5b                   	pop    %ebx
4070b3:	5d                   	pop    %ebp
4070b4:	c2 04 00             	ret    $0x4
4070b7:	55                   	push   %ebp
4070b8:	8b ec                	mov    %esp,%ebp
4070ba:	56                   	push   %esi
4070bb:	8b 75 08             	mov    0x8(%ebp),%esi
4070be:	8b 46 08             	mov    0x8(%esi),%eax
4070c1:	85 c0                	test   %eax,%eax
4070c3:	74 10                	je     0x4070d5
4070c5:	fe 88 30 41 43 00    	decb   0x434130(%eax)
4070cb:	8a 80 30 41 43 00    	mov    0x434130(%eax),%al
4070d1:	84 c0                	test   %al,%al
4070d3:	7f 1f                	jg     0x4070f4
4070d5:	8b ce                	mov    %esi,%ecx
4070d7:	e8 1b 00 00 00       	call   0x4070f7
4070dc:	8b 76 30             	mov    0x30(%esi),%esi
4070df:	85 f6                	test   %esi,%esi
4070e1:	74 11                	je     0x4070f4
4070e3:	8b ce                	mov    %esi,%ecx
4070e5:	e8 e6 aa ff ff       	call   0x401bd0
4070ea:	6a 08                	push   $0x8
4070ec:	56                   	push   %esi
4070ed:	e8 5a 05 00 00       	call   0x40764c
4070f2:	59                   	pop    %ecx
4070f3:	59                   	pop    %ecx
4070f4:	5e                   	pop    %esi
4070f5:	5d                   	pop    %ebp
4070f6:	c3                   	ret
4070f7:	55                   	push   %ebp
4070f8:	8b ec                	mov    %esp,%ebp
4070fa:	6a ff                	push   $0xffffffff
4070fc:	68 7b 2f 42 00       	push   $0x422f7b
407101:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
407107:	50                   	push   %eax
407108:	56                   	push   %esi
407109:	57                   	push   %edi
40710a:	a1 14 30 43 00       	mov    0x433014,%eax
40710f:	33 c5                	xor    %ebp,%eax
407111:	50                   	push   %eax
407112:	8d 45 f4             	lea    -0xc(%ebp),%eax
407115:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40711b:	8b f9                	mov    %ecx,%edi
40711d:	6a 00                	push   $0x0
40711f:	e8 60 ff ff ff       	call   0x407084
407124:	8b 47 28             	mov    0x28(%edi),%eax
407127:	85 c0                	test   %eax,%eax
407129:	74 12                	je     0x40713d
40712b:	8b 30                	mov    (%eax),%esi
40712d:	6a 10                	push   $0x10
40712f:	50                   	push   %eax
407130:	e8 17 05 00 00       	call   0x40764c
407135:	8b c6                	mov    %esi,%eax