40a589:	ff 70 08             	push   0x8(%eax)
40a58c:	ff 71 08             	push   0x8(%ecx)
40a58f:	e8 1d f8 ff ff       	call   0x409db1
40a594:	c2 04 00             	ret    $0x4
40a597:	66 8b 11             	mov    (%ecx),%dx
40a59a:	8b 44 24 04          	mov    0x4(%esp),%eax
40a59e:	66 3b 10             	cmp    (%eax),%dx
40a5a1:	74 04                	je     0x40a5a7
40a5a3:	33 c0                	xor    %eax,%eax
40a5a5:	eb 0b                	jmp    0x40a5b2
40a5a7:	ff 70 08             	push   0x8(%eax)
40a5aa:	ff 71 08             	push   0x8(%ecx)
40a5ad:	e8 ff f7 ff ff       	call   0x409db1
40a5b2:	c2 04 00             	ret    $0x4
40a5b5:	66 8b 11             	mov    (%ecx),%dx
40a5b8:	8b 44 24 04          	mov    0x4(%esp),%eax
40a5bc:	66 3b 10             	cmp    (%eax),%dx
40a5bf:	74 04                	je     0x40a5c5
40a5c1:	33 c0                	xor    %eax,%eax
40a5c3:	eb 0b                	jmp    0x40a5d0
40a5c5:	ff 70 08             	push   0x8(%eax)
40a5c8:	ff 71 08             	push   0x8(%ecx)
40a5cb:	e8 e1 f7 ff ff       	call   0x409db1
40a5d0:	c2 04 00             	ret    $0x4
40a5d3:	ff 74 24 04          	push   0x4(%esp)
40a5d7:	ff 71 08             	push   0x8(%ecx)
40a5da:	ff 15 e4 04 4b 00    	call   *0x4b04e4
40a5e0:	50                   	push   %eax
40a5e1:	e8 ae f7 ff ff       	call   0x409d94
40a5e6:	c2 04 00             	ret    $0x4
40a5e9:	ff 71 08             	push   0x8(%ecx)
40a5ec:	ff 15 e8 04 4b 00    	call   *0x4b04e8
40a5f2:	50                   	push   %eax
40a5f3:	e8 9c f7 ff ff       	call   0x409d94
40a5f8:	c3                   	ret
40a5f9:	ff 71 08             	push   0x8(%ecx)
40a5fc:	ff 15 c4 04 4b 00    	call   *0x4b04c4
40a602:	50                   	push   %eax
40a603:	e8 8c f7 ff ff       	call   0x409d94
40a608:	c3                   	ret
40a609:	83 c1 08             	add    $0x8,%ecx
40a60c:	51                   	push   %ecx
40a60d:	ff 74 24 08          	push   0x8(%esp)
40a611:	ff 15 c0 04 4b 00    	call   *0x4b04c0
40a617:	50                   	push   %eax
40a618:	e8 77 f7 ff ff       	call   0x409d94
40a61d:	c2 04 00             	ret    $0x4
40a620:	ff 74 24 04          	push   0x4(%esp)
40a624:	ff 71 08             	push   0x8(%ecx)
40a627:	ff 15 bc 04 4b 00    	call   *0x4b04bc
40a62d:	50                   	push   %eax
40a62e:	e8 61 f7 ff ff       	call   0x409d94
40a633:	c2 04 00             	ret    $0x4
40a636:	ff 74 24 08          	push   0x8(%esp)
40a63a:	ff 74 24 08          	push   0x8(%esp)
40a63e:	ff 71 08             	push   0x8(%ecx)
40a641:	ff 15 dc 04 4b 00    	call   *0x4b04dc
40a647:	50                   	push   %eax
40a648:	e8 47 f7 ff ff       	call   0x409d94
40a64d:	c2 08 00             	ret    $0x8
40a650:	ff 74 24 08          	push   0x8(%esp)
40a654:	ff 74 24 08          	push   0x8(%esp)
40a658:	ff 71 08             	push   0x8(%ecx)
40a65b:	ff 15 e0 04 4b 00    	call   *0x4b04e0
40a661:	50                   	push   %eax
40a662:	e8 2d f7 ff ff       	call   0x409d94
40a667:	c2 08 00             	ret    $0x8
40a66a:	ff 74 24 08          	push   0x8(%esp)
40a66e:	ff 74 24 08          	push   0x8(%esp)
40a672:	ff 71 08             	push   0x8(%ecx)
40a675:	ff 15 b8 04 4b 00    	call   *0x4b04b8
40a67b:	50                   	push   %eax
40a67c:	e8 13 f7 ff ff       	call   0x409d94
40a681:	c2 08 00             	ret    $0x8
40a684:	ff 74 24 08          	push   0x8(%esp)
40a688:	ff 74 24 08          	push   0x8(%esp)
40a68c:	ff 71 08             	push   0x8(%ecx)
40a68f:	ff 15 b4 04 4b 00    	call   *0x4b04b4
40a695:	50                   	push   %eax
40a696:	e8 f9 f6 ff ff       	call   0x409d94
40a69b:	c2 08 00             	ret    $0x8
40a69e:	ff 74 24 08          	push   0x8(%esp)
40a6a2:	ff 74 24 08          	push   0x8(%esp)
40a6a6:	ff 71 08             	push   0x8(%ecx)
40a6a9:	ff 15 b0 04 4b 00    	call   *0x4b04b0
40a6af:	50                   	push   %eax
40a6b0:	e8 df f6 ff ff       	call   0x409d94
40a6b5:	c2 08 00             	ret    $0x8
40a6b8:	ff 74 24 04          	push   0x4(%esp)
40a6bc:	ff 71 08             	push   0x8(%ecx)
40a6bf:	ff 15 cc 04 4b 00    	call   *0x4b04cc
40a6c5:	50                   	push   %eax
40a6c6:	e8 c9 f6 ff ff       	call   0x409d94
40a6cb:	c2 04 00             	ret    $0x4
40a6ce:	ff 71 08             	push   0x8(%ecx)
40a6d1:	ff 15 ac 04 4b 00    	call   *0x4b04ac
40a6d7:	50                   	push   %eax
40a6d8:	e8 b7 f6 ff ff       	call   0x409d94
40a6dd:	c3                   	ret
40a6de:	ff 71 08             	push   0x8(%ecx)
40a6e1:	ff 15 a8 04 4b 00    	call   *0x4b04a8
40a6e7:	50                   	push   %eax
40a6e8:	e8 a7 f6 ff ff       	call   0x409d94
40a6ed:	c3                   	ret
40a6ee:	ff 71 08             	push   0x8(%ecx)
40a6f1:	ff 15 a4 04 4b 00    	call   *0x4b04a4
40a6f7:	50                   	push   %eax
40a6f8:	e8 97 f6 ff ff       	call   0x409d94
40a6fd:	c3                   	ret
40a6fe:	ff 71 08             	push   0x8(%ecx)
40a701:	ff 15 a0 04 4b 00    	call   *0x4b04a0
40a707:	50                   	push   %eax
40a708:	e8 87 f6 ff ff       	call   0x409d94
40a70d:	c3                   	ret
40a70e:	ff 71 08             	push   0x8(%ecx)
40a711:	ff 15 9c 04 4b 00    	call   *0x4b049c
40a717:	50                   	push   %eax
40a718:	e8 77 f6 ff ff       	call   0x409d94
40a71d:	c3                   	ret
40a71e:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
40a723:	74 10                	je     0x40a735
40a725:	6a 18                	push   $0x18
40a727:	6a 00                	push   $0x0
40a729:	ff 74 24 0c          	push   0xc(%esp)
40a72d:	e8 0e db 00 00       	call   0x418240
40a732:	83 c4 0c             	add    $0xc,%esp
40a735:	c2 04 00             	ret    $0x4
40a738:	8b 44 24 04          	mov    0x4(%esp),%eax
40a73c:	c1 e8 04             	shr    $0x4,%eax
40a73f:	c2 04 00             	ret    $0x4
40a742:	8b 41 08             	mov    0x8(%ecx),%eax
40a745:	c3                   	ret
40a746:	8b 41 04             	mov    0x4(%ecx),%eax
40a749:	c3                   	ret
40a74a:	8b 41 04             	mov    0x4(%ecx),%eax
40a74d:	c3                   	ret
40a74e:	8b 41 18             	mov    0x18(%ecx),%eax
40a751:	83 e0 01             	and    $0x1,%eax
40a754:	c3                   	ret
40a755:	8b c1                	mov    %ecx,%eax
40a757:	83 20 00             	andl   $0x0,(%eax)
40a75a:	c3                   	ret
40a75b:	8b 01                	mov    (%ecx),%eax
40a75d:	c3                   	ret
40a75e:	8b c1                	mov    %ecx,%eax
40a760:	c3                   	ret
40a761:	56                   	push   %esi
40a762:	8b f1                	mov    %ecx,%esi
40a764:	8b 06                	mov    (%esi),%eax
40a766:	57                   	push   %edi
40a767:	8b 7c 24 0c          	mov    0xc(%esp),%edi
40a76b:	3b c7                	cmp    %edi,%eax
40a76d:	74 09                	je     0x40a778
40a76f:	50                   	push   %eax
40a770:	ff 15 08 05 4b 00    	call   *0x4b0508
40a776:	89 3e                	mov    %edi,(%esi)
40a778:	5f                   	pop    %edi
40a779:	5e                   	pop    %esi
40a77a:	c2 04 00             	ret    $0x4
40a77d:	8b 01                	mov    (%ecx),%eax
40a77f:	83 21 00             	andl   $0x0,(%ecx)
40a782:	c3                   	ret
40a783:	56                   	push   %esi
40a784:	8b f1                	mov    %ecx,%esi
40a786:	ff 36                	push   (%esi)
40a788:	ff 15 08 05 4b 00    	call   *0x4b0508
40a78e:	83 26 00             	andl   $0x0,(%esi)
40a791:	5e                   	pop    %esi
40a792:	c3                   	ret
40a793:	8b c1                	mov    %ecx,%eax
40a795:	d9 ee                	fldz
40a797:	83 60 08 00          	andl   $0x0,0x8(%eax)
40a79b:	dd 18                	fstpl  (%eax)
40a79d:	c3                   	ret
40a79e:	8b 41 08             	mov    0x8(%ecx),%eax
40a7a1:	c3                   	ret
40a7a2:	83 79 08 00          	cmpl   $0x0,0x8(%ecx)
40a7a6:	75 1a                	jne    0x40a7c2
40a7a8:	ff 74 24 04          	push   0x4(%esp)
40a7ac:	dd 01                	fldl   (%ecx)
40a7ae:	51                   	push   %ecx
40a7af:	51                   	push   %ecx
40a7b0:	dd 1c 24             	fstpl  (%esp)
40a7b3:	ff 15 98 04 4b 00    	call   *0x4b0498
40a7b9:	85 c0                	test   %eax,%eax
40a7bb:	74 05                	je     0x40a7c2
40a7bd:	33 c0                	xor    %eax,%eax
40a7bf:	40                   	inc    %eax
40a7c0:	eb 02                	jmp    0x40a7c4
40a7c2:	33 c0                	xor    %eax,%eax
40a7c4:	c2 04 00             	ret    $0x4
40a7c7:	dd 01                	fldl   (%ecx)
40a7c9:	c3                   	ret
40a7ca:	55                   	push   %ebp
40a7cb:	8b ec                	mov    %esp,%ebp
40a7cd:	83 ec 10             	sub    $0x10,%esp
40a7d0:	56                   	push   %esi
40a7d1:	6a 10                	push   $0x10
40a7d3:	8d 45 f0             	lea    -0x10(%ebp),%eax
40a7d6:	6a 00                	push   $0x0
40a7d8:	50                   	push   %eax
40a7d9:	8b f1                	mov    %ecx,%esi
40a7db:	e8 60 da 00 00       	call   0x418240
40a7e0:	66 8b 45 08          	mov    0x8(%ebp),%ax
40a7e4:	66 89 45 f0          	mov    %ax,-0x10(%ebp)
40a7e8:	66 8b 45 0c          	mov    0xc(%ebp),%ax
40a7ec:	66 89 45 f2          	mov    %ax,-0xe(%ebp)
40a7f0:	66 8b 45 10          	mov    0x10(%ebp),%ax
40a7f4:	66 89 45 f6          	mov    %ax,-0xa(%ebp)
40a7f8:	66 8b 45 14          	mov    0x14(%ebp),%ax
40a7fc:	66 89 45 f8          	mov    %ax,-0x8(%ebp)
40a800:	66 8b 45 18          	mov    0x18(%ebp),%ax
40a804:	66 89 45 fa          	mov    %ax,-0x6(%ebp)
40a808:	66 8b 45 1c          	mov    0x1c(%ebp),%ax
40a80c:	83 c4 0c             	add    $0xc,%esp
40a80f:	66 89 45 fc          	mov    %ax,-0x4(%ebp)
40a813:	56                   	push   %esi
40a814:	8d 45 f0             	lea    -0x10(%ebp),%eax
40a817:	50                   	push   %eax
40a818:	ff 15 0c 05 4b 00    	call   *0x4b050c
40a81e:	f7 d8                	neg    %eax
40a820:	1b c0                	sbb    %eax,%eax
40a822:	40                   	inc    %eax
40a823:	89 46 08             	mov    %eax,0x8(%esi)
40a826:	5e                   	pop    %esi
40a827:	c9                   	leave
40a828:	c2 18 00             	ret    $0x18
40a82b:	56                   	push   %esi
40a82c:	8b f1                	mov    %ecx,%esi
40a82e:	56                   	push   %esi
40a82f:	e8 80 fb ff ff       	call   0x40a3b4
40a834:	8b c6                	mov    %esi,%eax
40a836:	5e                   	pop    %esi
40a837:	c3                   	ret
40a838:	51                   	push   %ecx
40a839:	ff 15 f4 04 4b 00    	call   *0x4b04f4
40a83f:	c3                   	ret
40a840:	51                   	push   %ecx
40a841:	ff 15 f4 04 4b 00    	call   *0x4b04f4
40a847:	c3                   	ret
40a848:	8b c1                	mov    %ecx,%eax
40a84a:	c3                   	ret
40a84b:	8b c1                	mov    %ecx,%eax
40a84d:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40a851:	8b 11                	mov    (%ecx),%edx
40a853:	89 10                	mov    %edx,(%eax)
40a855:	8b 51 04             	mov    0x4(%ecx),%edx
40a858:	89 50 04             	mov    %edx,0x4(%eax)
40a85b:	8b 49 08             	mov    0x8(%ecx),%ecx
40a85e:	89 48 08             	mov    %ecx,0x8(%eax)
40a861:	c2 04 00             	ret    $0x4
40a864:	8b 41 08             	mov    0x8(%ecx),%eax
40a867:	c3                   	ret
40a868:	8b 44 24 04          	mov    0x4(%esp),%eax
40a86c:	89 41 08             	mov    %eax,0x8(%ecx)
40a86f:	c2 04 00             	ret    $0x4
40a872:	51                   	push   %ecx
40a873:	ff 15 f4 04 4b 00    	call   *0x4b04f4
40a879:	c3                   	ret
40a87a:	ff 71 08             	push   0x8(%ecx)
40a87d:	ff 15 d4 04 4b 00    	call   *0x4b04d4
40a883:	c3                   	ret
40a884:	ff 71 08             	push   0x8(%ecx)
40a887:	ff 15 d8 04 4b 00    	call   *0x4b04d8
40a88d:	c3                   	ret
40a88e:	56                   	push   %esi
40a88f:	8b f1                	mov    %ecx,%esi
40a891:	56                   	push   %esi
40a892:	e8 1d fb ff ff       	call   0x40a3b4
40a897:	ff 74 24 08          	push   0x8(%esp)
40a89b:	56                   	push   %esi
40a89c:	ff 15 c8 04 4b 00    	call   *0x4b04c8
40a8a2:	50                   	push   %eax
40a8a3:	e8 ec f4 ff ff       	call   0x409d94
40a8a8:	8b c6                	mov    %esi,%eax
40a8aa:	5e                   	pop    %esi
40a8ab:	c2 04 00             	ret    $0x4
40a8ae:	56                   	push   %esi
40a8af:	8b f1                	mov    %ecx,%esi
40a8b1:	56                   	push   %esi
40a8b2:	e8 fd fa ff ff       	call   0x40a3b4
40a8b7:	ff 74 24 08          	push   0x8(%esp)
40a8bb:	56                   	push   %esi
40a8bc:	ff 15 c8 04 4b 00    	call   *0x4b04c8
40a8c2:	50                   	push   %eax
40a8c3:	e8 cc f4 ff ff       	call   0x409d94
40a8c8:	8b c6                	mov    %esi,%eax
40a8ca:	5e                   	pop    %esi
40a8cb:	c2 04 00             	ret    $0x4
40a8ce:	56                   	push   %esi
40a8cf:	8b f1                	mov    %ecx,%esi
40a8d1:	56                   	push   %esi
40a8d2:	e8 dd fa ff ff       	call   0x40a3b4
40a8d7:	ff 74 24 08          	push   0x8(%esp)
40a8db:	56                   	push   %esi
40a8dc:	ff 15 c8 04 4b 00    	call   *0x4b04c8
40a8e2:	50                   	push   %eax
40a8e3:	e8 ac f4 ff ff       	call   0x409d94
40a8e8:	8b c6                	mov    %esi,%eax
40a8ea:	5e                   	pop    %esi
40a8eb:	c2 04 00             	ret    $0x4
40a8ee:	55                   	push   %ebp
40a8ef:	8b ec                	mov    %esp,%ebp
40a8f1:	51                   	push   %ecx
40a8f2:	53                   	push   %ebx
40a8f3:	56                   	push   %esi
40a8f4:	57                   	push   %edi
40a8f5:	8b f9                	mov    %ecx,%edi
40a8f7:	ff 15 fc 70 4a 00    	call   *0x4a70fc
40a8fd:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a900:	83 67 08 00          	andl   $0x0,0x8(%edi)
40a904:	85 db                	test   %ebx,%ebx
40a906:	89 45 fc             	mov    %eax,-0x4(%ebp)
40a909:	66 c7 07 08 00       	movw   $0x8,(%edi)
40a90e:	74 49                	je     0x40a959
40a910:	53                   	push   %ebx
40a911:	ff 15 88 03 4b 00    	call   *0x4b0388
40a917:	66 83 7d 0c 0e       	cmpw   $0xe,0xc(%ebp)
40a91c:	75 0a                	jne    0x40a928
40a91e:	50                   	push   %eax
40a91f:	53                   	push   %ebx
40a920:	ff 15 00 05 4b 00    	call   *0x4b0500
40a926:	eb 25                	jmp    0x40a94d
40a928:	8b f0                	mov    %eax,%esi
40a92a:	46                   	inc    %esi
40a92b:	8d 04 36             	lea    (%esi,%esi,1),%eax
40a92e:	83 c0 03             	add    $0x3,%eax
40a931:	83 e0 fc             	and    $0xfffffffc,%eax
40a934:	e8 b7 bd 00 00       	call   0x4166f0
40a939:	8b c4                	mov    %esp,%eax
40a93b:	ff 75 fc             	push   -0x4(%ebp)
40a93e:	56                   	push   %esi
40a93f:	53                   	push   %ebx
40a940:	50                   	push   %eax
40a941:	e8 72 ba ff ff       	call   0x4063b8
40a946:	50                   	push   %eax
40a947:	ff 15 94 04 4b 00    	call   *0x4b0494
40a94d:	85 c0                	test   %eax,%eax
40a94f:	89 47 08             	mov    %eax,0x8(%edi)
40a952:	75 05                	jne    0x40a959
40a954:	e8 be aa 02 00       	call   0x435417
40a959:	8b c7                	mov    %edi,%eax
40a95b:	8d 65 f0             	lea    -0x10(%ebp),%esp
40a95e:	5f                   	pop    %edi
40a95f:	5e                   	pop    %esi
40a960:	5b                   	pop    %ebx
40a961:	c9                   	leave
40a962:	c2 08 00             	ret    $0x8
40a965:	55                   	push   %ebp
40a966:	8b ec                	mov    %esp,%ebp