40d540:	f7 d9                	neg    %ecx
40d542:	66 89 4c 24 24       	mov    %cx,0x24(%esp)
40d547:	8d 4c 24 10          	lea    0x10(%esp),%ecx
40d54b:	ff d5                	call   *%ebp
40d54d:	66 83 7c 24 24 00    	cmpw   $0x0,0x24(%esp)
40d553:	74 1f                	je     0x40d574
40d555:	8b 16                	mov    (%esi),%edx
40d557:	56                   	push   %esi
40d558:	ff 92 14 07 00 00    	call   *0x714(%edx)
40d55e:	85 c0                	test   %eax,%eax
40d560:	7d 12                	jge    0x40d574
40d562:	68 14 07 00 00       	push   $0x714
40d567:	68 24 76 40 00       	push   $0x407624
40d56c:	56                   	push   %esi
40d56d:	50                   	push   %eax
40d56e:	ff 15 48 10 40 00    	call   *0x401048
40d574:	68 ad 74 00 00       	push   $0x74ad
40d579:	8d 44 24 14          	lea    0x14(%esp),%eax
40d57d:	50                   	push   %eax
40d57e:	ff d7                	call   *%edi
40d580:	50                   	push   %eax
40d581:	ff d3                	call   *%ebx
40d583:	33 c9                	xor    %ecx,%ecx
40d585:	66 3d ff ff          	cmp    $0xffff,%ax
40d589:	0f 95 c1             	setne  %cl
40d58c:	f7 d9                	neg    %ecx
40d58e:	66 89 4c 24 24       	mov    %cx,0x24(%esp)
40d593:	8d 4c 24 10          	lea    0x10(%esp),%ecx
40d597:	ff d5                	call   *%ebp
40d599:	66 83 7c 24 24 00    	cmpw   $0x0,0x24(%esp)
40d59f:	74 1f                	je     0x40d5c0
40d5a1:	8b 16                	mov    (%esi),%edx
40d5a3:	56                   	push   %esi
40d5a4:	ff 92 14 07 00 00    	call   *0x714(%edx)
40d5aa:	85 c0                	test   %eax,%eax
40d5ac:	7d 12                	jge    0x40d5c0
40d5ae:	68 14 07 00 00       	push   $0x714
40d5b3:	68 24 76 40 00       	push   $0x407624
40d5b8:	56                   	push   %esi
40d5b9:	50                   	push   %eax
40d5ba:	ff 15 48 10 40 00    	call   *0x401048
40d5c0:	68 d0 52 00 00       	push   $0x52d0
40d5c5:	8d 44 24 14          	lea    0x14(%esp),%eax
40d5c9:	50                   	push   %eax
40d5ca:	ff d7                	call   *%edi
40d5cc:	50                   	push   %eax
40d5cd:	ff d3                	call   *%ebx
40d5cf:	33 c9                	xor    %ecx,%ecx
40d5d1:	66 3d ff ff          	cmp    $0xffff,%ax
40d5d5:	0f 95 c1             	setne  %cl
40d5d8:	f7 d9                	neg    %ecx
40d5da:	66 89 4c 24 24       	mov    %cx,0x24(%esp)
40d5df:	8d 4c 24 10          	lea    0x10(%esp),%ecx
40d5e3:	ff d5                	call   *%ebp
40d5e5:	66 83 7c 24 24 00    	cmpw   $0x0,0x24(%esp)
40d5eb:	74 1f                	je     0x40d60c
40d5ed:	8b 16                	mov    (%esi),%edx
40d5ef:	56                   	push   %esi
40d5f0:	ff 92 14 07 00 00    	call   *0x714(%edx)
40d5f6:	85 c0                	test   %eax,%eax
40d5f8:	7d 12                	jge    0x40d60c
40d5fa:	68 14 07 00 00       	push   $0x714
40d5ff:	68 24 76 40 00       	push   $0x407624
40d604:	56                   	push   %esi
40d605:	50                   	push   %eax
40d606:	ff 15 48 10 40 00    	call   *0x401048
40d60c:	68 f1 50 00 00       	push   $0x50f1
40d611:	8d 44 24 14          	lea    0x14(%esp),%eax
40d615:	50                   	push   %eax
40d616:	ff d7                	call   *%edi
40d618:	50                   	push   %eax
40d619:	ff d3                	call   *%ebx
40d61b:	33 c9                	xor    %ecx,%ecx
40d61d:	66 3d ff ff          	cmp    $0xffff,%ax
40d621:	0f 95 c1             	setne  %cl
40d624:	f7 d9                	neg    %ecx
40d626:	66 8b f9             	mov    %cx,%di
40d629:	8d 4c 24 10          	lea    0x10(%esp),%ecx
40d62d:	ff d5                	call   *%ebp
40d62f:	66 85 ff             	test   %di,%di
40d632:	74 4b                	je     0x40d67f
40d634:	8b 16                	mov    (%esi),%edx
40d636:	56                   	push   %esi
40d637:	ff 92 14 07 00 00    	call   *0x714(%edx)
40d63d:	85 c0                	test   %eax,%eax
40d63f:	7d 28                	jge    0x40d669
40d641:	68 14 07 00 00       	push   $0x714
40d646:	68 24 76 40 00       	push   $0x407624
40d64b:	56                   	push   %esi
40d64c:	50                   	push   %eax
40d64d:	ff 15 48 10 40 00    	call   *0x401048
40d653:	8b 44 24 38          	mov    0x38(%esp),%eax
40d657:	5f                   	pop    %edi
40d658:	5e                   	pop    %esi
40d659:	5d                   	pop    %ebp
40d65a:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
40d660:	33 c0                	xor    %eax,%eax
40d662:	5b                   	pop    %ebx
40d663:	83 c4 10             	add    $0x10,%esp
40d666:	c2 18 00             	ret    $0x18
40d669:	8b 4c 24 38          	mov    0x38(%esp),%ecx
40d66d:	5f                   	pop    %edi
40d66e:	5e                   	pop    %esi
40d66f:	5d                   	pop    %ebp
40d670:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)
40d676:	33 c0                	xor    %eax,%eax
40d678:	5b                   	pop    %ebx
40d679:	83 c4 10             	add    $0x10,%esp
40d67c:	c2 18 00             	ret    $0x18
40d67f:	8b 54 24 38          	mov    0x38(%esp),%edx
40d683:	5f                   	pop    %edi
40d684:	5e                   	pop    %esi
40d685:	5d                   	pop    %ebp
40d686:	c7 02 00 00 00 00    	movl   $0x0,(%edx)
40d68c:	33 c0                	xor    %eax,%eax
40d68e:	5b                   	pop    %ebx
40d68f:	83 c4 10             	add    $0x10,%esp
40d692:	c2 18 00             	ret    $0x18
40d695:	90                   	nop
40d696:	90                   	nop
40d697:	90                   	nop
40d698:	90                   	nop
40d699:	90                   	nop
40d69a:	90                   	nop
40d69b:	90                   	nop
40d69c:	90                   	nop
40d69d:	90                   	nop
40d69e:	90                   	nop
40d69f:	90                   	nop
40d6a0:	55                   	push   %ebp
40d6a1:	8b ec                	mov    %esp,%ebp
40d6a3:	83 ec 0c             	sub    $0xc,%esp
40d6a6:	68 c6 12 40 00       	push   $0x4012c6
40d6ab:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40d6b1:	50                   	push   %eax
40d6b2:	64 89 25 00 00 00 00 	mov    %esp,%fs:0x0
40d6b9:	83 ec 0c             	sub    $0xc,%esp
40d6bc:	53                   	push   %ebx
40d6bd:	56                   	push   %esi
40d6be:	57                   	push   %edi
40d6bf:	89 65 f4             	mov    %esp,-0xc(%ebp)
40d6c2:	c7 45 f8 70 12 40 00 	movl   $0x401270,-0x8(%ebp)
40d6c9:	33 f6                	xor    %esi,%esi
40d6cb:	89 75 fc             	mov    %esi,-0x4(%ebp)
40d6ce:	8b 45 08             	mov    0x8(%ebp),%eax
40d6d1:	8b 08                	mov    (%eax),%ecx
40d6d3:	50                   	push   %eax
40d6d4:	ff 51 04             	call   *0x4(%ecx)
40d6d7:	8b 55 24             	mov    0x24(%ebp),%edx
40d6da:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40d6dd:	89 75 e8             	mov    %esi,-0x18(%ebp)
40d6e0:	ff 15 44 11 40 00    	call   *0x401144
40d6e6:	8b 35 08 11 40 00    	mov    0x401108,%esi
40d6ec:	68 8c 77 40 00       	push   $0x40778c
40d6f1:	ff d6                	call   *%esi
40d6f3:	66 3d 01 00          	cmp    $0x1,%ax
40d6f7:	74 0f                	je     0x40d708
40d6f9:	8b 3d 10 11 40 00    	mov    0x401110,%edi
40d6ff:	68 9c 81 40 00       	push   $0x40819c
40d704:	ff d7                	call   *%edi
40d706:	eb 06                	jmp    0x40d70e
40d708:	8b 3d 10 11 40 00    	mov    0x401110,%edi
40d70e:	68 8c 77 40 00       	push   $0x40778c
40d713:	ff d6                	call   *%esi
40d715:	66 3d 01 00          	cmp    $0x1,%ax
40d719:	74 07                	je     0x40d722
40d71b:	68 c4 81 40 00       	push   $0x4081c4
40d720:	ff d7                	call   *%edi
40d722:	68 8c 77 40 00       	push   $0x40778c
40d727:	ff d6                	call   *%esi
40d729:	66 3d 01 00          	cmp    $0x1,%ax
40d72d:	74 07                	je     0x40d736
40d72f:	68 e0 81 40 00       	push   $0x4081e0
40d734:	ff d7                	call   *%edi
40d736:	68 8c 77 40 00       	push   $0x40778c
40d73b:	ff d6                	call   *%esi
40d73d:	66 3d 01 00          	cmp    $0x1,%ax
40d741:	74 07                	je     0x40d74a
40d743:	68 f4 81 40 00       	push   $0x4081f4
40d748:	ff d7                	call   *%edi
40d74a:	68 8c 77 40 00       	push   $0x40778c
40d74f:	ff d6                	call   *%esi
40d751:	66 3d 01 00          	cmp    $0x1,%ax
40d755:	74 07                	je     0x40d75e
40d757:	68 1c 82 40 00       	push   $0x40821c
40d75c:	ff d7                	call   *%edi
40d75e:	68 8c 77 40 00       	push   $0x40778c
40d763:	ff d6                	call   *%esi
40d765:	66 3d 01 00          	cmp    $0x1,%ax
40d769:	74 07                	je     0x40d772
40d76b:	68 38 82 40 00       	push   $0x408238
40d770:	ff d7                	call   *%edi
40d772:	68 8c 77 40 00       	push   $0x40778c
40d777:	ff d6                	call   *%esi
40d779:	66 3d 01 00          	cmp    $0x1,%ax
40d77d:	74 07                	je     0x40d786
40d77f:	68 54 82 40 00       	push   $0x408254
40d784:	ff d7                	call   *%edi
40d786:	68 8c 77 40 00       	push   $0x40778c
40d78b:	ff d6                	call   *%esi
40d78d:	66 3d 01 00          	cmp    $0x1,%ax
40d791:	74 07                	je     0x40d79a
40d793:	68 68 82 40 00       	push   $0x408268
40d798:	ff d7                	call   *%edi
40d79a:	68 8c 77 40 00       	push   $0x40778c
40d79f:	ff d6                	call   *%esi
40d7a1:	66 3d 01 00          	cmp    $0x1,%ax
40d7a5:	74 07                	je     0x40d7ae
40d7a7:	68 90 82 40 00       	push   $0x408290
40d7ac:	ff d7                	call   *%edi
40d7ae:	68 8c 77 40 00       	push   $0x40778c
40d7b3:	ff d6                	call   *%esi
40d7b5:	66 3d 01 00          	cmp    $0x1,%ax
40d7b9:	74 07                	je     0x40d7c2
40d7bb:	68 ac 82 40 00       	push   $0x4082ac
40d7c0:	ff d7                	call   *%edi
40d7c2:	68 d1 d7 40 00       	push   $0x40d7d1
40d7c7:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40d7ca:	ff 15 a8 11 40 00    	call   *0x4011a8
40d7d0:	c3                   	ret
40d7d1:	8b 45 08             	mov    0x8(%ebp),%eax
40d7d4:	8b 10                	mov    (%eax),%edx
40d7d6:	50                   	push   %eax
40d7d7:	ff 52 08             	call   *0x8(%edx)
40d7da:	8b 45 fc             	mov    -0x4(%ebp),%eax
40d7dd:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40d7e0:	5f                   	pop    %edi
40d7e1:	5e                   	pop    %esi
40d7e2:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40d7e9:	5b                   	pop    %ebx
40d7ea:	8b e5                	mov    %ebp,%esp
40d7ec:	5d                   	pop    %ebp
40d7ed:	c2 24 00             	ret    $0x24
40d7f0:	55                   	push   %ebp
40d7f1:	8b ec                	mov    %esp,%ebp
40d7f3:	83 ec 0c             	sub    $0xc,%esp
40d7f6:	68 c6 12 40 00       	push   $0x4012c6
40d7fb:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40d801:	50                   	push   %eax
40d802:	64 89 25 00 00 00 00 	mov    %esp,%fs:0x0
40d809:	83 ec 68             	sub    $0x68,%esp
40d80c:	53                   	push   %ebx
40d80d:	56                   	push   %esi
40d80e:	57                   	push   %edi
40d80f:	89 65 f4             	mov    %esp,-0xc(%ebp)
40d812:	c7 45 f8 80 12 40 00 	movl   $0x401280,-0x8(%ebp)
40d819:	33 db                	xor    %ebx,%ebx
40d81b:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40d81e:	8b 45 08             	mov    0x8(%ebp),%eax
40d821:	8b 08                	mov    (%eax),%ecx
40d823:	50                   	push   %eax
40d824:	ff 51 04             	call   *0x4(%ecx)
40d827:	8b 55 0c             	mov    0xc(%ebp),%edx
40d82a:	8d 4d e4             	lea    -0x1c(%ebp),%ecx
40d82d:	89 5d e8             	mov    %ebx,-0x18(%ebp)
40d830:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40d833:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40d836:	89 5d dc             	mov    %ebx,-0x24(%ebp)
40d839:	89 5d cc             	mov    %ebx,-0x34(%ebp)
40d83c:	89 5d bc             	mov    %ebx,-0x44(%ebp)
40d83f:	ff 15 44 11 40 00    	call   *0x401144
40d845:	b8 0a 00 00 00       	mov    $0xa,%eax
40d84a:	8d 55 bc             	lea    -0x44(%ebp),%edx
40d84d:	52                   	push   %edx
40d84e:	89 45 bc             	mov    %eax,-0x44(%ebp)
40d851:	89 45 cc             	mov    %eax,-0x34(%ebp)
40d854:	8d 45 cc             	lea    -0x34(%ebp),%eax
40d857:	50                   	push   %eax
40d858:	68 00 00 f0 3f       	push   $0x3ff00000
40d85d:	53                   	push   %ebx
40d85e:	68 00 00 f0 3f       	push   $0x3ff00000
40d863:	53                   	push   %ebx
40d864:	68 00 00 f0 3f       	push   $0x3ff00000
40d869:	53                   	push   %ebx
40d86a:	b9 04 00 02 80       	mov    $0x80020004,%ecx
40d86f:	68 00 00 f0 3f       	push   $0x3ff00000
40d874:	53                   	push   %ebx
40d875:	89 4d c4             	mov    %ecx,-0x3c(%ebp)
40d878:	89 4d d4             	mov    %ecx,-0x2c(%ebp)
40d87b:	ff 15 dc 10 40 00    	call   *0x4010dc
40d881:	ff 15 9c 10 40 00    	call   *0x40109c
40d887:	dc 1d 10 12 40 00    	fcompl 0x401210
40d88d:	df e0                	fnstsw %ax
40d88f:	f6 c4 40             	test   $0x40,%ah
40d892:	75 07                	jne    0x40d89b
40d894:	be 01 00 00 00       	mov    $0x1,%esi
40d899:	eb 02                	jmp    0x40d89d
40d89b:	33 f6                	xor    %esi,%esi
40d89d:	8d 4d bc             	lea    -0x44(%ebp),%ecx
40d8a0:	51                   	push   %ecx
40d8a1:	8d 55 cc             	lea    -0x34(%ebp),%edx
40d8a4:	52                   	push   %edx
40d8a5:	6a 02                	push   $0x2
40d8a7:	ff 15 28 10 40 00    	call   *0x401028
40d8ad:	f7 de                	neg    %esi
40d8af:	83 c4 0c             	add    $0xc,%esp
40d8b2:	66 85 f6             	test   %si,%si
40d8b5:	0f 84 85 00 00 00    	je     0x40d940
40d8bb:	39 1d 38 03 41 00    	cmp    %ebx,0x410338
40d8c1:	75 10                	jne    0x40d8d3
40d8c3:	68 38 03 41 00       	push   $0x410338
40d8c8:	68 c4 7c 40 00       	push   $0x407cc4
40d8cd:	ff 15 28 11 40 00    	call   *0x401128
40d8d3:	8b 35 38 03 41 00    	mov    0x410338,%esi
40d8d9:	8b 06                	mov    (%esi),%eax
40d8db:	8d 4d dc             	lea    -0x24(%ebp),%ecx
40d8de:	51                   	push   %ecx
40d8df:	56                   	push   %esi
40d8e0:	ff 50 4c             	call   *0x4c(%eax)
40d8e3:	db e2                	fnclex
40d8e5:	3b c3                	cmp    %ebx,%eax
40d8e7:	7d 13                	jge    0x40d8fc
40d8e9:	8b 3d 48 10 40 00    	mov    0x401048,%edi
40d8ef:	6a 4c                	push   $0x4c
40d8f1:	68 b4 7c 40 00       	push   $0x407cb4
40d8f6:	56                   	push   %esi
40d8f7:	50                   	push   %eax
40d8f8:	ff d7                	call   *%edi
40d8fa:	eb 06                	jmp    0x40d902
40d8fc:	8b 3d 48 10 40 00    	mov    0x401048,%edi
40d902:	8b 45 dc             	mov    -0x24(%ebp),%eax
40d905:	8b 10                	mov    (%eax),%edx
40d907:	8d 4d e0             	lea    -0x20(%ebp),%ecx
40d90a:	51                   	push   %ecx
40d90b:	68 dc 82 40 00       	push   $0x4082dc
40d910:	68 c0 82 40 00       	push   $0x4082c0
40d915:	50                   	push   %eax
40d916:	8b f0                	mov    %eax,%esi
40d918:	ff 52 24             	call   *0x24(%edx)
40d91b:	db e2                	fnclex
40d91d:	3b c3                	cmp    %ebx,%eax
40d91f:	7d 0b                	jge    0x40d92c
40d921:	6a 24                	push   $0x24
40d923:	68 3c 7e 40 00       	push   $0x407e3c
40d928:	56                   	push   %esi
40d929:	50                   	push   %eax
40d92a:	ff d7                	call   *%edi
40d92c:	8d 4d e0             	lea    -0x20(%ebp),%ecx
40d92f:	ff 15 a8 11 40 00    	call   *0x4011a8
40d935:	8d 4d dc             	lea    -0x24(%ebp),%ecx
40d938:	ff 15 ac 11 40 00    	call   *0x4011ac
40d93e:	eb 06                	jmp    0x40d946
40d940:	8b 3d 48 10 40 00    	mov    0x401048,%edi
40d946:	b8 0a 00 00 00       	mov    $0xa,%eax
40d94b:	8d 55 bc             	lea    -0x44(%ebp),%edx
40d94e:	52                   	push   %edx
40d94f:	89 45 bc             	mov    %eax,-0x44(%ebp)
40d952:	89 45 cc             	mov    %eax,-0x34(%ebp)
40d955:	8d 45 cc             	lea    -0x34(%ebp),%eax
40d958:	50                   	push   %eax