48011e:	83 d3 ff             	adc    $0xffffffff,%ebx
480121:	6a 00                	push   $0x0
480123:	6a 18                	push   $0x18
480125:	53                   	push   %ebx
480126:	57                   	push   %edi
480127:	e8 64 59 01 00       	call   0x495a90
48012c:	8b c8                	mov    %eax,%ecx
48012e:	85 d2                	test   %edx,%edx
480130:	7c 26                	jl     0x480158
480132:	7f 04                	jg     0x480138
480134:	85 c9                	test   %ecx,%ecx
480136:	74 16                	je     0x48014e
480138:	8b 46 18             	mov    0x18(%esi),%eax
48013b:	03 c1                	add    %ecx,%eax
48013d:	01 4e 0c             	add    %ecx,0xc(%esi)
480140:	6a 07                	push   $0x7
480142:	99                   	cltd
480143:	5b                   	pop    %ebx
480144:	f7 fb                	idiv   %ebx
480146:	01 4e 1c             	add    %ecx,0x1c(%esi)
480149:	89 56 18             	mov    %edx,0x18(%esi)
48014c:	eb 4a                	jmp    0x480198
48014e:	85 d2                	test   %edx,%edx
480150:	7f 46                	jg     0x480198
480152:	7c 04                	jl     0x480158
480154:	85 c9                	test   %ecx,%ecx
480156:	73 40                	jae    0x480198
480158:	8b 46 18             	mov    0x18(%esi),%eax
48015b:	83 c0 07             	add    $0x7,%eax
48015e:	03 c1                	add    %ecx,%eax
480160:	99                   	cltd
480161:	6a 07                	push   $0x7
480163:	5b                   	pop    %ebx
480164:	f7 fb                	idiv   %ebx
480166:	8b 46 0c             	mov    0xc(%esi),%eax
480169:	89 56 18             	mov    %edx,0x18(%esi)
48016c:	03 c1                	add    %ecx,%eax
48016e:	8b 56 1c             	mov    0x1c(%esi),%edx
480171:	03 d1                	add    %ecx,%edx
480173:	89 46 0c             	mov    %eax,0xc(%esi)
480176:	85 c0                	test   %eax,%eax
480178:	7f 1b                	jg     0x480195
48017a:	83 c0 1f             	add    $0x1f,%eax
48017d:	c7 46 10 0b 00 00 00 	movl   $0xb,0x10(%esi)
480184:	ff 4e 14             	decl   0x14(%esi)
480187:	89 46 0c             	mov    %eax,0xc(%esi)
48018a:	8d 82 6d 01 00 00    	lea    0x16d(%edx),%eax
480190:	89 46 1c             	mov    %eax,0x1c(%esi)
480193:	eb 03                	jmp    0x480198
480195:	89 56 1c             	mov    %edx,0x1c(%esi)
480198:	33 c0                	xor    %eax,%eax
48019a:	e9 ee fd ff ff       	jmp    0x47ff8d
48019f:	53                   	push   %ebx
4801a0:	53                   	push   %ebx
4801a1:	53                   	push   %ebx
4801a2:	53                   	push   %ebx
4801a3:	53                   	push   %ebx
4801a4:	e8 a5 94 ff ff       	call   0x47964e
4801a9:	cc                   	int3
4801aa:	8b ff                	mov    %edi,%edi
4801ac:	55                   	push   %ebp
4801ad:	8b ec                	mov    %esp,%ebp
4801af:	5d                   	pop    %ebp
4801b0:	e9 64 fd ff ff       	jmp    0x47ff19
4801b5:	6a 10                	push   $0x10
4801b7:	68 08 17 4c 00       	push   $0x4c1708
4801bc:	e8 7f a5 fe ff       	call   0x46a740
4801c1:	8b 75 08             	mov    0x8(%ebp),%esi
4801c4:	85 f6                	test   %esi,%esi
4801c6:	75 14                	jne    0x4801dc
4801c8:	e8 68 9d ff ff       	call   0x479f35
4801cd:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4801d3:	e8 49 94 ff ff       	call   0x479621
4801d8:	33 c0                	xor    %eax,%eax
4801da:	eb 65                	jmp    0x480241
4801dc:	8b 7d 0c             	mov    0xc(%ebp),%edi
4801df:	85 ff                	test   %edi,%edi
4801e1:	74 e5                	je     0x4801c8
4801e3:	33 db                	xor    %ebx,%ebx
4801e5:	66 39 1f             	cmp    %bx,(%edi)
4801e8:	74 de                	je     0x4801c8
4801ea:	66 39 1e             	cmp    %bx,(%esi)
4801ed:	75 0d                	jne    0x4801fc
4801ef:	e8 41 9d ff ff       	call   0x479f35
4801f4:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4801fa:	eb dc                	jmp    0x4801d8
4801fc:	8d 45 e4             	lea    -0x1c(%ebp),%eax
4801ff:	50                   	push   %eax
480200:	e8 c0 7b 00 00       	call   0x487dc5
480205:	59                   	pop    %ecx
480206:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)
480209:	75 0d                	jne    0x480218
48020b:	e8 25 9d ff ff       	call   0x479f35
480210:	c7 00 18 00 00 00    	movl   $0x18,(%eax)
480216:	eb c0                	jmp    0x4801d8
480218:	89 5d e0             	mov    %ebx,-0x20(%ebp)
48021b:	89 5d fc             	mov    %ebx,-0x4(%ebp)
48021e:	ff 75 e4             	push   -0x1c(%ebp)
480221:	ff 75 10             	push   0x10(%ebp)
480224:	57                   	push   %edi
480225:	56                   	push   %esi
480226:	e8 2d b1 00 00       	call   0x48b358
48022b:	83 c4 10             	add    $0x10,%esp
48022e:	8b f0                	mov    %eax,%esi
480230:	89 75 e0             	mov    %esi,-0x20(%ebp)
480233:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
48023a:	e8 15 00 00 00       	call   0x480254
48023f:	8b c6                	mov    %esi,%eax
480241:	8b 4d f0             	mov    -0x10(%ebp),%ecx
480244:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
48024b:	59                   	pop    %ecx
48024c:	5f                   	pop    %edi
48024d:	5e                   	pop    %esi
48024e:	5b                   	pop    %ebx
48024f:	c9                   	leave
480250:	c3                   	ret
480251:	8b 75 e0             	mov    -0x20(%ebp),%esi
480254:	85 f6                	test   %esi,%esi
480256:	75 09                	jne    0x480261
480258:	ff 75 e4             	push   -0x1c(%ebp)
48025b:	e8 ce 7b 00 00       	call   0x487e2e
480260:	59                   	pop    %ecx
480261:	ff 75 e4             	push   -0x1c(%ebp)
480264:	e8 97 9b ff ff       	call   0x479e00
480269:	59                   	pop    %ecx
48026a:	c3                   	ret
48026b:	8b ff                	mov    %edi,%edi
48026d:	55                   	push   %ebp
48026e:	8b ec                	mov    %esp,%ebp
480270:	56                   	push   %esi
480271:	8b 75 08             	mov    0x8(%ebp),%esi
480274:	85 f6                	test   %esi,%esi
480276:	75 11                	jne    0x480289
480278:	e8 b8 9c ff ff       	call   0x479f35
48027d:	6a 16                	push   $0x16
48027f:	5e                   	pop    %esi
480280:	89 30                	mov    %esi,(%eax)
480282:	e8 9a 93 ff ff       	call   0x479621
480287:	eb 24                	jmp    0x4802ad
480289:	68 80 00 00 00       	push   $0x80
48028e:	ff 75 10             	push   0x10(%ebp)
480291:	ff 75 0c             	push   0xc(%ebp)
480294:	e8 1c ff ff ff       	call   0x4801b5
480299:	83 c4 0c             	add    $0xc,%esp
48029c:	89 06                	mov    %eax,(%esi)
48029e:	85 c0                	test   %eax,%eax
4802a0:	75 09                	jne    0x4802ab
4802a2:	e8 8e 9c ff ff       	call   0x479f35
4802a7:	8b 30                	mov    (%eax),%esi
4802a9:	eb 02                	jmp    0x4802ad
4802ab:	33 f6                	xor    %esi,%esi
4802ad:	8b c6                	mov    %esi,%eax
4802af:	5e                   	pop    %esi
4802b0:	5d                   	pop    %ebp
4802b1:	c3                   	ret
4802b2:	8b ff                	mov    %edi,%edi
4802b4:	55                   	push   %ebp
4802b5:	8b ec                	mov    %esp,%ebp
4802b7:	8b 4d 08             	mov    0x8(%ebp),%ecx
4802ba:	8b c1                	mov    %ecx,%eax
4802bc:	25 03 00 00 80       	and    $0x80000003,%eax
4802c1:	79 07                	jns    0x4802ca
4802c3:	48                   	dec    %eax
4802c4:	83 c8 fc             	or     $0xfffffffc,%eax
4802c7:	83 c0 01             	add    $0x1,%eax
4802ca:	75 12                	jne    0x4802de
4802cc:	56                   	push   %esi
4802cd:	6a 64                	push   $0x64
4802cf:	8b c1                	mov    %ecx,%eax
4802d1:	5e                   	pop    %esi
4802d2:	99                   	cltd
4802d3:	f7 fe                	idiv   %esi
4802d5:	5e                   	pop    %esi
4802d6:	85 d2                	test   %edx,%edx
4802d8:	74 04                	je     0x4802de
4802da:	b0 01                	mov    $0x1,%al
4802dc:	5d                   	pop    %ebp
4802dd:	c3                   	ret
4802de:	8d 81 6c 07 00 00    	lea    0x76c(%ecx),%eax
4802e4:	b9 90 01 00 00       	mov    $0x190,%ecx
4802e9:	99                   	cltd
4802ea:	f7 f9                	idiv   %ecx
4802ec:	f7 da                	neg    %edx
4802ee:	1a d2                	sbb    %dl,%dl
4802f0:	8d 42 01             	lea    0x1(%edx),%eax
4802f3:	5d                   	pop    %ebp
4802f4:	c3                   	ret
4802f5:	8b ff                	mov    %edi,%edi
4802f7:	55                   	push   %ebp
4802f8:	8b ec                	mov    %esp,%ebp
4802fa:	56                   	push   %esi
4802fb:	8b 75 08             	mov    0x8(%ebp),%esi
4802fe:	57                   	push   %edi
4802ff:	ff 75 10             	push   0x10(%ebp)
480302:	8b 7d 0c             	mov    0xc(%ebp),%edi
480305:	57                   	push   %edi
480306:	56                   	push   %esi
480307:	e8 32 00 00 00       	call   0x48033e
48030c:	83 c4 0c             	add    $0xc,%esp
48030f:	85 c0                	test   %eax,%eax
480311:	75 22                	jne    0x480335
480313:	4e                   	dec    %esi
480314:	56                   	push   %esi
480315:	e8 98 ff ff ff       	call   0x4802b2
48031a:	2b 7d 10             	sub    0x10(%ebp),%edi
48031d:	0f b6 c0             	movzbl %al,%eax
480320:	83 c7 07             	add    $0x7,%edi
480323:	05 6d 01 00 00       	add    $0x16d,%eax
480328:	50                   	push   %eax
480329:	57                   	push   %edi
48032a:	56                   	push   %esi
48032b:	e8 0e 00 00 00       	call   0x48033e
480330:	83 c4 10             	add    $0x10,%esp
480333:	eb 05                	jmp    0x48033a
480335:	7f 03                	jg     0x48033a
480337:	33 c0                	xor    %eax,%eax
480339:	40                   	inc    %eax
48033a:	5f                   	pop    %edi
48033b:	5e                   	pop    %esi
48033c:	5d                   	pop    %ebp
48033d:	c3                   	ret
48033e:	8b ff                	mov    %edi,%edi
480340:	55                   	push   %ebp
480341:	8b ec                	mov    %esp,%ebp
480343:	53                   	push   %ebx
480344:	56                   	push   %esi
480345:	8b 75 0c             	mov    0xc(%ebp),%esi
480348:	57                   	push   %edi
480349:	6a 07                	push   $0x7
48034b:	59                   	pop    %ecx
48034c:	8d 46 06             	lea    0x6(%esi),%eax
48034f:	99                   	cltd
480350:	f7 f9                	idiv   %ecx
480352:	8b 45 10             	mov    0x10(%ebp),%eax
480355:	2b c2                	sub    %edx,%eax
480357:	03 c1                	add    %ecx,%eax
480359:	99                   	cltd
48035a:	f7 f9                	idiv   %ecx
48035c:	ff 75 08             	push   0x8(%ebp)
48035f:	8b d8                	mov    %eax,%ebx
480361:	e8 4c ff ff ff       	call   0x4802b2
480366:	2b 75 10             	sub    0x10(%ebp),%esi
480369:	59                   	pop    %ecx
48036a:	0f b6 c8             	movzbl %al,%ecx
48036d:	6a 07                	push   $0x7
48036f:	8d 86 73 01 00 00    	lea    0x173(%esi),%eax
480375:	8b 7d 10             	mov    0x10(%ebp),%edi
480378:	99                   	cltd
480379:	2b f9                	sub    %ecx,%edi
48037b:	5e                   	pop    %esi
48037c:	f7 fe                	idiv   %esi
48037e:	8d 81 6d 01 00 00    	lea    0x16d(%ecx),%eax
480384:	8b f2                	mov    %edx,%esi
480386:	03 c6                	add    %esi,%eax
480388:	6a 07                	push   $0x7
48038a:	99                   	cltd
48038b:	59                   	pop    %ecx
48038c:	f7 f9                	idiv   %ecx
48038e:	81 ff 6c 01 00 00    	cmp    $0x16c,%edi
480394:	7c 05                	jl     0x48039b
480396:	83 fa 02             	cmp    $0x2,%edx
480399:	74 1a                	je     0x4803b5
48039b:	81 ff 6b 01 00 00    	cmp    $0x16b,%edi
4803a1:	7c 05                	jl     0x4803a8
4803a3:	83 fa 03             	cmp    $0x3,%edx
4803a6:	74 0d                	je     0x4803b5
4803a8:	81 ff 6a 01 00 00    	cmp    $0x16a,%edi
4803ae:	7c 0a                	jl     0x4803ba
4803b0:	83 fa 04             	cmp    $0x4,%edx
4803b3:	75 05                	jne    0x4803ba
4803b5:	83 c8 ff             	or     $0xffffffff,%eax
4803b8:	eb 14                	jmp    0x4803ce
4803ba:	83 fe 02             	cmp    $0x2,%esi
4803bd:	74 0c                	je     0x4803cb
4803bf:	83 fe 03             	cmp    $0x3,%esi
4803c2:	74 07                	je     0x4803cb
4803c4:	8b c3                	mov    %ebx,%eax
4803c6:	83 fe 04             	cmp    $0x4,%esi
4803c9:	75 03                	jne    0x4803ce
4803cb:	8d 43 01             	lea    0x1(%ebx),%eax
4803ce:	5f                   	pop    %edi
4803cf:	5e                   	pop    %esi
4803d0:	5b                   	pop    %ebx
4803d1:	5d                   	pop    %ebp
4803d2:	c3                   	ret
4803d3:	8b ff                	mov    %edi,%edi
4803d5:	55                   	push   %ebp
4803d6:	8b ec                	mov    %esp,%ebp
4803d8:	56                   	push   %esi
4803d9:	ff 75 10             	push   0x10(%ebp)
4803dc:	8b 75 08             	mov    0x8(%ebp),%esi
4803df:	ff 75 0c             	push   0xc(%ebp)
4803e2:	56                   	push   %esi
4803e3:	e8 56 ff ff ff       	call   0x48033e
4803e8:	83 c4 0c             	add    $0xc,%esp
4803eb:	85 c0                	test   %eax,%eax
4803ed:	75 05                	jne    0x4803f4
4803ef:	8d 46 ff             	lea    -0x1(%esi),%eax
4803f2:	eb 07                	jmp    0x4803fb
4803f4:	8b c6                	mov    %esi,%eax
4803f6:	7f 03                	jg     0x4803fb
4803f8:	8d 46 01             	lea    0x1(%esi),%eax
4803fb:	5e                   	pop    %esi
4803fc:	5d                   	pop    %ebp
4803fd:	c3                   	ret
4803fe:	8b ff                	mov    %edi,%edi
480400:	55                   	push   %ebp
480401:	8b ec                	mov    %esp,%ebp
480403:	51                   	push   %ecx
480404:	51                   	push   %ecx
480405:	8b 55 0c             	mov    0xc(%ebp),%edx
480408:	53                   	push   %ebx
480409:	56                   	push   %esi
48040a:	0f b7 c2             	movzwl %dx,%eax
48040d:	0f b7 f2             	movzwl %dx,%esi
480410:	57                   	push   %edi
480411:	83 f8 5a             	cmp    $0x5a,%eax
480414:	0f 86 62 05 00 00    	jbe    0x48097c
48041a:	83 f8 6e             	cmp    $0x6e,%eax
48041d:	0f 87 e9 02 00 00    	ja     0x48070c
480423:	0f 84 d3 02 00 00    	je     0x4806fc
480429:	83 f8 65             	cmp    $0x65,%eax
48042c:	0f 86 bd 00 00 00    	jbe    0x4804ef
480432:	83 e8 67             	sub    $0x67,%eax
480435:	74 7a                	je     0x4804b1
480437:	83 e8 01             	sub    $0x1,%eax
48043a:	0f 84 3d 02 00 00    	je     0x48067d
480440:	48                   	dec    %eax
480441:	83 e8 01             	sub    $0x1,%eax
480444:	74 40                	je     0x480486
480446:	83 e8 03             	sub    $0x3,%eax
480449:	0f 85 69 02 00 00    	jne    0x4806b8
48044f:	8b 45 10             	mov    0x10(%ebp),%eax
480452:	8b 48 10             	mov    0x10(%eax),%ecx
480455:	83 f9 0b             	cmp    $0xb,%ecx
480458:	0f 87 4a 02 00 00    	ja     0x4806a8
48045e:	80 7d 20 00          	cmpb   $0x0,0x20(%ebp)
480462:	0f 95 c0             	setne  %al
480465:	fe c8                	dec    %al
480467:	24 30                	and    $0x30,%al
480469:	0f b6 c0             	movzbl %al,%eax
48046c:	50                   	push   %eax
48046d:	ff 75 18             	push   0x18(%ebp)
480470:	ff 75 14             	push   0x14(%ebp)
480473:	6a 02                	push   $0x2
480475:	8d 41 01             	lea    0x1(%ecx),%eax
480478:	50                   	push   %eax
480479:	e8 54 09 00 00       	call   0x480dd2
48047e:	83 c4 14             	add    $0x14,%esp
480481:	e9 22 09 00 00       	jmp    0x480da8