4029dc:	55                   	push   %ebp
4029dd:	8b ec                	mov    %esp,%ebp
4029df:	51                   	push   %ecx
4029e0:	51                   	push   %ecx
4029e1:	8d 45 f8             	lea    -0x8(%ebp),%eax
4029e4:	0f 57 c0             	xorps  %xmm0,%xmm0
4029e7:	50                   	push   %eax
4029e8:	ff 75 0c             	push   0xc(%ebp)
4029eb:	66 0f 13 45 f8       	movlpd %xmm0,-0x8(%ebp)
4029f0:	ff 75 08             	push   0x8(%ebp)
4029f3:	e8 2a 00 00 00       	call   0x402a22
4029f8:	8b c8                	mov    %eax,%ecx
4029fa:	85 c9                	test   %ecx,%ecx
4029fc:	78 1c                	js     0x402a1a
4029fe:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
402a02:	8b 55 f8             	mov    -0x8(%ebp),%edx
402a05:	72 0e                	jb     0x402a15
402a07:	77 05                	ja     0x402a0e
402a09:	83 fa ff             	cmp    $0xffffffff,%edx
402a0c:	76 07                	jbe    0x402a15
402a0e:	b9 0a 00 02 80       	mov    $0x8002000a,%ecx
402a13:	eb 05                	jmp    0x402a1a
402a15:	8b 45 10             	mov    0x10(%ebp),%eax
402a18:	89 10                	mov    %edx,(%eax)
402a1a:	8b c1                	mov    %ecx,%eax
402a1c:	8b e5                	mov    %ebp,%esp
402a1e:	5d                   	pop    %ebp
402a1f:	c2 0c 00             	ret    $0xc
402a22:	55                   	push   %ebp
402a23:	8b ec                	mov    %esp,%ebp
402a25:	83 ec 10             	sub    $0x10,%esp
402a28:	53                   	push   %ebx
402a29:	8b 5d 08             	mov    0x8(%ebp),%ebx
402a2c:	0f 57 c0             	xorps  %xmm0,%xmm0
402a2f:	56                   	push   %esi
402a30:	33 f6                	xor    %esi,%esi
402a32:	66 0f 13 45 f0       	movlpd %xmm0,-0x10(%ebp)
402a37:	57                   	push   %edi
402a38:	8b 7d 0c             	mov    0xc(%ebp),%edi
402a3b:	8b c6                	mov    %esi,%eax
402a3d:	89 45 f8             	mov    %eax,-0x8(%ebp)
402a40:	85 ff                	test   %edi,%edi
402a42:	75 0f                	jne    0x402a53
402a44:	53                   	push   %ebx
402a45:	ff 15 f8 b0 44 00    	call   *0x44b0f8
402a4b:	8b f8                	mov    %eax,%edi
402a4d:	85 ff                	test   %edi,%edi
402a4f:	74 63                	je     0x402ab4
402a51:	8b c6                	mov    %esi,%eax
402a53:	8b 55 f4             	mov    -0xc(%ebp),%edx
402a56:	8b 4d f0             	mov    -0x10(%ebp),%ecx
402a59:	89 55 fc             	mov    %edx,-0x4(%ebp)
402a5c:	89 4d 0c             	mov    %ecx,0xc(%ebp)
402a5f:	eb 06                	jmp    0x402a67
402a61:	8b 4d 0c             	mov    0xc(%ebp),%ecx
402a64:	8b 55 fc             	mov    -0x4(%ebp),%edx
402a67:	0f b7 1c 43          	movzwl (%ebx,%eax,2),%ebx
402a6b:	83 eb 30             	sub    $0x30,%ebx
402a6e:	83 fb 09             	cmp    $0x9,%ebx
402a71:	77 41                	ja     0x402ab4
402a73:	56                   	push   %esi
402a74:	6a 0a                	push   $0xa
402a76:	52                   	push   %edx
402a77:	51                   	push   %ecx
402a78:	e8 03 b6 02 00       	call   0x42e080
402a7d:	8b c8                	mov    %eax,%ecx
402a7f:	03 cb                	add    %ebx,%ecx
402a81:	13 d6                	adc    %esi,%edx
402a83:	3b 55 fc             	cmp    -0x4(%ebp),%edx
402a86:	72 25                	jb     0x402aad
402a88:	77 05                	ja     0x402a8f
402a8a:	3b 4d 0c             	cmp    0xc(%ebp),%ecx
402a8d:	72 1e                	jb     0x402aad
402a8f:	8b 45 f8             	mov    -0x8(%ebp),%eax
402a92:	8b 5d 08             	mov    0x8(%ebp),%ebx
402a95:	40                   	inc    %eax
402a96:	89 4d 0c             	mov    %ecx,0xc(%ebp)
402a99:	89 55 fc             	mov    %edx,-0x4(%ebp)
402a9c:	89 45 f8             	mov    %eax,-0x8(%ebp)
402a9f:	3b c7                	cmp    %edi,%eax
402aa1:	72 be                	jb     0x402a61
402aa3:	8b 45 10             	mov    0x10(%ebp),%eax
402aa6:	89 08                	mov    %ecx,(%eax)
402aa8:	89 50 04             	mov    %edx,0x4(%eax)
402aab:	eb 0c                	jmp    0x402ab9
402aad:	be 0a 00 02 80       	mov    $0x8002000a,%esi
402ab2:	eb 05                	jmp    0x402ab9
402ab4:	be 57 00 07 80       	mov    $0x80070057,%esi
402ab9:	5f                   	pop    %edi
402aba:	8b c6                	mov    %esi,%eax
402abc:	5e                   	pop    %esi
402abd:	5b                   	pop    %ebx
402abe:	8b e5                	mov    %ebp,%esp
402ac0:	5d                   	pop    %ebp
402ac1:	c2 0c 00             	ret    $0xc
402ac4:	b8 08 aa 46 00       	mov    $0x46aa08,%eax
402ac9:	c3                   	ret
402aca:	55                   	push   %ebp
402acb:	8b ec                	mov    %esp,%ebp
402acd:	ff 75 18             	push   0x18(%ebp)
402ad0:	ff 75 14             	push   0x14(%ebp)
402ad3:	ff 75 10             	push   0x10(%ebp)
402ad6:	ff 75 0c             	push   0xc(%ebp)
402ad9:	ff 75 08             	push   0x8(%ebp)
402adc:	e8 e3 ff ff ff       	call   0x402ac4
402ae1:	8b 08                	mov    (%eax),%ecx
402ae3:	ff 70 04             	push   0x4(%eax)
402ae6:	83 c9 01             	or     $0x1,%ecx
402ae9:	51                   	push   %ecx
402aea:	e8 48 10 03 00       	call   0x433b37
402aef:	83 c9 ff             	or     $0xffffffff,%ecx
402af2:	83 c4 1c             	add    $0x1c,%esp
402af5:	85 c0                	test   %eax,%eax
402af7:	0f 48 c1             	cmovs  %ecx,%eax
402afa:	5d                   	pop    %ebp
402afb:	c3                   	ret
402afc:	55                   	push   %ebp
402afd:	8b ec                	mov    %esp,%ebp
402aff:	ff 75 18             	push   0x18(%ebp)
402b02:	ff 75 14             	push   0x14(%ebp)
402b05:	ff 75 10             	push   0x10(%ebp)
402b08:	ff 75 0c             	push   0xc(%ebp)
402b0b:	ff 75 08             	push   0x8(%ebp)
402b0e:	e8 b1 ff ff ff       	call   0x402ac4
402b13:	8b 08                	mov    (%eax),%ecx
402b15:	ff 70 04             	push   0x4(%eax)
402b18:	83 c9 01             	or     $0x1,%ecx
402b1b:	51                   	push   %ecx
402b1c:	e8 3a 10 03 00       	call   0x433b5b
402b21:	83 c9 ff             	or     $0xffffffff,%ecx
402b24:	83 c4 1c             	add    $0x1c,%esp
402b27:	85 c0                	test   %eax,%eax
402b29:	0f 48 c1             	cmovs  %ecx,%eax
402b2c:	5d                   	pop    %ebp
402b2d:	c3                   	ret
402b2e:	55                   	push   %ebp
402b2f:	8b ec                	mov    %esp,%ebp
402b31:	51                   	push   %ecx
402b32:	51                   	push   %ecx
402b33:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
402b37:	8d 45 fc             	lea    -0x4(%ebp),%eax
402b3a:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
402b3e:	56                   	push   %esi
402b3f:	8b 75 08             	mov    0x8(%ebp),%esi
402b42:	50                   	push   %eax
402b43:	ff 36                	push   (%esi)
402b45:	e8 13 fc ff ff       	call   0x40275d
402b4a:	8b d0                	mov    %eax,%edx
402b4c:	85 d2                	test   %edx,%edx
402b4e:	78 34                	js     0x402b84
402b50:	8d 45 f8             	lea    -0x8(%ebp),%eax
402b53:	50                   	push   %eax
402b54:	ff 75 fc             	push   -0x4(%ebp)
402b57:	ff 36                	push   (%esi)
402b59:	e8 f9 f0 ff ff       	call   0x401c57
402b5e:	8b d0                	mov    %eax,%edx
402b60:	85 d2                	test   %edx,%edx
402b62:	78 20                	js     0x402b84
402b64:	8b 0e                	mov    (%esi),%ecx
402b66:	8b 45 f8             	mov    -0x8(%ebp),%eax
402b69:	57                   	push   %edi
402b6a:	6a 5c                	push   $0x5c
402b6c:	5f                   	pop    %edi
402b6d:	66 3b 7c 41 fe       	cmp    -0x2(%ecx,%eax,2),%di
402b72:	5f                   	pop    %edi
402b73:	74 0f                	je     0x402b84
402b75:	6a 01                	push   $0x1
402b77:	68 90 b7 44 00       	push   $0x44b790
402b7c:	56                   	push   %esi
402b7d:	e8 70 f3 ff ff       	call   0x401ef2
402b82:	8b d0                	mov    %eax,%edx
402b84:	8b c2                	mov    %edx,%eax
402b86:	5e                   	pop    %esi
402b87:	8b e5                	mov    %ebp,%esp
402b89:	5d                   	pop    %ebp
402b8a:	c2 04 00             	ret    $0x4
402b8d:	55                   	push   %ebp
402b8e:	8b ec                	mov    %esp,%ebp
402b90:	83 ec 10             	sub    $0x10,%esp
402b93:	53                   	push   %ebx
402b94:	8b 5d 0c             	mov    0xc(%ebp),%ebx
402b97:	33 c0                	xor    %eax,%eax
402b99:	56                   	push   %esi
402b9a:	8b d0                	mov    %eax,%edx
402b9c:	8b f0                	mov    %eax,%esi
402b9e:	8b c8                	mov    %eax,%ecx
402ba0:	89 55 fc             	mov    %edx,-0x4(%ebp)
402ba3:	0f b7 03             	movzwl (%ebx),%eax
402ba6:	57                   	push   %edi
402ba7:	8b fb                	mov    %ebx,%edi
402ba9:	66 85 c0             	test   %ax,%ax
402bac:	0f 84 04 01 00 00    	je     0x402cb6
402bb2:	c7 45 f8 22 00 00 00 	movl   $0x22,-0x8(%ebp)
402bb9:	c7 45 f4 5c 00 00 00 	movl   $0x5c,-0xc(%ebp)
402bc0:	c7 45 f0 20 00 00 00 	movl   $0x20,-0x10(%ebp)
402bc7:	66 39 45 f0          	cmp    %ax,-0x10(%ebp)
402bcb:	74 3b                	je     0x402c08
402bcd:	c7 45 f0 09 00 00 00 	movl   $0x9,-0x10(%ebp)
402bd4:	66 39 45 f0          	cmp    %ax,-0x10(%ebp)
402bd8:	74 2e                	je     0x402c08
402bda:	c7 45 f0 0a 00 00 00 	movl   $0xa,-0x10(%ebp)
402be1:	66 39 45 f0          	cmp    %ax,-0x10(%ebp)
402be5:	74 21                	je     0x402c08
402be7:	c7 45 f0 0b 00 00 00 	movl   $0xb,-0x10(%ebp)
402bee:	66 39 45 f0          	cmp    %ax,-0x10(%ebp)
402bf2:	74 14                	je     0x402c08
402bf4:	66 39 45 f8          	cmp    %ax,-0x8(%ebp)
402bf8:	75 06                	jne    0x402c00
402bfa:	33 f6                	xor    %esi,%esi
402bfc:	46                   	inc    %esi
402bfd:	41                   	inc    %ecx
402bfe:	eb 0b                	jmp    0x402c0b
402c00:	66 39 45 f4          	cmp    %ax,-0xc(%ebp)
402c04:	75 05                	jne    0x402c0b
402c06:	eb f5                	jmp    0x402bfd
402c08:	33 f6                	xor    %esi,%esi
402c0a:	46                   	inc    %esi
402c0b:	83 c7 02             	add    $0x2,%edi
402c0e:	41                   	inc    %ecx
402c0f:	0f b7 07             	movzwl (%edi),%eax
402c12:	66 85 c0             	test   %ax,%ax
402c15:	75 a9                	jne    0x402bc0
402c17:	85 f6                	test   %esi,%esi
402c19:	0f 84 97 00 00 00    	je     0x402cb6
402c1f:	8d 41 03             	lea    0x3(%ecx),%eax
402c22:	50                   	push   %eax
402c23:	8d 45 fc             	lea    -0x4(%ebp),%eax
402c26:	50                   	push   %eax
402c27:	e8 b2 f2 ff ff       	call   0x401ede
402c2c:	8b f0                	mov    %eax,%esi
402c2e:	85 f6                	test   %esi,%esi
402c30:	0f 88 b6 00 00 00    	js     0x402cec
402c36:	8b 55 fc             	mov    -0x4(%ebp),%edx
402c39:	33 c9                	xor    %ecx,%ecx
402c3b:	8b 7d f8             	mov    -0x8(%ebp),%edi
402c3e:	8b f3                	mov    %ebx,%esi
402c40:	66 89 3a             	mov    %di,(%edx)
402c43:	83 c2 02             	add    $0x2,%edx
402c46:	66 39 0b             	cmp    %cx,(%ebx)
402c49:	74 5f                	je     0x402caa
402c4b:	8b 45 f4             	mov    -0xc(%ebp),%eax
402c4e:	8b d9                	mov    %ecx,%ebx
402c50:	eb 04                	jmp    0x402c56
402c52:	43                   	inc    %ebx
402c53:	83 c6 02             	add    $0x2,%esi
402c56:	66 3b 06             	cmp    (%esi),%ax
402c59:	74 f7                	je     0x402c52
402c5b:	0f b7 06             	movzwl (%esi),%eax
402c5e:	66 85 c0             	test   %ax,%ax
402c61:	75 04                	jne    0x402c67
402c63:	03 db                	add    %ebx,%ebx
402c65:	eb 0c                	jmp    0x402c73
402c67:	66 3b f8             	cmp    %ax,%di
402c6a:	75 07                	jne    0x402c73
402c6c:	8d 1c 5d 01 00 00 00 	lea    0x1(,%ebx,2),%ebx
402c73:	85 db                	test   %ebx,%ebx
402c75:	74 1a                	je     0x402c91
402c77:	8b cb                	mov    %ebx,%ecx
402c79:	8b fa                	mov    %edx,%edi
402c7b:	d1 e9                	shr    $1,%ecx
402c7d:	8d 14 5a             	lea    (%edx,%ebx,2),%edx
402c80:	b8 5c 00 5c 00       	mov    $0x5c005c,%eax
402c85:	f3 ab                	rep stos %eax,%es:(%edi)
402c87:	13 c9                	adc    %ecx,%ecx
402c89:	66 f3 ab             	rep stos %ax,%es:(%edi)
402c8c:	8b 7d f8             	mov    -0x8(%ebp),%edi
402c8f:	33 c9                	xor    %ecx,%ecx
402c91:	0f b7 06             	movzwl (%esi),%eax
402c94:	66 85 c0             	test   %ax,%ax
402c97:	74 0e                	je     0x402ca7
402c99:	83 c6 02             	add    $0x2,%esi
402c9c:	66 89 02             	mov    %ax,(%edx)
402c9f:	83 c2 02             	add    $0x2,%edx
402ca2:	66 39 0e             	cmp    %cx,(%esi)
402ca5:	75 a4                	jne    0x402c4b
402ca7:	8b 5d 0c             	mov    0xc(%ebp),%ebx
402caa:	66 89 3a             	mov    %di,(%edx)
402cad:	33 c0                	xor    %eax,%eax
402caf:	66 89 42 02          	mov    %ax,0x2(%edx)
402cb3:	8b 55 fc             	mov    -0x4(%ebp),%edx
402cb6:	8b 7d 08             	mov    0x8(%ebp),%edi
402cb9:	8b 07                	mov    (%edi),%eax
402cbb:	85 c0                	test   %eax,%eax
402cbd:	74 1c                	je     0x402cdb
402cbf:	33 c9                	xor    %ecx,%ecx
402cc1:	66 39 08             	cmp    %cx,(%eax)
402cc4:	74 15                	je     0x402cdb
402cc6:	51                   	push   %ecx
402cc7:	68 60 b7 44 00       	push   $0x44b760
402ccc:	57                   	push   %edi
402ccd:	e8 20 f2 ff ff       	call   0x401ef2
402cd2:	8b f0                	mov    %eax,%esi
402cd4:	85 f6                	test   %esi,%esi
402cd6:	78 14                	js     0x402cec
402cd8:	8b 55 fc             	mov    -0x4(%ebp),%edx
402cdb:	33 c0                	xor    %eax,%eax
402cdd:	85 d2                	test   %edx,%edx
402cdf:	50                   	push   %eax
402ce0:	0f 45 da             	cmovne %edx,%ebx
402ce3:	53                   	push   %ebx
402ce4:	57                   	push   %edi
402ce5:	e8 08 f2 ff ff       	call   0x401ef2
402cea:	8b f0                	mov    %eax,%esi
402cec:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
402cf0:	74 08                	je     0x402cfa
402cf2:	ff 75 fc             	push   -0x4(%ebp)
402cf5:	e8 f5 27 04 00       	call   0x4454ef
402cfa:	5f                   	pop    %edi
402cfb:	8b c6                	mov    %esi,%eax
402cfd:	5e                   	pop    %esi
402cfe:	5b                   	pop    %ebx
402cff:	8b e5                	mov    %ebp,%esp
402d01:	5d                   	pop    %ebp
402d02:	c2 08 00             	ret    $0x8
402d05:	55                   	push   %ebp
402d06:	8b ec                	mov    %esp,%ebp
402d08:	51                   	push   %ecx
402d09:	51                   	push   %ecx
402d0a:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
402d0e:	8d 45 f8             	lea    -0x8(%ebp),%eax
402d11:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
402d15:	56                   	push   %esi
402d16:	6a 03                	push   $0x3
402d18:	ff 75 08             	push   0x8(%ebp)
402d1b:	50                   	push   %eax
402d1c:	e8 62 03 00 00       	call   0x403083
402d21:	8b f0                	mov    %eax,%esi
402d23:	85 f6                	test   %esi,%esi
402d25:	78 2d                	js     0x402d54
402d27:	6a 03                	push   $0x3
402d29:	ff 75 0c             	push   0xc(%ebp)
402d2c:	8d 45 fc             	lea    -0x4(%ebp),%eax
402d2f:	50                   	push   %eax
402d30:	e8 4e 03 00 00       	call   0x403083
402d35:	8b f0                	mov    %eax,%esi
402d37:	85 f6                	test   %esi,%esi
402d39:	78 19                	js     0x402d54
402d3b:	6a ff                	push   $0xffffffff
402d3d:	ff 75 fc             	push   -0x4(%ebp)
402d40:	6a ff                	push   $0xffffffff
402d42:	ff 75 f8             	push   -0x8(%ebp)
402d45:	6a 01                	push   $0x1
402d47:	6a 00                	push   $0x0
402d49:	ff 15 28 b1 44 00    	call   *0x44b128
402d4f:	8b 4d 10             	mov    0x10(%ebp),%ecx
402d52:	89 01                	mov    %eax,(%ecx)
402d54:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
402d58:	74 08                	je     0x402d62
402d5a:	ff 75 fc             	push   -0x4(%ebp)
402d5d:	e8 8d 27 04 00       	call   0x4454ef