403e5f:	66 89 0e             	mov    %cx,(%esi)
403e62:	8d 76 02             	lea    0x2(%esi),%esi
403e65:	83 ea 01             	sub    $0x1,%edx
403e68:	75 ee                	jne    0x403e58
403e6a:	b0 01                	mov    $0x1,%al
403e6c:	5e                   	pop    %esi
403e6d:	c3                   	ret
403e6e:	8b ff                	mov    %edi,%edi
403e70:	55                   	push   %ebp
403e71:	8b ec                	mov    %esp,%ebp
403e73:	81 ec a8 00 00 00    	sub    $0xa8,%esp
403e79:	53                   	push   %ebx
403e7a:	56                   	push   %esi
403e7b:	8b d9                	mov    %ecx,%ebx
403e7d:	33 c0                	xor    %eax,%eax
403e7f:	57                   	push   %edi
403e80:	6a 50                	push   $0x50
403e82:	50                   	push   %eax
403e83:	89 43 04             	mov    %eax,0x4(%ebx)
403e86:	89 43 08             	mov    %eax,0x8(%ebx)
403e89:	8d 45 ac             	lea    -0x54(%ebp),%eax
403e8c:	50                   	push   %eax
403e8d:	c7 03 34 10 40 00    	movl   $0x401034,(%ebx)
403e93:	e8 13 6a 00 00       	call   0x40a8ab
403e98:	8b 45 08             	mov    0x8(%ebp),%eax
403e9b:	8d 75 ac             	lea    -0x54(%ebp),%esi
403e9e:	83 c4 0c             	add    $0xc,%esp
403ea1:	89 45 b0             	mov    %eax,-0x50(%ebp)
403ea4:	8d bd 5c ff ff ff    	lea    -0xa4(%ebp),%edi
403eaa:	8d 85 5c ff ff ff    	lea    -0xa4(%ebp),%eax
403eb0:	6a 14                	push   $0x14
403eb2:	59                   	pop    %ecx
403eb3:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
403eb5:	8d 4b 0c             	lea    0xc(%ebx),%ecx
403eb8:	33 ff                	xor    %edi,%edi
403eba:	50                   	push   %eax
403ebb:	89 79 50             	mov    %edi,0x50(%ecx)
403ebe:	89 79 54             	mov    %edi,0x54(%ecx)
403ec1:	e8 ba ee ff ff       	call   0x402d80
403ec6:	6b 35 ec d4 40 00 44 	imul   $0x44,0x40d4ec,%esi
403ecd:	a1 ec d4 40 00       	mov    0x40d4ec,%eax
403ed2:	89 7b 64             	mov    %edi,0x64(%ebx)
403ed5:	89 7b 68             	mov    %edi,0x68(%ebx)
403ed8:	c7 03 34 10 40 00    	movl   $0x401034,(%ebx)
403ede:	81 c6 08 d6 40 00    	add    $0x40d608,%esi
403ee4:	40                   	inc    %eax
403ee5:	83 e0 03             	and    $0x3,%eax
403ee8:	57                   	push   %edi
403ee9:	a3 ec d4 40 00       	mov    %eax,0x40d4ec
403eee:	8d 46 04             	lea    0x4(%esi),%eax
403ef1:	50                   	push   %eax
403ef2:	6a 10                	push   $0x10
403ef4:	6a 01                	push   $0x1
403ef6:	ff 15 e8 e1 40 00    	call   *0x40e1e8
403efc:	0f b7 c0             	movzwl %ax,%eax
403eff:	5f                   	pop    %edi
403f00:	89 06                	mov    %eax,(%esi)
403f02:	8b c3                	mov    %ebx,%eax
403f04:	5e                   	pop    %esi
403f05:	5b                   	pop    %ebx
403f06:	c9                   	leave
403f07:	c2 04 00             	ret    $0x4
403f0a:	cc                   	int3
403f0b:	cc                   	int3
403f0c:	cc                   	int3
403f0d:	cc                   	int3
403f0e:	cc                   	int3
403f0f:	cc                   	int3
403f10:	e9 fb f0 ff ff       	jmp    0x403010
403f15:	8b ff                	mov    %edi,%edi
403f17:	55                   	push   %ebp
403f18:	8b ec                	mov    %esp,%ebp
403f1a:	8b 45 08             	mov    0x8(%ebp),%eax
403f1d:	56                   	push   %esi
403f1e:	8b f1                	mov    %ecx,%esi
403f20:	85 c0                	test   %eax,%eax
403f22:	7e 08                	jle    0x403f2c
403f24:	0f b7 c0             	movzwl %ax,%eax
403f27:	0d 00 00 07 80       	or     $0x80070000,%eax
403f2c:	50                   	push   %eax
403f2d:	e8 3c ff ff ff       	call   0x403e6e
403f32:	c7 06 34 10 40 00    	movl   $0x401034,(%esi)
403f38:	8b c6                	mov    %esi,%eax
403f3a:	5e                   	pop    %esi
403f3b:	5d                   	pop    %ebp
403f3c:	c2 04 00             	ret    $0x4
403f3f:	8b ff                	mov    %edi,%edi
403f41:	55                   	push   %ebp
403f42:	8b ec                	mov    %esp,%ebp
403f44:	83 ec 6c             	sub    $0x6c,%esp
403f47:	ff 15 44 e0 40 00    	call   *0x40e044
403f4d:	50                   	push   %eax
403f4e:	8d 4d 94             	lea    -0x6c(%ebp),%ecx
403f51:	e8 bf ff ff ff       	call   0x403f15
403f56:	68 f0 c6 40 00       	push   $0x40c6f0
403f5b:	8d 45 94             	lea    -0x6c(%ebp),%eax
403f5e:	50                   	push   %eax
403f5f:	e8 d6 6b 00 00       	call   0x40ab3a
403f64:	cc                   	int3
403f65:	cc                   	int3
403f66:	cc                   	int3
403f67:	cc                   	int3
403f68:	cc                   	int3
403f69:	cc                   	int3
403f6a:	cc                   	int3
403f6b:	cc                   	int3
403f6c:	cc                   	int3
403f6d:	cc                   	int3
403f6e:	cc                   	int3
403f6f:	cc                   	int3
403f70:	8b ff                	mov    %edi,%edi
403f72:	55                   	push   %ebp
403f73:	8b ec                	mov    %esp,%ebp
403f75:	56                   	push   %esi
403f76:	ff 75 08             	push   0x8(%ebp)
403f79:	8b f1                	mov    %ecx,%esi
403f7b:	e8 20 f1 ff ff       	call   0x4030a0
403f80:	c7 06 34 10 40 00    	movl   $0x401034,(%esi)
403f86:	8b c6                	mov    %esi,%eax
403f88:	5e                   	pop    %esi
403f89:	5d                   	pop    %ebp
403f8a:	c2 04 00             	ret    $0x4
403f8d:	8b ff                	mov    %edi,%edi
403f8f:	55                   	push   %ebp
403f90:	8b ec                	mov    %esp,%ebp
403f92:	6a 00                	push   $0x0
403f94:	51                   	push   %ecx
403f95:	52                   	push   %edx
403f96:	6a 2b                	push   $0x2b
403f98:	ff 75 0c             	push   0xc(%ebp)
403f9b:	ff 75 08             	push   0x8(%ebp)
403f9e:	ff 15 dc e1 40 00    	call   *0x40e1dc
403fa4:	83 c4 18             	add    $0x18,%esp
403fa7:	5d                   	pop    %ebp
403fa8:	c2 08 00             	ret    $0x8
403fab:	8b ff                	mov    %edi,%edi
403fad:	55                   	push   %ebp
403fae:	8b ec                	mov    %esp,%ebp
403fb0:	6a 00                	push   $0x0
403fb2:	6a 04                	push   $0x4
403fb4:	8d 45 10             	lea    0x10(%ebp),%eax
403fb7:	50                   	push   %eax
403fb8:	51                   	push   %ecx
403fb9:	52                   	push   %edx
403fba:	6a 2b                	push   $0x2b
403fbc:	ff 75 0c             	push   0xc(%ebp)
403fbf:	ff 75 08             	push   0x8(%ebp)
403fc2:	ff 15 dc e1 40 00    	call   *0x40e1dc
403fc8:	83 c4 20             	add    $0x20,%esp
403fcb:	5d                   	pop    %ebp
403fcc:	c2 0c 00             	ret    $0xc
403fcf:	8b ff                	mov    %edi,%edi
403fd1:	56                   	push   %esi
403fd2:	8b f1                	mov    %ecx,%esi
403fd4:	57                   	push   %edi
403fd5:	8b fa                	mov    %edx,%edi
403fd7:	83 fe 03             	cmp    $0x3,%esi
403fda:	7c 51                	jl     0x40402d
403fdc:	8b 4f 04             	mov    0x4(%edi),%ecx
403fdf:	ba e0 d5 40 00       	mov    $0x40d5e0,%edx
403fe4:	e8 39 fe ff ff       	call   0x403e22
403fe9:	84 c0                	test   %al,%al
403feb:	74 40                	je     0x40402d
403fed:	68 5c d5 40 00       	push   $0x40d55c
403ff2:	68 94 17 40 00       	push   $0x401794
403ff7:	ff 77 08             	push   0x8(%edi)
403ffa:	e8 7f 69 00 00       	call   0x40a97e
403fff:	83 c4 0c             	add    $0xc,%esp
404002:	83 f8 01             	cmp    $0x1,%eax
404005:	75 26                	jne    0x40402d
404007:	83 fe 03             	cmp    $0x3,%esi
40400a:	7e 1d                	jle    0x404029
40400c:	8b 4f 0c             	mov    0xc(%edi),%ecx
40400f:	ba d0 d5 40 00       	mov    $0x40d5d0,%edx
404014:	e8 09 fe ff ff       	call   0x403e22
404019:	84 c0                	test   %al,%al
40401b:	74 10                	je     0x40402d
40401d:	c6 05 60 d5 40 00 01 	movb   $0x1,0x40d560
404024:	83 fe 04             	cmp    $0x4,%esi
404027:	7f 04                	jg     0x40402d
404029:	b0 01                	mov    $0x1,%al
40402b:	eb 02                	jmp    0x40402f
40402d:	32 c0                	xor    %al,%al
40402f:	5f                   	pop    %edi
404030:	5e                   	pop    %esi
404031:	c3                   	ret
404032:	8b ff                	mov    %edi,%edi
404034:	55                   	push   %ebp
404035:	8b ec                	mov    %esp,%ebp
404037:	83 e4 f8             	and    $0xfffffff8,%esp
40403a:	83 ec 70             	sub    $0x70,%esp
40403d:	33 c0                	xor    %eax,%eax
40403f:	56                   	push   %esi
404040:	57                   	push   %edi
404041:	8b f1                	mov    %ecx,%esi
404043:	50                   	push   %eax
404044:	50                   	push   %eax
404045:	88 06                	mov    %al,(%esi)
404047:	ff 15 18 e0 40 00    	call   *0x40e018
40404d:	8b f8                	mov    %eax,%edi
40404f:	81 ff 06 01 01 80    	cmp    $0x80010106,%edi
404055:	74 07                	je     0x40405e
404057:	85 ff                	test   %edi,%edi
404059:	78 0b                	js     0x404066
40405b:	c6 06 01             	movb   $0x1,(%esi)
40405e:	5f                   	pop    %edi
40405f:	8b c6                	mov    %esi,%eax
404061:	5e                   	pop    %esi
404062:	8b e5                	mov    %ebp,%esp
404064:	5d                   	pop    %ebp
404065:	c3                   	ret
404066:	8b 0d 00 d0 40 00    	mov    0x40d000,%ecx
40406c:	81 f9 00 d0 40 00    	cmp    $0x40d000,%ecx
404072:	74 19                	je     0x40408d
404074:	80 79 19 02          	cmpb   $0x2,0x19(%ecx)
404078:	72 13                	jb     0x40408d
40407a:	ff 71 14             	push   0x14(%ecx)
40407d:	ba 3c 18 40 00       	mov    $0x40183c,%edx
404082:	ff 71 10             	push   0x10(%ecx)
404085:	6a 0a                	push   $0xa
404087:	59                   	pop    %ecx
404088:	e8 00 ff ff ff       	call   0x403f8d
40408d:	57                   	push   %edi
40408e:	8d 4c 24 10          	lea    0x10(%esp),%ecx
404092:	e8 d7 fd ff ff       	call   0x403e6e
404097:	68 a4 c6 40 00       	push   $0x40c6a4
40409c:	8d 44 24 10          	lea    0x10(%esp),%eax
4040a0:	50                   	push   %eax
4040a1:	e8 94 6a 00 00       	call   0x40ab3a
4040a6:	cc                   	int3
4040a7:	80 39 00             	cmpb   $0x0,(%ecx)
4040aa:	74 06                	je     0x4040b2
4040ac:	ff 25 24 e0 40 00    	jmp    *0x40e024
4040b2:	c3                   	ret
4040b3:	8b ff                	mov    %edi,%edi
4040b5:	55                   	push   %ebp
4040b6:	8b ec                	mov    %esp,%ebp
4040b8:	81 ec 0c 02 00 00    	sub    $0x20c,%esp
4040be:	a1 50 d1 40 00       	mov    0x40d150,%eax
4040c3:	33 c5                	xor    %ebp,%eax
4040c5:	89 45 fc             	mov    %eax,-0x4(%ebp)
4040c8:	56                   	push   %esi
4040c9:	57                   	push   %edi
4040ca:	be 04 01 00 00       	mov    $0x104,%esi
4040cf:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
4040d5:	56                   	push   %esi
4040d6:	50                   	push   %eax
4040d7:	6a 00                	push   $0x0
4040d9:	ff 15 8c e0 40 00    	call   *0x40e08c
4040df:	85 c0                	test   %eax,%eax
4040e1:	0f 84 9b 00 00 00    	je     0x404182
4040e7:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
4040ed:	6a 5c                	push   $0x5c
4040ef:	50                   	push   %eax
4040f0:	ff 15 98 e1 40 00    	call   *0x40e198
4040f6:	59                   	pop    %ecx
4040f7:	59                   	pop    %ecx
4040f8:	85 c0                	test   %eax,%eax
4040fa:	0f 84 82 00 00 00    	je     0x404182
404100:	83 c0 02             	add    $0x2,%eax
404103:	8d 95 f4 fd ff ff    	lea    -0x20c(%ebp),%edx
404109:	8b c8                	mov    %eax,%ecx
40410b:	2b ca                	sub    %edx,%ecx
40410d:	d1 f9                	sar    $1,%ecx
40410f:	68 9c 17 40 00       	push   $0x40179c
404114:	2b f1                	sub    %ecx,%esi
404116:	56                   	push   %esi
404117:	50                   	push   %eax
404118:	ff 15 70 e1 40 00    	call   *0x40e170
40411e:	83 c4 0c             	add    $0xc,%esp
404121:	85 c0                	test   %eax,%eax
404123:	75 5d                	jne    0x404182
404125:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
40412b:	50                   	push   %eax
40412c:	ff 15 98 e0 40 00    	call   *0x40e098
404132:	8b f0                	mov    %eax,%esi
404134:	85 f6                	test   %esi,%esi
404136:	74 4a                	je     0x404182
404138:	68 c0 17 40 00       	push   $0x4017c0
40413d:	56                   	push   %esi
40413e:	ff 15 80 e0 40 00    	call   *0x40e080
404144:	68 e0 17 40 00       	push   $0x4017e0
404149:	56                   	push   %esi
40414a:	8b f8                	mov    %eax,%edi
40414c:	ff 15 80 e0 40 00    	call   *0x40e080
404152:	a3 00 d6 40 00       	mov    %eax,0x40d600
404157:	85 ff                	test   %edi,%edi
404159:	74 20                	je     0x40417b
40415b:	85 c0                	test   %eax,%eax
40415d:	74 1c                	je     0x40417b
40415f:	68 d0 d5 40 00       	push   $0x40d5d0
404164:	8b cf                	mov    %edi,%ecx
404166:	ff 15 f0 e1 40 00    	call   *0x40e1f0
40416c:	ff d7                	call   *%edi
40416e:	a3 68 d5 40 00       	mov    %eax,0x40d568
404173:	85 c0                	test   %eax,%eax
404175:	74 04                	je     0x40417b
404177:	8b c6                	mov    %esi,%eax
404179:	eb 09                	jmp    0x404184
40417b:	56                   	push   %esi
40417c:	ff 15 84 e0 40 00    	call   *0x40e084
404182:	33 c0                	xor    %eax,%eax
404184:	8b 4d fc             	mov    -0x4(%ebp),%ecx
404187:	5f                   	pop    %edi
404188:	33 cd                	xor    %ebp,%ecx
40418a:	5e                   	pop    %esi
40418b:	e8 d0 5c 00 00       	call   0x409e60
404190:	c9                   	leave
404191:	c3                   	ret
404192:	8b ff                	mov    %edi,%edi
404194:	55                   	push   %ebp
404195:	8b ec                	mov    %esp,%ebp
404197:	51                   	push   %ecx
404198:	51                   	push   %ecx
404199:	a1 50 d1 40 00       	mov    0x40d150,%eax
40419e:	33 c5                	xor    %ebp,%eax
4041a0:	89 45 fc             	mov    %eax,-0x4(%ebp)
4041a3:	53                   	push   %ebx
4041a4:	56                   	push   %esi
4041a5:	8b 75 0c             	mov    0xc(%ebp),%esi
4041a8:	8d 45 f8             	lea    -0x8(%ebp),%eax
4041ab:	57                   	push   %edi
4041ac:	6a 04                	push   $0x4
4041ae:	50                   	push   %eax
4041af:	33 ff                	xor    %edi,%edi
4041b1:	6a 36                	push   $0x36
4041b3:	47                   	inc    %edi
4041b4:	6a ff                	push   $0xffffffff
4041b6:	89 7d f8             	mov    %edi,-0x8(%ebp)
4041b9:	ff 15 e4 e1 40 00    	call   *0x40e1e4
4041bf:	85 c0                	test   %eax,%eax
4041c1:	78 39                	js     0x4041fc
4041c3:	57                   	push   %edi
4041c4:	ff 15 40 e0 40 00    	call   *0x40e040
4041ca:	33 db                	xor    %ebx,%ebx
4041cc:	53                   	push   %ebx
4041cd:	53                   	push   %ebx
4041ce:	57                   	push   %edi
4041cf:	53                   	push   %ebx
4041d0:	ff 15 60 e0 40 00    	call   *0x40e060
4041d6:	85 c0                	test   %eax,%eax
4041d8:	74 22                	je     0x4041fc
4041da:	8b 4d 08             	mov    0x8(%ebp),%ecx
4041dd:	8b d6                	mov    %esi,%edx
4041df:	e8 eb fd ff ff       	call   0x403fcf
4041e4:	84 c0                	test   %al,%al
4041e6:	75 07                	jne    0x4041ef
4041e8:	b8 57 00 07 80       	mov    $0x80070057,%eax
4041ed:	eb 12                	jmp    0x404201
4041ef:	88 5d f8             	mov    %bl,-0x8(%ebp)