40cdef:	ff 75 10             	push   0x10(%ebp)
40cdf2:	ff 75 0c             	push   0xc(%ebp)
40cdf5:	ff 75 08             	push   0x8(%ebp)
40cdf8:	e8 05 00 00 00       	call   0x40ce02
40cdfd:	83 c4 10             	add    $0x10,%esp
40ce00:	5d                   	pop    %ebp
40ce01:	c3                   	ret
40ce02:	8b ff                	mov    %edi,%edi
40ce04:	55                   	push   %ebp
40ce05:	8b ec                	mov    %esp,%ebp
40ce07:	83 ec 14             	sub    $0x14,%esp
40ce0a:	57                   	push   %edi
40ce0b:	8b 7d 08             	mov    0x8(%ebp),%edi
40ce0e:	85 ff                	test   %edi,%edi
40ce10:	75 1a                	jne    0x40ce2c
40ce12:	e8 e4 1f 00 00       	call   0x40edfb
40ce17:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40ce1d:	e8 5f 02 00 00       	call   0x40d081
40ce22:	b8 ff ff ff 7f       	mov    $0x7fffffff,%eax
40ce27:	e9 a6 00 00 00       	jmp    0x40ced2
40ce2c:	53                   	push   %ebx
40ce2d:	8b 5d 0c             	mov    0xc(%ebp),%ebx
40ce30:	85 db                	test   %ebx,%ebx
40ce32:	75 1a                	jne    0x40ce4e
40ce34:	e8 c2 1f 00 00       	call   0x40edfb
40ce39:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40ce3f:	e8 3d 02 00 00       	call   0x40d081
40ce44:	b8 ff ff ff 7f       	mov    $0x7fffffff,%eax
40ce49:	e9 83 00 00 00       	jmp    0x40ced1
40ce4e:	56                   	push   %esi
40ce4f:	8b 75 10             	mov    0x10(%ebp),%esi
40ce52:	85 f6                	test   %esi,%esi
40ce54:	75 04                	jne    0x40ce5a
40ce56:	33 c0                	xor    %eax,%eax
40ce58:	eb 76                	jmp    0x40ced0
40ce5a:	ff 75 14             	push   0x14(%ebp)
40ce5d:	8d 4d ec             	lea    -0x14(%ebp),%ecx
40ce60:	e8 19 ee ff ff       	call   0x40bc7e
40ce65:	8b 45 f0             	mov    -0x10(%ebp),%eax
40ce68:	83 b8 a8 00 00 00 00 	cmpl   $0x0,0xa8(%eax)
40ce6f:	75 0f                	jne    0x40ce80
40ce71:	56                   	push   %esi
40ce72:	53                   	push   %ebx
40ce73:	57                   	push   %edi
40ce74:	e8 af fe ff ff       	call   0x40cd28
40ce79:	83 c4 0c             	add    $0xc,%esp
40ce7c:	8b c8                	mov    %eax,%ecx
40ce7e:	eb 3e                	jmp    0x40cebe
40ce80:	0f b7 07             	movzwl (%edi),%eax
40ce83:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40ce86:	51                   	push   %ecx
40ce87:	50                   	push   %eax
40ce88:	e8 ea fe ff ff       	call   0x40cd77
40ce8d:	0f b7 c0             	movzwl %ax,%eax
40ce90:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40ce93:	89 45 fc             	mov    %eax,-0x4(%ebp)
40ce96:	8d 7f 02             	lea    0x2(%edi),%edi
40ce99:	0f b7 03             	movzwl (%ebx),%eax
40ce9c:	8d 5b 02             	lea    0x2(%ebx),%ebx
40ce9f:	51                   	push   %ecx
40cea0:	50                   	push   %eax
40cea1:	e8 d1 fe ff ff       	call   0x40cd77
40cea6:	8b 55 fc             	mov    -0x4(%ebp),%edx
40cea9:	83 c4 10             	add    $0x10,%esp
40ceac:	0f b7 c0             	movzwl %ax,%eax
40ceaf:	8b ca                	mov    %edx,%ecx
40ceb1:	2b c8                	sub    %eax,%ecx
40ceb3:	75 09                	jne    0x40cebe
40ceb5:	85 d2                	test   %edx,%edx
40ceb7:	74 05                	je     0x40cebe
40ceb9:	83 ee 01             	sub    $0x1,%esi
40cebc:	75 c2                	jne    0x40ce80
40cebe:	80 7d f8 00          	cmpb   $0x0,-0x8(%ebp)
40cec2:	74 0a                	je     0x40cece
40cec4:	8b 45 ec             	mov    -0x14(%ebp),%eax
40cec7:	83 a0 50 03 00 00 fd 	andl   $0xfffffffd,0x350(%eax)
40cece:	8b c1                	mov    %ecx,%eax
40ced0:	5e                   	pop    %esi
40ced1:	5b                   	pop    %ebx
40ced2:	5f                   	pop    %edi
40ced3:	c9                   	leave
40ced4:	c3                   	ret
40ced5:	8b ff                	mov    %edi,%edi
40ced7:	55                   	push   %ebp
40ced8:	8b ec                	mov    %esp,%ebp
40ceda:	81 ec 28 03 00 00    	sub    $0x328,%esp
40cee0:	a1 14 30 43 00       	mov    0x433014,%eax
40cee5:	33 c5                	xor    %ebp,%eax
40cee7:	89 45 fc             	mov    %eax,-0x4(%ebp)
40ceea:	83 7d 08 ff          	cmpl   $0xffffffff,0x8(%ebp)
40ceee:	57                   	push   %edi
40ceef:	74 09                	je     0x40cefa
40cef1:	ff 75 08             	push   0x8(%ebp)
40cef4:	e8 58 b0 ff ff       	call   0x407f51
40cef9:	59                   	pop    %ecx
40cefa:	6a 50                	push   $0x50
40cefc:	8d 85 e0 fc ff ff    	lea    -0x320(%ebp),%eax
40cf02:	6a 00                	push   $0x0
40cf04:	50                   	push   %eax
40cf05:	e8 e6 bf ff ff       	call   0x408ef0
40cf0a:	68 cc 02 00 00       	push   $0x2cc
40cf0f:	8d 85 30 fd ff ff    	lea    -0x2d0(%ebp),%eax
40cf15:	6a 00                	push   $0x0
40cf17:	50                   	push   %eax
40cf18:	e8 d3 bf ff ff       	call   0x408ef0
40cf1d:	8d 85 e0 fc ff ff    	lea    -0x320(%ebp),%eax
40cf23:	83 c4 18             	add    $0x18,%esp
40cf26:	89 85 d8 fc ff ff    	mov    %eax,-0x328(%ebp)
40cf2c:	8d 85 30 fd ff ff    	lea    -0x2d0(%ebp),%eax
40cf32:	89 85 dc fc ff ff    	mov    %eax,-0x324(%ebp)
40cf38:	89 85 e0 fd ff ff    	mov    %eax,-0x220(%ebp)
40cf3e:	89 8d dc fd ff ff    	mov    %ecx,-0x224(%ebp)
40cf44:	89 95 d8 fd ff ff    	mov    %edx,-0x228(%ebp)
40cf4a:	89 9d d4 fd ff ff    	mov    %ebx,-0x22c(%ebp)
40cf50:	89 b5 d0 fd ff ff    	mov    %esi,-0x230(%ebp)
40cf56:	89 bd cc fd ff ff    	mov    %edi,-0x234(%ebp)
40cf5c:	66 8c 95 f8 fd ff ff 	data16 mov %ss,-0x208(%ebp)
40cf63:	66 8c 8d ec fd ff ff 	data16 mov %cs,-0x214(%ebp)
40cf6a:	66 8c 9d c8 fd ff ff 	data16 mov %ds,-0x238(%ebp)
40cf71:	66 8c 85 c4 fd ff ff 	data16 mov %es,-0x23c(%ebp)
40cf78:	66 8c a5 c0 fd ff ff 	data16 mov %fs,-0x240(%ebp)
40cf7f:	66 8c ad bc fd ff ff 	data16 mov %gs,-0x244(%ebp)
40cf86:	9c                   	pushf
40cf87:	8f 85 f0 fd ff ff    	pop    -0x210(%ebp)
40cf8d:	8b 45 04             	mov    0x4(%ebp),%eax
40cf90:	89 85 e8 fd ff ff    	mov    %eax,-0x218(%ebp)
40cf96:	8d 45 04             	lea    0x4(%ebp),%eax
40cf99:	89 85 f4 fd ff ff    	mov    %eax,-0x20c(%ebp)
40cf9f:	c7 85 30 fd ff ff 01 	movl   $0x10001,-0x2d0(%ebp)
40cfa6:	00 01 00
40cfa9:	8b 40 fc             	mov    -0x4(%eax),%eax
40cfac:	89 85 e4 fd ff ff    	mov    %eax,-0x21c(%ebp)
40cfb2:	8b 45 0c             	mov    0xc(%ebp),%eax
40cfb5:	89 85 e0 fc ff ff    	mov    %eax,-0x320(%ebp)
40cfbb:	8b 45 10             	mov    0x10(%ebp),%eax
40cfbe:	89 85 e4 fc ff ff    	mov    %eax,-0x31c(%ebp)
40cfc4:	8b 45 04             	mov    0x4(%ebp),%eax
40cfc7:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
40cfcd:	ff 15 88 40 42 00    	call   *0x424088
40cfd3:	6a 00                	push   $0x0
40cfd5:	8b f8                	mov    %eax,%edi
40cfd7:	ff 15 64 40 42 00    	call   *0x424064
40cfdd:	8d 85 d8 fc ff ff    	lea    -0x328(%ebp),%eax
40cfe3:	50                   	push   %eax
40cfe4:	ff 15 60 40 42 00    	call   *0x424060
40cfea:	85 c0                	test   %eax,%eax
40cfec:	75 13                	jne    0x40d001
40cfee:	85 ff                	test   %edi,%edi
40cff0:	75 0f                	jne    0x40d001
40cff2:	83 7d 08 ff          	cmpl   $0xffffffff,0x8(%ebp)
40cff6:	74 09                	je     0x40d001
40cff8:	ff 75 08             	push   0x8(%ebp)
40cffb:	e8 51 af ff ff       	call   0x407f51
40d000:	59                   	pop    %ecx
40d001:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d004:	33 cd                	xor    %ebp,%ecx
40d006:	5f                   	pop    %edi
40d007:	e8 00 a4 ff ff       	call   0x40740c
40d00c:	c9                   	leave
40d00d:	c3                   	ret
40d00e:	8b ff                	mov    %edi,%edi
40d010:	55                   	push   %ebp
40d011:	8b ec                	mov    %esp,%ebp
40d013:	8b 45 08             	mov    0x8(%ebp),%eax
40d016:	a3 28 46 43 00       	mov    %eax,0x434628
40d01b:	5d                   	pop    %ebp
40d01c:	c3                   	ret
40d01d:	8b ff                	mov    %edi,%edi
40d01f:	55                   	push   %ebp
40d020:	8b ec                	mov    %esp,%ebp
40d022:	56                   	push   %esi
40d023:	e8 02 73 00 00       	call   0x41432a
40d028:	85 c0                	test   %eax,%eax
40d02a:	74 29                	je     0x40d055
40d02c:	8b b0 5c 03 00 00    	mov    0x35c(%eax),%esi
40d032:	85 f6                	test   %esi,%esi
40d034:	74 1f                	je     0x40d055
40d036:	ff 75 18             	push   0x18(%ebp)
40d039:	ff 75 14             	push   0x14(%ebp)
40d03c:	ff 75 10             	push   0x10(%ebp)
40d03f:	ff 75 0c             	push   0xc(%ebp)
40d042:	ff 75 08             	push   0x8(%ebp)
40d045:	8b ce                	mov    %esi,%ecx
40d047:	ff 15 54 41 42 00    	call   *0x424154
40d04d:	ff d6                	call   *%esi
40d04f:	83 c4 14             	add    $0x14,%esp
40d052:	5e                   	pop    %esi
40d053:	5d                   	pop    %ebp
40d054:	c3                   	ret
40d055:	ff 75 18             	push   0x18(%ebp)
40d058:	8b 35 14 30 43 00    	mov    0x433014,%esi
40d05e:	8b ce                	mov    %esi,%ecx
40d060:	ff 75 14             	push   0x14(%ebp)
40d063:	33 35 28 46 43 00    	xor    0x434628,%esi
40d069:	83 e1 1f             	and    $0x1f,%ecx
40d06c:	ff 75 10             	push   0x10(%ebp)
40d06f:	d3 ce                	ror    %cl,%esi
40d071:	ff 75 0c             	push   0xc(%ebp)
40d074:	ff 75 08             	push   0x8(%ebp)
40d077:	85 f6                	test   %esi,%esi
40d079:	75 ca                	jne    0x40d045
40d07b:	e8 2e 00 00 00       	call   0x40d0ae
40d080:	cc                   	int3
40d081:	33 c0                	xor    %eax,%eax
40d083:	50                   	push   %eax
40d084:	50                   	push   %eax
40d085:	50                   	push   %eax
40d086:	50                   	push   %eax
40d087:	50                   	push   %eax
40d088:	e8 90 ff ff ff       	call   0x40d01d
40d08d:	83 c4 14             	add    $0x14,%esp
40d090:	c3                   	ret
40d091:	8b ff                	mov    %edi,%edi
40d093:	56                   	push   %esi
40d094:	33 f6                	xor    %esi,%esi
40d096:	56                   	push   %esi
40d097:	56                   	push   %esi
40d098:	56                   	push   %esi
40d099:	56                   	push   %esi
40d09a:	56                   	push   %esi
40d09b:	e8 7d ff ff ff       	call   0x40d01d
40d0a0:	83 c4 14             	add    $0x14,%esp
40d0a3:	56                   	push   %esi
40d0a4:	56                   	push   %esi
40d0a5:	56                   	push   %esi
40d0a6:	56                   	push   %esi
40d0a7:	56                   	push   %esi
40d0a8:	e8 01 00 00 00       	call   0x40d0ae
40d0ad:	cc                   	int3
40d0ae:	6a 17                	push   $0x17
40d0b0:	ff 15 70 40 42 00    	call   *0x424070
40d0b6:	85 c0                	test   %eax,%eax
40d0b8:	74 05                	je     0x40d0bf
40d0ba:	6a 05                	push   $0x5
40d0bc:	59                   	pop    %ecx
40d0bd:	cd 29                	int    $0x29
40d0bf:	56                   	push   %esi
40d0c0:	6a 01                	push   $0x1
40d0c2:	be 17 04 00 c0       	mov    $0xc0000417,%esi
40d0c7:	56                   	push   %esi
40d0c8:	6a 02                	push   $0x2
40d0ca:	e8 06 fe ff ff       	call   0x40ced5
40d0cf:	83 c4 0c             	add    $0xc,%esp
40d0d2:	56                   	push   %esi
40d0d3:	ff 15 68 40 42 00    	call   *0x424068
40d0d9:	50                   	push   %eax
40d0da:	ff 15 6c 40 42 00    	call   *0x42406c
40d0e0:	5e                   	pop    %esi
40d0e1:	c3                   	ret
40d0e2:	8b ff                	mov    %edi,%edi
40d0e4:	56                   	push   %esi
40d0e5:	57                   	push   %edi
40d0e6:	bf 30 46 43 00       	mov    $0x434630,%edi
40d0eb:	33 f6                	xor    %esi,%esi
40d0ed:	6a 00                	push   $0x0
40d0ef:	68 a0 0f 00 00       	push   $0xfa0
40d0f4:	57                   	push   %edi
40d0f5:	e8 98 65 00 00       	call   0x413692
40d0fa:	85 c0                	test   %eax,%eax
40d0fc:	74 18                	je     0x40d116
40d0fe:	ff 05 80 47 43 00    	incl   0x434780
40d104:	83 c6 18             	add    $0x18,%esi
40d107:	83 c7 18             	add    $0x18,%edi
40d10a:	81 fe 50 01 00 00    	cmp    $0x150,%esi
40d110:	72 db                	jb     0x40d0ed
40d112:	b0 01                	mov    $0x1,%al
40d114:	eb 0a                	jmp    0x40d120
40d116:	6a 00                	push   $0x0
40d118:	e8 1d 00 00 00       	call   0x40d13a
40d11d:	59                   	pop    %ecx
40d11e:	32 c0                	xor    %al,%al
40d120:	5f                   	pop    %edi
40d121:	5e                   	pop    %esi
40d122:	c3                   	ret
40d123:	8b ff                	mov    %edi,%edi
40d125:	55                   	push   %ebp
40d126:	8b ec                	mov    %esp,%ebp
40d128:	6b 45 08 18          	imul   $0x18,0x8(%ebp),%eax
40d12c:	05 30 46 43 00       	add    $0x434630,%eax
40d131:	50                   	push   %eax
40d132:	ff 15 38 40 42 00    	call   *0x424038
40d138:	5d                   	pop    %ebp
40d139:	c3                   	ret
40d13a:	8b ff                	mov    %edi,%edi
40d13c:	56                   	push   %esi
40d13d:	8b 35 80 47 43 00    	mov    0x434780,%esi
40d143:	85 f6                	test   %esi,%esi
40d145:	74 20                	je     0x40d167
40d147:	6b c6 18             	imul   $0x18,%esi,%eax
40d14a:	57                   	push   %edi
40d14b:	8d b8 18 46 43 00    	lea    0x434618(%eax),%edi
40d151:	57                   	push   %edi
40d152:	ff 15 44 40 42 00    	call   *0x424044
40d158:	ff 0d 80 47 43 00    	decl   0x434780
40d15e:	83 ef 18             	sub    $0x18,%edi
40d161:	83 ee 01             	sub    $0x1,%esi
40d164:	75 eb                	jne    0x40d151
40d166:	5f                   	pop    %edi
40d167:	b0 01                	mov    $0x1,%al
40d169:	5e                   	pop    %esi
40d16a:	c3                   	ret
40d16b:	8b ff                	mov    %edi,%edi
40d16d:	55                   	push   %ebp
40d16e:	8b ec                	mov    %esp,%ebp
40d170:	6b 45 08 18          	imul   $0x18,0x8(%ebp),%eax
40d174:	05 30 46 43 00       	add    $0x434630,%eax
40d179:	50                   	push   %eax
40d17a:	ff 15 3c 40 42 00    	call   *0x42403c
40d180:	5d                   	pop    %ebp
40d181:	c3                   	ret
40d182:	e8 66 66 00 00       	call   0x4137ed
40d187:	6a 04                	push   $0x4
40d189:	e8 95 ff ff ff       	call   0x40d123
40d18e:	59                   	pop    %ecx
40d18f:	c3                   	ret
40d190:	6a 04                	push   $0x4
40d192:	e8 d4 ff ff ff       	call   0x40d16b
40d197:	59                   	pop    %ecx
40d198:	c3                   	ret
40d199:	8b ff                	mov    %edi,%edi
40d19b:	55                   	push   %ebp
40d19c:	8b ec                	mov    %esp,%ebp
40d19e:	56                   	push   %esi
40d19f:	8b 75 08             	mov    0x8(%ebp),%esi
40d1a2:	85 f6                	test   %esi,%esi
40d1a4:	75 15                	jne    0x40d1bb
40d1a6:	e8 50 1c 00 00       	call   0x40edfb
40d1ab:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d1b1:	e8 cb fe ff ff       	call   0x40d081
40d1b6:	83 c8 ff             	or     $0xffffffff,%eax
40d1b9:	eb 52                	jmp    0x40d20d
40d1bb:	8b 46 0c             	mov    0xc(%esi),%eax
40d1be:	57                   	push   %edi
40d1bf:	83 cf ff             	or     $0xffffffff,%edi
40d1c2:	90                   	nop
40d1c3:	c1 e8 0d             	shr    $0xd,%eax
40d1c6:	a8 01                	test   $0x1,%al
40d1c8:	74 39                	je     0x40d203
40d1ca:	56                   	push   %esi
40d1cb:	e8 01 03 00 00       	call   0x40d4d1
40d1d0:	56                   	push   %esi
40d1d1:	8b f8                	mov    %eax,%edi
40d1d3:	e8 58 67 00 00       	call   0x413930
40d1d8:	56                   	push   %esi
40d1d9:	e8 b0 7d 00 00       	call   0x414f8e
40d1de:	50                   	push   %eax
40d1df:	e8 9b 89 00 00       	call   0x415b7f
40d1e4:	83 c4 10             	add    $0x10,%esp
40d1e7:	85 c0                	test   %eax,%eax
40d1e9:	79 05                	jns    0x40d1f0