513a47:	83 7e 34 00          	cmpl   $0x0,0x34(%esi)
513a4b:	8d 4e 34             	lea    0x34(%esi),%ecx
513a4e:	75 f0                	jne    0x513a40
513a50:	89 75 e8             	mov    %esi,-0x18(%ebp)
513a53:	eb 18                	jmp    0x513a6d
513a55:	66 66 66 0f 1f 84 00 	data16 data16 nopw 0x0(%eax,%eax,1)
513a5c:	00 00 00 00
513a60:	b9 01 00 00 00       	mov    $0x1,%ecx
513a65:	85 c9                	test   %ecx,%ecx
513a67:	0f 84 03 02 00 00    	je     0x513c70
513a6d:	8b 46 1c             	mov    0x1c(%esi),%eax
513a70:	33 c9                	xor    %ecx,%ecx
513a72:	89 45 e4             	mov    %eax,-0x1c(%ebp)
513a75:	83 c3 04             	add    $0x4,%ebx
513a78:	33 c0                	xor    %eax,%eax
513a7a:	89 4d dc             	mov    %ecx,-0x24(%ebp)
513a7d:	89 45 e0             	mov    %eax,-0x20(%ebp)
513a80:	8b 45 ec             	mov    -0x14(%ebp),%eax
513a83:	39 08                	cmp    %ecx,(%eax)
513a85:	0f 8e d4 01 00 00    	jle    0x513c5f
513a8b:	8b f0                	mov    %eax,%esi
513a8d:	0f 1f 00             	nopl   (%eax)
513a90:	f6 43 0c 04          	testb  $0x4,0xc(%ebx)
513a94:	c7 45 f8 ff ff ff ff 	movl   $0xffffffff,-0x8(%ebp)
513a9b:	0f 85 a6 01 00 00    	jne    0x513c47
513aa1:	8b 33                	mov    (%ebx),%esi
513aa3:	85 f6                	test   %esi,%esi
513aa5:	74 29                	je     0x513ad0
513aa7:	66 0f 1f 84 00 00 00 	nopw   0x0(%eax,%eax,1)
513aae:	00 00
513ab0:	8b 46 04             	mov    0x4(%esi),%eax
513ab3:	a9 00 10 04 00       	test   $0x41000,%eax
513ab8:	74 16                	je     0x513ad0
513aba:	a9 00 00 04 00       	test   $0x40000,%eax
513abf:	74 08                	je     0x513ac9
513ac1:	8b 76 14             	mov    0x14(%esi),%esi
513ac4:	8b 76 04             	mov    0x4(%esi),%esi
513ac7:	eb 03                	jmp    0x513acc
513ac9:	8b 76 0c             	mov    0xc(%esi),%esi
513acc:	85 f6                	test   %esi,%esi
513ace:	75 e0                	jne    0x513ab0
513ad0:	8d 45 f8             	lea    -0x8(%ebp),%eax
513ad3:	50                   	push   %eax
513ad4:	56                   	push   %esi
513ad5:	e8 46 39 01 00       	call   0x527420
513ada:	83 c4 08             	add    $0x8,%esp
513add:	85 c0                	test   %eax,%eax
513adf:	74 45                	je     0x513b26
513ae1:	8b 45 f8             	mov    -0x8(%ebp),%eax
513ae4:	85 c0                	test   %eax,%eax
513ae6:	7e 0b                	jle    0x513af3
513ae8:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
513aeb:	3b 01                	cmp    (%ecx),%eax
513aed:	0f 8e b2 00 00 00    	jle    0x513ba5
513af3:	8b 45 e4             	mov    -0x1c(%ebp),%eax
513af6:	ff 30                	push   (%eax)
513af8:	8b 45 e0             	mov    -0x20(%ebp),%eax
513afb:	68 58 8f 6b 00       	push   $0x6b8f58
513b00:	40                   	inc    %eax
513b01:	50                   	push   %eax
513b02:	68 fc 8e 6b 00       	push   $0x6b8efc
513b07:	57                   	push   %edi
513b08:	e8 53 f7 00 00       	call   0x523260
513b0d:	83 c4 14             	add    $0x14,%esp
513b10:	b8 01 00 00 00       	mov    $0x1,%eax
513b15:	5f                   	pop    %edi
513b16:	5e                   	pop    %esi
513b17:	5b                   	pop    %ebx
513b18:	8b 4d fc             	mov    -0x4(%ebp),%ecx
513b1b:	33 cd                	xor    %ebp,%ecx
513b1d:	e8 b8 d9 0c 00       	call   0x5e14da
513b22:	8b e5                	mov    %ebp,%esp
513b24:	5d                   	pop    %ebp
513b25:	c3                   	ret
513b26:	56                   	push   %esi
513b27:	ff 75 e4             	push   -0x1c(%ebp)
513b2a:	57                   	push   %edi
513b2b:	e8 20 fe ff ff       	call   0x513950
513b30:	83 c4 0c             	add    $0xc,%esp
513b33:	89 45 f8             	mov    %eax,-0x8(%ebp)
513b36:	85 c0                	test   %eax,%eax
513b38:	75 68                	jne    0x513ba2
513b3a:	80 bf c8 00 00 00 02 	cmpb   $0x2,0xc8(%edi)
513b41:	72 04                	jb     0x513b47
513b43:	8b fe                	mov    %esi,%edi
513b45:	eb 1d                	jmp    0x513b64
513b47:	85 f6                	test   %esi,%esi
513b49:	74 17                	je     0x513b62
513b4b:	6a 00                	push   $0x0
513b4d:	6a 00                	push   $0x0
513b4f:	56                   	push   %esi
513b50:	ff 75 f4             	push   -0xc(%ebp)
513b53:	e8 08 cd fe ff       	call   0x500860
513b58:	8b f8                	mov    %eax,%edi
513b5a:	83 c4 10             	add    $0x10,%esp
513b5d:	8b 45 f8             	mov    -0x8(%ebp),%eax
513b60:	eb 02                	jmp    0x513b64
513b62:	33 ff                	xor    %edi,%edi
513b64:	8b 55 f4             	mov    -0xc(%ebp),%edx
513b67:	80 7a 51 00          	cmpb   $0x0,0x51(%edx)
513b6b:	75 15                	jne    0x513b82
513b6d:	57                   	push   %edi
513b6e:	ff 75 e8             	push   -0x18(%ebp)
513b71:	ff 75 f0             	push   -0x10(%ebp)
513b74:	e8 37 08 00 00       	call   0x5143b0
513b79:	8b 55 f4             	mov    -0xc(%ebp),%edx
513b7c:	83 c4 0c             	add    $0xc,%esp
513b7f:	89 45 f8             	mov    %eax,-0x8(%ebp)
513b82:	8b 4d f0             	mov    -0x10(%ebp),%ecx
513b85:	80 b9 c8 00 00 00 02 	cmpb   $0x2,0xc8(%ecx)
513b8c:	73 6b                	jae    0x513bf9
513b8e:	85 ff                	test   %edi,%edi
513b90:	74 67                	je     0x513bf9
513b92:	57                   	push   %edi
513b93:	52                   	push   %edx
513b94:	e8 17 2c 01 00       	call   0x5267b0
513b99:	8b 45 f8             	mov    -0x8(%ebp),%eax
513b9c:	83 c4 08             	add    $0x8,%esp
513b9f:	8b 7d f0             	mov    -0x10(%ebp),%edi
513ba2:	8b 55 f4             	mov    -0xc(%ebp),%edx
513ba5:	85 c0                	test   %eax,%eax
513ba7:	0f 8e 8f 00 00 00    	jle    0x513c3c
513bad:	80 bf c8 00 00 00 02 	cmpb   $0x2,0xc8(%edi)
513bb4:	73 7d                	jae    0x513c33
513bb6:	6a 00                	push   $0x0
513bb8:	8d 45 d4             	lea    -0x2c(%ebp),%eax
513bbb:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)
513bc2:	50                   	push   %eax
513bc3:	68 98 00 00 00       	push   $0x98
513bc8:	52                   	push   %edx
513bc9:	c7 45 d8 00 00 00 00 	movl   $0x0,-0x28(%ebp)
513bd0:	e8 9b fa 00 00       	call   0x523670
513bd5:	8b f8                	mov    %eax,%edi
513bd7:	83 c4 10             	add    $0x10,%esp
513bda:	85 ff                	test   %edi,%edi
513bdc:	0f 84 25 fe ff ff    	je     0x513a07
513be2:	81 4f 04 00 04 00 00 	orl    $0x400,0x4(%edi)
513be9:	8b 4d f8             	mov    -0x8(%ebp),%ecx
513bec:	89 4f 08             	mov    %ecx,0x8(%edi)
513bef:	8b 0b                	mov    (%ebx),%ecx
513bf1:	3b ce                	cmp    %esi,%ecx
513bf3:	75 08                	jne    0x513bfd
513bf5:	89 3b                	mov    %edi,(%ebx)
513bf7:	eb 1f                	jmp    0x513c18
513bf9:	8b f9                	mov    %ecx,%edi
513bfb:	eb a8                	jmp    0x513ba5
513bfd:	8b 41 0c             	mov    0xc(%ecx),%eax
513c00:	8d 51 0c             	lea    0xc(%ecx),%edx
513c03:	80 38 6f             	cmpb   $0x6f,(%eax)
513c06:	75 0d                	jne    0x513c15
513c08:	8b 0a                	mov    (%edx),%ecx
513c0a:	8b 41 0c             	mov    0xc(%ecx),%eax
513c0d:	8d 51 0c             	lea    0xc(%ecx),%edx
513c10:	80 38 6f             	cmpb   $0x6f,(%eax)
513c13:	74 f3                	je     0x513c08
513c15:	89 79 0c             	mov    %edi,0xc(%ecx)
513c18:	85 f6                	test   %esi,%esi
513c1a:	74 0c                	je     0x513c28
513c1c:	56                   	push   %esi
513c1d:	ff 75 f4             	push   -0xc(%ebp)
513c20:	e8 8b 2b 01 00       	call   0x5267b0
513c25:	83 c4 08             	add    $0x8,%esp
513c28:	66 8b 45 f8          	mov    -0x8(%ebp),%ax
513c2c:	8b 7d f0             	mov    -0x10(%ebp),%edi
513c2f:	66 89 43 10          	mov    %ax,0x10(%ebx)
513c33:	83 4b 0c 04          	orl    $0x4,0xc(%ebx)
513c37:	8b 4d dc             	mov    -0x24(%ebp),%ecx
513c3a:	eb 08                	jmp    0x513c44
513c3c:	b9 01 00 00 00       	mov    $0x1,%ecx
513c41:	89 4d dc             	mov    %ecx,-0x24(%ebp)
513c44:	8b 75 ec             	mov    -0x14(%ebp),%esi
513c47:	8b 55 e0             	mov    -0x20(%ebp),%edx
513c4a:	83 c3 14             	add    $0x14,%ebx
513c4d:	42                   	inc    %edx
513c4e:	3b 16                	cmp    (%esi),%edx
513c50:	89 55 e0             	mov    %edx,-0x20(%ebp)
513c53:	8b 55 f4             	mov    -0xc(%ebp),%edx
513c56:	0f 8c 34 fe ff ff    	jl     0x513a90
513c5c:	8b 75 e8             	mov    -0x18(%ebp),%esi
513c5f:	8b 76 38             	mov    0x38(%esi),%esi
513c62:	8b 5d ec             	mov    -0x14(%ebp),%ebx
513c65:	89 75 e8             	mov    %esi,-0x18(%ebp)
513c68:	85 f6                	test   %esi,%esi
513c6a:	0f 85 f5 fd ff ff    	jne    0x513a65
513c70:	8b 13                	mov    (%ebx),%edx
513c72:	33 c0                	xor    %eax,%eax
513c74:	85 d2                	test   %edx,%edx
513c76:	7e 15                	jle    0x513c8d
513c78:	8d 4b 10             	lea    0x10(%ebx),%ecx
513c7b:	0f 1f 44 00 00       	nopl   0x0(%eax,%eax,1)
513c80:	40                   	inc    %eax
513c81:	f6 01 04             	testb  $0x4,(%ecx)
513c84:	74 1a                	je     0x513ca0
513c86:	83 c1 14             	add    $0x14,%ecx
513c89:	3b c2                	cmp    %edx,%eax
513c8b:	7c f3                	jl     0x513c80
513c8d:	5f                   	pop    %edi
513c8e:	5e                   	pop    %esi
513c8f:	33 c0                	xor    %eax,%eax
513c91:	5b                   	pop    %ebx
513c92:	8b 4d fc             	mov    -0x4(%ebp),%ecx
513c95:	33 cd                	xor    %ebp,%ecx
513c97:	e8 3e d8 0c 00       	call   0x5e14da
513c9c:	8b e5                	mov    %ebp,%esp
513c9e:	5d                   	pop    %ebp
513c9f:	c3                   	ret
513ca0:	50                   	push   %eax
513ca1:	68 60 8f 6b 00       	push   $0x6b8f60
513ca6:	57                   	push   %edi
513ca7:	e8 b4 f5 00 00       	call   0x523260
513cac:	8b 4d fc             	mov    -0x4(%ebp),%ecx
513caf:	83 c4 0c             	add    $0xc,%esp
513cb2:	33 cd                	xor    %ebp,%ecx
513cb4:	b8 01 00 00 00       	mov    $0x1,%eax
513cb9:	5f                   	pop    %edi
513cba:	5e                   	pop    %esi
513cbb:	5b                   	pop    %ebx
513cbc:	e8 19 d8 0c 00       	call   0x5e14da
513cc1:	8b e5                	mov    %ebp,%esp
513cc3:	5d                   	pop    %ebp
513cc4:	c3                   	ret
513cc5:	cc                   	int3
513cc6:	cc                   	int3
513cc7:	cc                   	int3
513cc8:	cc                   	int3
513cc9:	cc                   	int3
513cca:	cc                   	int3
513ccb:	cc                   	int3
513ccc:	cc                   	int3
513ccd:	cc                   	int3
513cce:	cc                   	int3
513ccf:	cc                   	int3
513cd0:	55                   	push   %ebp
513cd1:	8b ec                	mov    %esp,%ebp
513cd3:	8b 55 08             	mov    0x8(%ebp),%edx
513cd6:	83 ec 2c             	sub    $0x2c,%esp
513cd9:	53                   	push   %ebx
513cda:	56                   	push   %esi
513cdb:	8b 75 0c             	mov    0xc(%ebp),%esi
513cde:	57                   	push   %edi
513cdf:	8b 7a 18             	mov    0x18(%edx),%edi
513ce2:	8a 0e                	mov    (%esi),%cl
513ce4:	0f b6 c1             	movzbl %cl,%eax
513ce7:	8b 1f                	mov    (%edi),%ebx
513ce9:	83 c0 ec             	add    $0xffffffec,%eax
513cec:	3d 95 00 00 00       	cmp    $0x95,%eax
513cf1:	0f 87 e4 05 00 00    	ja     0x5142db
513cf7:	0f b6 80 14 43 51 00 	movzbl 0x514314(%eax),%eax
513cfe:	ff 24 85 f8 42 51 00 	jmp    *0x5142f8(,%eax,4)
513d05:	80 f9 3b             	cmp    $0x3b,%cl
513d08:	75 1c                	jne    0x513d26
513d0a:	8b 56 08             	mov    0x8(%esi),%edx
513d0d:	33 c0                	xor    %eax,%eax
513d0f:	56                   	push   %esi
513d10:	57                   	push   %edi
513d11:	52                   	push   %edx
513d12:	50                   	push   %eax
513d13:	33 c9                	xor    %ecx,%ecx
513d15:	51                   	push   %ecx
513d16:	53                   	push   %ebx
513d17:	e8 44 4a ff ff       	call   0x508760
513d1c:	83 c4 18             	add    $0x18,%esp
513d1f:	5f                   	pop    %edi
513d20:	5e                   	pop    %esi
513d21:	5b                   	pop    %ebx
513d22:	8b e5                	mov    %ebp,%esp
513d24:	5d                   	pop    %ebp
513d25:	c3                   	ret
513d26:	f6 47 18 28          	testb  $0x28,0x18(%edi)
513d2a:	8b 56 0c             	mov    0xc(%esi),%edx
513d2d:	89 55 08             	mov    %edx,0x8(%ebp)
513d30:	74 14                	je     0x513d46
513d32:	6a 00                	push   $0x0
513d34:	68 68 8d 6b 00       	push   $0x6b8d68
513d39:	57                   	push   %edi
513d3a:	53                   	push   %ebx
513d3b:	e8 b0 7b ff ff       	call   0x50b8f0
513d40:	8b 55 08             	mov    0x8(%ebp),%edx
513d43:	83 c4 10             	add    $0x10,%esp
513d46:	8b 46 10             	mov    0x10(%esi),%eax
513d49:	80 38 3b             	cmpb   $0x3b,(%eax)
513d4c:	75 04                	jne    0x513d52
513d4e:	33 c9                	xor    %ecx,%ecx
513d50:	eb 09                	jmp    0x513d5b
513d52:	8b 4a 08             	mov    0x8(%edx),%ecx
513d55:	8b 50 0c             	mov    0xc(%eax),%edx
513d58:	8b 40 10             	mov    0x10(%eax),%eax
513d5b:	80 bb c8 00 00 00 02 	cmpb   $0x2,0xc8(%ebx)
513d62:	8b 72 08             	mov    0x8(%edx),%esi
513d65:	89 75 e4             	mov    %esi,-0x1c(%ebp)
513d68:	8b 70 08             	mov    0x8(%eax),%esi
513d6b:	89 75 e8             	mov    %esi,-0x18(%ebp)
513d6e:	8b 75 0c             	mov    0xc(%ebp),%esi
513d71:	89 4d 08             	mov    %ecx,0x8(%ebp)
513d74:	72 19                	jb     0x513d8f
513d76:	50                   	push   %eax
513d77:	56                   	push   %esi
513d78:	53                   	push   %ebx
513d79:	e8 82 41 02 00       	call   0x537f00
513d7e:	52                   	push   %edx
513d7f:	8d 46 2c             	lea    0x2c(%esi),%eax
513d82:	50                   	push   %eax
513d83:	53                   	push   %ebx
513d84:	e8 77 41 02 00       	call   0x537f00
513d89:	8b 4d 08             	mov    0x8(%ebp),%ecx
513d8c:	83 c4 18             	add    $0x18,%esp
513d8f:	8b 55 e8             	mov    -0x18(%ebp),%edx
513d92:	8b 45 e4             	mov    -0x1c(%ebp),%eax
513d95:	56                   	push   %esi
513d96:	57                   	push   %edi
513d97:	52                   	push   %edx
513d98:	50                   	push   %eax
513d99:	51                   	push   %ecx
513d9a:	53                   	push   %ebx
513d9b:	e8 c0 49 ff ff       	call   0x508760
513da0:	83 c4 18             	add    $0x18,%esp
513da3:	5f                   	pop    %edi
513da4:	5e                   	pop    %esi
513da5:	5b                   	pop    %ebx
513da6:	8b e5                	mov    %ebp,%esp
513da8:	5d                   	pop    %ebp
513da9:	c3                   	ret
513daa:	8b 46 14             	mov    0x14(%esi),%eax
513dad:	89 45 d8             	mov    %eax,-0x28(%ebp)
513db0:	85 c0                	test   %eax,%eax
513db2:	74 07                	je     0x513dbb
513db4:	8b 08                	mov    (%eax),%ecx
513db6:	89 4d e8             	mov    %ecx,-0x18(%ebp)
513db9:	eb 07                	jmp    0x513dc2
513dbb:	c7 45 e8 00 00 00 00 	movl   $0x0,-0x18(%ebp)
513dc2:	8b 03                	mov    (%ebx),%eax
513dc4:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)
513dcb:	c7 45 dc 00 00 00 00 	movl   $0x0,-0x24(%ebp)
513dd2:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
513dd9:	8a 40 4e             	mov    0x4e(%eax),%al
513ddc:	88 45 e0             	mov    %al,-0x20(%ebp)
513ddf:	8d 47 18             	lea    0x18(%edi),%eax
513de2:	89 45 f8             	mov    %eax,-0x8(%ebp)
513de5:	8b 00                	mov    (%eax),%eax
513de7:	25 01 40 00 00       	and    $0x4001,%eax
513dec:	f7 46 04 00 00 00 01 	testl  $0x1000000,0x4(%esi)
513df3:	89 45 d4             	mov    %eax,-0x2c(%ebp)
513df6:	74 0c                	je     0x513e04
513df8:	8b 46 2c             	mov    0x2c(%esi),%eax
513dfb:	89 45 f0             	mov    %eax,-0x10(%ebp)
513dfe:	80 78 10 a3          	cmpb   $0xa3,0x10(%eax)
513e02:	75 05                	jne    0x513e09
513e04:	33 c9                	xor    %ecx,%ecx
513e06:	89 4d f0             	mov    %ecx,-0x10(%ebp)
513e09:	8b 46 08             	mov    0x8(%esi),%eax