4988e2:	85 c0                	test   %eax,%eax
4988e4:	0f 84 0a 00 00 00    	je     0x4988f4
4988ea:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
4988ef:	e9 03 00 00 00       	jmp    0x4988f7
4988f4:	8b 45 0c             	mov    0xc(%ebp),%eax
4988f7:	89 45 dc             	mov    %eax,-0x24(%ebp)
4988fa:	89 65 d8             	mov    %esp,-0x28(%ebp)
4988fd:	ff 75 dc             	push   -0x24(%ebp)
498900:	8b 5d ec             	mov    -0x14(%ebp),%ebx
498903:	ff 33                	push   (%ebx)
498905:	33 c0                	xor    %eax,%eax
498907:	ff 15 40 9b 50 00    	call   *0x509b40
49890d:	90                   	nop
49890e:	90                   	nop
49890f:	39 65 d8             	cmp    %esp,-0x28(%ebp)
498912:	74 17                	je     0x49892b
498914:	68 5c 03 00 00       	push   $0x35c
498919:	68 44 c3 03 04       	push   $0x403c344
49891e:	68 06 00 00 00       	push   $0x6
498923:	e8 82 7c 00 00       	call   0x4a05aa
498928:	83 c4 0c             	add    $0xc,%esp
49892b:	89 45 f0             	mov    %eax,-0x10(%ebp)
49892e:	83 7d f0 00          	cmpl   $0x0,-0x10(%ebp)
498932:	b8 00 00 00 00       	mov    $0x0,%eax
498937:	0f 94 c0             	sete   %al
49893a:	e9 00 00 00 00       	jmp    0x49893f
49893f:	8b e5                	mov    %ebp,%esp
498941:	5d                   	pop    %ebp
498942:	c2 14 00             	ret    $0x14
498945:	55                   	push   %ebp
498946:	8b ec                	mov    %esp,%ebp
498948:	81 ec 0c 00 00 00    	sub    $0xc,%esp
49894e:	8b 5d 08             	mov    0x8(%ebp),%ebx
498951:	8b 1b                	mov    (%ebx),%ebx
498953:	83 c3 0c             	add    $0xc,%ebx
498956:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498959:	8b 5d fc             	mov    -0x4(%ebp),%ebx
49895c:	83 3b 01             	cmpl   $0x1,(%ebx)
49895f:	0f 84 0a 00 00 00    	je     0x49896f
498965:	b8 00 00 00 00       	mov    $0x0,%eax
49896a:	e9 3e 00 00 00       	jmp    0x4989ad
49896f:	8b 5d 08             	mov    0x8(%ebp),%ebx
498972:	8b 1b                	mov    (%ebx),%ebx
498974:	83 c3 20             	add    $0x20,%ebx
498977:	89 5d fc             	mov    %ebx,-0x4(%ebp)
49897a:	89 65 f8             	mov    %esp,-0x8(%ebp)
49897d:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498980:	ff 33                	push   (%ebx)
498982:	33 c0                	xor    %eax,%eax
498984:	ff 15 50 9b 50 00    	call   *0x509b50
49898a:	90                   	nop
49898b:	90                   	nop
49898c:	39 65 f8             	cmp    %esp,-0x8(%ebp)
49898f:	74 17                	je     0x4989a8
498991:	68 5c 00 00 00       	push   $0x5c
498996:	68 a4 c3 03 04       	push   $0x403c3a4
49899b:	68 06 00 00 00       	push   $0x6
4989a0:	e8 05 7c 00 00       	call   0x4a05aa
4989a5:	83 c4 0c             	add    $0xc,%esp
4989a8:	e9 00 00 00 00       	jmp    0x4989ad
4989ad:	8b e5                	mov    %ebp,%esp
4989af:	5d                   	pop    %ebp
4989b0:	c2 04 00             	ret    $0x4
4989b3:	55                   	push   %ebp
4989b4:	8b ec                	mov    %esp,%ebp
4989b6:	81 ec 20 00 00 00    	sub    $0x20,%esp
4989bc:	8b 5d 08             	mov    0x8(%ebp),%ebx
4989bf:	8b 1b                	mov    (%ebx),%ebx
4989c1:	83 c3 28             	add    $0x28,%ebx
4989c4:	89 5d fc             	mov    %ebx,-0x4(%ebp)
4989c7:	8b 5d 08             	mov    0x8(%ebp),%ebx
4989ca:	8b 1b                	mov    (%ebx),%ebx
4989cc:	83 c3 2c             	add    $0x2c,%ebx
4989cf:	89 5d f8             	mov    %ebx,-0x8(%ebp)
4989d2:	8b 5d fc             	mov    -0x4(%ebp),%ebx
4989d5:	db 03                	fildl  (%ebx)
4989d7:	dd 5d f0             	fstpl  -0x10(%ebp)
4989da:	dd 45 f0             	fldl   -0x10(%ebp)
4989dd:	8b 5d f8             	mov    -0x8(%ebp),%ebx
4989e0:	db 03                	fildl  (%ebx)
4989e2:	dd 5d e8             	fstpl  -0x18(%ebp)
4989e5:	dc 65 e8             	fsubl  -0x18(%ebp)
4989e8:	dd 5d e0             	fstpl  -0x20(%ebp)
4989eb:	dd 45 e0             	fldl   -0x20(%ebp)
4989ee:	e8 fc 87 f6 ff       	call   0x4011ef
4989f3:	e9 00 00 00 00       	jmp    0x4989f8
4989f8:	8b e5                	mov    %ebp,%esp
4989fa:	5d                   	pop    %ebp
4989fb:	c2 04 00             	ret    $0x4
4989fe:	55                   	push   %ebp
4989ff:	8b ec                	mov    %esp,%ebp
498a01:	81 ec 04 00 00 00    	sub    $0x4,%esp
498a07:	8b 5d 08             	mov    0x8(%ebp),%ebx
498a0a:	8b 1b                	mov    (%ebx),%ebx
498a0c:	83 c3 2c             	add    $0x2c,%ebx
498a0f:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498a12:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498a15:	8b 03                	mov    (%ebx),%eax
498a17:	e9 00 00 00 00       	jmp    0x498a1c
498a1c:	8b e5                	mov    %ebp,%esp
498a1e:	5d                   	pop    %ebp
498a1f:	c2 04 00             	ret    $0x4
498a22:	55                   	push   %ebp
498a23:	8b ec                	mov    %esp,%ebp
498a25:	81 ec 04 00 00 00    	sub    $0x4,%esp
498a2b:	8b 5d 08             	mov    0x8(%ebp),%ebx
498a2e:	8b 1b                	mov    (%ebx),%ebx
498a30:	83 c3 30             	add    $0x30,%ebx
498a33:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498a36:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498a39:	8b 03                	mov    (%ebx),%eax
498a3b:	e9 00 00 00 00       	jmp    0x498a40
498a40:	8b e5                	mov    %ebp,%esp
498a42:	5d                   	pop    %ebp
498a43:	c2 04 00             	ret    $0x4
498a46:	55                   	push   %ebp
498a47:	8b ec                	mov    %esp,%ebp
498a49:	81 ec 04 00 00 00    	sub    $0x4,%esp
498a4f:	8b 5d 08             	mov    0x8(%ebp),%ebx
498a52:	8b 1b                	mov    (%ebx),%ebx
498a54:	83 c3 28             	add    $0x28,%ebx
498a57:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498a5a:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498a5d:	8b 03                	mov    (%ebx),%eax
498a5f:	e9 00 00 00 00       	jmp    0x498a64
498a64:	8b e5                	mov    %ebp,%esp
498a66:	5d                   	pop    %ebp
498a67:	c2 04 00             	ret    $0x4
498a6a:	55                   	push   %ebp
498a6b:	8b ec                	mov    %esp,%ebp
498a6d:	81 ec 04 00 00 00    	sub    $0x4,%esp
498a73:	8b 5d 08             	mov    0x8(%ebp),%ebx
498a76:	8b 1b                	mov    (%ebx),%ebx
498a78:	83 c3 38             	add    $0x38,%ebx
498a7b:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498a7e:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498a81:	8b 03                	mov    (%ebx),%eax
498a83:	e9 00 00 00 00       	jmp    0x498a88
498a88:	8b e5                	mov    %ebp,%esp
498a8a:	5d                   	pop    %ebp
498a8b:	c2 04 00             	ret    $0x4
498a8e:	55                   	push   %ebp
498a8f:	8b ec                	mov    %esp,%ebp
498a91:	81 ec 14 00 00 00    	sub    $0x14,%esp
498a97:	8b 5d 08             	mov    0x8(%ebp),%ebx
498a9a:	8b 1b                	mov    (%ebx),%ebx
498a9c:	83 c3 30             	add    $0x30,%ebx
498a9f:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498aa2:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498aa5:	83 3b 00             	cmpl   $0x0,(%ebx)
498aa8:	0f 85 1e 00 00 00    	jne    0x498acc
498aae:	8b 5d 08             	mov    0x8(%ebp),%ebx
498ab1:	8b 1b                	mov    (%ebx),%ebx
498ab3:	83 c3 2c             	add    $0x2c,%ebx
498ab6:	89 5d f4             	mov    %ebx,-0xc(%ebp)
498ab9:	8b 5d f4             	mov    -0xc(%ebp),%ebx
498abc:	83 3b 00             	cmpl   $0x0,(%ebx)
498abf:	0f 85 07 00 00 00    	jne    0x498acc
498ac5:	b8 01 00 00 00       	mov    $0x1,%eax
498aca:	eb 05                	jmp    0x498ad1
498acc:	b8 00 00 00 00       	mov    $0x0,%eax
498ad1:	e9 00 00 00 00       	jmp    0x498ad6
498ad6:	8b e5                	mov    %ebp,%esp
498ad8:	5d                   	pop    %ebp
498ad9:	c2 04 00             	ret    $0x4
498adc:	55                   	push   %ebp
498add:	8b ec                	mov    %esp,%ebp
498adf:	81 ec 04 00 00 00    	sub    $0x4,%esp
498ae5:	8b 5d 08             	mov    0x8(%ebp),%ebx
498ae8:	8b 1b                	mov    (%ebx),%ebx
498aea:	83 c3 0c             	add    $0xc,%ebx
498aed:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498af0:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498af3:	8b 03                	mov    (%ebx),%eax
498af5:	e9 00 00 00 00       	jmp    0x498afa
498afa:	8b e5                	mov    %ebp,%esp
498afc:	5d                   	pop    %ebp
498afd:	c2 04 00             	ret    $0x4
498b00:	55                   	push   %ebp
498b01:	8b ec                	mov    %esp,%ebp
498b03:	81 ec 40 00 00 00    	sub    $0x40,%esp
498b09:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b0c:	8b 1b                	mov    (%ebx),%ebx
498b0e:	83 c3 0c             	add    $0xc,%ebx
498b11:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498b14:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498b17:	83 3b 01             	cmpl   $0x1,(%ebx)
498b1a:	0f 84 05 00 00 00    	je     0x498b25
498b20:	e9 02 01 00 00       	jmp    0x498c27
498b25:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)
498b29:	0f 8d 19 00 00 00    	jge    0x498b48
498b2f:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b32:	8b 1b                	mov    (%ebx),%ebx
498b34:	83 c3 38             	add    $0x38,%ebx
498b37:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498b3a:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498b3d:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)
498b43:	e9 13 00 00 00       	jmp    0x498b5b
498b48:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b4b:	8b 1b                	mov    (%ebx),%ebx
498b4d:	83 c3 38             	add    $0x38,%ebx
498b50:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498b53:	8b 45 0c             	mov    0xc(%ebp),%eax
498b56:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498b59:	89 03                	mov    %eax,(%ebx)
498b5b:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b5e:	8b 1b                	mov    (%ebx),%ebx
498b60:	83 c3 28             	add    $0x28,%ebx
498b63:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498b66:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b69:	8b 1b                	mov    (%ebx),%ebx
498b6b:	83 c3 38             	add    $0x38,%ebx
498b6e:	89 5d f8             	mov    %ebx,-0x8(%ebp)
498b71:	8b 5d f8             	mov    -0x8(%ebp),%ebx
498b74:	8b 03                	mov    (%ebx),%eax
498b76:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498b79:	39 03                	cmp    %eax,(%ebx)
498b7b:	0f 8d 60 00 00 00    	jge    0x498be1
498b81:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b84:	8b 1b                	mov    (%ebx),%ebx
498b86:	83 c3 2c             	add    $0x2c,%ebx
498b89:	89 5d f0             	mov    %ebx,-0x10(%ebp)
498b8c:	8b 5d 08             	mov    0x8(%ebp),%ebx
498b8f:	8b 1b                	mov    (%ebx),%ebx
498b91:	83 c3 30             	add    $0x30,%ebx
498b94:	89 5d ec             	mov    %ebx,-0x14(%ebp)
498b97:	8b 5d f0             	mov    -0x10(%ebp),%ebx
498b9a:	db 03                	fildl  (%ebx)
498b9c:	dd 5d e4             	fstpl  -0x1c(%ebp)
498b9f:	dd 45 e4             	fldl   -0x1c(%ebp)
498ba2:	8b 5d ec             	mov    -0x14(%ebp),%ebx
498ba5:	db 03                	fildl  (%ebx)
498ba7:	dd 5d dc             	fstpl  -0x24(%ebp)
498baa:	dc 45 dc             	faddl  -0x24(%ebp)
498bad:	dd 5d d4             	fstpl  -0x2c(%ebp)
498bb0:	8b 5d 08             	mov    0x8(%ebp),%ebx
498bb3:	8b 1b                	mov    (%ebx),%ebx
498bb5:	83 c3 28             	add    $0x28,%ebx
498bb8:	89 5d d0             	mov    %ebx,-0x30(%ebp)
498bbb:	8b 5d d0             	mov    -0x30(%ebp),%ebx
498bbe:	db 03                	fildl  (%ebx)
498bc0:	dd 5d c8             	fstpl  -0x38(%ebp)
498bc3:	dd 45 d4             	fldl   -0x2c(%ebp)
498bc6:	dc 65 c8             	fsubl  -0x38(%ebp)
498bc9:	dc 1d 7a 0a 4e 00    	fcompl 0x4e0a7a
498bcf:	df e0                	fnstsw %ax
498bd1:	f6 c4 41             	test   $0x41,%ah
498bd4:	0f 85 07 00 00 00    	jne    0x498be1
498bda:	b8 01 00 00 00       	mov    $0x1,%eax
498bdf:	eb 05                	jmp    0x498be6
498be1:	b8 00 00 00 00       	mov    $0x0,%eax
498be6:	85 c0                	test   %eax,%eax
498be8:	0f 84 39 00 00 00    	je     0x498c27
498bee:	8b 5d 08             	mov    0x8(%ebp),%ebx
498bf1:	8b 1b                	mov    (%ebx),%ebx
498bf3:	83 c3 18             	add    $0x18,%ebx
498bf6:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498bf9:	89 65 f8             	mov    %esp,-0x8(%ebp)
498bfc:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498bff:	ff 33                	push   (%ebx)
498c01:	33 c0                	xor    %eax,%eax
498c03:	ff 15 50 9b 50 00    	call   *0x509b50
498c09:	90                   	nop
498c0a:	90                   	nop
498c0b:	39 65 f8             	cmp    %esp,-0x8(%ebp)
498c0e:	74 17                	je     0x498c27
498c10:	68 49 01 00 00       	push   $0x149
498c15:	68 1a c3 03 04       	push   $0x403c31a
498c1a:	68 06 00 00 00       	push   $0x6
498c1f:	e8 86 79 00 00       	call   0x4a05aa
498c24:	83 c4 0c             	add    $0xc,%esp
498c27:	8b e5                	mov    %ebp,%esp
498c29:	5d                   	pop    %ebp
498c2a:	c2 08 00             	ret    $0x8
498c2d:	55                   	push   %ebp
498c2e:	8b ec                	mov    %esp,%ebp
498c30:	81 ec 08 00 00 00    	sub    $0x8,%esp
498c36:	8b 5d 08             	mov    0x8(%ebp),%ebx
498c39:	8b 1b                	mov    (%ebx),%ebx
498c3b:	83 c3 0c             	add    $0xc,%ebx
498c3e:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498c41:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498c44:	83 3b 01             	cmpl   $0x1,(%ebx)
498c47:	0f 84 05 00 00 00    	je     0x498c52
498c4d:	e9 36 00 00 00       	jmp    0x498c88
498c52:	83 7d 0c 64          	cmpl   $0x64,0xc(%ebp)
498c56:	0f 8d 19 00 00 00    	jge    0x498c75
498c5c:	8b 5d 08             	mov    0x8(%ebp),%ebx
498c5f:	8b 1b                	mov    (%ebx),%ebx
498c61:	83 c3 3c             	add    $0x3c,%ebx
498c64:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498c67:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498c6a:	c7 03 64 00 00 00    	movl   $0x64,(%ebx)
498c70:	e9 13 00 00 00       	jmp    0x498c88
498c75:	8b 5d 08             	mov    0x8(%ebp),%ebx
498c78:	8b 1b                	mov    (%ebx),%ebx
498c7a:	83 c3 3c             	add    $0x3c,%ebx
498c7d:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498c80:	8b 45 0c             	mov    0xc(%ebp),%eax
498c83:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498c86:	89 03                	mov    %eax,(%ebx)
498c88:	8b e5                	mov    %ebp,%esp
498c8a:	5d                   	pop    %ebp
498c8b:	c2 08 00             	ret    $0x8
498c8e:	55                   	push   %ebp
498c8f:	8b ec                	mov    %esp,%ebp
498c91:	81 ec 24 00 00 00    	sub    $0x24,%esp
498c97:	8b 5d 08             	mov    0x8(%ebp),%ebx
498c9a:	8b 1b                	mov    (%ebx),%ebx
498c9c:	83 c3 0c             	add    $0xc,%ebx
498c9f:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498ca2:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498ca5:	83 3b 01             	cmpl   $0x1,(%ebx)
498ca8:	0f 84 05 00 00 00    	je     0x498cb3
498cae:	e9 a3 00 00 00       	jmp    0x498d56
498cb3:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
498cb7:	0f 84 14 00 00 00    	je     0x498cd1
498cbd:	81 7d 0c 00 20 00 00 	cmpl   $0x2000,0xc(%ebp)
498cc4:	0f 8d 07 00 00 00    	jge    0x498cd1
498cca:	b8 01 00 00 00       	mov    $0x1,%eax
498ccf:	eb 05                	jmp    0x498cd6
498cd1:	b8 00 00 00 00       	mov    $0x0,%eax
498cd6:	85 c0                	test   %eax,%eax
498cd8:	0f 84 19 00 00 00    	je     0x498cf7
498cde:	8b 5d 08             	mov    0x8(%ebp),%ebx
498ce1:	8b 1b                	mov    (%ebx),%ebx
498ce3:	83 c3 40             	add    $0x40,%ebx
498ce6:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498ce9:	8b 5d fc             	mov    -0x4(%ebp),%ebx
498cec:	c7 03 00 20 00 00    	movl   $0x2000,(%ebx)
498cf2:	e9 5f 00 00 00       	jmp    0x498d56
498cf7:	8b 5d 08             	mov    0x8(%ebp),%ebx
498cfa:	8b 1b                	mov    (%ebx),%ebx
498cfc:	83 c3 40             	add    $0x40,%ebx
498cff:	89 5d fc             	mov    %ebx,-0x4(%ebp)
498d02:	68 01 06 00 80       	push   $0x80000601
498d07:	68 00 00 c0 40       	push   $0x40c00000
498d0c:	68 00 00 00 00       	push   $0x0
498d11:	db 45 0c             	fildl  0xc(%ebp)
498d14:	dd 5d f4             	fstpl  -0xc(%ebp)
498d17:	68 01 06 00 80       	push   $0x80000601
498d1c:	ff 75 f8             	push   -0x8(%ebp)
498d1f:	ff 75 f4             	push   -0xc(%ebp)
498d22:	68 02 00 00 00       	push   $0x2
498d27:	bb 48 00 00 00       	mov    $0x48,%ebx
498d2c:	e8 2f c3 00 00       	call   0x4a5060
498d31:	83 c4 1c             	add    $0x1c,%esp
498d34:	89 45 ec             	mov    %eax,-0x14(%ebp)
498d37:	89 55 f0             	mov    %edx,-0x10(%ebp)
498d3a:	db 45 0c             	fildl  0xc(%ebp)