40900a:	cc                   	int3
40900b:	cc                   	int3
40900c:	cc                   	int3
40900d:	cc                   	int3
40900e:	cc                   	int3
40900f:	cc                   	int3
409010:	8b ff                	mov    %edi,%edi
409012:	55                   	push   %ebp
409013:	8b ec                	mov    %esp,%ebp
409015:	83 ec 10             	sub    $0x10,%esp
409018:	53                   	push   %ebx
409019:	33 db                	xor    %ebx,%ebx
40901b:	56                   	push   %esi
40901c:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40901f:	ff 15 e0 b1 41 00    	call   *0x41b1e0
409025:	8b f0                	mov    %eax,%esi
409027:	85 f6                	test   %esi,%esi
409029:	0f 84 8c 00 00 00    	je     0x4090bb
40902f:	6a 1f                	push   $0x1f
409031:	8d 55 fc             	lea    -0x4(%ebp),%edx
409034:	59                   	pop    %ecx
409035:	e8 ab 69 00 00       	call   0x40f9e5
40903a:	85 c0                	test   %eax,%eax
40903c:	74 7d                	je     0x4090bb
40903e:	39 5d fc             	cmp    %ebx,-0x4(%ebp)
409041:	74 78                	je     0x4090bb
409043:	6a 02                	push   $0x2
409045:	8d 45 f8             	lea    -0x8(%ebp),%eax
409048:	50                   	push   %eax
409049:	ff 75 08             	push   0x8(%ebp)
40904c:	ff 15 e4 b1 41 00    	call   *0x41b1e4
409052:	85 c0                	test   %eax,%eax
409054:	74 10                	je     0x409066
409056:	b8 00 30 00 00       	mov    $0x3000,%eax
40905b:	66 3b 45 f8          	cmp    -0x8(%ebp),%ax
40905f:	b8 00 04 00 00       	mov    $0x400,%eax
409064:	75 05                	jne    0x40906b
409066:	b8 01 04 00 00       	mov    $0x401,%eax
40906b:	ff 75 fc             	push   -0x4(%ebp)
40906e:	68 ff 00 00 00       	push   $0xff
409073:	50                   	push   %eax
409074:	53                   	push   %ebx
409075:	56                   	push   %esi
409076:	ff 15 e8 b1 41 00    	call   *0x41b1e8
40907c:	0f bf 45 14          	movswl 0x14(%ebp),%eax
409080:	89 45 f0             	mov    %eax,-0x10(%ebp)
409083:	0f bf 45 16          	movswl 0x16(%ebp),%eax
409087:	89 45 f4             	mov    %eax,-0xc(%ebp)
40908a:	8d 45 f0             	lea    -0x10(%ebp),%eax
40908d:	50                   	push   %eax
40908e:	ff 75 08             	push   0x8(%ebp)
409091:	ff 15 ec b1 41 00    	call   *0x41b1ec
409097:	53                   	push   %ebx
409098:	ff 75 08             	push   0x8(%ebp)
40909b:	53                   	push   %ebx
40909c:	ff 75 f4             	push   -0xc(%ebp)
40909f:	ff 75 f0             	push   -0x10(%ebp)
4090a2:	53                   	push   %ebx
4090a3:	56                   	push   %esi
4090a4:	ff 15 f0 b1 41 00    	call   *0x41b1f0
4090aa:	56                   	push   %esi
4090ab:	ff 15 f4 b1 41 00    	call   *0x41b1f4
4090b1:	ff 75 fc             	push   -0x4(%ebp)
4090b4:	ff 15 24 b3 41 00    	call   *0x41b324
4090ba:	59                   	pop    %ecx
4090bb:	5e                   	pop    %esi
4090bc:	33 c0                	xor    %eax,%eax
4090be:	5b                   	pop    %ebx
4090bf:	c9                   	leave
4090c0:	c2 10 00             	ret    $0x10
4090c3:	8b ff                	mov    %edi,%edi
4090c5:	55                   	push   %ebp
4090c6:	8b ec                	mov    %esp,%ebp
4090c8:	83 ec 14             	sub    $0x14,%esp
4090cb:	53                   	push   %ebx
4090cc:	8b da                	mov    %edx,%ebx
4090ce:	8b c1                	mov    %ecx,%eax
4090d0:	89 5d ec             	mov    %ebx,-0x14(%ebp)
4090d3:	89 45 fc             	mov    %eax,-0x4(%ebp)
4090d6:	8d 53 ff             	lea    -0x1(%ebx),%edx
4090d9:	89 55 f0             	mov    %edx,-0x10(%ebp)
4090dc:	85 d2                	test   %edx,%edx
4090de:	74 77                	je     0x409157
4090e0:	56                   	push   %esi
4090e1:	33 f6                	xor    %esi,%esi
4090e3:	46                   	inc    %esi
4090e4:	57                   	push   %edi
4090e5:	89 75 f4             	mov    %esi,-0xc(%ebp)
4090e8:	8b f8                	mov    %eax,%edi
4090ea:	8b ce                	mov    %esi,%ecx
4090ec:	3b f3                	cmp    %ebx,%esi
4090ee:	73 56                	jae    0x409146
4090f0:	8b 75 fc             	mov    -0x4(%ebp),%esi
4090f3:	0f b7 17             	movzwl (%edi),%edx
4090f6:	33 c0                	xor    %eax,%eax
4090f8:	66 3b 14 45 90 3a 40 	cmp    0x403a90(,%eax,2),%dx
4090ff:	00
409100:	74 06                	je     0x409108
409102:	40                   	inc    %eax
409103:	83 f8 29             	cmp    $0x29,%eax
409106:	72 f0                	jb     0x4090f8
409108:	0f b7 1c 4e          	movzwl (%esi,%ecx,2),%ebx
40910c:	33 d2                	xor    %edx,%edx
40910e:	89 5d f8             	mov    %ebx,-0x8(%ebp)
409111:	8b 5d ec             	mov    -0x14(%ebp),%ebx
409114:	8b 75 f8             	mov    -0x8(%ebp),%esi
409117:	66 3b 34 55 90 3a 40 	cmp    0x403a90(,%edx,2),%si
40911e:	00
40911f:	74 06                	je     0x409127
409121:	42                   	inc    %edx
409122:	83 fa 29             	cmp    $0x29,%edx
409125:	72 f0                	jb     0x409117
409127:	8b 75 fc             	mov    -0x4(%ebp),%esi
40912a:	3b c2                	cmp    %edx,%eax
40912c:	76 0d                	jbe    0x40913b
40912e:	0f b7 07             	movzwl (%edi),%eax
409131:	8b 55 f8             	mov    -0x8(%ebp),%edx
409134:	66 89 17             	mov    %dx,(%edi)
409137:	66 89 04 4e          	mov    %ax,(%esi,%ecx,2)
40913b:	41                   	inc    %ecx
40913c:	3b cb                	cmp    %ebx,%ecx
40913e:	72 b3                	jb     0x4090f3
409140:	8b 75 f4             	mov    -0xc(%ebp),%esi
409143:	8b 55 f0             	mov    -0x10(%ebp),%edx
409146:	46                   	inc    %esi
409147:	83 c7 02             	add    $0x2,%edi
40914a:	83 ea 01             	sub    $0x1,%edx
40914d:	89 75 f4             	mov    %esi,-0xc(%ebp)
409150:	89 55 f0             	mov    %edx,-0x10(%ebp)
409153:	75 95                	jne    0x4090ea
409155:	5f                   	pop    %edi
409156:	5e                   	pop    %esi
409157:	5b                   	pop    %ebx
409158:	c9                   	leave
409159:	c3                   	ret
40915a:	cc                   	int3
40915b:	cc                   	int3
40915c:	cc                   	int3
40915d:	cc                   	int3
40915e:	cc                   	int3
40915f:	cc                   	int3
409160:	8b ff                	mov    %edi,%edi
409162:	55                   	push   %ebp
409163:	8b ec                	mov    %esp,%ebp
409165:	56                   	push   %esi
409166:	8b f1                	mov    %ecx,%esi
409168:	83 7e 0c 00          	cmpl   $0x0,0xc(%esi)
40916c:	c7 06 00 16 40 00    	movl   $0x401600,(%esi)
409172:	74 0d                	je     0x409181
409174:	ff 76 0c             	push   0xc(%esi)
409177:	ff 15 80 b0 41 00    	call   *0x41b080
40917d:	83 66 0c 00          	andl   $0x0,0xc(%esi)
409181:	8b 4e 14             	mov    0x14(%esi),%ecx
409184:	85 c9                	test   %ecx,%ecx
409186:	74 0a                	je     0x409192
409188:	51                   	push   %ecx
409189:	e8 26 00 00 00       	call   0x4091b4
40918e:	83 66 14 00          	andl   $0x0,0x14(%esi)
409192:	83 25 0c 98 41 00 00 	andl   $0x0,0x41980c
409199:	f6 45 08 01          	testb  $0x1,0x8(%ebp)
40919d:	c7 06 90 15 40 00    	movl   $0x401590,(%esi)
4091a3:	74 08                	je     0x4091ad
4091a5:	56                   	push   %esi
4091a6:	ff 15 cc b2 41 00    	call   *0x41b2cc
4091ac:	59                   	pop    %ecx
4091ad:	8b c6                	mov    %esi,%eax
4091af:	5e                   	pop    %esi
4091b0:	5d                   	pop    %ebp
4091b1:	c2 04 00             	ret    $0x4
4091b4:	8b ff                	mov    %edi,%edi
4091b6:	56                   	push   %esi
4091b7:	8b f1                	mov    %ecx,%esi
4091b9:	8b 86 44 01 00 00    	mov    0x144(%esi),%eax
4091bf:	85 c0                	test   %eax,%eax
4091c1:	74 0e                	je     0x4091d1
4091c3:	50                   	push   %eax
4091c4:	ff 15 80 b0 41 00    	call   *0x41b080
4091ca:	83 a6 44 01 00 00 00 	andl   $0x0,0x144(%esi)
4091d1:	8b 86 48 01 00 00    	mov    0x148(%esi),%eax
4091d7:	85 c0                	test   %eax,%eax
4091d9:	74 0e                	je     0x4091e9
4091db:	50                   	push   %eax
4091dc:	ff 15 80 b0 41 00    	call   *0x41b080
4091e2:	83 a6 48 01 00 00 00 	andl   $0x0,0x148(%esi)
4091e9:	56                   	push   %esi
4091ea:	ff 15 cc b2 41 00    	call   *0x41b2cc
4091f0:	59                   	pop    %ecx
4091f1:	8b c6                	mov    %esi,%eax
4091f3:	5e                   	pop    %esi
4091f4:	c2 04 00             	ret    $0x4
4091f7:	cc                   	int3
4091f8:	cc                   	int3
4091f9:	cc                   	int3
4091fa:	cc                   	int3
4091fb:	cc                   	int3
4091fc:	cc                   	int3
4091fd:	cc                   	int3
4091fe:	cc                   	int3
4091ff:	cc                   	int3
409200:	8b ff                	mov    %edi,%edi
409202:	55                   	push   %ebp
409203:	8b ec                	mov    %esp,%ebp
409205:	83 e4 f8             	and    $0xfffffff8,%esp
409208:	81 ec b4 00 00 00    	sub    $0xb4,%esp
40920e:	a1 18 51 41 00       	mov    0x415118,%eax
409213:	33 c4                	xor    %esp,%eax
409215:	89 84 24 b0 00 00 00 	mov    %eax,0xb0(%esp)
40921c:	53                   	push   %ebx
40921d:	56                   	push   %esi
40921e:	57                   	push   %edi
40921f:	8b f9                	mov    %ecx,%edi
409221:	89 7c 24 10          	mov    %edi,0x10(%esp)
409225:	8b 4f 04             	mov    0x4(%edi),%ecx
409228:	e8 77 6a 00 00       	call   0x40fca4
40922d:	68 08 02 00 00       	push   $0x208
409232:	e8 55 a3 00 00       	call   0x41358c
409237:	89 44 24 18          	mov    %eax,0x18(%esp)
40923b:	59                   	pop    %ecx
40923c:	85 c0                	test   %eax,%eax
40923e:	0f 84 6b 01 00 00    	je     0x4093af
409244:	8d 44 24 48          	lea    0x48(%esp),%eax
409248:	50                   	push   %eax
409249:	68 0b 04 00 00       	push   $0x40b
40924e:	ff 77 04             	push   0x4(%edi)
409251:	ff 15 d0 b1 41 00    	call   *0x41b1d0
409257:	50                   	push   %eax
409258:	ff 15 f8 b1 41 00    	call   *0x41b1f8
40925e:	68 4c 01 00 00       	push   $0x14c
409263:	e8 2f a1 00 00       	call   0x413397
409268:	8b f0                	mov    %eax,%esi
40926a:	33 db                	xor    %ebx,%ebx
40926c:	89 74 24 1c          	mov    %esi,0x1c(%esp)
409270:	59                   	pop    %ecx
409271:	85 f6                	test   %esi,%esi
409273:	74 1d                	je     0x409292
409275:	68 40 01 00 00       	push   $0x140
40927a:	53                   	push   %ebx
40927b:	56                   	push   %esi
40927c:	89 9e 44 01 00 00    	mov    %ebx,0x144(%esi)
409282:	89 9e 48 01 00 00    	mov    %ebx,0x148(%esi)
409288:	e8 d4 ae 00 00       	call   0x414161
40928d:	83 c4 0c             	add    $0xc,%esp
409290:	eb 02                	jmp    0x409294
409292:	8b f3                	mov    %ebx,%esi
409294:	89 77 14             	mov    %esi,0x14(%edi)
409297:	85 f6                	test   %esi,%esi
409299:	74 25                	je     0x4092c0
40929b:	6a 05                	push   $0x5
40929d:	8d 44 24 4c          	lea    0x4c(%esp),%eax
4092a1:	8b ce                	mov    %esi,%ecx
4092a3:	50                   	push   %eax
4092a4:	ff 77 04             	push   0x4(%edi)
4092a7:	e8 08 5a 00 00       	call   0x40ecb4
4092ac:	c7 05 24 98 41 00 10 	movl   $0x409010,0x419824
4092b3:	90 40 00
4092b6:	c7 05 20 98 41 00 d0 	movl   $0x408ed0,0x419820
4092bd:	8e 40 00
4092c0:	68 ed 03 00 00       	push   $0x3ed
4092c5:	ff 77 04             	push   0x4(%edi)
4092c8:	ff 15 d0 b1 41 00    	call   *0x41b1d0
4092ce:	8b f8                	mov    %eax,%edi
4092d0:	8d 44 24 48          	lea    0x48(%esp),%eax
4092d4:	50                   	push   %eax
4092d5:	57                   	push   %edi
4092d6:	ff 15 f8 b1 41 00    	call   *0x41b1f8
4092dc:	6a 02                	push   $0x2
4092de:	58                   	pop    %eax
4092df:	50                   	push   %eax
4092e0:	c7 44 24 20 0b 00 00 	movl   $0xb,0x20(%esp)
4092e7:	00
4092e8:	89 44 24 24          	mov    %eax,0x24(%esp)
4092ec:	ff 15 fc b1 41 00    	call   *0x41b1fc
4092f2:	8b f0                	mov    %eax,%esi
4092f4:	e8 7c 6a 00 00       	call   0x40fd75
4092f9:	0f af c6             	imul   %esi,%eax
4092fc:	6a 60                	push   $0x60
4092fe:	59                   	pop    %ecx
4092ff:	89 5c 24 30          	mov    %ebx,0x30(%esp)
409303:	99                   	cltd
409304:	f7 f9                	idiv   %ecx
409306:	8b 4c 24 50          	mov    0x50(%esp),%ecx
40930a:	2b c8                	sub    %eax,%ecx
40930c:	8d 44 24 1c          	lea    0x1c(%esp),%eax
409310:	2b 4c 24 48          	sub    0x48(%esp),%ecx
409314:	50                   	push   %eax
409315:	53                   	push   %ebx
409316:	68 61 10 00 00       	push   $0x1061
40931b:	83 e9 04             	sub    $0x4,%ecx
40931e:	57                   	push   %edi
40931f:	89 4c 24 34          	mov    %ecx,0x34(%esp)
409323:	ff 15 d8 b1 41 00    	call   *0x41b1d8
409329:	8d 4c 24 58          	lea    0x58(%esp),%ecx
40932d:	e8 9a ee ff ff       	call   0x4081cc
409332:	e8 3e 6a 00 00       	call   0x40fd75
409337:	6b c0 f7             	imul   $0xfffffff7,%eax,%eax
40933a:	6a 48                	push   $0x48
40933c:	59                   	pop    %ecx
40933d:	99                   	cltd
40933e:	f7 f9                	idiv   %ecx
409340:	89 44 24 58          	mov    %eax,0x58(%esp)
409344:	8d 44 24 58          	lea    0x58(%esp),%eax
409348:	50                   	push   %eax
409349:	ff 15 84 b0 41 00    	call   *0x41b084
40934f:	8b 74 24 10          	mov    0x10(%esp),%esi
409353:	6a 01                	push   $0x1
409355:	50                   	push   %eax
409356:	6a 30                	push   $0x30
409358:	57                   	push   %edi
409359:	89 46 0c             	mov    %eax,0xc(%esi)
40935c:	ff 15 d8 b1 41 00    	call   *0x41b1d8
409362:	39 5e 10             	cmp    %ebx,0x10(%esi)
409365:	74 31                	je     0x409398
409367:	e8 78 5e 00 00       	call   0x40f1e4
40936c:	68 a4 00 00 00       	push   $0xa4
409371:	53                   	push   %ebx
409372:	68 30 51 41 00       	push   $0x415130
409377:	e8 e5 ad 00 00       	call   0x414161
40937c:	83 c4 0c             	add    $0xc,%esp
40937f:	8b ce                	mov    %esi,%ecx
409381:	53                   	push   %ebx
409382:	68 ed 03 00 00       	push   $0x3ed
409387:	e8 e0 38 00 00       	call   0x40cc6c
40938c:	53                   	push   %ebx
40938d:	6a 01                	push   $0x1
40938f:	8b ce                	mov    %esi,%ecx
409391:	e8 d6 38 00 00       	call   0x40cc6c
409396:	eb 0c                	jmp    0x4093a4
409398:	8b ce                	mov    %esi,%ecx
40939a:	e8 fc 02 00 00       	call   0x40969b
40939f:	e8 40 5e 00 00       	call   0x40f1e4
4093a4:	ff 74 24 14          	push   0x14(%esp)
4093a8:	ff 15 24 b3 41 00    	call   *0x41b324
4093ae:	59                   	pop    %ecx
4093af:	8b 8c 24 bc 00 00 00 	mov    0xbc(%esp),%ecx
4093b6:	5f                   	pop    %edi
4093b7:	5e                   	pop    %esi
4093b8:	5b                   	pop    %ebx
4093b9:	33 cc                	xor    %esp,%ecx
4093bb:	e8 20 a5 00 00       	call   0x4138e0
4093c0:	8b e5                	mov    %ebp,%esp
4093c2:	5d                   	pop    %ebp
4093c3:	c2 04 00             	ret    $0x4
4093c6:	cc                   	int3
4093c7:	cc                   	int3
4093c8:	cc                   	int3
4093c9:	cc                   	int3
4093ca:	cc                   	int3
4093cb:	cc                   	int3
4093cc:	cc                   	int3
4093cd:	cc                   	int3