405606:	8b 04 24             	mov    (%esp),%eax
405609:	e8 62 fa ff ff       	call   0x405070
40560e:	8b d0                	mov    %eax,%edx
405610:	8b ce                	mov    %esi,%ecx
405612:	8b c3                	mov    %ebx,%eax
405614:	e8 d7 ff ff ff       	call   0x4055f0
405619:	5a                   	pop    %edx
40561a:	5e                   	pop    %esi
40561b:	5b                   	pop    %ebx
40561c:	c3                   	ret
40561d:	8d 40 00             	lea    0x0(%eax),%eax
405620:	51                   	push   %ecx
405621:	33 d2                	xor    %edx,%edx
405623:	89 14 24             	mov    %edx,(%esp)
405626:	8b d0                	mov    %eax,%edx
405628:	85 d2                	test   %edx,%edx
40562a:	74 05                	je     0x405631
40562c:	83 ea 04             	sub    $0x4,%edx
40562f:	8b 12                	mov    (%edx),%edx
405631:	8b cc                	mov    %esp,%ecx
405633:	91                   	xchg   %eax,%ecx
405634:	87 d1                	xchg   %edx,%ecx
405636:	e8 29 f9 ff ff       	call   0x404f64
40563b:	8b 04 24             	mov    (%esp),%eax
40563e:	5a                   	pop    %edx
40563f:	c3                   	ret
405640:	b0 11                	mov    $0x11,%al
405642:	e9 f5 d7 ff ff       	jmp    0x402e3c
405647:	c3                   	ret
405648:	52                   	push   %edx
405649:	50                   	push   %eax
40564a:	8b 44 24 10          	mov    0x10(%esp),%eax
40564e:	f7 24 24             	mull   (%esp)
405651:	89 c1                	mov    %eax,%ecx
405653:	8b 44 24 04          	mov    0x4(%esp),%eax
405657:	f7 64 24 0c          	mull   0xc(%esp)
40565b:	01 c1                	add    %eax,%ecx
40565d:	8b 04 24             	mov    (%esp),%eax
405660:	f7 64 24 0c          	mull   0xc(%esp)
405664:	01 ca                	add    %ecx,%edx
405666:	59                   	pop    %ecx
405667:	59                   	pop    %ecx
405668:	c2 08 00             	ret    $0x8
40566b:	c3                   	ret
40566c:	53                   	push   %ebx
40566d:	56                   	push   %esi
40566e:	57                   	push   %edi
40566f:	55                   	push   %ebp
405670:	83 c4 ec             	add    $0xffffffec,%esp
405673:	89 14 24             	mov    %edx,(%esp)
405676:	8b f0                	mov    %eax,%esi
405678:	bd 01 00 00 00       	mov    $0x1,%ebp
40567d:	33 ff                	xor    %edi,%edi
40567f:	c7 44 24 08 00 00 00 	movl   $0x0,0x8(%esp)
405686:	00
405687:	c7 44 24 0c 00 00 00 	movl   $0x0,0xc(%esp)
40568e:	00
40568f:	85 f6                	test   %esi,%esi
405691:	75 0b                	jne    0x40569e
405693:	8b 04 24             	mov    (%esp),%eax
405696:	89 28                	mov    %ebp,(%eax)
405698:	e9 d7 01 00 00       	jmp    0x405874
40569d:	45                   	inc    %ebp
40569e:	80 7c 2e ff 20       	cmpb   $0x20,-0x1(%esi,%ebp,1)
4056a3:	74 f8                	je     0x40569d
4056a5:	c6 44 24 10 00       	movb   $0x0,0x10(%esp)
4056aa:	0f b6 44 2e ff       	movzbl -0x1(%esi,%ebp,1),%eax
4056af:	3c 2d                	cmp    $0x2d,%al
4056b1:	75 08                	jne    0x4056bb
4056b3:	c6 44 24 10 01       	movb   $0x1,0x10(%esp)
4056b8:	45                   	inc    %ebp
4056b9:	eb 05                	jmp    0x4056c0
4056bb:	3c 2b                	cmp    $0x2b,%al
4056bd:	75 01                	jne    0x4056c0
4056bf:	45                   	inc    %ebp
4056c0:	b3 01                	mov    $0x1,%bl
4056c2:	80 7c 2e ff 24       	cmpb   $0x24,-0x1(%esi,%ebp,1)
4056c7:	74 2a                	je     0x4056f3
4056c9:	0f b6 44 2e ff       	movzbl -0x1(%esi,%ebp,1),%eax
4056ce:	e8 31 d9 ff ff       	call   0x403004
4056d3:	3c 58                	cmp    $0x58,%al
4056d5:	74 1c                	je     0x4056f3
4056d7:	80 7c 2e ff 30       	cmpb   $0x30,-0x1(%esi,%ebp,1)
4056dc:	0f 85 c7 00 00 00    	jne    0x4057a9
4056e2:	0f b6 04 2e          	movzbl (%esi,%ebp,1),%eax
4056e6:	e8 19 d9 ff ff       	call   0x403004
4056eb:	3c 58                	cmp    $0x58,%al
4056ed:	0f 85 b6 00 00 00    	jne    0x4057a9
4056f3:	80 7c 2e ff 30       	cmpb   $0x30,-0x1(%esi,%ebp,1)
4056f8:	75 01                	jne    0x4056fb
4056fa:	45                   	inc    %ebp
4056fb:	45                   	inc    %ebp
4056fc:	0f b6 4c 2e ff       	movzbl -0x1(%esi,%ebp,1),%ecx
405701:	8b c1                	mov    %ecx,%eax
405703:	04 d0                	add    $0xd0,%al
405705:	2c 0a                	sub    $0xa,%al
405707:	72 0e                	jb     0x405717
405709:	04 f9                	add    $0xf9,%al
40570b:	2c 06                	sub    $0x6,%al
40570d:	72 10                	jb     0x40571f
40570f:	04 e6                	add    $0xe6,%al
405711:	2c 06                	sub    $0x6,%al
405713:	72 12                	jb     0x405727
405715:	eb 6b                	jmp    0x405782
405717:	0f b6 f9             	movzbl %cl,%edi
40571a:	83 ef 30             	sub    $0x30,%edi
40571d:	eb 0e                	jmp    0x40572d
40571f:	0f b6 f9             	movzbl %cl,%edi
405722:	83 ef 37             	sub    $0x37,%edi
405725:	eb 06                	jmp    0x40572d
405727:	0f b6 f9             	movzbl %cl,%edi
40572a:	83 ef 57             	sub    $0x57,%edi
40572d:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
405732:	75 09                	jne    0x40573d
405734:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
405739:	72 47                	jb     0x405782
40573b:	eb 02                	jmp    0x40573f
40573d:	7c 43                	jl     0x405782
40573f:	81 7c 24 0c ff ff ff 	cmpl   $0xfffffff,0xc(%esp)
405746:	0f
405747:	75 09                	jne    0x405752
405749:	83 7c 24 08 ff       	cmpl   $0xffffffff,0x8(%esp)
40574e:	76 04                	jbe    0x405754
405750:	eb 30                	jmp    0x405782
405752:	7f 2e                	jg     0x405782
405754:	8b c7                	mov    %edi,%eax
405756:	99                   	cltd
405757:	52                   	push   %edx
405758:	50                   	push   %eax
405759:	8b 44 24 10          	mov    0x10(%esp),%eax
40575d:	8b 54 24 14          	mov    0x14(%esp),%edx
405761:	0f a4 c2 04          	shld   $0x4,%eax,%edx
405765:	c1 e0 04             	shl    $0x4,%eax
405768:	03 04 24             	add    (%esp),%eax
40576b:	13 54 24 04          	adc    0x4(%esp),%edx
40576f:	83 c4 08             	add    $0x8,%esp
405772:	89 44 24 08          	mov    %eax,0x8(%esp)
405776:	89 54 24 0c          	mov    %edx,0xc(%esp)
40577a:	45                   	inc    %ebp
40577b:	33 db                	xor    %ebx,%ebx
40577d:	e9 7a ff ff ff       	jmp    0x4056fc
405782:	80 7c 24 10 00       	cmpb   $0x0,0x10(%esp)
405787:	0f 84 cd 00 00 00    	je     0x40585a
40578d:	8b 44 24 08          	mov    0x8(%esp),%eax
405791:	8b 54 24 0c          	mov    0xc(%esp),%edx
405795:	f7 d8                	neg    %eax
405797:	83 d2 00             	adc    $0x0,%edx
40579a:	f7 da                	neg    %edx
40579c:	89 44 24 08          	mov    %eax,0x8(%esp)
4057a0:	89 54 24 0c          	mov    %edx,0xc(%esp)
4057a4:	e9 b1 00 00 00       	jmp    0x40585a
4057a9:	0f b6 44 2e ff       	movzbl -0x1(%esi,%ebp,1),%eax
4057ae:	04 d0                	add    $0xd0,%al
4057b0:	2c 0a                	sub    $0xa,%al
4057b2:	73 5f                	jae    0x405813
4057b4:	0f b6 7c 2e ff       	movzbl -0x1(%esi,%ebp,1),%edi
4057b9:	83 ef 30             	sub    $0x30,%edi
4057bc:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
4057c1:	75 09                	jne    0x4057cc
4057c3:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
4057c8:	72 49                	jb     0x405813
4057ca:	eb 02                	jmp    0x4057ce
4057cc:	7c 45                	jl     0x405813
4057ce:	81 7c 24 0c cc cc cc 	cmpl   $0xccccccc,0xc(%esp)
4057d5:	0c
4057d6:	75 0c                	jne    0x4057e4
4057d8:	81 7c 24 08 cc cc cc 	cmpl   $0xcccccccc,0x8(%esp)
4057df:	cc
4057e0:	76 04                	jbe    0x4057e6
4057e2:	eb 2f                	jmp    0x405813
4057e4:	7f 2d                	jg     0x405813
4057e6:	6a 00                	push   $0x0
4057e8:	6a 0a                	push   $0xa
4057ea:	8b 44 24 10          	mov    0x10(%esp),%eax
4057ee:	8b 54 24 14          	mov    0x14(%esp),%edx
4057f2:	e8 51 fe ff ff       	call   0x405648
4057f7:	52                   	push   %edx
4057f8:	50                   	push   %eax
4057f9:	8b c7                	mov    %edi,%eax
4057fb:	99                   	cltd
4057fc:	03 04 24             	add    (%esp),%eax
4057ff:	13 54 24 04          	adc    0x4(%esp),%edx
405803:	83 c4 08             	add    $0x8,%esp
405806:	89 44 24 08          	mov    %eax,0x8(%esp)
40580a:	89 54 24 0c          	mov    %edx,0xc(%esp)
40580e:	45                   	inc    %ebp
40580f:	33 db                	xor    %ebx,%ebx
405811:	eb 96                	jmp    0x4057a9
405813:	80 7c 24 10 00       	cmpb   $0x0,0x10(%esp)
405818:	74 17                	je     0x405831
40581a:	8b 44 24 08          	mov    0x8(%esp),%eax
40581e:	8b 54 24 0c          	mov    0xc(%esp),%edx
405822:	f7 d8                	neg    %eax
405824:	83 d2 00             	adc    $0x0,%edx
405827:	f7 da                	neg    %edx
405829:	89 44 24 08          	mov    %eax,0x8(%esp)
40582d:	89 54 24 0c          	mov    %edx,0xc(%esp)
405831:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
405836:	75 05                	jne    0x40583d
405838:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
40583d:	74 1b                	je     0x40585a
40583f:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
405844:	75 0a                	jne    0x405850
405846:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
40584b:	0f 92 c0             	setb   %al
40584e:	eb 03                	jmp    0x405853
405850:	0f 9c c0             	setl   %al
405853:	3a 44 24 10          	cmp    0x10(%esp),%al
405857:	74 01                	je     0x40585a
405859:	4d                   	dec    %ebp
40585a:	80 7c 2e ff 00       	cmpb   $0x0,-0x1(%esi,%ebp,1)
40585f:	0f 95 c0             	setne  %al
405862:	0a d8                	or     %al,%bl
405864:	74 07                	je     0x40586d
405866:	8b 04 24             	mov    (%esp),%eax
405869:	89 28                	mov    %ebp,(%eax)
40586b:	eb 07                	jmp    0x405874
40586d:	8b 04 24             	mov    (%esp),%eax
405870:	33 d2                	xor    %edx,%edx
405872:	89 10                	mov    %edx,(%eax)
405874:	8b 44 24 08          	mov    0x8(%esp),%eax
405878:	8b 54 24 0c          	mov    0xc(%esp),%edx
40587c:	83 c4 14             	add    $0x14,%esp
40587f:	5d                   	pop    %ebp
405880:	5f                   	pop    %edi
405881:	5e                   	pop    %esi
405882:	5b                   	pop    %ebx
405883:	c3                   	ret
405884:	85 c0                	test   %eax,%eax
405886:	74 03                	je     0x40588b
405888:	8b 40 fc             	mov    -0x4(%eax),%eax
40588b:	c3                   	ret
40588c:	e8 f3 ff ff ff       	call   0x405884
405891:	48                   	dec    %eax
405892:	c3                   	ret
405893:	90                   	nop
405894:	55                   	push   %ebp
405895:	8b ec                	mov    %esp,%ebp
405897:	ff 75 08             	push   0x8(%ebp)
40589a:	e8 39 fc ff ff       	call   0x4054d8
40589f:	5d                   	pop    %ebp
4058a0:	c2 04 00             	ret    $0x4
4058a3:	90                   	nop
4058a4:	e9 03 fa ff ff       	jmp    0x4052ac
4058a9:	c3                   	ret
4058aa:	8b c0                	mov    %eax,%eax
4058ac:	e8 9b 01 00 00       	call   0x405a4c
4058b1:	c3                   	ret
4058b2:	8b c0                	mov    %eax,%eax
4058b4:	55                   	push   %ebp
4058b5:	8b ec                	mov    %esp,%ebp
4058b7:	83 c4 e0             	add    $0xffffffe0,%esp
4058ba:	53                   	push   %ebx
4058bb:	56                   	push   %esi
4058bc:	57                   	push   %edi
4058bd:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4058c0:	8b f2                	mov    %edx,%esi
4058c2:	89 45 fc             	mov    %eax,-0x4(%ebp)
4058c5:	8b 5d fc             	mov    -0x4(%ebp),%ebx
4058c8:	8b 1b                	mov    (%ebx),%ebx
4058ca:	8b 45 08             	mov    0x8(%ebp),%eax
4058cd:	8b 38                	mov    (%eax),%edi
4058cf:	85 ff                	test   %edi,%edi
4058d1:	7f 1a                	jg     0x4058ed
4058d3:	85 ff                	test   %edi,%edi
4058d5:	7d 07                	jge    0x4058de
4058d7:	b0 04                	mov    $0x4,%al
4058d9:	e8 5e d5 ff ff       	call   0x402e3c
4058de:	8b 45 fc             	mov    -0x4(%ebp),%eax
4058e1:	8b d6                	mov    %esi,%edx
4058e3:	e8 c4 ff ff ff       	call   0x4058ac
4058e8:	e9 49 01 00 00       	jmp    0x405a36
4058ed:	33 c0                	xor    %eax,%eax
4058ef:	89 45 f0             	mov    %eax,-0x10(%ebp)
4058f2:	85 db                	test   %ebx,%ebx
4058f4:	74 0b                	je     0x405901
4058f6:	83 eb 04             	sub    $0x4,%ebx
4058f9:	8b 03                	mov    (%ebx),%eax
4058fb:	89 45 f0             	mov    %eax,-0x10(%ebp)
4058fe:	83 eb 04             	sub    $0x4,%ebx
405901:	0f b6 46 01          	movzbl 0x1(%esi),%eax
405905:	01 c6                	add    %eax,%esi
405907:	8b c6                	mov    %esi,%eax
405909:	8b 50 02             	mov    0x2(%eax),%edx
40590c:	89 55 e8             	mov    %edx,-0x18(%ebp)
40590f:	8b 50 06             	mov    0x6(%eax),%edx
405912:	85 d2                	test   %edx,%edx
405914:	74 04                	je     0x40591a
405916:	8b 32                	mov    (%edx),%esi
405918:	eb 02                	jmp    0x40591c
40591a:	33 f6                	xor    %esi,%esi
40591c:	8b c7                	mov    %edi,%eax
40591e:	f7 6d e8             	imull  -0x18(%ebp)
405921:	89 45 e4             	mov    %eax,-0x1c(%ebp)
405924:	8b 45 e4             	mov    -0x1c(%ebp),%eax
405927:	99                   	cltd
405928:	f7 ff                	idiv   %edi
40592a:	3b 45 e8             	cmp    -0x18(%ebp),%eax
40592d:	74 07                	je     0x405936
40592f:	b0 04                	mov    $0x4,%al
405931:	e8 06 d5 ff ff       	call   0x402e3c
405936:	83 45 e4 08          	addl   $0x8,-0x1c(%ebp)
40593a:	85 db                	test   %ebx,%ebx
40593c:	74 05                	je     0x405943
40593e:	83 3b 01             	cmpl   $0x1,(%ebx)
405941:	75 35                	jne    0x405978
405943:	89 5d e0             	mov    %ebx,-0x20(%ebp)
405946:	3b 7d f0             	cmp    -0x10(%ebp),%edi
405949:	7d 1d                	jge    0x405968
40594b:	85 f6                	test   %esi,%esi
40594d:	74 19                	je     0x405968
40594f:	8b c3                	mov    %ebx,%eax
405951:	83 c0 08             	add    $0x8,%eax
405954:	8b d7                	mov    %edi,%edx
405956:	0f af 55 e8          	imul   -0x18(%ebp),%edx
40595a:	03 c2                	add    %edx,%eax
40595c:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40595f:	2b cf                	sub    %edi,%ecx
405961:	8b d6                	mov    %esi,%edx
405963:	e8 3c ff ff ff       	call   0x4058a4
405968:	8d 45 e0             	lea    -0x20(%ebp),%eax
40596b:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40596e:	e8 ad d3 ff ff       	call   0x402d20
405973:	8b 5d e0             	mov    -0x20(%ebp),%ebx
405976:	eb 5e                	jmp    0x4059d6
405978:	ff 0b                	decl   (%ebx)
40597a:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40597d:	e8 6a d3 ff ff       	call   0x402cec
405982:	8b d8                	mov    %eax,%ebx
405984:	8b 45 f0             	mov    -0x10(%ebp),%eax
405987:	89 45 ec             	mov    %eax,-0x14(%ebp)
40598a:	3b 7d ec             	cmp    -0x14(%ebp),%edi
40598d:	7d 03                	jge    0x405992
40598f:	89 7d ec             	mov    %edi,-0x14(%ebp)
405992:	85 f6                	test   %esi,%esi
405994:	74 2a                	je     0x4059c0
405996:	8b 55 ec             	mov    -0x14(%ebp),%edx
405999:	0f af 55 e8          	imul   -0x18(%ebp),%edx
40599d:	8b c3                	mov    %ebx,%eax
40599f:	83 c0 08             	add    $0x8,%eax
4059a2:	33 c9                	xor    %ecx,%ecx
4059a4:	e8 87 d8 ff ff       	call   0x403230
4059a9:	8b 45 ec             	mov    -0x14(%ebp),%eax
4059ac:	50                   	push   %eax
4059ad:	8b 55 fc             	mov    -0x4(%ebp),%edx
4059b0:	8b 12                	mov    (%edx),%edx
4059b2:	8b c3                	mov    %ebx,%eax
4059b4:	83 c0 08             	add    $0x8,%eax
4059b7:	8b ce                	mov    %esi,%ecx
4059b9:	e8 d6 fe ff ff       	call   0x405894