40af99:	50                   	push   %eax
40af9a:	50                   	push   %eax
40af9b:	50                   	push   %eax
40af9c:	50                   	push   %eax
40af9d:	50                   	push   %eax
40af9e:	8b 55 0c             	mov    0xc(%ebp),%edx
40afa1:	8d 49 00             	lea    0x0(%ecx),%ecx
40afa4:	8a 02                	mov    (%edx),%al
40afa6:	0a c0                	or     %al,%al
40afa8:	74 07                	je     0x40afb1
40afaa:	42                   	inc    %edx
40afab:	0f ab 04 24          	bts    %eax,(%esp)
40afaf:	eb f3                	jmp    0x40afa4
40afb1:	8b 75 08             	mov    0x8(%ebp),%esi
40afb4:	83 c9 ff             	or     $0xffffffff,%ecx
40afb7:	90                   	nop
40afb8:	41                   	inc    %ecx
40afb9:	8a 06                	mov    (%esi),%al
40afbb:	0a c0                	or     %al,%al
40afbd:	74 07                	je     0x40afc6
40afbf:	46                   	inc    %esi
40afc0:	0f a3 04 24          	bt     %eax,(%esp)
40afc4:	73 f2                	jae    0x40afb8
40afc6:	8b c1                	mov    %ecx,%eax
40afc8:	83 c4 20             	add    $0x20,%esp
40afcb:	5e                   	pop    %esi
40afcc:	c9                   	leave
40afcd:	c3                   	ret
40afce:	cc                   	int3
40afcf:	cc                   	int3
40afd0:	55                   	push   %ebp
40afd1:	8b ec                	mov    %esp,%ebp
40afd3:	57                   	push   %edi
40afd4:	56                   	push   %esi
40afd5:	53                   	push   %ebx
40afd6:	8b 4d 10             	mov    0x10(%ebp),%ecx
40afd9:	e3 26                	jecxz  0x40b001
40afdb:	8b d9                	mov    %ecx,%ebx
40afdd:	8b 7d 08             	mov    0x8(%ebp),%edi
40afe0:	8b f7                	mov    %edi,%esi
40afe2:	33 c0                	xor    %eax,%eax
40afe4:	f2 ae                	repnz scas %es:(%edi),%al
40afe6:	f7 d9                	neg    %ecx
40afe8:	03 cb                	add    %ebx,%ecx
40afea:	8b fe                	mov    %esi,%edi
40afec:	8b 75 0c             	mov    0xc(%ebp),%esi
40afef:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)
40aff1:	8a 46 ff             	mov    -0x1(%esi),%al
40aff4:	33 c9                	xor    %ecx,%ecx
40aff6:	3a 47 ff             	cmp    -0x1(%edi),%al
40aff9:	77 04                	ja     0x40afff
40affb:	74 04                	je     0x40b001
40affd:	49                   	dec    %ecx
40affe:	49                   	dec    %ecx
40afff:	f7 d1                	not    %ecx
40b001:	8b c1                	mov    %ecx,%eax
40b003:	5b                   	pop    %ebx
40b004:	5e                   	pop    %esi
40b005:	5f                   	pop    %edi
40b006:	c9                   	leave
40b007:	c3                   	ret
40b008:	cc                   	int3
40b009:	cc                   	int3
40b00a:	cc                   	int3
40b00b:	cc                   	int3
40b00c:	cc                   	int3
40b00d:	cc                   	int3
40b00e:	cc                   	int3
40b00f:	cc                   	int3
40b010:	55                   	push   %ebp
40b011:	8b ec                	mov    %esp,%ebp
40b013:	56                   	push   %esi
40b014:	33 c0                	xor    %eax,%eax
40b016:	50                   	push   %eax
40b017:	50                   	push   %eax
40b018:	50                   	push   %eax
40b019:	50                   	push   %eax
40b01a:	50                   	push   %eax
40b01b:	50                   	push   %eax
40b01c:	50                   	push   %eax
40b01d:	50                   	push   %eax
40b01e:	8b 55 0c             	mov    0xc(%ebp),%edx
40b021:	8d 49 00             	lea    0x0(%ecx),%ecx
40b024:	8a 02                	mov    (%edx),%al
40b026:	0a c0                	or     %al,%al
40b028:	74 07                	je     0x40b031
40b02a:	42                   	inc    %edx
40b02b:	0f ab 04 24          	bts    %eax,(%esp)
40b02f:	eb f3                	jmp    0x40b024
40b031:	8b 75 08             	mov    0x8(%ebp),%esi
40b034:	8a 06                	mov    (%esi),%al
40b036:	0a c0                	or     %al,%al
40b038:	74 0a                	je     0x40b044
40b03a:	46                   	inc    %esi
40b03b:	0f a3 04 24          	bt     %eax,(%esp)
40b03f:	73 f3                	jae    0x40b034
40b041:	8d 46 ff             	lea    -0x1(%esi),%eax
40b044:	83 c4 20             	add    $0x20,%esp
40b047:	5e                   	pop    %esi
40b048:	c9                   	leave
40b049:	c3                   	ret
40b04a:	a1 44 1a 41 00       	mov    0x411a44,%eax
40b04f:	85 c0                	test   %eax,%eax
40b051:	74 0f                	je     0x40b062
40b053:	ff 74 24 04          	push   0x4(%esp)
40b057:	ff d0                	call   *%eax
40b059:	85 c0                	test   %eax,%eax
40b05b:	59                   	pop    %ecx
40b05c:	74 04                	je     0x40b062
40b05e:	6a 01                	push   $0x1
40b060:	58                   	pop    %eax
40b061:	c3                   	ret
40b062:	33 c0                	xor    %eax,%eax
40b064:	c3                   	ret
40b065:	8b 44 24 04          	mov    0x4(%esp),%eax
40b069:	3b 05 c0 1e 41 00    	cmp    0x411ec0,%eax
40b06f:	72 03                	jb     0x40b074
40b071:	33 c0                	xor    %eax,%eax
40b073:	c3                   	ret
40b074:	8b c8                	mov    %eax,%ecx
40b076:	83 e0 1f             	and    $0x1f,%eax
40b079:	c1 f9 05             	sar    $0x5,%ecx
40b07c:	8d 04 c0             	lea    (%eax,%eax,8),%eax
40b07f:	8b 0c 8d c0 1d 41 00 	mov    0x411dc0(,%ecx,4),%ecx
40b086:	8a 44 81 04          	mov    0x4(%ecx,%eax,4),%al
40b08a:	83 e0 40             	and    $0x40,%eax
40b08d:	c3                   	ret
40b08e:	cc                   	int3
40b08f:	cc                   	int3
40b090:	53                   	push   %ebx
40b091:	56                   	push   %esi
40b092:	8b 44 24 18          	mov    0x18(%esp),%eax
40b096:	0b c0                	or     %eax,%eax
40b098:	75 18                	jne    0x40b0b2
40b09a:	8b 4c 24 14          	mov    0x14(%esp),%ecx
40b09e:	8b 44 24 10          	mov    0x10(%esp),%eax
40b0a2:	33 d2                	xor    %edx,%edx
40b0a4:	f7 f1                	div    %ecx
40b0a6:	8b d8                	mov    %eax,%ebx
40b0a8:	8b 44 24 0c          	mov    0xc(%esp),%eax
40b0ac:	f7 f1                	div    %ecx
40b0ae:	8b d3                	mov    %ebx,%edx
40b0b0:	eb 41                	jmp    0x40b0f3
40b0b2:	8b c8                	mov    %eax,%ecx
40b0b4:	8b 5c 24 14          	mov    0x14(%esp),%ebx
40b0b8:	8b 54 24 10          	mov    0x10(%esp),%edx
40b0bc:	8b 44 24 0c          	mov    0xc(%esp),%eax
40b0c0:	d1 e9                	shr    $1,%ecx
40b0c2:	d1 db                	rcr    $1,%ebx
40b0c4:	d1 ea                	shr    $1,%edx
40b0c6:	d1 d8                	rcr    $1,%eax
40b0c8:	0b c9                	or     %ecx,%ecx
40b0ca:	75 f4                	jne    0x40b0c0
40b0cc:	f7 f3                	div    %ebx
40b0ce:	8b f0                	mov    %eax,%esi
40b0d0:	f7 64 24 18          	mull   0x18(%esp)
40b0d4:	8b c8                	mov    %eax,%ecx
40b0d6:	8b 44 24 14          	mov    0x14(%esp),%eax
40b0da:	f7 e6                	mul    %esi
40b0dc:	03 d1                	add    %ecx,%edx
40b0de:	72 0e                	jb     0x40b0ee
40b0e0:	3b 54 24 10          	cmp    0x10(%esp),%edx
40b0e4:	77 08                	ja     0x40b0ee
40b0e6:	72 07                	jb     0x40b0ef
40b0e8:	3b 44 24 0c          	cmp    0xc(%esp),%eax
40b0ec:	76 01                	jbe    0x40b0ef
40b0ee:	4e                   	dec    %esi
40b0ef:	33 d2                	xor    %edx,%edx
40b0f1:	8b c6                	mov    %esi,%eax
40b0f3:	5e                   	pop    %esi
40b0f4:	5b                   	pop    %ebx
40b0f5:	c2 10 00             	ret    $0x10
40b0f8:	cc                   	int3
40b0f9:	cc                   	int3
40b0fa:	cc                   	int3
40b0fb:	cc                   	int3
40b0fc:	cc                   	int3
40b0fd:	cc                   	int3
40b0fe:	cc                   	int3
40b0ff:	cc                   	int3
40b100:	53                   	push   %ebx
40b101:	8b 44 24 14          	mov    0x14(%esp),%eax
40b105:	0b c0                	or     %eax,%eax
40b107:	75 18                	jne    0x40b121
40b109:	8b 4c 24 10          	mov    0x10(%esp),%ecx
40b10d:	8b 44 24 0c          	mov    0xc(%esp),%eax
40b111:	33 d2                	xor    %edx,%edx
40b113:	f7 f1                	div    %ecx
40b115:	8b 44 24 08          	mov    0x8(%esp),%eax
40b119:	f7 f1                	div    %ecx
40b11b:	8b c2                	mov    %edx,%eax
40b11d:	33 d2                	xor    %edx,%edx
40b11f:	eb 50                	jmp    0x40b171
40b121:	8b c8                	mov    %eax,%ecx
40b123:	8b 5c 24 10          	mov    0x10(%esp),%ebx
40b127:	8b 54 24 0c          	mov    0xc(%esp),%edx
40b12b:	8b 44 24 08          	mov    0x8(%esp),%eax
40b12f:	d1 e9                	shr    $1,%ecx
40b131:	d1 db                	rcr    $1,%ebx
40b133:	d1 ea                	shr    $1,%edx
40b135:	d1 d8                	rcr    $1,%eax
40b137:	0b c9                	or     %ecx,%ecx
40b139:	75 f4                	jne    0x40b12f
40b13b:	f7 f3                	div    %ebx
40b13d:	8b c8                	mov    %eax,%ecx
40b13f:	f7 64 24 14          	mull   0x14(%esp)
40b143:	91                   	xchg   %eax,%ecx
40b144:	f7 64 24 10          	mull   0x10(%esp)
40b148:	03 d1                	add    %ecx,%edx
40b14a:	72 0e                	jb     0x40b15a
40b14c:	3b 54 24 0c          	cmp    0xc(%esp),%edx
40b150:	77 08                	ja     0x40b15a
40b152:	72 0e                	jb     0x40b162
40b154:	3b 44 24 08          	cmp    0x8(%esp),%eax
40b158:	76 08                	jbe    0x40b162
40b15a:	2b 44 24 10          	sub    0x10(%esp),%eax
40b15e:	1b 54 24 14          	sbb    0x14(%esp),%edx
40b162:	2b 44 24 08          	sub    0x8(%esp),%eax
40b166:	1b 54 24 0c          	sbb    0xc(%esp),%edx
40b16a:	f7 da                	neg    %edx
40b16c:	f7 d8                	neg    %eax
40b16e:	83 da 00             	sbb    $0x0,%edx
40b171:	5b                   	pop    %ebx
40b172:	c2 10 00             	ret    $0x10
40b175:	55                   	push   %ebp
40b176:	8b ec                	mov    %esp,%ebp
40b178:	6a ff                	push   $0xffffffff
40b17a:	68 30 d8 40 00       	push   $0x40d830
40b17f:	68 74 87 40 00       	push   $0x408774
40b184:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40b18a:	50                   	push   %eax
40b18b:	64 89 25 00 00 00 00 	mov    %esp,%fs:0x0
40b192:	83 ec 18             	sub    $0x18,%esp
40b195:	53                   	push   %ebx
40b196:	56                   	push   %esi
40b197:	57                   	push   %edi
40b198:	89 65 e8             	mov    %esp,-0x18(%ebp)
40b19b:	a1 4c 1a 41 00       	mov    0x411a4c,%eax
40b1a0:	33 db                	xor    %ebx,%ebx
40b1a2:	3b c3                	cmp    %ebx,%eax
40b1a4:	75 3e                	jne    0x40b1e4
40b1a6:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40b1a9:	50                   	push   %eax
40b1aa:	6a 01                	push   $0x1
40b1ac:	5e                   	pop    %esi
40b1ad:	56                   	push   %esi
40b1ae:	68 2c d8 40 00       	push   $0x40d82c
40b1b3:	56                   	push   %esi
40b1b4:	ff 15 5c d0 40 00    	call   *0x40d05c
40b1ba:	85 c0                	test   %eax,%eax
40b1bc:	74 04                	je     0x40b1c2
40b1be:	8b c6                	mov    %esi,%eax
40b1c0:	eb 1d                	jmp    0x40b1df
40b1c2:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40b1c5:	50                   	push   %eax
40b1c6:	56                   	push   %esi
40b1c7:	68 28 d8 40 00       	push   $0x40d828
40b1cc:	56                   	push   %esi
40b1cd:	53                   	push   %ebx
40b1ce:	ff 15 60 d0 40 00    	call   *0x40d060
40b1d4:	85 c0                	test   %eax,%eax
40b1d6:	0f 84 ce 00 00 00    	je     0x40b2aa
40b1dc:	6a 02                	push   $0x2
40b1de:	58                   	pop    %eax
40b1df:	a3 4c 1a 41 00       	mov    %eax,0x411a4c
40b1e4:	83 f8 02             	cmp    $0x2,%eax
40b1e7:	75 24                	jne    0x40b20d
40b1e9:	8b 45 1c             	mov    0x1c(%ebp),%eax
40b1ec:	3b c3                	cmp    %ebx,%eax
40b1ee:	75 05                	jne    0x40b1f5
40b1f0:	a1 6c 18 41 00       	mov    0x41186c,%eax
40b1f5:	ff 75 14             	push   0x14(%ebp)
40b1f8:	ff 75 10             	push   0x10(%ebp)
40b1fb:	ff 75 0c             	push   0xc(%ebp)
40b1fe:	ff 75 08             	push   0x8(%ebp)
40b201:	50                   	push   %eax
40b202:	ff 15 60 d0 40 00    	call   *0x40d060
40b208:	e9 9f 00 00 00       	jmp    0x40b2ac
40b20d:	83 f8 01             	cmp    $0x1,%eax
40b210:	0f 85 94 00 00 00    	jne    0x40b2aa
40b216:	39 5d 18             	cmp    %ebx,0x18(%ebp)
40b219:	75 08                	jne    0x40b223
40b21b:	a1 7c 18 41 00       	mov    0x41187c,%eax
40b220:	89 45 18             	mov    %eax,0x18(%ebp)
40b223:	53                   	push   %ebx
40b224:	53                   	push   %ebx
40b225:	ff 75 10             	push   0x10(%ebp)
40b228:	ff 75 0c             	push   0xc(%ebp)
40b22b:	8b 45 20             	mov    0x20(%ebp),%eax
40b22e:	f7 d8                	neg    %eax
40b230:	1b c0                	sbb    %eax,%eax
40b232:	83 e0 08             	and    $0x8,%eax
40b235:	40                   	inc    %eax
40b236:	50                   	push   %eax
40b237:	ff 75 18             	push   0x18(%ebp)
40b23a:	ff 15 d4 d0 40 00    	call   *0x40d0d4
40b240:	89 45 e0             	mov    %eax,-0x20(%ebp)
40b243:	3b c3                	cmp    %ebx,%eax
40b245:	74 63                	je     0x40b2aa
40b247:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40b24a:	8d 3c 00             	lea    (%eax,%eax,1),%edi
40b24d:	8b c7                	mov    %edi,%eax
40b24f:	83 c0 03             	add    $0x3,%eax
40b252:	24 fc                	and    $0xfc,%al
40b254:	e8 e7 0b 00 00       	call   0x40be40
40b259:	89 65 e8             	mov    %esp,-0x18(%ebp)
40b25c:	8b f4                	mov    %esp,%esi
40b25e:	89 75 dc             	mov    %esi,-0x24(%ebp)
40b261:	57                   	push   %edi
40b262:	53                   	push   %ebx
40b263:	56                   	push   %esi
40b264:	e8 77 b3 ff ff       	call   0x4065e0
40b269:	83 c4 0c             	add    $0xc,%esp
40b26c:	eb 0b                	jmp    0x40b279
40b26e:	6a 01                	push   $0x1
40b270:	58                   	pop    %eax
40b271:	c3                   	ret
40b272:	8b 65 e8             	mov    -0x18(%ebp),%esp
40b275:	33 db                	xor    %ebx,%ebx
40b277:	33 f6                	xor    %esi,%esi
40b279:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
40b27d:	3b f3                	cmp    %ebx,%esi
40b27f:	74 29                	je     0x40b2aa
40b281:	ff 75 e0             	push   -0x20(%ebp)
40b284:	56                   	push   %esi
40b285:	ff 75 10             	push   0x10(%ebp)
40b288:	ff 75 0c             	push   0xc(%ebp)
40b28b:	6a 01                	push   $0x1
40b28d:	ff 75 18             	push   0x18(%ebp)
40b290:	ff 15 d4 d0 40 00    	call   *0x40d0d4
40b296:	3b c3                	cmp    %ebx,%eax
40b298:	74 10                	je     0x40b2aa
40b29a:	ff 75 14             	push   0x14(%ebp)
40b29d:	50                   	push   %eax
40b29e:	56                   	push   %esi
40b29f:	ff 75 08             	push   0x8(%ebp)
40b2a2:	ff 15 5c d0 40 00    	call   *0x40d05c
40b2a8:	eb 02                	jmp    0x40b2ac
40b2aa:	33 c0                	xor    %eax,%eax
40b2ac:	8d 65 cc             	lea    -0x34(%ebp),%esp
40b2af:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40b2b2:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40b2b9:	5f                   	pop    %edi
40b2ba:	5e                   	pop    %esi
40b2bb:	5b                   	pop    %ebx
40b2bc:	c9                   	leave
40b2bd:	c3                   	ret
40b2be:	6a 04                	push   $0x4
40b2c0:	6a 00                	push   $0x0
40b2c2:	ff 74 24 0c          	push   0xc(%esp)